PR tree-ssa/57385
[official-gcc.git] / libstdc++-v3 / configure
blob29344f06ed22291c58a4c678e8b826a8ebf74925
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.
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.
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 ## -------------------- ##
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 *) :
30 esac
34 as_nl='
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"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
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=';'
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"
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
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
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
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
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='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
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 *) :
148 esac
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; }
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 :
164 else
165 exitcode=1; echo positional parameters were not saved.
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
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
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
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
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
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
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
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+"$@"}
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."
242 exit 1
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
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
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 ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
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/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
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"
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 ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
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 ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
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 ()
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
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
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
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
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
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/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
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
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 '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
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; }
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
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;;
468 ECHO_N='-n';;
469 esac
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
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'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
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
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=
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
526 as_executable_p=$as_test_x
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'"
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'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
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`
545 # Initializations.
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=
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=''
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"
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 baseline_subdir_switch
642 baseline_dir
643 HWCAP_FLAGS
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_VISIBILITY_FALSE
647 ENABLE_VISIBILITY_TRUE
648 libtool_VERSION
649 ENABLE_SYMVERS_SUN_FALSE
650 ENABLE_SYMVERS_SUN_TRUE
651 ENABLE_SYMVERS_DARWIN_FALSE
652 ENABLE_SYMVERS_DARWIN_TRUE
653 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
654 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
655 ENABLE_SYMVERS_GNU_FALSE
656 ENABLE_SYMVERS_GNU_TRUE
657 ENABLE_SYMVERS_FALSE
658 ENABLE_SYMVERS_TRUE
659 port_specific_symbol_files
660 SYMVER_FILE
661 CXXFILT
662 LTLIBICONV
663 LIBICONV
664 OPT_LDFLAGS
665 SECTION_LDFLAGS
666 GLIBCXX_LIBS
667 ENABLE_WERROR_FALSE
668 ENABLE_WERROR_TRUE
669 ENABLE_PYTHONDIR_FALSE
670 ENABLE_PYTHONDIR_TRUE
671 python_mod_dir
672 ENABLE_EXTERN_TEMPLATE_FALSE
673 ENABLE_EXTERN_TEMPLATE_TRUE
674 EXTRA_CXX_FLAGS
675 GLIBCXX_BUILD_DEBUG_FALSE
676 GLIBCXX_BUILD_DEBUG_TRUE
677 DEBUG_FLAGS
678 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
679 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
680 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
681 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
682 GLIBCXX_C_HEADERS_C_STD_FALSE
683 GLIBCXX_C_HEADERS_C_STD_TRUE
684 GLIBCXX_C_HEADERS_C_FALSE
685 GLIBCXX_C_HEADERS_C_TRUE
686 C_INCLUDE_DIR
687 ALLOCATOR_NAME
688 ALLOCATOR_H
689 CLOCALE_INTERNAL_H
690 CLOCALE_CC
691 CTIME_CC
692 CTIME_H
693 CNUMERIC_CC
694 CMONEY_CC
695 CMESSAGES_CC
696 CCTYPE_CC
697 CCOLLATE_CC
698 CCODECVT_CC
699 CMESSAGES_H
700 CLOCALE_H
701 USE_NLS
702 glibcxx_localedir
703 glibcxx_POFILES
704 glibcxx_MOFILES
705 check_msgfmt
706 BASIC_FILE_CC
707 BASIC_FILE_H
708 CSTDIO_H
709 SECTION_FLAGS
710 WERROR
711 thread_header
712 glibcxx_PCHFLAGS
713 GLIBCXX_BUILD_PCH_FALSE
714 GLIBCXX_BUILD_PCH_TRUE
715 GLIBCXX_HOSTED_FALSE
716 GLIBCXX_HOSTED_TRUE
717 glibcxx_compiler_shared_flag
718 glibcxx_compiler_pic_flag
719 glibcxx_lt_pic_flag
720 enable_static
721 enable_shared
722 lt_host_flags
723 CXXCPP
724 OTOOL64
725 OTOOL
726 LIPO
727 NMEDIT
728 DSYMUTIL
729 OBJDUMP
731 ac_ct_DUMPBIN
732 DUMPBIN
734 FGREP
736 LIBTOOL
737 EGREP
738 GREP
740 MAINT
741 MAINTAINER_MODE_FALSE
742 MAINTAINER_MODE_TRUE
743 RANLIB
746 LN_S
747 toplevel_srcdir
748 toplevel_builddir
749 glibcxx_srcdir
750 glibcxx_builddir
751 ac_ct_CXX
752 CXXFLAGS
754 OBJEXT
755 EXEEXT
756 ac_ct_CC
757 CPPFLAGS
758 LDFLAGS
759 CFLAGS
761 am__untar
762 am__tar
763 AMTAR
764 am__leading_dot
765 SET_MAKE
767 mkdir_p
768 MKDIR_P
769 INSTALL_STRIP_PROGRAM
770 STRIP
771 install_sh
772 MAKEINFO
773 AUTOHEADER
774 AUTOMAKE
775 AUTOCONF
776 ACLOCAL
777 VERSION
778 PACKAGE
779 CYGPATH_W
780 am__isrc
781 INSTALL_DATA
782 INSTALL_SCRIPT
783 INSTALL_PROGRAM
784 target_os
785 target_vendor
786 target_cpu
787 target
788 host_os
789 host_vendor
790 host_cpu
791 host
792 build_os
793 build_vendor
794 build_cpu
795 build
796 multi_basedir
797 target_alias
798 host_alias
799 build_alias
800 LIBS
801 ECHO_T
802 ECHO_N
803 ECHO_C
804 DEFS
805 mandir
806 localedir
807 libdir
808 psdir
809 pdfdir
810 dvidir
811 htmldir
812 infodir
813 docdir
814 oldincludedir
815 includedir
816 localstatedir
817 sharedstatedir
818 sysconfdir
819 datadir
820 datarootdir
821 libexecdir
822 sbindir
823 bindir
824 program_transform_name
825 prefix
826 exec_prefix
827 PACKAGE_URL
828 PACKAGE_BUGREPORT
829 PACKAGE_STRING
830 PACKAGE_VERSION
831 PACKAGE_TARNAME
832 PACKAGE_NAME
833 PATH_SEPARATOR
834 SHELL'
835 ac_subst_files=''
836 ac_user_opts='
837 enable_option_checking
838 enable_multilib
839 with_target_subdir
840 with_cross_host
841 with_newlib
842 enable_maintainer_mode
843 enable_shared
844 enable_static
845 with_pic
846 enable_fast_install
847 with_gnu_ld
848 enable_libtool_lock
849 enable_hosted_libstdcxx
850 enable_libstdcxx_verbose
851 enable_sjlj_exceptions
852 enable_libstdcxx_pch
853 enable_cstdio
854 enable_clocale
855 enable_nls
856 enable_libstdcxx_allocator
857 enable_cheaders
858 enable_long_long
859 enable_wchar_t
860 enable_c99
861 enable_concept_checks
862 enable_libstdcxx_debug_flags
863 enable_libstdcxx_debug
864 enable_cxx_flags
865 enable_fully_dynamic_string
866 enable_extern_template
867 with_python_dir
868 enable_werror
869 enable_libstdcxx_time
870 enable_tls
871 enable_rpath
872 with_libiconv_prefix
873 with_system_libunwind
874 enable_linux_futex
875 enable_symvers
876 enable_libstdcxx_visibility
877 enable_libstdcxx_threads
878 with_gxx_include_dir
879 enable_version_specific_runtime_libs
881 ac_precious_vars='build_alias
882 host_alias
883 target_alias
885 CFLAGS
886 LDFLAGS
887 LIBS
888 CPPFLAGS
890 CXXFLAGS
893 CXXCPP
894 CXXFILT'
897 # Initialize some variables set by options.
898 ac_init_help=
899 ac_init_version=false
900 ac_unrecognized_opts=
901 ac_unrecognized_sep=
902 # The variables have the same names as the options, with
903 # dashes changed to underlines.
904 cache_file=/dev/null
905 exec_prefix=NONE
906 no_create=
907 no_recursion=
908 prefix=NONE
909 program_prefix=NONE
910 program_suffix=NONE
911 program_transform_name=s,x,x,
912 silent=
913 site=
914 srcdir=
915 verbose=
916 x_includes=NONE
917 x_libraries=NONE
919 # Installation directory options.
920 # These are left unexpanded so users can "make install exec_prefix=/foo"
921 # and all the variables that are supposed to be based on exec_prefix
922 # by default will actually change.
923 # Use braces instead of parens because sh, perl, etc. also accept them.
924 # (The list follows the same order as the GNU Coding Standards.)
925 bindir='${exec_prefix}/bin'
926 sbindir='${exec_prefix}/sbin'
927 libexecdir='${exec_prefix}/libexec'
928 datarootdir='${prefix}/share'
929 datadir='${datarootdir}'
930 sysconfdir='${prefix}/etc'
931 sharedstatedir='${prefix}/com'
932 localstatedir='${prefix}/var'
933 includedir='${prefix}/include'
934 oldincludedir='/usr/include'
935 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
936 infodir='${datarootdir}/info'
937 htmldir='${docdir}'
938 dvidir='${docdir}'
939 pdfdir='${docdir}'
940 psdir='${docdir}'
941 libdir='${exec_prefix}/lib'
942 localedir='${datarootdir}/locale'
943 mandir='${datarootdir}/man'
945 ac_prev=
946 ac_dashdash=
947 for ac_option
949 # If the previous option needs an argument, assign it.
950 if test -n "$ac_prev"; then
951 eval $ac_prev=\$ac_option
952 ac_prev=
953 continue
956 case $ac_option in
957 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
958 *) ac_optarg=yes ;;
959 esac
961 # Accept the important Cygnus configure options, so we can diagnose typos.
963 case $ac_dashdash$ac_option in
965 ac_dashdash=yes ;;
967 -bindir | --bindir | --bindi | --bind | --bin | --bi)
968 ac_prev=bindir ;;
969 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
970 bindir=$ac_optarg ;;
972 -build | --build | --buil | --bui | --bu)
973 ac_prev=build_alias ;;
974 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
975 build_alias=$ac_optarg ;;
977 -cache-file | --cache-file | --cache-fil | --cache-fi \
978 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
979 ac_prev=cache_file ;;
980 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
981 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
982 cache_file=$ac_optarg ;;
984 --config-cache | -C)
985 cache_file=config.cache ;;
987 -datadir | --datadir | --datadi | --datad)
988 ac_prev=datadir ;;
989 -datadir=* | --datadir=* | --datadi=* | --datad=*)
990 datadir=$ac_optarg ;;
992 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
993 | --dataroo | --dataro | --datar)
994 ac_prev=datarootdir ;;
995 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
996 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
997 datarootdir=$ac_optarg ;;
999 -disable-* | --disable-*)
1000 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1001 # Reject names that are not valid shell variable names.
1002 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1003 as_fn_error "invalid feature name: $ac_useropt"
1004 ac_useropt_orig=$ac_useropt
1005 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1006 case $ac_user_opts in
1008 "enable_$ac_useropt"
1009 "*) ;;
1010 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1011 ac_unrecognized_sep=', ';;
1012 esac
1013 eval enable_$ac_useropt=no ;;
1015 -docdir | --docdir | --docdi | --doc | --do)
1016 ac_prev=docdir ;;
1017 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1018 docdir=$ac_optarg ;;
1020 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1021 ac_prev=dvidir ;;
1022 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1023 dvidir=$ac_optarg ;;
1025 -enable-* | --enable-*)
1026 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1027 # Reject names that are not valid shell variable names.
1028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1029 as_fn_error "invalid feature name: $ac_useropt"
1030 ac_useropt_orig=$ac_useropt
1031 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032 case $ac_user_opts in
1034 "enable_$ac_useropt"
1035 "*) ;;
1036 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1037 ac_unrecognized_sep=', ';;
1038 esac
1039 eval enable_$ac_useropt=\$ac_optarg ;;
1041 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1042 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1043 | --exec | --exe | --ex)
1044 ac_prev=exec_prefix ;;
1045 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1046 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1047 | --exec=* | --exe=* | --ex=*)
1048 exec_prefix=$ac_optarg ;;
1050 -gas | --gas | --ga | --g)
1051 # Obsolete; use --with-gas.
1052 with_gas=yes ;;
1054 -help | --help | --hel | --he | -h)
1055 ac_init_help=long ;;
1056 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1057 ac_init_help=recursive ;;
1058 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1059 ac_init_help=short ;;
1061 -host | --host | --hos | --ho)
1062 ac_prev=host_alias ;;
1063 -host=* | --host=* | --hos=* | --ho=*)
1064 host_alias=$ac_optarg ;;
1066 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1067 ac_prev=htmldir ;;
1068 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1069 | --ht=*)
1070 htmldir=$ac_optarg ;;
1072 -includedir | --includedir | --includedi | --included | --include \
1073 | --includ | --inclu | --incl | --inc)
1074 ac_prev=includedir ;;
1075 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1076 | --includ=* | --inclu=* | --incl=* | --inc=*)
1077 includedir=$ac_optarg ;;
1079 -infodir | --infodir | --infodi | --infod | --info | --inf)
1080 ac_prev=infodir ;;
1081 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1082 infodir=$ac_optarg ;;
1084 -libdir | --libdir | --libdi | --libd)
1085 ac_prev=libdir ;;
1086 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1087 libdir=$ac_optarg ;;
1089 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1090 | --libexe | --libex | --libe)
1091 ac_prev=libexecdir ;;
1092 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1093 | --libexe=* | --libex=* | --libe=*)
1094 libexecdir=$ac_optarg ;;
1096 -localedir | --localedir | --localedi | --localed | --locale)
1097 ac_prev=localedir ;;
1098 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1099 localedir=$ac_optarg ;;
1101 -localstatedir | --localstatedir | --localstatedi | --localstated \
1102 | --localstate | --localstat | --localsta | --localst | --locals)
1103 ac_prev=localstatedir ;;
1104 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1105 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1106 localstatedir=$ac_optarg ;;
1108 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1109 ac_prev=mandir ;;
1110 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1111 mandir=$ac_optarg ;;
1113 -nfp | --nfp | --nf)
1114 # Obsolete; use --without-fp.
1115 with_fp=no ;;
1117 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1118 | --no-cr | --no-c | -n)
1119 no_create=yes ;;
1121 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1122 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1123 no_recursion=yes ;;
1125 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1126 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1127 | --oldin | --oldi | --old | --ol | --o)
1128 ac_prev=oldincludedir ;;
1129 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1130 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1131 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1132 oldincludedir=$ac_optarg ;;
1134 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1135 ac_prev=prefix ;;
1136 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1137 prefix=$ac_optarg ;;
1139 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1140 | --program-pre | --program-pr | --program-p)
1141 ac_prev=program_prefix ;;
1142 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1143 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1144 program_prefix=$ac_optarg ;;
1146 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1147 | --program-suf | --program-su | --program-s)
1148 ac_prev=program_suffix ;;
1149 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1150 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1151 program_suffix=$ac_optarg ;;
1153 -program-transform-name | --program-transform-name \
1154 | --program-transform-nam | --program-transform-na \
1155 | --program-transform-n | --program-transform- \
1156 | --program-transform | --program-transfor \
1157 | --program-transfo | --program-transf \
1158 | --program-trans | --program-tran \
1159 | --progr-tra | --program-tr | --program-t)
1160 ac_prev=program_transform_name ;;
1161 -program-transform-name=* | --program-transform-name=* \
1162 | --program-transform-nam=* | --program-transform-na=* \
1163 | --program-transform-n=* | --program-transform-=* \
1164 | --program-transform=* | --program-transfor=* \
1165 | --program-transfo=* | --program-transf=* \
1166 | --program-trans=* | --program-tran=* \
1167 | --progr-tra=* | --program-tr=* | --program-t=*)
1168 program_transform_name=$ac_optarg ;;
1170 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1171 ac_prev=pdfdir ;;
1172 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1173 pdfdir=$ac_optarg ;;
1175 -psdir | --psdir | --psdi | --psd | --ps)
1176 ac_prev=psdir ;;
1177 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1178 psdir=$ac_optarg ;;
1180 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1181 | -silent | --silent | --silen | --sile | --sil)
1182 silent=yes ;;
1184 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1185 ac_prev=sbindir ;;
1186 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1187 | --sbi=* | --sb=*)
1188 sbindir=$ac_optarg ;;
1190 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1191 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1192 | --sharedst | --shareds | --shared | --share | --shar \
1193 | --sha | --sh)
1194 ac_prev=sharedstatedir ;;
1195 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1196 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1197 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1198 | --sha=* | --sh=*)
1199 sharedstatedir=$ac_optarg ;;
1201 -site | --site | --sit)
1202 ac_prev=site ;;
1203 -site=* | --site=* | --sit=*)
1204 site=$ac_optarg ;;
1206 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1207 ac_prev=srcdir ;;
1208 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1209 srcdir=$ac_optarg ;;
1211 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1212 | --syscon | --sysco | --sysc | --sys | --sy)
1213 ac_prev=sysconfdir ;;
1214 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1215 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1216 sysconfdir=$ac_optarg ;;
1218 -target | --target | --targe | --targ | --tar | --ta | --t)
1219 ac_prev=target_alias ;;
1220 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1221 target_alias=$ac_optarg ;;
1223 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1224 verbose=yes ;;
1226 -version | --version | --versio | --versi | --vers | -V)
1227 ac_init_version=: ;;
1229 -with-* | --with-*)
1230 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1231 # Reject names that are not valid shell variable names.
1232 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1233 as_fn_error "invalid package name: $ac_useropt"
1234 ac_useropt_orig=$ac_useropt
1235 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1236 case $ac_user_opts in
1238 "with_$ac_useropt"
1239 "*) ;;
1240 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1241 ac_unrecognized_sep=', ';;
1242 esac
1243 eval with_$ac_useropt=\$ac_optarg ;;
1245 -without-* | --without-*)
1246 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1247 # Reject names that are not valid shell variable names.
1248 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1249 as_fn_error "invalid package name: $ac_useropt"
1250 ac_useropt_orig=$ac_useropt
1251 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1252 case $ac_user_opts in
1254 "with_$ac_useropt"
1255 "*) ;;
1256 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1257 ac_unrecognized_sep=', ';;
1258 esac
1259 eval with_$ac_useropt=no ;;
1261 --x)
1262 # Obsolete; use --with-x.
1263 with_x=yes ;;
1265 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1266 | --x-incl | --x-inc | --x-in | --x-i)
1267 ac_prev=x_includes ;;
1268 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1269 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1270 x_includes=$ac_optarg ;;
1272 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1273 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1274 ac_prev=x_libraries ;;
1275 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1276 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1277 x_libraries=$ac_optarg ;;
1279 -*) as_fn_error "unrecognized option: \`$ac_option'
1280 Try \`$0 --help' for more information."
1283 *=*)
1284 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1285 # Reject names that are not valid shell variable names.
1286 case $ac_envvar in #(
1287 '' | [0-9]* | *[!_$as_cr_alnum]* )
1288 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1289 esac
1290 eval $ac_envvar=\$ac_optarg
1291 export $ac_envvar ;;
1294 # FIXME: should be removed in autoconf 3.0.
1295 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1296 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1297 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1298 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1301 esac
1302 done
1304 if test -n "$ac_prev"; then
1305 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1306 as_fn_error "missing argument to $ac_option"
1309 if test -n "$ac_unrecognized_opts"; then
1310 case $enable_option_checking in
1311 no) ;;
1312 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1313 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1314 esac
1317 # Check all directory arguments for consistency.
1318 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1319 datadir sysconfdir sharedstatedir localstatedir includedir \
1320 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1321 libdir localedir mandir
1323 eval ac_val=\$$ac_var
1324 # Remove trailing slashes.
1325 case $ac_val in
1326 */ )
1327 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1328 eval $ac_var=\$ac_val;;
1329 esac
1330 # Be sure to have absolute directory names.
1331 case $ac_val in
1332 [\\/$]* | ?:[\\/]* ) continue;;
1333 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1334 esac
1335 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1336 done
1338 # There might be people who depend on the old broken behavior: `$host'
1339 # used to hold the argument of --host etc.
1340 # FIXME: To remove some day.
1341 build=$build_alias
1342 host=$host_alias
1343 target=$target_alias
1345 # FIXME: To remove some day.
1346 if test "x$host_alias" != x; then
1347 if test "x$build_alias" = x; then
1348 cross_compiling=maybe
1349 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1350 If a cross compiler is detected then cross compile mode will be used." >&2
1351 elif test "x$build_alias" != "x$host_alias"; then
1352 cross_compiling=yes
1356 ac_tool_prefix=
1357 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1359 test "$silent" = yes && exec 6>/dev/null
1362 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1363 ac_ls_di=`ls -di .` &&
1364 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1365 as_fn_error "working directory cannot be determined"
1366 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1367 as_fn_error "pwd does not report name of working directory"
1370 # Find the source files, if location was not specified.
1371 if test -z "$srcdir"; then
1372 ac_srcdir_defaulted=yes
1373 # Try the directory containing this script, then the parent directory.
1374 ac_confdir=`$as_dirname -- "$as_myself" ||
1375 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1376 X"$as_myself" : 'X\(//\)[^/]' \| \
1377 X"$as_myself" : 'X\(//\)$' \| \
1378 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1379 $as_echo X"$as_myself" |
1380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1381 s//\1/
1384 /^X\(\/\/\)[^/].*/{
1385 s//\1/
1388 /^X\(\/\/\)$/{
1389 s//\1/
1392 /^X\(\/\).*/{
1393 s//\1/
1396 s/.*/./; q'`
1397 srcdir=$ac_confdir
1398 if test ! -r "$srcdir/$ac_unique_file"; then
1399 srcdir=..
1401 else
1402 ac_srcdir_defaulted=no
1404 if test ! -r "$srcdir/$ac_unique_file"; then
1405 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1406 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1408 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1409 ac_abs_confdir=`(
1410 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1411 pwd)`
1412 # When building in place, set srcdir=.
1413 if test "$ac_abs_confdir" = "$ac_pwd"; then
1414 srcdir=.
1416 # Remove unnecessary trailing slashes from srcdir.
1417 # Double slashes in file names in object file debugging info
1418 # mess up M-x gdb in Emacs.
1419 case $srcdir in
1420 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1421 esac
1422 for ac_var in $ac_precious_vars; do
1423 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1424 eval ac_env_${ac_var}_value=\$${ac_var}
1425 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1426 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1427 done
1430 # Report the --help message.
1432 if test "$ac_init_help" = "long"; then
1433 # Omit some internal or obsolete options to make the list less imposing.
1434 # This message is too long to be a string in the A/UX 3.1 sh.
1435 cat <<_ACEOF
1436 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1438 Usage: $0 [OPTION]... [VAR=VALUE]...
1440 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1441 VAR=VALUE. See below for descriptions of some of the useful variables.
1443 Defaults for the options are specified in brackets.
1445 Configuration:
1446 -h, --help display this help and exit
1447 --help=short display options specific to this package
1448 --help=recursive display the short help of all the included packages
1449 -V, --version display version information and exit
1450 -q, --quiet, --silent do not print \`checking...' messages
1451 --cache-file=FILE cache test results in FILE [disabled]
1452 -C, --config-cache alias for \`--cache-file=config.cache'
1453 -n, --no-create do not create output files
1454 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1456 Installation directories:
1457 --prefix=PREFIX install architecture-independent files in PREFIX
1458 [$ac_default_prefix]
1459 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1460 [PREFIX]
1462 By default, \`make install' will install all the files in
1463 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1464 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1465 for instance \`--prefix=\$HOME'.
1467 For better control, use the options below.
1469 Fine tuning of the installation directories:
1470 --bindir=DIR user executables [EPREFIX/bin]
1471 --sbindir=DIR system admin executables [EPREFIX/sbin]
1472 --libexecdir=DIR program executables [EPREFIX/libexec]
1473 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1474 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1475 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1476 --libdir=DIR object code libraries [EPREFIX/lib]
1477 --includedir=DIR C header files [PREFIX/include]
1478 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1479 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1480 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1481 --infodir=DIR info documentation [DATAROOTDIR/info]
1482 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1483 --mandir=DIR man documentation [DATAROOTDIR/man]
1484 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1485 --htmldir=DIR html documentation [DOCDIR]
1486 --dvidir=DIR dvi documentation [DOCDIR]
1487 --pdfdir=DIR pdf documentation [DOCDIR]
1488 --psdir=DIR ps documentation [DOCDIR]
1489 _ACEOF
1491 cat <<\_ACEOF
1493 Program names:
1494 --program-prefix=PREFIX prepend PREFIX to installed program names
1495 --program-suffix=SUFFIX append SUFFIX to installed program names
1496 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1498 System types:
1499 --build=BUILD configure for building on BUILD [guessed]
1500 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1501 --target=TARGET configure for building compilers for TARGET [HOST]
1502 _ACEOF
1505 if test -n "$ac_init_help"; then
1506 case $ac_init_help in
1507 short | recursive ) echo "Configuration of package-unused version-unused:";;
1508 esac
1509 cat <<\_ACEOF
1511 Optional Features:
1512 --disable-option-checking ignore unrecognized --enable/--with options
1513 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1514 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1515 --enable-multilib build many library versions (default)
1516 --enable-maintainer-mode enable make rules and dependencies not useful
1517 (and sometimes confusing) to the casual installer
1518 --enable-shared[=PKGS] build shared libraries [default=yes]
1519 --enable-static[=PKGS] build static libraries [default=yes]
1520 --enable-fast-install[=PKGS]
1521 optimize for fast installation [default=yes]
1522 --disable-libtool-lock avoid locking (might break parallel builds)
1523 --disable-hosted-libstdcxx
1524 only build freestanding C++ runtime support
1525 --disable-libstdcxx-verbose
1526 disable termination messages to standard error
1527 --enable-sjlj-exceptions
1528 force use of builtin_setjmp for exceptions
1529 [default=auto]
1530 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1531 [default=$is_hosted]
1532 --enable-cstdio[=PACKAGE]
1533 use target-specific I/O package [default=stdio]
1534 --enable-clocale[=MODEL]
1535 use MODEL for target locale package [default=auto]
1536 --enable-nls use Native Language Support (default)
1537 --enable-libstdcxx-allocator[=KIND]
1538 use KIND for target std::allocator base
1539 [default=auto]
1540 --enable-cheaders[=KIND]
1541 construct "C" headers for g++ [default=$c_model]
1542 --enable-long-long enable template specializations for 'long long'
1543 [default=yes]
1544 --enable-wchar_t enable template specializations for 'wchar_t'
1545 [default=yes]
1546 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1547 --enable-concept-checks use Boost-derived template checks [default=no]
1548 --enable-libstdcxx-debug-flags=FLAGS
1549 pass compiler FLAGS when building debug library
1550 [default="-gdwarf-4 -g3 -O0"]
1551 --enable-libstdcxx-debug
1552 build extra debug library [default=no]
1553 --enable-cxx-flags=FLAGS
1554 pass compiler FLAGS when building library [default=]
1555 --enable-fully-dynamic-string
1556 do not put empty strings in per-process static
1557 memory [default=no]
1558 --enable-extern-template
1559 enable extern template [default=yes]
1560 --enable-werror turns on -Werror [default=yes]
1561 --enable-libstdcxx-time[=KIND]
1562 use KIND for check type [default=auto]
1563 --enable-tls Use thread-local storage [default=yes]
1564 --disable-rpath do not hardcode runtime library paths
1565 --enable-linux-futex use the Linux futex system call [default=default]
1566 --enable-symvers[=STYLE]
1567 enables symbol versioning of the shared library
1568 [default=yes]
1569 --enable-libstdcxx-visibility
1570 enables visibility safe usage [default=yes]
1571 --enable-libstdcxx-threads
1572 enable C++11 threads support [default=auto]
1573 --enable-version-specific-runtime-libs
1574 Specify that runtime libraries should be installed
1575 in a compiler-specific directory
1577 Optional Packages:
1578 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1579 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1580 --with-target-subdir=SUBDIR
1581 configuring in a subdirectory
1582 --with-cross-host=HOST configuring with a cross compiler
1583 --with-newlib assume newlib as a system C library
1584 --with-pic try to use only PIC/non-PIC objects [default=use
1585 both]
1586 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1587 --with-python-dir the location to install Python modules. This path is
1588 relative starting from the prefix.
1589 --with-gnu-ld assume the C compiler uses GNU ld default=no
1590 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1591 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1592 --with-system-libunwind use installed libunwind
1593 --with-gxx-include-dir=DIR
1594 installation directory for include files
1596 Some influential environment variables:
1597 CC C compiler command
1598 CFLAGS C compiler flags
1599 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1600 nonstandard directory <lib dir>
1601 LIBS libraries to pass to the linker, e.g. -l<library>
1602 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1603 you have headers in a nonstandard directory <include dir>
1604 CXX C++ compiler command
1605 CXXFLAGS C++ compiler flags
1606 CPP C preprocessor
1607 CXXCPP C++ preprocessor
1608 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1609 `c++filt', `gc++filt' on PATH.
1611 Use these variables to override the choices made by `configure' or to help
1612 it to find libraries and programs with nonstandard names/locations.
1614 Report bugs to the package provider.
1615 _ACEOF
1616 ac_status=$?
1619 if test "$ac_init_help" = "recursive"; then
1620 # If there are subdirs, report their specific --help.
1621 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1622 test -d "$ac_dir" ||
1623 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1624 continue
1625 ac_builddir=.
1627 case "$ac_dir" in
1628 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1630 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1631 # A ".." for each directory in $ac_dir_suffix.
1632 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1633 case $ac_top_builddir_sub in
1634 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1635 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1636 esac ;;
1637 esac
1638 ac_abs_top_builddir=$ac_pwd
1639 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1640 # for backward compatibility:
1641 ac_top_builddir=$ac_top_build_prefix
1643 case $srcdir in
1644 .) # We are building in place.
1645 ac_srcdir=.
1646 ac_top_srcdir=$ac_top_builddir_sub
1647 ac_abs_top_srcdir=$ac_pwd ;;
1648 [\\/]* | ?:[\\/]* ) # Absolute name.
1649 ac_srcdir=$srcdir$ac_dir_suffix;
1650 ac_top_srcdir=$srcdir
1651 ac_abs_top_srcdir=$srcdir ;;
1652 *) # Relative name.
1653 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1654 ac_top_srcdir=$ac_top_build_prefix$srcdir
1655 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1656 esac
1657 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1659 cd "$ac_dir" || { ac_status=$?; continue; }
1660 # Check for guested configure.
1661 if test -f "$ac_srcdir/configure.gnu"; then
1662 echo &&
1663 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1664 elif test -f "$ac_srcdir/configure"; then
1665 echo &&
1666 $SHELL "$ac_srcdir/configure" --help=recursive
1667 else
1668 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1669 fi || ac_status=$?
1670 cd "$ac_pwd" || { ac_status=$?; break; }
1671 done
1674 test -n "$ac_init_help" && exit $ac_status
1675 if $ac_init_version; then
1676 cat <<\_ACEOF
1677 package-unused configure version-unused
1678 generated by GNU Autoconf 2.64
1680 Copyright (C) 2009 Free Software Foundation, Inc.
1681 This configure script is free software; the Free Software Foundation
1682 gives unlimited permission to copy, distribute and modify it.
1683 _ACEOF
1684 exit
1687 ## ------------------------ ##
1688 ## Autoconf initialization. ##
1689 ## ------------------------ ##
1691 # ac_fn_c_try_compile LINENO
1692 # --------------------------
1693 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1694 ac_fn_c_try_compile ()
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 rm -f conftest.$ac_objext
1698 if { { ac_try="$ac_compile"
1699 case "(($ac_try" in
1700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701 *) ac_try_echo=$ac_try;;
1702 esac
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_compile") 2>conftest.err
1706 ac_status=$?
1707 if test -s conftest.err; then
1708 grep -v '^ *+' conftest.err >conftest.er1
1709 cat conftest.er1 >&5
1710 mv -f conftest.er1 conftest.err
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; } && {
1714 test -z "$ac_c_werror_flag" ||
1715 test ! -s conftest.err
1716 } && test -s conftest.$ac_objext; then :
1717 ac_retval=0
1718 else
1719 $as_echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.$ac_ext >&5
1722 ac_retval=1
1724 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1725 return $ac_retval
1727 } # ac_fn_c_try_compile
1729 # ac_fn_cxx_try_compile LINENO
1730 # ----------------------------
1731 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1732 ac_fn_cxx_try_compile ()
1734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735 rm -f conftest.$ac_objext
1736 if { { ac_try="$ac_compile"
1737 case "(($ac_try" in
1738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1739 *) ac_try_echo=$ac_try;;
1740 esac
1741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742 $as_echo "$ac_try_echo"; } >&5
1743 (eval "$ac_compile") 2>conftest.err
1744 ac_status=$?
1745 if test -s conftest.err; then
1746 grep -v '^ *+' conftest.err >conftest.er1
1747 cat conftest.er1 >&5
1748 mv -f conftest.er1 conftest.err
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; } && {
1752 test -z "$ac_cxx_werror_flag" ||
1753 test ! -s conftest.err
1754 } && test -s conftest.$ac_objext; then :
1755 ac_retval=0
1756 else
1757 $as_echo "$as_me: failed program was:" >&5
1758 sed 's/^/| /' conftest.$ac_ext >&5
1760 ac_retval=1
1762 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1763 return $ac_retval
1765 } # ac_fn_cxx_try_compile
1767 # ac_fn_c_try_cpp LINENO
1768 # ----------------------
1769 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1770 ac_fn_c_try_cpp ()
1772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773 if { { ac_try="$ac_cpp conftest.$ac_ext"
1774 case "(($ac_try" in
1775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1776 *) ac_try_echo=$ac_try;;
1777 esac
1778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1779 $as_echo "$ac_try_echo"; } >&5
1780 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1781 ac_status=$?
1782 if test -s conftest.err; then
1783 grep -v '^ *+' conftest.err >conftest.er1
1784 cat conftest.er1 >&5
1785 mv -f conftest.er1 conftest.err
1787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1788 test $ac_status = 0; } >/dev/null && {
1789 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1790 test ! -s conftest.err
1791 }; then :
1792 ac_retval=0
1793 else
1794 $as_echo "$as_me: failed program was:" >&5
1795 sed 's/^/| /' conftest.$ac_ext >&5
1797 ac_retval=1
1799 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1800 return $ac_retval
1802 } # ac_fn_c_try_cpp
1804 # ac_fn_c_try_link LINENO
1805 # -----------------------
1806 # Try to link conftest.$ac_ext, and return whether this succeeded.
1807 ac_fn_c_try_link ()
1809 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1810 rm -f conftest.$ac_objext conftest$ac_exeext
1811 if { { ac_try="$ac_link"
1812 case "(($ac_try" in
1813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1814 *) ac_try_echo=$ac_try;;
1815 esac
1816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1817 $as_echo "$ac_try_echo"; } >&5
1818 (eval "$ac_link") 2>conftest.err
1819 ac_status=$?
1820 if test -s conftest.err; then
1821 grep -v '^ *+' conftest.err >conftest.er1
1822 cat conftest.er1 >&5
1823 mv -f conftest.er1 conftest.err
1825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1826 test $ac_status = 0; } && {
1827 test -z "$ac_c_werror_flag" ||
1828 test ! -s conftest.err
1829 } && test -s conftest$ac_exeext && {
1830 test "$cross_compiling" = yes ||
1831 $as_test_x conftest$ac_exeext
1832 }; then :
1833 ac_retval=0
1834 else
1835 $as_echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.$ac_ext >&5
1838 ac_retval=1
1840 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1841 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1842 # interfere with the next link command; also delete a directory that is
1843 # left behind by Apple's compiler. We do this before executing the actions.
1844 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1845 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1846 return $ac_retval
1848 } # ac_fn_c_try_link
1850 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1851 # -------------------------------------------------------
1852 # Tests whether HEADER exists and can be compiled using the include files in
1853 # INCLUDES, setting the cache variable VAR accordingly.
1854 ac_fn_c_check_header_compile ()
1856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1858 $as_echo_n "checking for $2... " >&6; }
1859 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1860 $as_echo_n "(cached) " >&6
1861 else
1862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1863 /* end confdefs.h. */
1865 #include <$2>
1866 _ACEOF
1867 if ac_fn_c_try_compile "$LINENO"; then :
1868 eval "$3=yes"
1869 else
1870 eval "$3=no"
1872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1874 eval ac_res=\$$3
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1876 $as_echo "$ac_res" >&6; }
1877 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1879 } # ac_fn_c_check_header_compile
1881 # ac_fn_c_try_run LINENO
1882 # ----------------------
1883 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1884 # that executables *can* be run.
1885 ac_fn_c_try_run ()
1887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888 if { { ac_try="$ac_link"
1889 case "(($ac_try" in
1890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1891 *) ac_try_echo=$ac_try;;
1892 esac
1893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1894 $as_echo "$ac_try_echo"; } >&5
1895 (eval "$ac_link") 2>&5
1896 ac_status=$?
1897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1898 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1899 { { case "(($ac_try" in
1900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1901 *) ac_try_echo=$ac_try;;
1902 esac
1903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1904 $as_echo "$ac_try_echo"; } >&5
1905 (eval "$ac_try") 2>&5
1906 ac_status=$?
1907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1908 test $ac_status = 0; }; }; then :
1909 ac_retval=0
1910 else
1911 $as_echo "$as_me: program exited with status $ac_status" >&5
1912 $as_echo "$as_me: failed program was:" >&5
1913 sed 's/^/| /' conftest.$ac_ext >&5
1915 ac_retval=$ac_status
1917 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1918 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1919 return $ac_retval
1921 } # ac_fn_c_try_run
1923 # ac_fn_c_check_func LINENO FUNC VAR
1924 # ----------------------------------
1925 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1926 ac_fn_c_check_func ()
1928 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1930 $as_echo_n "checking for $2... " >&6; }
1931 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1932 $as_echo_n "(cached) " >&6
1933 else
1934 if test x$gcc_no_link = xyes; then
1935 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1938 /* end confdefs.h. */
1939 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1941 #define $2 innocuous_$2
1943 /* System header to define __stub macros and hopefully few prototypes,
1944 which can conflict with char $2 (); below.
1945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1946 <limits.h> exists even on freestanding compilers. */
1948 #ifdef __STDC__
1949 # include <limits.h>
1950 #else
1951 # include <assert.h>
1952 #endif
1954 #undef $2
1956 /* Override any GCC internal prototype to avoid an error.
1957 Use char because int might match the return type of a GCC
1958 builtin and then its argument prototype would still apply. */
1959 #ifdef __cplusplus
1960 extern "C"
1961 #endif
1962 char $2 ();
1963 /* The GNU C library defines this for functions which it implements
1964 to always fail with ENOSYS. Some functions are actually named
1965 something starting with __ and the normal name is an alias. */
1966 #if defined __stub_$2 || defined __stub___$2
1967 choke me
1968 #endif
1971 main ()
1973 return $2 ();
1975 return 0;
1977 _ACEOF
1978 if ac_fn_c_try_link "$LINENO"; then :
1979 eval "$3=yes"
1980 else
1981 eval "$3=no"
1983 rm -f core conftest.err conftest.$ac_objext \
1984 conftest$ac_exeext conftest.$ac_ext
1986 eval ac_res=\$$3
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1988 $as_echo "$ac_res" >&6; }
1989 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1991 } # ac_fn_c_check_func
1993 # ac_fn_cxx_try_cpp LINENO
1994 # ------------------------
1995 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1996 ac_fn_cxx_try_cpp ()
1998 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1999 if { { ac_try="$ac_cpp conftest.$ac_ext"
2000 case "(($ac_try" in
2001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2002 *) ac_try_echo=$ac_try;;
2003 esac
2004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2005 $as_echo "$ac_try_echo"; } >&5
2006 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2007 ac_status=$?
2008 if test -s conftest.err; then
2009 grep -v '^ *+' conftest.err >conftest.er1
2010 cat conftest.er1 >&5
2011 mv -f conftest.er1 conftest.err
2013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2014 test $ac_status = 0; } >/dev/null && {
2015 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2016 test ! -s conftest.err
2017 }; then :
2018 ac_retval=0
2019 else
2020 $as_echo "$as_me: failed program was:" >&5
2021 sed 's/^/| /' conftest.$ac_ext >&5
2023 ac_retval=1
2025 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2026 return $ac_retval
2028 } # ac_fn_cxx_try_cpp
2030 # ac_fn_cxx_try_link LINENO
2031 # -------------------------
2032 # Try to link conftest.$ac_ext, and return whether this succeeded.
2033 ac_fn_cxx_try_link ()
2035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2036 rm -f conftest.$ac_objext conftest$ac_exeext
2037 if { { ac_try="$ac_link"
2038 case "(($ac_try" in
2039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2040 *) ac_try_echo=$ac_try;;
2041 esac
2042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2043 $as_echo "$ac_try_echo"; } >&5
2044 (eval "$ac_link") 2>conftest.err
2045 ac_status=$?
2046 if test -s conftest.err; then
2047 grep -v '^ *+' conftest.err >conftest.er1
2048 cat conftest.er1 >&5
2049 mv -f conftest.er1 conftest.err
2051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2052 test $ac_status = 0; } && {
2053 test -z "$ac_cxx_werror_flag" ||
2054 test ! -s conftest.err
2055 } && test -s conftest$ac_exeext && {
2056 test "$cross_compiling" = yes ||
2057 $as_test_x conftest$ac_exeext
2058 }; then :
2059 ac_retval=0
2060 else
2061 $as_echo "$as_me: failed program was:" >&5
2062 sed 's/^/| /' conftest.$ac_ext >&5
2064 ac_retval=1
2066 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2067 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2068 # interfere with the next link command; also delete a directory that is
2069 # left behind by Apple's compiler. We do this before executing the actions.
2070 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2071 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2072 return $ac_retval
2074 } # ac_fn_cxx_try_link
2076 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2077 # -------------------------------------------------------
2078 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2079 # the include files in INCLUDES and setting the cache variable VAR
2080 # accordingly.
2081 ac_fn_c_check_header_mongrel ()
2083 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2084 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2086 $as_echo_n "checking for $2... " >&6; }
2087 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2088 $as_echo_n "(cached) " >&6
2090 eval ac_res=\$$3
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2092 $as_echo "$ac_res" >&6; }
2093 else
2094 # Is the header compilable?
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2096 $as_echo_n "checking $2 usability... " >&6; }
2097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2098 /* end confdefs.h. */
2100 #include <$2>
2101 _ACEOF
2102 if ac_fn_c_try_compile "$LINENO"; then :
2103 ac_header_compiler=yes
2104 else
2105 ac_header_compiler=no
2107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2109 $as_echo "$ac_header_compiler" >&6; }
2111 # Is the header present?
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2113 $as_echo_n "checking $2 presence... " >&6; }
2114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2115 /* end confdefs.h. */
2116 #include <$2>
2117 _ACEOF
2118 if ac_fn_c_try_cpp "$LINENO"; then :
2119 ac_header_preproc=yes
2120 else
2121 ac_header_preproc=no
2123 rm -f conftest.err conftest.$ac_ext
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2125 $as_echo "$ac_header_preproc" >&6; }
2127 # So? What about this header?
2128 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2129 yes:no: )
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2131 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2133 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2135 no:yes:* )
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2137 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2139 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2141 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2143 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2145 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2147 esac
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2149 $as_echo_n "checking for $2... " >&6; }
2150 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2151 $as_echo_n "(cached) " >&6
2152 else
2153 eval "$3=\$ac_header_compiler"
2155 eval ac_res=\$$3
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2157 $as_echo "$ac_res" >&6; }
2159 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2161 } # ac_fn_c_check_header_mongrel
2163 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2164 # ---------------------------------------------------------
2165 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2166 # the include files in INCLUDES and setting the cache variable VAR
2167 # accordingly.
2168 ac_fn_cxx_check_header_mongrel ()
2170 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2171 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2173 $as_echo_n "checking for $2... " >&6; }
2174 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2175 $as_echo_n "(cached) " >&6
2177 eval ac_res=\$$3
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2179 $as_echo "$ac_res" >&6; }
2180 else
2181 # Is the header compilable?
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2183 $as_echo_n "checking $2 usability... " >&6; }
2184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185 /* end confdefs.h. */
2187 #include <$2>
2188 _ACEOF
2189 if ac_fn_cxx_try_compile "$LINENO"; then :
2190 ac_header_compiler=yes
2191 else
2192 ac_header_compiler=no
2194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2196 $as_echo "$ac_header_compiler" >&6; }
2198 # Is the header present?
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2200 $as_echo_n "checking $2 presence... " >&6; }
2201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2202 /* end confdefs.h. */
2203 #include <$2>
2204 _ACEOF
2205 if ac_fn_cxx_try_cpp "$LINENO"; then :
2206 ac_header_preproc=yes
2207 else
2208 ac_header_preproc=no
2210 rm -f conftest.err conftest.$ac_ext
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2212 $as_echo "$ac_header_preproc" >&6; }
2214 # So? What about this header?
2215 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2216 yes:no: )
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2218 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2220 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2222 no:yes:* )
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2224 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2226 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2228 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2230 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2232 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2234 esac
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2236 $as_echo_n "checking for $2... " >&6; }
2237 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2238 $as_echo_n "(cached) " >&6
2239 else
2240 eval "$3=\$ac_header_compiler"
2242 eval ac_res=\$$3
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2244 $as_echo "$ac_res" >&6; }
2246 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2248 } # ac_fn_cxx_check_header_mongrel
2250 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2251 # --------------------------------------------
2252 # Tries to find the compile-time value of EXPR in a program that includes
2253 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2254 # computed
2255 ac_fn_c_compute_int ()
2257 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2258 if test "$cross_compiling" = yes; then
2259 # Depending upon the size, compute the lo and hi bounds.
2260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2261 /* end confdefs.h. */
2264 main ()
2266 static int test_array [1 - 2 * !(($2) >= 0)];
2267 test_array [0] = 0
2270 return 0;
2272 _ACEOF
2273 if ac_fn_c_try_compile "$LINENO"; then :
2274 ac_lo=0 ac_mid=0
2275 while :; do
2276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2277 /* end confdefs.h. */
2280 main ()
2282 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2283 test_array [0] = 0
2286 return 0;
2288 _ACEOF
2289 if ac_fn_c_try_compile "$LINENO"; then :
2290 ac_hi=$ac_mid; break
2291 else
2292 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2293 if test $ac_lo -le $ac_mid; then
2294 ac_lo= ac_hi=
2295 break
2297 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2300 done
2301 else
2302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2303 /* end confdefs.h. */
2306 main ()
2308 static int test_array [1 - 2 * !(($2) < 0)];
2309 test_array [0] = 0
2312 return 0;
2314 _ACEOF
2315 if ac_fn_c_try_compile "$LINENO"; then :
2316 ac_hi=-1 ac_mid=-1
2317 while :; do
2318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2319 /* end confdefs.h. */
2322 main ()
2324 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2325 test_array [0] = 0
2328 return 0;
2330 _ACEOF
2331 if ac_fn_c_try_compile "$LINENO"; then :
2332 ac_lo=$ac_mid; break
2333 else
2334 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2335 if test $ac_mid -le $ac_hi; then
2336 ac_lo= ac_hi=
2337 break
2339 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2342 done
2343 else
2344 ac_lo= ac_hi=
2346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2349 # Binary search between lo and hi bounds.
2350 while test "x$ac_lo" != "x$ac_hi"; do
2351 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2353 /* end confdefs.h. */
2356 main ()
2358 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2359 test_array [0] = 0
2362 return 0;
2364 _ACEOF
2365 if ac_fn_c_try_compile "$LINENO"; then :
2366 ac_hi=$ac_mid
2367 else
2368 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2371 done
2372 case $ac_lo in #((
2373 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2374 '') ac_retval=1 ;;
2375 esac
2376 else
2377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2378 /* end confdefs.h. */
2380 static long int longval () { return $2; }
2381 static unsigned long int ulongval () { return $2; }
2382 #include <stdio.h>
2383 #include <stdlib.h>
2385 main ()
2388 FILE *f = fopen ("conftest.val", "w");
2389 if (! f)
2390 return 1;
2391 if (($2) < 0)
2393 long int i = longval ();
2394 if (i != ($2))
2395 return 1;
2396 fprintf (f, "%ld", i);
2398 else
2400 unsigned long int i = ulongval ();
2401 if (i != ($2))
2402 return 1;
2403 fprintf (f, "%lu", i);
2405 /* Do not output a trailing newline, as this causes \r\n confusion
2406 on some platforms. */
2407 return ferror (f) || fclose (f) != 0;
2410 return 0;
2412 _ACEOF
2413 if ac_fn_c_try_run "$LINENO"; then :
2414 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2415 else
2416 ac_retval=1
2418 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2419 conftest.$ac_objext conftest.beam conftest.$ac_ext
2420 rm -f conftest.val
2423 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2424 return $ac_retval
2426 } # ac_fn_c_compute_int
2428 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2429 # -------------------------------------------
2430 # Tests whether TYPE exists after having included INCLUDES, setting cache
2431 # variable VAR accordingly.
2432 ac_fn_c_check_type ()
2434 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2436 $as_echo_n "checking for $2... " >&6; }
2437 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2438 $as_echo_n "(cached) " >&6
2439 else
2440 eval "$3=no"
2441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2442 /* end confdefs.h. */
2445 main ()
2447 if (sizeof ($2))
2448 return 0;
2450 return 0;
2452 _ACEOF
2453 if ac_fn_c_try_compile "$LINENO"; then :
2454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2455 /* end confdefs.h. */
2458 main ()
2460 if (sizeof (($2)))
2461 return 0;
2463 return 0;
2465 _ACEOF
2466 if ac_fn_c_try_compile "$LINENO"; then :
2468 else
2469 eval "$3=yes"
2471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2475 eval ac_res=\$$3
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2477 $as_echo "$ac_res" >&6; }
2478 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2480 } # ac_fn_c_check_type
2481 cat >config.log <<_ACEOF
2482 This file contains any messages produced by compilers while
2483 running configure, to aid debugging if configure makes a mistake.
2485 It was created by package-unused $as_me version-unused, which was
2486 generated by GNU Autoconf 2.64. Invocation command line was
2488 $ $0 $@
2490 _ACEOF
2491 exec 5>>config.log
2493 cat <<_ASUNAME
2494 ## --------- ##
2495 ## Platform. ##
2496 ## --------- ##
2498 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2499 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2500 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2501 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2502 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2504 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2505 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2507 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2508 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2509 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2510 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2511 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2512 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2513 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2515 _ASUNAME
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2518 for as_dir in $PATH
2520 IFS=$as_save_IFS
2521 test -z "$as_dir" && as_dir=.
2522 $as_echo "PATH: $as_dir"
2523 done
2524 IFS=$as_save_IFS
2526 } >&5
2528 cat >&5 <<_ACEOF
2531 ## ----------- ##
2532 ## Core tests. ##
2533 ## ----------- ##
2535 _ACEOF
2538 # Keep a trace of the command line.
2539 # Strip out --no-create and --no-recursion so they do not pile up.
2540 # Strip out --silent because we don't want to record it for future runs.
2541 # Also quote any args containing shell meta-characters.
2542 # Make two passes to allow for proper duplicate-argument suppression.
2543 ac_configure_args=
2544 ac_configure_args0=
2545 ac_configure_args1=
2546 ac_must_keep_next=false
2547 for ac_pass in 1 2
2549 for ac_arg
2551 case $ac_arg in
2552 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2553 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2554 | -silent | --silent | --silen | --sile | --sil)
2555 continue ;;
2556 *\'*)
2557 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2558 esac
2559 case $ac_pass in
2560 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2562 as_fn_append ac_configure_args1 " '$ac_arg'"
2563 if test $ac_must_keep_next = true; then
2564 ac_must_keep_next=false # Got value, back to normal.
2565 else
2566 case $ac_arg in
2567 *=* | --config-cache | -C | -disable-* | --disable-* \
2568 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2569 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2570 | -with-* | --with-* | -without-* | --without-* | --x)
2571 case "$ac_configure_args0 " in
2572 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2573 esac
2575 -* ) ac_must_keep_next=true ;;
2576 esac
2578 as_fn_append ac_configure_args " '$ac_arg'"
2580 esac
2581 done
2582 done
2583 { ac_configure_args0=; unset ac_configure_args0;}
2584 { ac_configure_args1=; unset ac_configure_args1;}
2586 # When interrupted or exit'd, cleanup temporary files, and complete
2587 # config.log. We remove comments because anyway the quotes in there
2588 # would cause problems or look ugly.
2589 # WARNING: Use '\'' to represent an apostrophe within the trap.
2590 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2591 trap 'exit_status=$?
2592 # Save into config.log some information that might help in debugging.
2594 echo
2596 cat <<\_ASBOX
2597 ## ---------------- ##
2598 ## Cache variables. ##
2599 ## ---------------- ##
2600 _ASBOX
2601 echo
2602 # The following way of writing the cache mishandles newlines in values,
2604 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2605 eval ac_val=\$$ac_var
2606 case $ac_val in #(
2607 *${as_nl}*)
2608 case $ac_var in #(
2609 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2610 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2611 esac
2612 case $ac_var in #(
2613 _ | IFS | as_nl) ;; #(
2614 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2615 *) { eval $ac_var=; unset $ac_var;} ;;
2616 esac ;;
2617 esac
2618 done
2619 (set) 2>&1 |
2620 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2621 *${as_nl}ac_space=\ *)
2622 sed -n \
2623 "s/'\''/'\''\\\\'\'''\''/g;
2624 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2625 ;; #(
2627 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2629 esac |
2630 sort
2632 echo
2634 cat <<\_ASBOX
2635 ## ----------------- ##
2636 ## Output variables. ##
2637 ## ----------------- ##
2638 _ASBOX
2639 echo
2640 for ac_var in $ac_subst_vars
2642 eval ac_val=\$$ac_var
2643 case $ac_val in
2644 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2645 esac
2646 $as_echo "$ac_var='\''$ac_val'\''"
2647 done | sort
2648 echo
2650 if test -n "$ac_subst_files"; then
2651 cat <<\_ASBOX
2652 ## ------------------- ##
2653 ## File substitutions. ##
2654 ## ------------------- ##
2655 _ASBOX
2656 echo
2657 for ac_var in $ac_subst_files
2659 eval ac_val=\$$ac_var
2660 case $ac_val in
2661 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2662 esac
2663 $as_echo "$ac_var='\''$ac_val'\''"
2664 done | sort
2665 echo
2668 if test -s confdefs.h; then
2669 cat <<\_ASBOX
2670 ## ----------- ##
2671 ## confdefs.h. ##
2672 ## ----------- ##
2673 _ASBOX
2674 echo
2675 cat confdefs.h
2676 echo
2678 test "$ac_signal" != 0 &&
2679 $as_echo "$as_me: caught signal $ac_signal"
2680 $as_echo "$as_me: exit $exit_status"
2681 } >&5
2682 rm -f core *.core core.conftest.* &&
2683 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2684 exit $exit_status
2686 for ac_signal in 1 2 13 15; do
2687 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2688 done
2689 ac_signal=0
2691 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2692 rm -f -r conftest* confdefs.h
2694 $as_echo "/* confdefs.h */" > confdefs.h
2696 # Predefined preprocessor variables.
2698 cat >>confdefs.h <<_ACEOF
2699 #define PACKAGE_NAME "$PACKAGE_NAME"
2700 _ACEOF
2702 cat >>confdefs.h <<_ACEOF
2703 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2704 _ACEOF
2706 cat >>confdefs.h <<_ACEOF
2707 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2708 _ACEOF
2710 cat >>confdefs.h <<_ACEOF
2711 #define PACKAGE_STRING "$PACKAGE_STRING"
2712 _ACEOF
2714 cat >>confdefs.h <<_ACEOF
2715 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2716 _ACEOF
2718 cat >>confdefs.h <<_ACEOF
2719 #define PACKAGE_URL "$PACKAGE_URL"
2720 _ACEOF
2723 # Let the site file select an alternate cache file if it wants to.
2724 # Prefer an explicitly selected file to automatically selected ones.
2725 ac_site_file1=NONE
2726 ac_site_file2=NONE
2727 if test -n "$CONFIG_SITE"; then
2728 ac_site_file1=$CONFIG_SITE
2729 elif test "x$prefix" != xNONE; then
2730 ac_site_file1=$prefix/share/config.site
2731 ac_site_file2=$prefix/etc/config.site
2732 else
2733 ac_site_file1=$ac_default_prefix/share/config.site
2734 ac_site_file2=$ac_default_prefix/etc/config.site
2736 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2738 test "x$ac_site_file" = xNONE && continue
2739 if test -r "$ac_site_file"; then
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2741 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2742 sed 's/^/| /' "$ac_site_file" >&5
2743 . "$ac_site_file"
2745 done
2747 if test -r "$cache_file"; then
2748 # Some versions of bash will fail to source /dev/null (special
2749 # files actually), so we avoid doing that.
2750 if test -f "$cache_file"; then
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2752 $as_echo "$as_me: loading cache $cache_file" >&6;}
2753 case $cache_file in
2754 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2755 *) . "./$cache_file";;
2756 esac
2758 else
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2760 $as_echo "$as_me: creating cache $cache_file" >&6;}
2761 >$cache_file
2764 # Check that the precious variables saved in the cache have kept the same
2765 # value.
2766 ac_cache_corrupted=false
2767 for ac_var in $ac_precious_vars; do
2768 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2769 eval ac_new_set=\$ac_env_${ac_var}_set
2770 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2771 eval ac_new_val=\$ac_env_${ac_var}_value
2772 case $ac_old_set,$ac_new_set in
2773 set,)
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2775 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2776 ac_cache_corrupted=: ;;
2777 ,set)
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2779 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2780 ac_cache_corrupted=: ;;
2781 ,);;
2783 if test "x$ac_old_val" != "x$ac_new_val"; then
2784 # differences in whitespace do not lead to failure.
2785 ac_old_val_w=`echo x $ac_old_val`
2786 ac_new_val_w=`echo x $ac_new_val`
2787 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2789 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2790 ac_cache_corrupted=:
2791 else
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2793 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2794 eval $ac_var=\$ac_old_val
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2797 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2799 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2800 fi;;
2801 esac
2802 # Pass precious variables to config.status.
2803 if test "$ac_new_set" = set; then
2804 case $ac_new_val in
2805 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2806 *) ac_arg=$ac_var=$ac_new_val ;;
2807 esac
2808 case " $ac_configure_args " in
2809 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2810 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2811 esac
2813 done
2814 if $ac_cache_corrupted; then
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2818 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2819 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2821 ## -------------------- ##
2822 ## Main body of script. ##
2823 ## -------------------- ##
2825 ac_ext=c
2826 ac_cpp='$CPP $CPPFLAGS'
2827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2836 ac_config_headers="$ac_config_headers config.h"
2839 # This works around the fact that libtool configuration may change LD
2840 # for this particular configuration, but some shells, instead of
2841 # keeping the changes in LD private, export them just because LD is
2842 # exported. Only used at the end of this file.
2843 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2845 # Find the rest of the source tree framework.
2846 # Default to --enable-multilib
2847 # Check whether --enable-multilib was given.
2848 if test "${enable_multilib+set}" = set; then :
2849 enableval=$enable_multilib; case "$enableval" in
2850 yes) multilib=yes ;;
2851 no) multilib=no ;;
2852 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2853 esac
2854 else
2855 multilib=yes
2859 # We may get other options which we leave undocumented:
2860 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2861 # See config-ml.in if you want the gory details.
2863 if test "$srcdir" = "."; then
2864 if test "$with_target_subdir" != "."; then
2865 multi_basedir="$srcdir/$with_multisrctop../.."
2866 else
2867 multi_basedir="$srcdir/$with_multisrctop.."
2869 else
2870 multi_basedir="$srcdir/.."
2874 # Even if the default multilib is not a cross compilation,
2875 # it may be that some of the other multilibs are.
2876 if test $cross_compiling = no && test $multilib = yes \
2877 && test "x${with_multisubdir}" != x ; then
2878 cross_compiling=maybe
2881 ac_config_commands="$ac_config_commands default-1"
2884 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2886 # You will slowly go insane if you do not grok the following fact: when
2887 # building v3 as part of the compiler, the top-level /target/ becomes the
2888 # library's /host/. configure then causes --target to default to --host,
2889 # exactly like any other package using autoconf. Therefore, 'target' and
2890 # 'host' will always be the same. This makes sense both for native and
2891 # cross compilers, just think about it for a little while. :-)
2893 # Also, if v3 is being configured as part of a cross compiler, the top-level
2894 # configure script will pass the "real" host as $with_cross_host.
2896 # Do not delete or change the following two lines. For why, see
2897 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2898 ac_aux_dir=
2899 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2900 for ac_t in install-sh install.sh shtool; do
2901 if test -f "$ac_dir/$ac_t"; then
2902 ac_aux_dir=$ac_dir
2903 ac_install_sh="$ac_aux_dir/$ac_t -c"
2904 break 2
2906 done
2907 done
2908 if test -z "$ac_aux_dir"; then
2909 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2912 # These three variables are undocumented and unsupported,
2913 # and are intended to be withdrawn in a future Autoconf release.
2914 # They can cause serious problems if a builder's source tree is in a directory
2915 # whose full name contains unusual characters.
2916 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2917 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2918 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2921 # Make sure we can run config.sub.
2922 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2923 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2926 $as_echo_n "checking build system type... " >&6; }
2927 if test "${ac_cv_build+set}" = set; then :
2928 $as_echo_n "(cached) " >&6
2929 else
2930 ac_build_alias=$build_alias
2931 test "x$ac_build_alias" = x &&
2932 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2933 test "x$ac_build_alias" = x &&
2934 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2935 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2936 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2940 $as_echo "$ac_cv_build" >&6; }
2941 case $ac_cv_build in
2942 *-*-*) ;;
2943 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2944 esac
2945 build=$ac_cv_build
2946 ac_save_IFS=$IFS; IFS='-'
2947 set x $ac_cv_build
2948 shift
2949 build_cpu=$1
2950 build_vendor=$2
2951 shift; shift
2952 # Remember, the first character of IFS is used to create $*,
2953 # except with old shells:
2954 build_os=$*
2955 IFS=$ac_save_IFS
2956 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2960 $as_echo_n "checking host system type... " >&6; }
2961 if test "${ac_cv_host+set}" = set; then :
2962 $as_echo_n "(cached) " >&6
2963 else
2964 if test "x$host_alias" = x; then
2965 ac_cv_host=$ac_cv_build
2966 else
2967 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2968 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2973 $as_echo "$ac_cv_host" >&6; }
2974 case $ac_cv_host in
2975 *-*-*) ;;
2976 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2977 esac
2978 host=$ac_cv_host
2979 ac_save_IFS=$IFS; IFS='-'
2980 set x $ac_cv_host
2981 shift
2982 host_cpu=$1
2983 host_vendor=$2
2984 shift; shift
2985 # Remember, the first character of IFS is used to create $*,
2986 # except with old shells:
2987 host_os=$*
2988 IFS=$ac_save_IFS
2989 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2993 $as_echo_n "checking target system type... " >&6; }
2994 if test "${ac_cv_target+set}" = set; then :
2995 $as_echo_n "(cached) " >&6
2996 else
2997 if test "x$target_alias" = x; then
2998 ac_cv_target=$ac_cv_host
2999 else
3000 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3001 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3006 $as_echo "$ac_cv_target" >&6; }
3007 case $ac_cv_target in
3008 *-*-*) ;;
3009 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3010 esac
3011 target=$ac_cv_target
3012 ac_save_IFS=$IFS; IFS='-'
3013 set x $ac_cv_target
3014 shift
3015 target_cpu=$1
3016 target_vendor=$2
3017 shift; shift
3018 # Remember, the first character of IFS is used to create $*,
3019 # except with old shells:
3020 target_os=$*
3021 IFS=$ac_save_IFS
3022 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3025 # The aliases save the names the user supplied, while $host etc.
3026 # will get canonicalized.
3027 test -n "$target_alias" &&
3028 test "$program_prefix$program_suffix$program_transform_name" = \
3029 NONENONEs,x,x, &&
3030 program_prefix=${target_alias}-
3032 target_alias=${target_alias-$host_alias}
3034 # Handy for debugging:
3035 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3037 if test "$build" != "$host"; then
3038 # We are being configured with some form of cross compiler.
3039 GLIBCXX_IS_NATIVE=false
3040 case "$host","$target" in
3041 # Darwin crosses can use the host system's libraries and headers,
3042 # because of the fat library support. Of course, it must be the
3043 # same version of Darwin on both sides. Allow the user to
3044 # just say --target=foo-darwin without a version number to mean
3045 # "the version on this system".
3046 *-*-darwin*,*-*-darwin*)
3047 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3048 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3049 if test $hostos = $targetos -o $targetos = darwin ; then
3050 GLIBCXX_IS_NATIVE=true
3057 esac
3058 else
3059 GLIBCXX_IS_NATIVE=true
3062 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3063 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3064 # 1.x: minimum required version
3065 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3066 # of other PACKAGE_* variables will, however, and there's nothing
3067 # we can do about that; they come from AC_INIT).
3068 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3069 # file in the top srcdir, etc, etc), so stop complaining.
3070 # no-dependencies: turns off auto dependency generation (just for now)
3071 # no-dist: we don't want 'dist' and related rules.
3072 # -Wall: turns on all automake warnings...
3073 # -Wno-portability: ...except this one, since GNU make is now required.
3074 am__api_version='1.11'
3076 # Find a good install program. We prefer a C program (faster),
3077 # so one script is as good as another. But avoid the broken or
3078 # incompatible versions:
3079 # SysV /etc/install, /usr/sbin/install
3080 # SunOS /usr/etc/install
3081 # IRIX /sbin/install
3082 # AIX /bin/install
3083 # AmigaOS /C/install, which installs bootblocks on floppy discs
3084 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3085 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3086 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3087 # OS/2's system install, which has a completely different semantic
3088 # ./install, which can be erroneously created by make from ./install.sh.
3089 # Reject install programs that cannot install multiple files.
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3091 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3092 if test -z "$INSTALL"; then
3093 if test "${ac_cv_path_install+set}" = set; then :
3094 $as_echo_n "(cached) " >&6
3095 else
3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3097 for as_dir in $PATH
3099 IFS=$as_save_IFS
3100 test -z "$as_dir" && as_dir=.
3101 # Account for people who put trailing slashes in PATH elements.
3102 case $as_dir/ in #((
3103 ./ | .// | /[cC]/* | \
3104 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3105 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3106 /usr/ucb/* ) ;;
3108 # OSF1 and SCO ODT 3.0 have their own names for install.
3109 # Don't use installbsd from OSF since it installs stuff as root
3110 # by default.
3111 for ac_prog in ginstall scoinst install; do
3112 for ac_exec_ext in '' $ac_executable_extensions; do
3113 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3114 if test $ac_prog = install &&
3115 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3116 # AIX install. It has an incompatible calling convention.
3118 elif test $ac_prog = install &&
3119 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3120 # program-specific install script used by HP pwplus--don't use.
3122 else
3123 rm -rf conftest.one conftest.two conftest.dir
3124 echo one > conftest.one
3125 echo two > conftest.two
3126 mkdir conftest.dir
3127 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3128 test -s conftest.one && test -s conftest.two &&
3129 test -s conftest.dir/conftest.one &&
3130 test -s conftest.dir/conftest.two
3131 then
3132 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3133 break 3
3137 done
3138 done
3140 esac
3142 done
3143 IFS=$as_save_IFS
3145 rm -rf conftest.one conftest.two conftest.dir
3148 if test "${ac_cv_path_install+set}" = set; then
3149 INSTALL=$ac_cv_path_install
3150 else
3151 # As a last resort, use the slow shell script. Don't cache a
3152 # value for INSTALL within a source directory, because that will
3153 # break other packages using the cache if that directory is
3154 # removed, or if the value is a relative name.
3155 INSTALL=$ac_install_sh
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3159 $as_echo "$INSTALL" >&6; }
3161 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3162 # It thinks the first close brace ends the variable substitution.
3163 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3165 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3167 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3170 $as_echo_n "checking whether build environment is sane... " >&6; }
3171 # Just in case
3172 sleep 1
3173 echo timestamp > conftest.file
3174 # Reject unsafe characters in $srcdir or the absolute working directory
3175 # name. Accept space and tab only in the latter.
3176 am_lf='
3178 case `pwd` in
3179 *[\\\"\#\$\&\'\`$am_lf]*)
3180 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3181 esac
3182 case $srcdir in
3183 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3184 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3185 esac
3187 # Do `set' in a subshell so we don't clobber the current shell's
3188 # arguments. Must try -L first in case configure is actually a
3189 # symlink; some systems play weird games with the mod time of symlinks
3190 # (eg FreeBSD returns the mod time of the symlink's containing
3191 # directory).
3192 if (
3193 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3194 if test "$*" = "X"; then
3195 # -L didn't work.
3196 set X `ls -t "$srcdir/configure" conftest.file`
3198 rm -f conftest.file
3199 if test "$*" != "X $srcdir/configure conftest.file" \
3200 && test "$*" != "X conftest.file $srcdir/configure"; then
3202 # If neither matched, then we have a broken ls. This can happen
3203 # if, for instance, CONFIG_SHELL is bash and it inherits a
3204 # broken ls alias from the environment. This has actually
3205 # happened. Such a system could not be considered "sane".
3206 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3207 alias in your environment" "$LINENO" 5
3210 test "$2" = conftest.file
3212 then
3213 # Ok.
3215 else
3216 as_fn_error "newly created file is older than distributed files!
3217 Check your system clock" "$LINENO" 5
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3220 $as_echo "yes" >&6; }
3221 test "$program_prefix" != NONE &&
3222 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3223 # Use a double $ so make ignores it.
3224 test "$program_suffix" != NONE &&
3225 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3226 # Double any \ or $.
3227 # By default was `s,x,x', remove it if useless.
3228 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3229 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3231 # expand $ac_aux_dir to an absolute path
3232 am_aux_dir=`cd $ac_aux_dir && pwd`
3234 if test x"${MISSING+set}" != xset; then
3235 case $am_aux_dir in
3236 *\ * | *\ *)
3237 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3239 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3240 esac
3242 # Use eval to expand $SHELL
3243 if eval "$MISSING --run true"; then
3244 am_missing_run="$MISSING --run "
3245 else
3246 am_missing_run=
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3248 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3251 if test x"${install_sh}" != xset; then
3252 case $am_aux_dir in
3253 *\ * | *\ *)
3254 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3256 install_sh="\${SHELL} $am_aux_dir/install-sh"
3257 esac
3260 # Installed binaries are usually stripped using `strip' when the user
3261 # run `make install-strip'. However `strip' might not be the right
3262 # tool to use in cross-compilation environments, therefore Automake
3263 # will honor the `STRIP' environment variable to overrule this program.
3264 if test "$cross_compiling" != no; then
3265 if test -n "$ac_tool_prefix"; then
3266 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3267 set dummy ${ac_tool_prefix}strip; ac_word=$2
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269 $as_echo_n "checking for $ac_word... " >&6; }
3270 if test "${ac_cv_prog_STRIP+set}" = set; then :
3271 $as_echo_n "(cached) " >&6
3272 else
3273 if test -n "$STRIP"; then
3274 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3275 else
3276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3277 for as_dir in $PATH
3279 IFS=$as_save_IFS
3280 test -z "$as_dir" && as_dir=.
3281 for ac_exec_ext in '' $ac_executable_extensions; do
3282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3283 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3285 break 2
3287 done
3288 done
3289 IFS=$as_save_IFS
3293 STRIP=$ac_cv_prog_STRIP
3294 if test -n "$STRIP"; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3296 $as_echo "$STRIP" >&6; }
3297 else
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299 $as_echo "no" >&6; }
3304 if test -z "$ac_cv_prog_STRIP"; then
3305 ac_ct_STRIP=$STRIP
3306 # Extract the first word of "strip", so it can be a program name with args.
3307 set dummy strip; ac_word=$2
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3309 $as_echo_n "checking for $ac_word... " >&6; }
3310 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3311 $as_echo_n "(cached) " >&6
3312 else
3313 if test -n "$ac_ct_STRIP"; then
3314 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3315 else
3316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317 for as_dir in $PATH
3319 IFS=$as_save_IFS
3320 test -z "$as_dir" && as_dir=.
3321 for ac_exec_ext in '' $ac_executable_extensions; do
3322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3323 ac_cv_prog_ac_ct_STRIP="strip"
3324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3325 break 2
3327 done
3328 done
3329 IFS=$as_save_IFS
3333 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3334 if test -n "$ac_ct_STRIP"; then
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3336 $as_echo "$ac_ct_STRIP" >&6; }
3337 else
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3339 $as_echo "no" >&6; }
3342 if test "x$ac_ct_STRIP" = x; then
3343 STRIP=":"
3344 else
3345 case $cross_compiling:$ac_tool_warned in
3346 yes:)
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3348 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3349 ac_tool_warned=yes ;;
3350 esac
3351 STRIP=$ac_ct_STRIP
3353 else
3354 STRIP="$ac_cv_prog_STRIP"
3358 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3361 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3362 if test -z "$MKDIR_P"; then
3363 if test "${ac_cv_path_mkdir+set}" = set; then :
3364 $as_echo_n "(cached) " >&6
3365 else
3366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3367 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3369 IFS=$as_save_IFS
3370 test -z "$as_dir" && as_dir=.
3371 for ac_prog in mkdir gmkdir; do
3372 for ac_exec_ext in '' $ac_executable_extensions; do
3373 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3374 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3375 'mkdir (GNU coreutils) '* | \
3376 'mkdir (coreutils) '* | \
3377 'mkdir (fileutils) '4.1*)
3378 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3379 break 3;;
3380 esac
3381 done
3382 done
3383 done
3384 IFS=$as_save_IFS
3388 if test "${ac_cv_path_mkdir+set}" = set; then
3389 MKDIR_P="$ac_cv_path_mkdir -p"
3390 else
3391 # As a last resort, use the slow shell script. Don't cache a
3392 # value for MKDIR_P within a source directory, because that will
3393 # break other packages using the cache if that directory is
3394 # removed, or if the value is a relative name.
3395 test -d ./--version && rmdir ./--version
3396 MKDIR_P="$ac_install_sh -d"
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3400 $as_echo "$MKDIR_P" >&6; }
3402 mkdir_p="$MKDIR_P"
3403 case $mkdir_p in
3404 [\\/$]* | ?:[\\/]*) ;;
3405 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3406 esac
3408 for ac_prog in gawk mawk nawk awk
3410 # Extract the first word of "$ac_prog", so it can be a program name with args.
3411 set dummy $ac_prog; ac_word=$2
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3413 $as_echo_n "checking for $ac_word... " >&6; }
3414 if test "${ac_cv_prog_AWK+set}" = set; then :
3415 $as_echo_n "(cached) " >&6
3416 else
3417 if test -n "$AWK"; then
3418 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3419 else
3420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3421 for as_dir in $PATH
3423 IFS=$as_save_IFS
3424 test -z "$as_dir" && as_dir=.
3425 for ac_exec_ext in '' $ac_executable_extensions; do
3426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3427 ac_cv_prog_AWK="$ac_prog"
3428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3429 break 2
3431 done
3432 done
3433 IFS=$as_save_IFS
3437 AWK=$ac_cv_prog_AWK
3438 if test -n "$AWK"; then
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3440 $as_echo "$AWK" >&6; }
3441 else
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3443 $as_echo "no" >&6; }
3447 test -n "$AWK" && break
3448 done
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3451 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3452 set x ${MAKE-make}
3453 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3454 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3455 $as_echo_n "(cached) " >&6
3456 else
3457 cat >conftest.make <<\_ACEOF
3458 SHELL = /bin/sh
3459 all:
3460 @echo '@@@%%%=$(MAKE)=@@@%%%'
3461 _ACEOF
3462 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3463 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3464 *@@@%%%=?*=@@@%%%*)
3465 eval ac_cv_prog_make_${ac_make}_set=yes;;
3467 eval ac_cv_prog_make_${ac_make}_set=no;;
3468 esac
3469 rm -f conftest.make
3471 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3473 $as_echo "yes" >&6; }
3474 SET_MAKE=
3475 else
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3477 $as_echo "no" >&6; }
3478 SET_MAKE="MAKE=${MAKE-make}"
3481 rm -rf .tst 2>/dev/null
3482 mkdir .tst 2>/dev/null
3483 if test -d .tst; then
3484 am__leading_dot=.
3485 else
3486 am__leading_dot=_
3488 rmdir .tst 2>/dev/null
3490 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3491 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3492 # is not polluted with repeated "-I."
3493 am__isrc=' -I$(srcdir)'
3494 # test to see if srcdir already configured
3495 if test -f $srcdir/config.status; then
3496 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3500 # test whether we have cygpath
3501 if test -z "$CYGPATH_W"; then
3502 if (cygpath --version) >/dev/null 2>/dev/null; then
3503 CYGPATH_W='cygpath -w'
3504 else
3505 CYGPATH_W=echo
3510 # Define the identity of the package.
3511 PACKAGE='libstdc++'
3512 VERSION='version-unused'
3515 # Some tools Automake needs.
3517 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3520 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3523 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3526 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3529 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3531 # We need awk for the "check" target. The system "awk" is bad on
3532 # some platforms.
3533 # Always define AMTAR for backward compatibility.
3535 AMTAR=${AMTAR-"${am_missing_run}tar"}
3537 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3546 # -fno-builtin must be present here so that a non-conflicting form of
3547 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3549 save_CXXFLAGS="$CXXFLAGS"
3550 CXXFLAGS="$CXXFLAGS -fno-builtin"
3551 ac_ext=c
3552 ac_cpp='$CPP $CPPFLAGS'
3553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3556 if test -n "$ac_tool_prefix"; then
3557 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3558 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560 $as_echo_n "checking for $ac_word... " >&6; }
3561 if test "${ac_cv_prog_CC+set}" = set; then :
3562 $as_echo_n "(cached) " >&6
3563 else
3564 if test -n "$CC"; then
3565 ac_cv_prog_CC="$CC" # Let the user override the test.
3566 else
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 for as_dir in $PATH
3570 IFS=$as_save_IFS
3571 test -z "$as_dir" && as_dir=.
3572 for ac_exec_ext in '' $ac_executable_extensions; do
3573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3574 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3576 break 2
3578 done
3579 done
3580 IFS=$as_save_IFS
3584 CC=$ac_cv_prog_CC
3585 if test -n "$CC"; then
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3587 $as_echo "$CC" >&6; }
3588 else
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3595 if test -z "$ac_cv_prog_CC"; then
3596 ac_ct_CC=$CC
3597 # Extract the first word of "gcc", so it can be a program name with args.
3598 set dummy gcc; ac_word=$2
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3600 $as_echo_n "checking for $ac_word... " >&6; }
3601 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3602 $as_echo_n "(cached) " >&6
3603 else
3604 if test -n "$ac_ct_CC"; then
3605 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3606 else
3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608 for as_dir in $PATH
3610 IFS=$as_save_IFS
3611 test -z "$as_dir" && as_dir=.
3612 for ac_exec_ext in '' $ac_executable_extensions; do
3613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3614 ac_cv_prog_ac_ct_CC="gcc"
3615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3616 break 2
3618 done
3619 done
3620 IFS=$as_save_IFS
3624 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3625 if test -n "$ac_ct_CC"; then
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3627 $as_echo "$ac_ct_CC" >&6; }
3628 else
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3630 $as_echo "no" >&6; }
3633 if test "x$ac_ct_CC" = x; then
3634 CC=""
3635 else
3636 case $cross_compiling:$ac_tool_warned in
3637 yes:)
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3640 ac_tool_warned=yes ;;
3641 esac
3642 CC=$ac_ct_CC
3644 else
3645 CC="$ac_cv_prog_CC"
3648 if test -z "$CC"; then
3649 if test -n "$ac_tool_prefix"; then
3650 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3651 set dummy ${ac_tool_prefix}cc; ac_word=$2
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3653 $as_echo_n "checking for $ac_word... " >&6; }
3654 if test "${ac_cv_prog_CC+set}" = set; then :
3655 $as_echo_n "(cached) " >&6
3656 else
3657 if test -n "$CC"; then
3658 ac_cv_prog_CC="$CC" # Let the user override the test.
3659 else
3660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3661 for as_dir in $PATH
3663 IFS=$as_save_IFS
3664 test -z "$as_dir" && as_dir=.
3665 for ac_exec_ext in '' $ac_executable_extensions; do
3666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3667 ac_cv_prog_CC="${ac_tool_prefix}cc"
3668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3669 break 2
3671 done
3672 done
3673 IFS=$as_save_IFS
3677 CC=$ac_cv_prog_CC
3678 if test -n "$CC"; then
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3680 $as_echo "$CC" >&6; }
3681 else
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3683 $as_echo "no" >&6; }
3689 if test -z "$CC"; then
3690 # Extract the first word of "cc", so it can be a program name with args.
3691 set dummy cc; ac_word=$2
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3693 $as_echo_n "checking for $ac_word... " >&6; }
3694 if test "${ac_cv_prog_CC+set}" = set; then :
3695 $as_echo_n "(cached) " >&6
3696 else
3697 if test -n "$CC"; then
3698 ac_cv_prog_CC="$CC" # Let the user override the test.
3699 else
3700 ac_prog_rejected=no
3701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 for as_dir in $PATH
3704 IFS=$as_save_IFS
3705 test -z "$as_dir" && as_dir=.
3706 for ac_exec_ext in '' $ac_executable_extensions; do
3707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3708 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3709 ac_prog_rejected=yes
3710 continue
3712 ac_cv_prog_CC="cc"
3713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3714 break 2
3716 done
3717 done
3718 IFS=$as_save_IFS
3720 if test $ac_prog_rejected = yes; then
3721 # We found a bogon in the path, so make sure we never use it.
3722 set dummy $ac_cv_prog_CC
3723 shift
3724 if test $# != 0; then
3725 # We chose a different compiler from the bogus one.
3726 # However, it has the same basename, so the bogon will be chosen
3727 # first if we set CC to just the basename; use the full file name.
3728 shift
3729 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3734 CC=$ac_cv_prog_CC
3735 if test -n "$CC"; then
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3737 $as_echo "$CC" >&6; }
3738 else
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3745 if test -z "$CC"; then
3746 if test -n "$ac_tool_prefix"; then
3747 for ac_prog in cl.exe
3749 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3750 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752 $as_echo_n "checking for $ac_word... " >&6; }
3753 if test "${ac_cv_prog_CC+set}" = set; then :
3754 $as_echo_n "(cached) " >&6
3755 else
3756 if test -n "$CC"; then
3757 ac_cv_prog_CC="$CC" # Let the user override the test.
3758 else
3759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3760 for as_dir in $PATH
3762 IFS=$as_save_IFS
3763 test -z "$as_dir" && as_dir=.
3764 for ac_exec_ext in '' $ac_executable_extensions; do
3765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3766 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3768 break 2
3770 done
3771 done
3772 IFS=$as_save_IFS
3776 CC=$ac_cv_prog_CC
3777 if test -n "$CC"; then
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3779 $as_echo "$CC" >&6; }
3780 else
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782 $as_echo "no" >&6; }
3786 test -n "$CC" && break
3787 done
3789 if test -z "$CC"; then
3790 ac_ct_CC=$CC
3791 for ac_prog in cl.exe
3793 # Extract the first word of "$ac_prog", so it can be a program name with args.
3794 set dummy $ac_prog; ac_word=$2
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3796 $as_echo_n "checking for $ac_word... " >&6; }
3797 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3798 $as_echo_n "(cached) " >&6
3799 else
3800 if test -n "$ac_ct_CC"; then
3801 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3802 else
3803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3804 for as_dir in $PATH
3806 IFS=$as_save_IFS
3807 test -z "$as_dir" && as_dir=.
3808 for ac_exec_ext in '' $ac_executable_extensions; do
3809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3810 ac_cv_prog_ac_ct_CC="$ac_prog"
3811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3812 break 2
3814 done
3815 done
3816 IFS=$as_save_IFS
3820 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3821 if test -n "$ac_ct_CC"; then
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3823 $as_echo "$ac_ct_CC" >&6; }
3824 else
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3826 $as_echo "no" >&6; }
3830 test -n "$ac_ct_CC" && break
3831 done
3833 if test "x$ac_ct_CC" = x; then
3834 CC=""
3835 else
3836 case $cross_compiling:$ac_tool_warned in
3837 yes:)
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3840 ac_tool_warned=yes ;;
3841 esac
3842 CC=$ac_ct_CC
3849 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3851 as_fn_error "no acceptable C compiler found in \$PATH
3852 See \`config.log' for more details." "$LINENO" 5; }
3854 # Provide some information about the compiler.
3855 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3856 set X $ac_compile
3857 ac_compiler=$2
3858 for ac_option in --version -v -V -qversion; do
3859 { { ac_try="$ac_compiler $ac_option >&5"
3860 case "(($ac_try" in
3861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3862 *) ac_try_echo=$ac_try;;
3863 esac
3864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3865 $as_echo "$ac_try_echo"; } >&5
3866 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3867 ac_status=$?
3868 if test -s conftest.err; then
3869 sed '10a\
3870 ... rest of stderr output deleted ...
3871 10q' conftest.err >conftest.er1
3872 cat conftest.er1 >&5
3873 rm -f conftest.er1 conftest.err
3875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3876 test $ac_status = 0; }
3877 done
3879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3880 /* end confdefs.h. */
3883 main ()
3887 return 0;
3889 _ACEOF
3890 # FIXME: Cleanup?
3891 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3892 (eval $ac_link) 2>&5
3893 ac_status=$?
3894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3895 test $ac_status = 0; }; then :
3896 gcc_no_link=no
3897 else
3898 gcc_no_link=yes
3900 if test x$gcc_no_link = xyes; then
3901 # Setting cross_compile will disable run tests; it will
3902 # also disable AC_CHECK_FILE but that's generally
3903 # correct if we can't link.
3904 cross_compiling=yes
3905 EXEEXT=
3906 else
3907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3908 /* end confdefs.h. */
3911 main ()
3915 return 0;
3917 _ACEOF
3918 ac_clean_files_save=$ac_clean_files
3919 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3920 # Try to create an executable without -o first, disregard a.out.
3921 # It will help us diagnose broken compilers, and finding out an intuition
3922 # of exeext.
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3924 $as_echo_n "checking for C compiler default output file name... " >&6; }
3925 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3927 # The possible output files:
3928 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3930 ac_rmfiles=
3931 for ac_file in $ac_files
3933 case $ac_file in
3934 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3935 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3936 esac
3937 done
3938 rm -f $ac_rmfiles
3940 if { { ac_try="$ac_link_default"
3941 case "(($ac_try" in
3942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3943 *) ac_try_echo=$ac_try;;
3944 esac
3945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3946 $as_echo "$ac_try_echo"; } >&5
3947 (eval "$ac_link_default") 2>&5
3948 ac_status=$?
3949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3950 test $ac_status = 0; }; then :
3951 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3952 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3953 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3954 # so that the user can short-circuit this test for compilers unknown to
3955 # Autoconf.
3956 for ac_file in $ac_files ''
3958 test -f "$ac_file" || continue
3959 case $ac_file in
3960 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3962 [ab].out )
3963 # We found the default executable, but exeext='' is most
3964 # certainly right.
3965 break;;
3966 *.* )
3967 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3968 then :; else
3969 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3971 # We set ac_cv_exeext here because the later test for it is not
3972 # safe: cross compilers may not add the suffix if given an `-o'
3973 # argument, so we may need to know it at that point already.
3974 # Even if this section looks crufty: it has the advantage of
3975 # actually working.
3976 break;;
3978 break;;
3979 esac
3980 done
3981 test "$ac_cv_exeext" = no && ac_cv_exeext=
3983 else
3984 ac_file=''
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3987 $as_echo "$ac_file" >&6; }
3988 if test -z "$ac_file"; then :
3989 $as_echo "$as_me: failed program was:" >&5
3990 sed 's/^/| /' conftest.$ac_ext >&5
3992 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3994 { as_fn_set_status 77
3995 as_fn_error "C compiler cannot create executables
3996 See \`config.log' for more details." "$LINENO" 5; }; }
3998 ac_exeext=$ac_cv_exeext
4000 # Check that the compiler produces executables we can run. If not, either
4001 # the compiler is broken, or we cross compile.
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4003 $as_echo_n "checking whether the C compiler works... " >&6; }
4004 # If not cross compiling, check that we can run a simple program.
4005 if test "$cross_compiling" != yes; then
4006 if { ac_try='./$ac_file'
4007 { { case "(($ac_try" in
4008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4009 *) ac_try_echo=$ac_try;;
4010 esac
4011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4012 $as_echo "$ac_try_echo"; } >&5
4013 (eval "$ac_try") 2>&5
4014 ac_status=$?
4015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4016 test $ac_status = 0; }; }; then
4017 cross_compiling=no
4018 else
4019 if test "$cross_compiling" = maybe; then
4020 cross_compiling=yes
4021 else
4022 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4024 as_fn_error "cannot run C compiled programs.
4025 If you meant to cross compile, use \`--host'.
4026 See \`config.log' for more details." "$LINENO" 5; }
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4031 $as_echo "yes" >&6; }
4033 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4034 ac_clean_files=$ac_clean_files_save
4035 # Check that the compiler produces executables we can run. If not, either
4036 # the compiler is broken, or we cross compile.
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4038 $as_echo_n "checking whether we are cross compiling... " >&6; }
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4040 $as_echo "$cross_compiling" >&6; }
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4043 $as_echo_n "checking for suffix of executables... " >&6; }
4044 if { { ac_try="$ac_link"
4045 case "(($ac_try" in
4046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4047 *) ac_try_echo=$ac_try;;
4048 esac
4049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4050 $as_echo "$ac_try_echo"; } >&5
4051 (eval "$ac_link") 2>&5
4052 ac_status=$?
4053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4054 test $ac_status = 0; }; then :
4055 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4056 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4057 # work properly (i.e., refer to `conftest.exe'), while it won't with
4058 # `rm'.
4059 for ac_file in conftest.exe conftest conftest.*; do
4060 test -f "$ac_file" || continue
4061 case $ac_file in
4062 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4063 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4064 break;;
4065 * ) break;;
4066 esac
4067 done
4068 else
4069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4071 as_fn_error "cannot compute suffix of executables: cannot compile and link
4072 See \`config.log' for more details." "$LINENO" 5; }
4074 rm -f conftest$ac_cv_exeext
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4076 $as_echo "$ac_cv_exeext" >&6; }
4078 rm -f conftest.$ac_ext
4079 EXEEXT=$ac_cv_exeext
4080 ac_exeext=$EXEEXT
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4083 $as_echo_n "checking for suffix of object files... " >&6; }
4084 if test "${ac_cv_objext+set}" = set; then :
4085 $as_echo_n "(cached) " >&6
4086 else
4087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h. */
4091 main ()
4095 return 0;
4097 _ACEOF
4098 rm -f conftest.o conftest.obj
4099 if { { ac_try="$ac_compile"
4100 case "(($ac_try" in
4101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4102 *) ac_try_echo=$ac_try;;
4103 esac
4104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4105 $as_echo "$ac_try_echo"; } >&5
4106 (eval "$ac_compile") 2>&5
4107 ac_status=$?
4108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4109 test $ac_status = 0; }; then :
4110 for ac_file in conftest.o conftest.obj conftest.*; do
4111 test -f "$ac_file" || continue;
4112 case $ac_file in
4113 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4114 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4115 break;;
4116 esac
4117 done
4118 else
4119 $as_echo "$as_me: failed program was:" >&5
4120 sed 's/^/| /' conftest.$ac_ext >&5
4122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4124 as_fn_error "cannot compute suffix of object files: cannot compile
4125 See \`config.log' for more details." "$LINENO" 5; }
4127 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4130 $as_echo "$ac_cv_objext" >&6; }
4131 OBJEXT=$ac_cv_objext
4132 ac_objext=$OBJEXT
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4134 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4135 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4136 $as_echo_n "(cached) " >&6
4137 else
4138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h. */
4142 main ()
4144 #ifndef __GNUC__
4145 choke me
4146 #endif
4149 return 0;
4151 _ACEOF
4152 if ac_fn_c_try_compile "$LINENO"; then :
4153 ac_compiler_gnu=yes
4154 else
4155 ac_compiler_gnu=no
4157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4158 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4162 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4163 if test $ac_compiler_gnu = yes; then
4164 GCC=yes
4165 else
4166 GCC=
4168 ac_test_CFLAGS=${CFLAGS+set}
4169 ac_save_CFLAGS=$CFLAGS
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4171 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4172 if test "${ac_cv_prog_cc_g+set}" = set; then :
4173 $as_echo_n "(cached) " >&6
4174 else
4175 ac_save_c_werror_flag=$ac_c_werror_flag
4176 ac_c_werror_flag=yes
4177 ac_cv_prog_cc_g=no
4178 CFLAGS="-g"
4179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180 /* end confdefs.h. */
4183 main ()
4187 return 0;
4189 _ACEOF
4190 if ac_fn_c_try_compile "$LINENO"; then :
4191 ac_cv_prog_cc_g=yes
4192 else
4193 CFLAGS=""
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4198 main ()
4202 return 0;
4204 _ACEOF
4205 if ac_fn_c_try_compile "$LINENO"; then :
4207 else
4208 ac_c_werror_flag=$ac_save_c_werror_flag
4209 CFLAGS="-g"
4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211 /* end confdefs.h. */
4214 main ()
4218 return 0;
4220 _ACEOF
4221 if ac_fn_c_try_compile "$LINENO"; then :
4222 ac_cv_prog_cc_g=yes
4224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229 ac_c_werror_flag=$ac_save_c_werror_flag
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4232 $as_echo "$ac_cv_prog_cc_g" >&6; }
4233 if test "$ac_test_CFLAGS" = set; then
4234 CFLAGS=$ac_save_CFLAGS
4235 elif test $ac_cv_prog_cc_g = yes; then
4236 if test "$GCC" = yes; then
4237 CFLAGS="-g -O2"
4238 else
4239 CFLAGS="-g"
4241 else
4242 if test "$GCC" = yes; then
4243 CFLAGS="-O2"
4244 else
4245 CFLAGS=
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4249 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4250 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4251 $as_echo_n "(cached) " >&6
4252 else
4253 ac_cv_prog_cc_c89=no
4254 ac_save_CC=$CC
4255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4256 /* end confdefs.h. */
4257 #include <stdarg.h>
4258 #include <stdio.h>
4259 #include <sys/types.h>
4260 #include <sys/stat.h>
4261 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4262 struct buf { int x; };
4263 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4264 static char *e (p, i)
4265 char **p;
4266 int i;
4268 return p[i];
4270 static char *f (char * (*g) (char **, int), char **p, ...)
4272 char *s;
4273 va_list v;
4274 va_start (v,p);
4275 s = g (p, va_arg (v,int));
4276 va_end (v);
4277 return s;
4280 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4281 function prototypes and stuff, but not '\xHH' hex character constants.
4282 These don't provoke an error unfortunately, instead are silently treated
4283 as 'x'. The following induces an error, until -std is added to get
4284 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4285 array size at least. It's necessary to write '\x00'==0 to get something
4286 that's true only with -std. */
4287 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4289 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4290 inside strings and character constants. */
4291 #define FOO(x) 'x'
4292 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4294 int test (int i, double x);
4295 struct s1 {int (*f) (int a);};
4296 struct s2 {int (*f) (double a);};
4297 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4298 int argc;
4299 char **argv;
4301 main ()
4303 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4305 return 0;
4307 _ACEOF
4308 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4309 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4311 CC="$ac_save_CC $ac_arg"
4312 if ac_fn_c_try_compile "$LINENO"; then :
4313 ac_cv_prog_cc_c89=$ac_arg
4315 rm -f core conftest.err conftest.$ac_objext
4316 test "x$ac_cv_prog_cc_c89" != "xno" && break
4317 done
4318 rm -f conftest.$ac_ext
4319 CC=$ac_save_CC
4322 # AC_CACHE_VAL
4323 case "x$ac_cv_prog_cc_c89" in
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4326 $as_echo "none needed" >&6; } ;;
4327 xno)
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4329 $as_echo "unsupported" >&6; } ;;
4331 CC="$CC $ac_cv_prog_cc_c89"
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4333 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4334 esac
4335 if test "x$ac_cv_prog_cc_c89" != xno; then :
4339 ac_ext=c
4340 ac_cpp='$CPP $CPPFLAGS'
4341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4345 ac_ext=cpp
4346 ac_cpp='$CXXCPP $CPPFLAGS'
4347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4350 if test -z "$CXX"; then
4351 if test -n "$CCC"; then
4352 CXX=$CCC
4353 else
4354 if test -n "$ac_tool_prefix"; then
4355 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4357 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4358 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4360 $as_echo_n "checking for $ac_word... " >&6; }
4361 if test "${ac_cv_prog_CXX+set}" = set; then :
4362 $as_echo_n "(cached) " >&6
4363 else
4364 if test -n "$CXX"; then
4365 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4366 else
4367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368 for as_dir in $PATH
4370 IFS=$as_save_IFS
4371 test -z "$as_dir" && as_dir=.
4372 for ac_exec_ext in '' $ac_executable_extensions; do
4373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4374 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376 break 2
4378 done
4379 done
4380 IFS=$as_save_IFS
4384 CXX=$ac_cv_prog_CXX
4385 if test -n "$CXX"; then
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4387 $as_echo "$CXX" >&6; }
4388 else
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4390 $as_echo "no" >&6; }
4394 test -n "$CXX" && break
4395 done
4397 if test -z "$CXX"; then
4398 ac_ct_CXX=$CXX
4399 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4401 # Extract the first word of "$ac_prog", so it can be a program name with args.
4402 set dummy $ac_prog; ac_word=$2
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4406 $as_echo_n "(cached) " >&6
4407 else
4408 if test -n "$ac_ct_CXX"; then
4409 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4410 else
4411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412 for as_dir in $PATH
4414 IFS=$as_save_IFS
4415 test -z "$as_dir" && as_dir=.
4416 for ac_exec_ext in '' $ac_executable_extensions; do
4417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4418 ac_cv_prog_ac_ct_CXX="$ac_prog"
4419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4420 break 2
4422 done
4423 done
4424 IFS=$as_save_IFS
4428 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4429 if test -n "$ac_ct_CXX"; then
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4431 $as_echo "$ac_ct_CXX" >&6; }
4432 else
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4438 test -n "$ac_ct_CXX" && break
4439 done
4441 if test "x$ac_ct_CXX" = x; then
4442 CXX="g++"
4443 else
4444 case $cross_compiling:$ac_tool_warned in
4445 yes:)
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4448 ac_tool_warned=yes ;;
4449 esac
4450 CXX=$ac_ct_CXX
4456 # Provide some information about the compiler.
4457 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4458 set X $ac_compile
4459 ac_compiler=$2
4460 for ac_option in --version -v -V -qversion; do
4461 { { ac_try="$ac_compiler $ac_option >&5"
4462 case "(($ac_try" in
4463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4464 *) ac_try_echo=$ac_try;;
4465 esac
4466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4467 $as_echo "$ac_try_echo"; } >&5
4468 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4469 ac_status=$?
4470 if test -s conftest.err; then
4471 sed '10a\
4472 ... rest of stderr output deleted ...
4473 10q' conftest.err >conftest.er1
4474 cat conftest.er1 >&5
4475 rm -f conftest.er1 conftest.err
4477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4478 test $ac_status = 0; }
4479 done
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4482 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4483 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4484 $as_echo_n "(cached) " >&6
4485 else
4486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487 /* end confdefs.h. */
4490 main ()
4492 #ifndef __GNUC__
4493 choke me
4494 #endif
4497 return 0;
4499 _ACEOF
4500 if ac_fn_cxx_try_compile "$LINENO"; then :
4501 ac_compiler_gnu=yes
4502 else
4503 ac_compiler_gnu=no
4505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4506 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4510 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4511 if test $ac_compiler_gnu = yes; then
4512 GXX=yes
4513 else
4514 GXX=
4516 ac_test_CXXFLAGS=${CXXFLAGS+set}
4517 ac_save_CXXFLAGS=$CXXFLAGS
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4519 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4520 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4521 $as_echo_n "(cached) " >&6
4522 else
4523 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4524 ac_cxx_werror_flag=yes
4525 ac_cv_prog_cxx_g=no
4526 CXXFLAGS="-g"
4527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4528 /* end confdefs.h. */
4531 main ()
4535 return 0;
4537 _ACEOF
4538 if ac_fn_cxx_try_compile "$LINENO"; then :
4539 ac_cv_prog_cxx_g=yes
4540 else
4541 CXXFLAGS=""
4542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4543 /* end confdefs.h. */
4546 main ()
4550 return 0;
4552 _ACEOF
4553 if ac_fn_cxx_try_compile "$LINENO"; then :
4555 else
4556 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4557 CXXFLAGS="-g"
4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4562 main ()
4566 return 0;
4568 _ACEOF
4569 if ac_fn_cxx_try_compile "$LINENO"; then :
4570 ac_cv_prog_cxx_g=yes
4572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4577 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4580 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4581 if test "$ac_test_CXXFLAGS" = set; then
4582 CXXFLAGS=$ac_save_CXXFLAGS
4583 elif test $ac_cv_prog_cxx_g = yes; then
4584 if test "$GXX" = yes; then
4585 CXXFLAGS="-g -O2"
4586 else
4587 CXXFLAGS="-g"
4589 else
4590 if test "$GXX" = yes; then
4591 CXXFLAGS="-O2"
4592 else
4593 CXXFLAGS=
4596 ac_ext=c
4597 ac_cpp='$CPP $CPPFLAGS'
4598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4602 CXXFLAGS="$save_CXXFLAGS"
4604 # Runs configure.host, and assorted other critical bits. Sets
4605 # up critical shell variables.
4607 ac_ext=c
4608 ac_cpp='$CPP $CPPFLAGS'
4609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4613 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4614 # On Suns, sometimes $CPP names a directory.
4615 if test -n "$CPP" && test -d "$CPP"; then
4616 CPP=
4618 if test -z "$CPP"; then
4619 if test "${ac_cv_prog_CPP+set}" = set; then :
4620 $as_echo_n "(cached) " >&6
4621 else
4622 # Double quotes because CPP needs to be expanded
4623 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4625 ac_preproc_ok=false
4626 for ac_c_preproc_warn_flag in '' yes
4628 # Use a header file that comes with gcc, so configuring glibc
4629 # with a fresh cross-compiler works.
4630 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4631 # <limits.h> exists even on freestanding compilers.
4632 # On the NeXT, cc -E runs the code through the compiler's parser,
4633 # not just through cpp. "Syntax error" is here to catch this case.
4634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4635 /* end confdefs.h. */
4636 #ifdef __STDC__
4637 # include <limits.h>
4638 #else
4639 # include <assert.h>
4640 #endif
4641 Syntax error
4642 _ACEOF
4643 if ac_fn_c_try_cpp "$LINENO"; then :
4645 else
4646 # Broken: fails on valid input.
4647 continue
4649 rm -f conftest.err conftest.$ac_ext
4651 # OK, works on sane cases. Now check whether nonexistent headers
4652 # can be detected and how.
4653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4654 /* end confdefs.h. */
4655 #include <ac_nonexistent.h>
4656 _ACEOF
4657 if ac_fn_c_try_cpp "$LINENO"; then :
4658 # Broken: success on invalid input.
4659 continue
4660 else
4661 # Passes both tests.
4662 ac_preproc_ok=:
4663 break
4665 rm -f conftest.err conftest.$ac_ext
4667 done
4668 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4669 rm -f conftest.err conftest.$ac_ext
4670 if $ac_preproc_ok; then :
4671 break
4674 done
4675 ac_cv_prog_CPP=$CPP
4678 CPP=$ac_cv_prog_CPP
4679 else
4680 ac_cv_prog_CPP=$CPP
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4683 $as_echo "$CPP" >&6; }
4684 ac_preproc_ok=false
4685 for ac_c_preproc_warn_flag in '' yes
4687 # Use a header file that comes with gcc, so configuring glibc
4688 # with a fresh cross-compiler works.
4689 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4690 # <limits.h> exists even on freestanding compilers.
4691 # On the NeXT, cc -E runs the code through the compiler's parser,
4692 # not just through cpp. "Syntax error" is here to catch this case.
4693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4694 /* end confdefs.h. */
4695 #ifdef __STDC__
4696 # include <limits.h>
4697 #else
4698 # include <assert.h>
4699 #endif
4700 Syntax error
4701 _ACEOF
4702 if ac_fn_c_try_cpp "$LINENO"; then :
4704 else
4705 # Broken: fails on valid input.
4706 continue
4708 rm -f conftest.err conftest.$ac_ext
4710 # OK, works on sane cases. Now check whether nonexistent headers
4711 # can be detected and how.
4712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h. */
4714 #include <ac_nonexistent.h>
4715 _ACEOF
4716 if ac_fn_c_try_cpp "$LINENO"; then :
4717 # Broken: success on invalid input.
4718 continue
4719 else
4720 # Passes both tests.
4721 ac_preproc_ok=:
4722 break
4724 rm -f conftest.err conftest.$ac_ext
4726 done
4727 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4728 rm -f conftest.err conftest.$ac_ext
4729 if $ac_preproc_ok; then :
4731 else
4732 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4734 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4735 See \`config.log' for more details." "$LINENO" 5; }
4738 ac_ext=c
4739 ac_cpp='$CPP $CPPFLAGS'
4740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4746 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4747 if test "${ac_cv_path_GREP+set}" = set; then :
4748 $as_echo_n "(cached) " >&6
4749 else
4750 if test -z "$GREP"; then
4751 ac_path_GREP_found=false
4752 # Loop through the user's path and test for each of PROGNAME-LIST
4753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4754 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4756 IFS=$as_save_IFS
4757 test -z "$as_dir" && as_dir=.
4758 for ac_prog in grep ggrep; do
4759 for ac_exec_ext in '' $ac_executable_extensions; do
4760 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4761 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4762 # Check for GNU ac_path_GREP and select it if it is found.
4763 # Check for GNU $ac_path_GREP
4764 case `"$ac_path_GREP" --version 2>&1` in
4765 *GNU*)
4766 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4768 ac_count=0
4769 $as_echo_n 0123456789 >"conftest.in"
4770 while :
4772 cat "conftest.in" "conftest.in" >"conftest.tmp"
4773 mv "conftest.tmp" "conftest.in"
4774 cp "conftest.in" "conftest.nl"
4775 $as_echo 'GREP' >> "conftest.nl"
4776 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4777 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4778 as_fn_arith $ac_count + 1 && ac_count=$as_val
4779 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4780 # Best one so far, save it but keep looking for a better one
4781 ac_cv_path_GREP="$ac_path_GREP"
4782 ac_path_GREP_max=$ac_count
4784 # 10*(2^10) chars as input seems more than enough
4785 test $ac_count -gt 10 && break
4786 done
4787 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4788 esac
4790 $ac_path_GREP_found && break 3
4791 done
4792 done
4793 done
4794 IFS=$as_save_IFS
4795 if test -z "$ac_cv_path_GREP"; then
4796 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4798 else
4799 ac_cv_path_GREP=$GREP
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4804 $as_echo "$ac_cv_path_GREP" >&6; }
4805 GREP="$ac_cv_path_GREP"
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4809 $as_echo_n "checking for egrep... " >&6; }
4810 if test "${ac_cv_path_EGREP+set}" = set; then :
4811 $as_echo_n "(cached) " >&6
4812 else
4813 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4814 then ac_cv_path_EGREP="$GREP -E"
4815 else
4816 if test -z "$EGREP"; then
4817 ac_path_EGREP_found=false
4818 # Loop through the user's path and test for each of PROGNAME-LIST
4819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4820 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4822 IFS=$as_save_IFS
4823 test -z "$as_dir" && as_dir=.
4824 for ac_prog in egrep; do
4825 for ac_exec_ext in '' $ac_executable_extensions; do
4826 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4827 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4828 # Check for GNU ac_path_EGREP and select it if it is found.
4829 # Check for GNU $ac_path_EGREP
4830 case `"$ac_path_EGREP" --version 2>&1` in
4831 *GNU*)
4832 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4834 ac_count=0
4835 $as_echo_n 0123456789 >"conftest.in"
4836 while :
4838 cat "conftest.in" "conftest.in" >"conftest.tmp"
4839 mv "conftest.tmp" "conftest.in"
4840 cp "conftest.in" "conftest.nl"
4841 $as_echo 'EGREP' >> "conftest.nl"
4842 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4843 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4844 as_fn_arith $ac_count + 1 && ac_count=$as_val
4845 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4846 # Best one so far, save it but keep looking for a better one
4847 ac_cv_path_EGREP="$ac_path_EGREP"
4848 ac_path_EGREP_max=$ac_count
4850 # 10*(2^10) chars as input seems more than enough
4851 test $ac_count -gt 10 && break
4852 done
4853 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4854 esac
4856 $ac_path_EGREP_found && break 3
4857 done
4858 done
4859 done
4860 IFS=$as_save_IFS
4861 if test -z "$ac_cv_path_EGREP"; then
4862 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4864 else
4865 ac_cv_path_EGREP=$EGREP
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4871 $as_echo "$ac_cv_path_EGREP" >&6; }
4872 EGREP="$ac_cv_path_EGREP"
4876 # Keep these sync'd with the list in Makefile.am. The first provides an
4877 # expandable list at autoconf time; the second provides an expandable list
4878 # (i.e., shell variable) at configure time.
4880 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4882 # These need to be absolute paths, yet at the same time need to
4883 # canonicalize only relative paths, because then amd will not unmount
4884 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4885 glibcxx_builddir=`${PWDCMD-pwd}`
4886 case $srcdir in
4887 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4888 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4889 esac
4890 toplevel_builddir=${glibcxx_builddir}/..
4891 toplevel_srcdir=${glibcxx_srcdir}/..
4897 # We use these options to decide which functions to include. They are
4898 # set from the top level.
4900 # Check whether --with-target-subdir was given.
4901 if test "${with_target_subdir+set}" = set; then :
4902 withval=$with_target_subdir;
4907 # Check whether --with-cross-host was given.
4908 if test "${with_cross_host+set}" = set; then :
4909 withval=$with_cross_host;
4914 # Check whether --with-newlib was given.
4915 if test "${with_newlib+set}" = set; then :
4916 withval=$with_newlib;
4920 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4921 # available). Uncomment the next line to force a particular method.
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4923 $as_echo_n "checking whether ln -s works... " >&6; }
4924 LN_S=$as_ln_s
4925 if test "$LN_S" = "ln -s"; then
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4927 $as_echo "yes" >&6; }
4928 else
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4930 $as_echo "no, using $LN_S" >&6; }
4933 #LN_S='cp -p'
4935 if test -n "$ac_tool_prefix"; then
4936 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4937 set dummy ${ac_tool_prefix}as; ac_word=$2
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4939 $as_echo_n "checking for $ac_word... " >&6; }
4940 if test "${ac_cv_prog_AS+set}" = set; then :
4941 $as_echo_n "(cached) " >&6
4942 else
4943 if test -n "$AS"; then
4944 ac_cv_prog_AS="$AS" # Let the user override the test.
4945 else
4946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4947 for as_dir in $PATH
4949 IFS=$as_save_IFS
4950 test -z "$as_dir" && as_dir=.
4951 for ac_exec_ext in '' $ac_executable_extensions; do
4952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4953 ac_cv_prog_AS="${ac_tool_prefix}as"
4954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4955 break 2
4957 done
4958 done
4959 IFS=$as_save_IFS
4963 AS=$ac_cv_prog_AS
4964 if test -n "$AS"; then
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4966 $as_echo "$AS" >&6; }
4967 else
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4969 $as_echo "no" >&6; }
4974 if test -z "$ac_cv_prog_AS"; then
4975 ac_ct_AS=$AS
4976 # Extract the first word of "as", so it can be a program name with args.
4977 set dummy as; ac_word=$2
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4981 $as_echo_n "(cached) " >&6
4982 else
4983 if test -n "$ac_ct_AS"; then
4984 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4985 else
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 for as_dir in $PATH
4989 IFS=$as_save_IFS
4990 test -z "$as_dir" && as_dir=.
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4993 ac_cv_prog_ac_ct_AS="as"
4994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4995 break 2
4997 done
4998 done
4999 IFS=$as_save_IFS
5003 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5004 if test -n "$ac_ct_AS"; then
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5006 $as_echo "$ac_ct_AS" >&6; }
5007 else
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5012 if test "x$ac_ct_AS" = x; then
5013 AS=""
5014 else
5015 case $cross_compiling:$ac_tool_warned in
5016 yes:)
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5019 ac_tool_warned=yes ;;
5020 esac
5021 AS=$ac_ct_AS
5023 else
5024 AS="$ac_cv_prog_AS"
5027 if test -n "$ac_tool_prefix"; then
5028 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5029 set dummy ${ac_tool_prefix}ar; ac_word=$2
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5031 $as_echo_n "checking for $ac_word... " >&6; }
5032 if test "${ac_cv_prog_AR+set}" = set; then :
5033 $as_echo_n "(cached) " >&6
5034 else
5035 if test -n "$AR"; then
5036 ac_cv_prog_AR="$AR" # Let the user override the test.
5037 else
5038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039 for as_dir in $PATH
5041 IFS=$as_save_IFS
5042 test -z "$as_dir" && as_dir=.
5043 for ac_exec_ext in '' $ac_executable_extensions; do
5044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5045 ac_cv_prog_AR="${ac_tool_prefix}ar"
5046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047 break 2
5049 done
5050 done
5051 IFS=$as_save_IFS
5055 AR=$ac_cv_prog_AR
5056 if test -n "$AR"; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5058 $as_echo "$AR" >&6; }
5059 else
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 $as_echo "no" >&6; }
5066 if test -z "$ac_cv_prog_AR"; then
5067 ac_ct_AR=$AR
5068 # Extract the first word of "ar", so it can be a program name with args.
5069 set dummy ar; ac_word=$2
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071 $as_echo_n "checking for $ac_word... " >&6; }
5072 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5073 $as_echo_n "(cached) " >&6
5074 else
5075 if test -n "$ac_ct_AR"; then
5076 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5077 else
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 for as_dir in $PATH
5081 IFS=$as_save_IFS
5082 test -z "$as_dir" && as_dir=.
5083 for ac_exec_ext in '' $ac_executable_extensions; do
5084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5085 ac_cv_prog_ac_ct_AR="ar"
5086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 break 2
5089 done
5090 done
5091 IFS=$as_save_IFS
5095 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5096 if test -n "$ac_ct_AR"; then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5098 $as_echo "$ac_ct_AR" >&6; }
5099 else
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5104 if test "x$ac_ct_AR" = x; then
5105 AR=""
5106 else
5107 case $cross_compiling:$ac_tool_warned in
5108 yes:)
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5111 ac_tool_warned=yes ;;
5112 esac
5113 AR=$ac_ct_AR
5115 else
5116 AR="$ac_cv_prog_AR"
5119 if test -n "$ac_tool_prefix"; then
5120 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5121 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5123 $as_echo_n "checking for $ac_word... " >&6; }
5124 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5125 $as_echo_n "(cached) " >&6
5126 else
5127 if test -n "$RANLIB"; then
5128 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5129 else
5130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5131 for as_dir in $PATH
5133 IFS=$as_save_IFS
5134 test -z "$as_dir" && as_dir=.
5135 for ac_exec_ext in '' $ac_executable_extensions; do
5136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5137 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5139 break 2
5141 done
5142 done
5143 IFS=$as_save_IFS
5147 RANLIB=$ac_cv_prog_RANLIB
5148 if test -n "$RANLIB"; then
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5150 $as_echo "$RANLIB" >&6; }
5151 else
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5153 $as_echo "no" >&6; }
5158 if test -z "$ac_cv_prog_RANLIB"; then
5159 ac_ct_RANLIB=$RANLIB
5160 # Extract the first word of "ranlib", so it can be a program name with args.
5161 set dummy ranlib; ac_word=$2
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5163 $as_echo_n "checking for $ac_word... " >&6; }
5164 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5165 $as_echo_n "(cached) " >&6
5166 else
5167 if test -n "$ac_ct_RANLIB"; then
5168 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5169 else
5170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5171 for as_dir in $PATH
5173 IFS=$as_save_IFS
5174 test -z "$as_dir" && as_dir=.
5175 for ac_exec_ext in '' $ac_executable_extensions; do
5176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5177 ac_cv_prog_ac_ct_RANLIB="ranlib"
5178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5179 break 2
5181 done
5182 done
5183 IFS=$as_save_IFS
5187 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5188 if test -n "$ac_ct_RANLIB"; then
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5190 $as_echo "$ac_ct_RANLIB" >&6; }
5191 else
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5193 $as_echo "no" >&6; }
5196 if test "x$ac_ct_RANLIB" = x; then
5197 RANLIB="ranlib-not-found-in-path-error"
5198 else
5199 case $cross_compiling:$ac_tool_warned in
5200 yes:)
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5203 ac_tool_warned=yes ;;
5204 esac
5205 RANLIB=$ac_ct_RANLIB
5207 else
5208 RANLIB="$ac_cv_prog_RANLIB"
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5214 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5215 # Check whether --enable-maintainer-mode was given.
5216 if test "${enable_maintainer_mode+set}" = set; then :
5217 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5218 else
5219 USE_MAINTAINER_MODE=no
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5223 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5224 if test $USE_MAINTAINER_MODE = yes; then
5225 MAINTAINER_MODE_TRUE=
5226 MAINTAINER_MODE_FALSE='#'
5227 else
5228 MAINTAINER_MODE_TRUE='#'
5229 MAINTAINER_MODE_FALSE=
5232 MAINT=$MAINTAINER_MODE_TRUE
5236 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5237 # which are themselves conditionally expanded.
5238 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5239 ## other macros from doing the same. This should be automated.) -pme
5241 # Check for C library flavor since GNU/Linux platforms use different
5242 # configuration directories depending on the C library in use.
5243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5244 /* end confdefs.h. */
5246 #include <stdio.h>
5247 #if __UCLIBC__
5248 _using_uclibc
5249 #endif
5251 _ACEOF
5252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5253 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5254 uclibc=yes
5255 else
5256 uclibc=no
5258 rm -f conftest*
5261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5262 /* end confdefs.h. */
5264 #include <stdio.h>
5265 #if __BIONIC__
5266 _using_bionic
5267 #endif
5269 _ACEOF
5270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5271 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5272 bionic=yes
5273 else
5274 bionic=no
5276 rm -f conftest*
5279 # Find platform-specific directories containing configuration info.
5280 # Also possibly modify flags used elsewhere, as needed by the platform.
5282 . $glibcxx_srcdir/configure.host
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5284 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5286 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5290 # Libtool setup.
5291 if test "x${with_newlib}" != "xyes"; then
5292 enable_dlopen=yes
5297 case `pwd` in
5298 *\ * | *\ *)
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5300 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5301 esac
5305 macro_version='2.2.7a'
5306 macro_revision='1.3134'
5320 ltmain="$ac_aux_dir/ltmain.sh"
5322 # Backslashify metacharacters that are still active within
5323 # double-quoted strings.
5324 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5326 # Same as above, but do not quote variable references.
5327 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5329 # Sed substitution to delay expansion of an escaped shell variable in a
5330 # double_quote_subst'ed string.
5331 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5333 # Sed substitution to delay expansion of an escaped single quote.
5334 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5336 # Sed substitution to avoid accidental globbing in evaled expressions
5337 no_glob_subst='s/\*/\\\*/g'
5339 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5340 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5341 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5344 $as_echo_n "checking how to print strings... " >&6; }
5345 # Test print first, because it will be a builtin if present.
5346 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5347 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5348 ECHO='print -r --'
5349 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5350 ECHO='printf %s\n'
5351 else
5352 # Use this function as a fallback that always works.
5353 func_fallback_echo ()
5355 eval 'cat <<_LTECHO_EOF
5357 _LTECHO_EOF'
5359 ECHO='func_fallback_echo'
5362 # func_echo_all arg...
5363 # Invoke $ECHO with all args, space-separated.
5364 func_echo_all ()
5366 $ECHO ""
5369 case "$ECHO" in
5370 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5371 $as_echo "printf" >&6; } ;;
5372 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5373 $as_echo "print -r" >&6; } ;;
5374 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5375 $as_echo "cat" >&6; } ;;
5376 esac
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5392 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5393 if test "${ac_cv_path_SED+set}" = set; then :
5394 $as_echo_n "(cached) " >&6
5395 else
5396 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5397 for ac_i in 1 2 3 4 5 6 7; do
5398 ac_script="$ac_script$as_nl$ac_script"
5399 done
5400 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5401 { ac_script=; unset ac_script;}
5402 if test -z "$SED"; then
5403 ac_path_SED_found=false
5404 # Loop through the user's path and test for each of PROGNAME-LIST
5405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5406 for as_dir in $PATH
5408 IFS=$as_save_IFS
5409 test -z "$as_dir" && as_dir=.
5410 for ac_prog in sed gsed; do
5411 for ac_exec_ext in '' $ac_executable_extensions; do
5412 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5413 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5414 # Check for GNU ac_path_SED and select it if it is found.
5415 # Check for GNU $ac_path_SED
5416 case `"$ac_path_SED" --version 2>&1` in
5417 *GNU*)
5418 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5420 ac_count=0
5421 $as_echo_n 0123456789 >"conftest.in"
5422 while :
5424 cat "conftest.in" "conftest.in" >"conftest.tmp"
5425 mv "conftest.tmp" "conftest.in"
5426 cp "conftest.in" "conftest.nl"
5427 $as_echo '' >> "conftest.nl"
5428 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5429 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5430 as_fn_arith $ac_count + 1 && ac_count=$as_val
5431 if test $ac_count -gt ${ac_path_SED_max-0}; then
5432 # Best one so far, save it but keep looking for a better one
5433 ac_cv_path_SED="$ac_path_SED"
5434 ac_path_SED_max=$ac_count
5436 # 10*(2^10) chars as input seems more than enough
5437 test $ac_count -gt 10 && break
5438 done
5439 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5440 esac
5442 $ac_path_SED_found && break 3
5443 done
5444 done
5445 done
5446 IFS=$as_save_IFS
5447 if test -z "$ac_cv_path_SED"; then
5448 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5450 else
5451 ac_cv_path_SED=$SED
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5456 $as_echo "$ac_cv_path_SED" >&6; }
5457 SED="$ac_cv_path_SED"
5458 rm -f conftest.sed
5460 test -z "$SED" && SED=sed
5461 Xsed="$SED -e 1s/^X//"
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5474 $as_echo_n "checking for fgrep... " >&6; }
5475 if test "${ac_cv_path_FGREP+set}" = set; then :
5476 $as_echo_n "(cached) " >&6
5477 else
5478 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5479 then ac_cv_path_FGREP="$GREP -F"
5480 else
5481 if test -z "$FGREP"; then
5482 ac_path_FGREP_found=false
5483 # Loop through the user's path and test for each of PROGNAME-LIST
5484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5487 IFS=$as_save_IFS
5488 test -z "$as_dir" && as_dir=.
5489 for ac_prog in fgrep; do
5490 for ac_exec_ext in '' $ac_executable_extensions; do
5491 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5492 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5493 # Check for GNU ac_path_FGREP and select it if it is found.
5494 # Check for GNU $ac_path_FGREP
5495 case `"$ac_path_FGREP" --version 2>&1` in
5496 *GNU*)
5497 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5499 ac_count=0
5500 $as_echo_n 0123456789 >"conftest.in"
5501 while :
5503 cat "conftest.in" "conftest.in" >"conftest.tmp"
5504 mv "conftest.tmp" "conftest.in"
5505 cp "conftest.in" "conftest.nl"
5506 $as_echo 'FGREP' >> "conftest.nl"
5507 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5508 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5509 as_fn_arith $ac_count + 1 && ac_count=$as_val
5510 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5511 # Best one so far, save it but keep looking for a better one
5512 ac_cv_path_FGREP="$ac_path_FGREP"
5513 ac_path_FGREP_max=$ac_count
5515 # 10*(2^10) chars as input seems more than enough
5516 test $ac_count -gt 10 && break
5517 done
5518 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5519 esac
5521 $ac_path_FGREP_found && break 3
5522 done
5523 done
5524 done
5525 IFS=$as_save_IFS
5526 if test -z "$ac_cv_path_FGREP"; then
5527 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5529 else
5530 ac_cv_path_FGREP=$FGREP
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5536 $as_echo "$ac_cv_path_FGREP" >&6; }
5537 FGREP="$ac_cv_path_FGREP"
5540 test -z "$GREP" && GREP=grep
5560 # Check whether --with-gnu-ld was given.
5561 if test "${with_gnu_ld+set}" = set; then :
5562 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5563 else
5564 with_gnu_ld=no
5567 ac_prog=ld
5568 if test "$GCC" = yes; then
5569 # Check if gcc -print-prog-name=ld gives a path.
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5571 $as_echo_n "checking for ld used by $CC... " >&6; }
5572 case $host in
5573 *-*-mingw*)
5574 # gcc leaves a trailing carriage return which upsets mingw
5575 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5577 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5578 esac
5579 case $ac_prog in
5580 # Accept absolute paths.
5581 [\\/]* | ?:[\\/]*)
5582 re_direlt='/[^/][^/]*/\.\./'
5583 # Canonicalize the pathname of ld
5584 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5585 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5586 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5587 done
5588 test -z "$LD" && LD="$ac_prog"
5591 # If it fails, then pretend we aren't using GCC.
5592 ac_prog=ld
5595 # If it is relative, then search for the first ld in PATH.
5596 with_gnu_ld=unknown
5598 esac
5599 elif test "$with_gnu_ld" = yes; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5601 $as_echo_n "checking for GNU ld... " >&6; }
5602 else
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5604 $as_echo_n "checking for non-GNU ld... " >&6; }
5606 if test "${lt_cv_path_LD+set}" = set; then :
5607 $as_echo_n "(cached) " >&6
5608 else
5609 if test -z "$LD"; then
5610 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5611 for ac_dir in $PATH; do
5612 IFS="$lt_save_ifs"
5613 test -z "$ac_dir" && ac_dir=.
5614 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5615 lt_cv_path_LD="$ac_dir/$ac_prog"
5616 # Check to see if the program is GNU ld. I'd rather use --version,
5617 # but apparently some variants of GNU ld only accept -v.
5618 # Break only if it was the GNU/non-GNU ld that we prefer.
5619 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5620 *GNU* | *'with BFD'*)
5621 test "$with_gnu_ld" != no && break
5624 test "$with_gnu_ld" != yes && break
5626 esac
5628 done
5629 IFS="$lt_save_ifs"
5630 else
5631 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5635 LD="$lt_cv_path_LD"
5636 if test -n "$LD"; then
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5638 $as_echo "$LD" >&6; }
5639 else
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5641 $as_echo "no" >&6; }
5643 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5645 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5646 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5647 $as_echo_n "(cached) " >&6
5648 else
5649 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5650 case `$LD -v 2>&1 </dev/null` in
5651 *GNU* | *'with BFD'*)
5652 lt_cv_prog_gnu_ld=yes
5655 lt_cv_prog_gnu_ld=no
5657 esac
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5660 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5661 with_gnu_ld=$lt_cv_prog_gnu_ld
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5672 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5673 if test "${lt_cv_path_NM+set}" = set; then :
5674 $as_echo_n "(cached) " >&6
5675 else
5676 if test -n "$NM"; then
5677 # Let the user override the test.
5678 lt_cv_path_NM="$NM"
5679 else
5680 lt_nm_to_check="${ac_tool_prefix}nm"
5681 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5682 lt_nm_to_check="$lt_nm_to_check nm"
5684 for lt_tmp_nm in $lt_nm_to_check; do
5685 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5686 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5687 IFS="$lt_save_ifs"
5688 test -z "$ac_dir" && ac_dir=.
5689 tmp_nm="$ac_dir/$lt_tmp_nm"
5690 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5691 # Check to see if the nm accepts a BSD-compat flag.
5692 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5693 # nm: unknown option "B" ignored
5694 # Tru64's nm complains that /dev/null is an invalid object file
5695 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5696 */dev/null* | *'Invalid file or object type'*)
5697 lt_cv_path_NM="$tmp_nm -B"
5698 break
5701 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5702 */dev/null*)
5703 lt_cv_path_NM="$tmp_nm -p"
5704 break
5707 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5708 continue # so that we can try to find one that supports BSD flags
5710 esac
5712 esac
5714 done
5715 IFS="$lt_save_ifs"
5716 done
5717 : ${lt_cv_path_NM=no}
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5721 $as_echo "$lt_cv_path_NM" >&6; }
5722 if test "$lt_cv_path_NM" != "no"; then
5723 NM="$lt_cv_path_NM"
5724 else
5725 # Didn't find any BSD compatible name lister, look for dumpbin.
5726 if test -n "$DUMPBIN"; then :
5727 # Let the user override the test.
5728 else
5729 if test -n "$ac_tool_prefix"; then
5730 for ac_prog in dumpbin "link -dump"
5732 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5733 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5735 $as_echo_n "checking for $ac_word... " >&6; }
5736 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5737 $as_echo_n "(cached) " >&6
5738 else
5739 if test -n "$DUMPBIN"; then
5740 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5741 else
5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5743 for as_dir in $PATH
5745 IFS=$as_save_IFS
5746 test -z "$as_dir" && as_dir=.
5747 for ac_exec_ext in '' $ac_executable_extensions; do
5748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5749 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5751 break 2
5753 done
5754 done
5755 IFS=$as_save_IFS
5759 DUMPBIN=$ac_cv_prog_DUMPBIN
5760 if test -n "$DUMPBIN"; then
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5762 $as_echo "$DUMPBIN" >&6; }
5763 else
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5765 $as_echo "no" >&6; }
5769 test -n "$DUMPBIN" && break
5770 done
5772 if test -z "$DUMPBIN"; then
5773 ac_ct_DUMPBIN=$DUMPBIN
5774 for ac_prog in dumpbin "link -dump"
5776 # Extract the first word of "$ac_prog", so it can be a program name with args.
5777 set dummy $ac_prog; ac_word=$2
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779 $as_echo_n "checking for $ac_word... " >&6; }
5780 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5781 $as_echo_n "(cached) " >&6
5782 else
5783 if test -n "$ac_ct_DUMPBIN"; then
5784 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5785 else
5786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5787 for as_dir in $PATH
5789 IFS=$as_save_IFS
5790 test -z "$as_dir" && as_dir=.
5791 for ac_exec_ext in '' $ac_executable_extensions; do
5792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5793 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5795 break 2
5797 done
5798 done
5799 IFS=$as_save_IFS
5803 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5804 if test -n "$ac_ct_DUMPBIN"; then
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5806 $as_echo "$ac_ct_DUMPBIN" >&6; }
5807 else
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809 $as_echo "no" >&6; }
5813 test -n "$ac_ct_DUMPBIN" && break
5814 done
5816 if test "x$ac_ct_DUMPBIN" = x; then
5817 DUMPBIN=":"
5818 else
5819 case $cross_compiling:$ac_tool_warned in
5820 yes:)
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5823 ac_tool_warned=yes ;;
5824 esac
5825 DUMPBIN=$ac_ct_DUMPBIN
5829 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5830 *COFF*)
5831 DUMPBIN="$DUMPBIN -symbols"
5834 DUMPBIN=:
5836 esac
5839 if test "$DUMPBIN" != ":"; then
5840 NM="$DUMPBIN"
5843 test -z "$NM" && NM=nm
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5851 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5852 if test "${lt_cv_nm_interface+set}" = set; then :
5853 $as_echo_n "(cached) " >&6
5854 else
5855 lt_cv_nm_interface="BSD nm"
5856 echo "int some_variable = 0;" > conftest.$ac_ext
5857 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5858 (eval "$ac_compile" 2>conftest.err)
5859 cat conftest.err >&5
5860 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5861 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5862 cat conftest.err >&5
5863 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5864 cat conftest.out >&5
5865 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5866 lt_cv_nm_interface="MS dumpbin"
5868 rm -f conftest*
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5871 $as_echo "$lt_cv_nm_interface" >&6; }
5873 # find the maximum length of command line arguments
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5875 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5876 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5877 $as_echo_n "(cached) " >&6
5878 else
5880 teststring="ABCD"
5882 case $build_os in
5883 msdosdjgpp*)
5884 # On DJGPP, this test can blow up pretty badly due to problems in libc
5885 # (any single argument exceeding 2000 bytes causes a buffer overrun
5886 # during glob expansion). Even if it were fixed, the result of this
5887 # check would be larger than it should be.
5888 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5891 gnu*)
5892 # Under GNU Hurd, this test is not required because there is
5893 # no limit to the length of command line arguments.
5894 # Libtool will interpret -1 as no limit whatsoever
5895 lt_cv_sys_max_cmd_len=-1;
5898 cygwin* | mingw* | cegcc*)
5899 # On Win9x/ME, this test blows up -- it succeeds, but takes
5900 # about 5 minutes as the teststring grows exponentially.
5901 # Worse, since 9x/ME are not pre-emptively multitasking,
5902 # you end up with a "frozen" computer, even though with patience
5903 # the test eventually succeeds (with a max line length of 256k).
5904 # Instead, let's just punt: use the minimum linelength reported by
5905 # all of the supported platforms: 8192 (on NT/2K/XP).
5906 lt_cv_sys_max_cmd_len=8192;
5909 mint*)
5910 # On MiNT this can take a long time and run out of memory.
5911 lt_cv_sys_max_cmd_len=8192;
5914 amigaos*)
5915 # On AmigaOS with pdksh, this test takes hours, literally.
5916 # So we just punt and use a minimum line length of 8192.
5917 lt_cv_sys_max_cmd_len=8192;
5920 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5921 # This has been around since 386BSD, at least. Likely further.
5922 if test -x /sbin/sysctl; then
5923 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5924 elif test -x /usr/sbin/sysctl; then
5925 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5926 else
5927 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5929 # And add a safety zone
5930 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5931 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5934 interix*)
5935 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5936 lt_cv_sys_max_cmd_len=196608
5939 osf*)
5940 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5941 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5942 # nice to cause kernel panics so lets avoid the loop below.
5943 # First set a reasonable default.
5944 lt_cv_sys_max_cmd_len=16384
5946 if test -x /sbin/sysconfig; then
5947 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5948 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5949 esac
5952 sco3.2v5*)
5953 lt_cv_sys_max_cmd_len=102400
5955 sysv5* | sco5v6* | sysv4.2uw2*)
5956 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5957 if test -n "$kargmax"; then
5958 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5959 else
5960 lt_cv_sys_max_cmd_len=32768
5964 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5965 if test -n "$lt_cv_sys_max_cmd_len"; then
5966 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5967 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5968 else
5969 # Make teststring a little bigger before we do anything with it.
5970 # a 1K string should be a reasonable start.
5971 for i in 1 2 3 4 5 6 7 8 ; do
5972 teststring=$teststring$teststring
5973 done
5974 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5975 # If test is not a shell built-in, we'll probably end up computing a
5976 # maximum length that is only half of the actual maximum length, but
5977 # we can't tell.
5978 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5979 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5980 test $i != 17 # 1/2 MB should be enough
5982 i=`expr $i + 1`
5983 teststring=$teststring$teststring
5984 done
5985 # Only check the string length outside the loop.
5986 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5987 teststring=
5988 # Add a significant safety factor because C++ compilers can tack on
5989 # massive amounts of additional arguments before passing them to the
5990 # linker. It appears as though 1/2 is a usable value.
5991 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5994 esac
5998 if test -n $lt_cv_sys_max_cmd_len ; then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6000 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6001 else
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6003 $as_echo "none" >&6; }
6005 max_cmd_len=$lt_cv_sys_max_cmd_len
6012 : ${CP="cp -f"}
6013 : ${MV="mv -f"}
6014 : ${RM="rm -f"}
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6017 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6018 # Try some XSI features
6019 xsi_shell=no
6020 ( _lt_dummy="a/b/c"
6021 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6022 = c,a/b,, \
6023 && eval 'test $(( 1 + 1 )) -eq 2 \
6024 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6025 && xsi_shell=yes
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6027 $as_echo "$xsi_shell" >&6; }
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6031 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6032 lt_shell_append=no
6033 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6034 >/dev/null 2>&1 \
6035 && lt_shell_append=yes
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6037 $as_echo "$lt_shell_append" >&6; }
6040 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6041 lt_unset=unset
6042 else
6043 lt_unset=false
6050 # test EBCDIC or ASCII
6051 case `echo X|tr X '\101'` in
6052 A) # ASCII based system
6053 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6054 lt_SP2NL='tr \040 \012'
6055 lt_NL2SP='tr \015\012 \040\040'
6057 *) # EBCDIC based system
6058 lt_SP2NL='tr \100 \n'
6059 lt_NL2SP='tr \r\n \100\100'
6061 esac
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6072 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6073 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6074 $as_echo_n "(cached) " >&6
6075 else
6076 lt_cv_ld_reload_flag='-r'
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6079 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6080 reload_flag=$lt_cv_ld_reload_flag
6081 case $reload_flag in
6082 "" | " "*) ;;
6083 *) reload_flag=" $reload_flag" ;;
6084 esac
6085 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6086 case $host_os in
6087 darwin*)
6088 if test "$GCC" = yes; then
6089 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6090 else
6091 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6094 esac
6104 if test -n "$ac_tool_prefix"; then
6105 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6106 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6108 $as_echo_n "checking for $ac_word... " >&6; }
6109 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6110 $as_echo_n "(cached) " >&6
6111 else
6112 if test -n "$OBJDUMP"; then
6113 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6114 else
6115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116 for as_dir in $PATH
6118 IFS=$as_save_IFS
6119 test -z "$as_dir" && as_dir=.
6120 for ac_exec_ext in '' $ac_executable_extensions; do
6121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6122 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6124 break 2
6126 done
6127 done
6128 IFS=$as_save_IFS
6132 OBJDUMP=$ac_cv_prog_OBJDUMP
6133 if test -n "$OBJDUMP"; then
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6135 $as_echo "$OBJDUMP" >&6; }
6136 else
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6138 $as_echo "no" >&6; }
6143 if test -z "$ac_cv_prog_OBJDUMP"; then
6144 ac_ct_OBJDUMP=$OBJDUMP
6145 # Extract the first word of "objdump", so it can be a program name with args.
6146 set dummy objdump; ac_word=$2
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148 $as_echo_n "checking for $ac_word... " >&6; }
6149 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6150 $as_echo_n "(cached) " >&6
6151 else
6152 if test -n "$ac_ct_OBJDUMP"; then
6153 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6154 else
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 for as_dir in $PATH
6158 IFS=$as_save_IFS
6159 test -z "$as_dir" && as_dir=.
6160 for ac_exec_ext in '' $ac_executable_extensions; do
6161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6162 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6164 break 2
6166 done
6167 done
6168 IFS=$as_save_IFS
6172 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6173 if test -n "$ac_ct_OBJDUMP"; then
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6175 $as_echo "$ac_ct_OBJDUMP" >&6; }
6176 else
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178 $as_echo "no" >&6; }
6181 if test "x$ac_ct_OBJDUMP" = x; then
6182 OBJDUMP="false"
6183 else
6184 case $cross_compiling:$ac_tool_warned in
6185 yes:)
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6188 ac_tool_warned=yes ;;
6189 esac
6190 OBJDUMP=$ac_ct_OBJDUMP
6192 else
6193 OBJDUMP="$ac_cv_prog_OBJDUMP"
6196 test -z "$OBJDUMP" && OBJDUMP=objdump
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6207 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6208 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6209 $as_echo_n "(cached) " >&6
6210 else
6211 lt_cv_file_magic_cmd='$MAGIC_CMD'
6212 lt_cv_file_magic_test_file=
6213 lt_cv_deplibs_check_method='unknown'
6214 # Need to set the preceding variable on all platforms that support
6215 # interlibrary dependencies.
6216 # 'none' -- dependencies not supported.
6217 # `unknown' -- same as none, but documents that we really don't know.
6218 # 'pass_all' -- all dependencies passed with no checks.
6219 # 'test_compile' -- check by making test program.
6220 # 'file_magic [[regex]]' -- check by looking for files in library path
6221 # which responds to the $file_magic_cmd with a given extended regex.
6222 # If you have `file' or equivalent on your system and you're not sure
6223 # whether `pass_all' will *always* work, you probably want this one.
6225 case $host_os in
6226 aix[4-9]*)
6227 lt_cv_deplibs_check_method=pass_all
6230 beos*)
6231 lt_cv_deplibs_check_method=pass_all
6234 bsdi[45]*)
6235 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6236 lt_cv_file_magic_cmd='/usr/bin/file -L'
6237 lt_cv_file_magic_test_file=/shlib/libc.so
6240 cygwin*)
6241 # func_win32_libid is a shell function defined in ltmain.sh
6242 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6243 lt_cv_file_magic_cmd='func_win32_libid'
6246 mingw* | pw32*)
6247 # Base MSYS/MinGW do not provide the 'file' command needed by
6248 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6249 # unless we find 'file', for example because we are cross-compiling.
6250 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6251 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6252 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6253 lt_cv_file_magic_cmd='func_win32_libid'
6254 else
6255 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6256 lt_cv_file_magic_cmd='$OBJDUMP -f'
6260 cegcc*)
6261 # use the weaker test based on 'objdump'. See mingw*.
6262 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6263 lt_cv_file_magic_cmd='$OBJDUMP -f'
6266 darwin* | rhapsody*)
6267 lt_cv_deplibs_check_method=pass_all
6270 freebsd* | dragonfly*)
6271 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6272 case $host_cpu in
6273 i*86 )
6274 # Not sure whether the presence of OpenBSD here was a mistake.
6275 # Let's accept both of them until this is cleared up.
6276 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6277 lt_cv_file_magic_cmd=/usr/bin/file
6278 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6280 esac
6281 else
6282 lt_cv_deplibs_check_method=pass_all
6286 gnu*)
6287 lt_cv_deplibs_check_method=pass_all
6290 haiku*)
6291 lt_cv_deplibs_check_method=pass_all
6294 hpux10.20* | hpux11*)
6295 lt_cv_file_magic_cmd=/usr/bin/file
6296 case $host_cpu in
6297 ia64*)
6298 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6299 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6301 hppa*64*)
6302 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6303 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6306 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6307 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6309 esac
6312 interix[3-9]*)
6313 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6314 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6317 irix5* | irix6* | nonstopux*)
6318 case $LD in
6319 *-32|*"-32 ") libmagic=32-bit;;
6320 *-n32|*"-n32 ") libmagic=N32;;
6321 *-64|*"-64 ") libmagic=64-bit;;
6322 *) libmagic=never-match;;
6323 esac
6324 lt_cv_deplibs_check_method=pass_all
6327 # This must be Linux ELF.
6328 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6329 lt_cv_deplibs_check_method=pass_all
6332 netbsd*)
6333 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6334 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6335 else
6336 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6340 newos6*)
6341 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6342 lt_cv_file_magic_cmd=/usr/bin/file
6343 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6346 *nto* | *qnx*)
6347 lt_cv_deplibs_check_method=pass_all
6350 openbsd*)
6351 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6352 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6353 else
6354 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6358 osf3* | osf4* | osf5*)
6359 lt_cv_deplibs_check_method=pass_all
6362 rdos*)
6363 lt_cv_deplibs_check_method=pass_all
6366 solaris*)
6367 lt_cv_deplibs_check_method=pass_all
6370 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6371 lt_cv_deplibs_check_method=pass_all
6374 sysv4 | sysv4.3*)
6375 case $host_vendor in
6376 motorola)
6377 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6378 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6380 ncr)
6381 lt_cv_deplibs_check_method=pass_all
6383 sequent)
6384 lt_cv_file_magic_cmd='/bin/file'
6385 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6387 sni)
6388 lt_cv_file_magic_cmd='/bin/file'
6389 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6390 lt_cv_file_magic_test_file=/lib/libc.so
6392 siemens)
6393 lt_cv_deplibs_check_method=pass_all
6396 lt_cv_deplibs_check_method=pass_all
6398 esac
6401 tpf*)
6402 lt_cv_deplibs_check_method=pass_all
6404 esac
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6408 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6409 file_magic_cmd=$lt_cv_file_magic_cmd
6410 deplibs_check_method=$lt_cv_deplibs_check_method
6411 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6424 if test -n "$ac_tool_prefix"; then
6425 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6426 set dummy ${ac_tool_prefix}ar; ac_word=$2
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6428 $as_echo_n "checking for $ac_word... " >&6; }
6429 if test "${ac_cv_prog_AR+set}" = set; then :
6430 $as_echo_n "(cached) " >&6
6431 else
6432 if test -n "$AR"; then
6433 ac_cv_prog_AR="$AR" # Let the user override the test.
6434 else
6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436 for as_dir in $PATH
6438 IFS=$as_save_IFS
6439 test -z "$as_dir" && as_dir=.
6440 for ac_exec_ext in '' $ac_executable_extensions; do
6441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6442 ac_cv_prog_AR="${ac_tool_prefix}ar"
6443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6444 break 2
6446 done
6447 done
6448 IFS=$as_save_IFS
6452 AR=$ac_cv_prog_AR
6453 if test -n "$AR"; then
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6455 $as_echo "$AR" >&6; }
6456 else
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6458 $as_echo "no" >&6; }
6463 if test -z "$ac_cv_prog_AR"; then
6464 ac_ct_AR=$AR
6465 # Extract the first word of "ar", so it can be a program name with args.
6466 set dummy ar; ac_word=$2
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6468 $as_echo_n "checking for $ac_word... " >&6; }
6469 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6470 $as_echo_n "(cached) " >&6
6471 else
6472 if test -n "$ac_ct_AR"; then
6473 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6474 else
6475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6476 for as_dir in $PATH
6478 IFS=$as_save_IFS
6479 test -z "$as_dir" && as_dir=.
6480 for ac_exec_ext in '' $ac_executable_extensions; do
6481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6482 ac_cv_prog_ac_ct_AR="ar"
6483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6484 break 2
6486 done
6487 done
6488 IFS=$as_save_IFS
6492 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6493 if test -n "$ac_ct_AR"; then
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6495 $as_echo "$ac_ct_AR" >&6; }
6496 else
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6498 $as_echo "no" >&6; }
6501 if test "x$ac_ct_AR" = x; then
6502 AR="false"
6503 else
6504 case $cross_compiling:$ac_tool_warned in
6505 yes:)
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6508 ac_tool_warned=yes ;;
6509 esac
6510 AR=$ac_ct_AR
6512 else
6513 AR="$ac_cv_prog_AR"
6516 test -z "$AR" && AR=ar
6517 test -z "$AR_FLAGS" && AR_FLAGS=cru
6529 if test -n "$ac_tool_prefix"; then
6530 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6531 set dummy ${ac_tool_prefix}strip; ac_word=$2
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6533 $as_echo_n "checking for $ac_word... " >&6; }
6534 if test "${ac_cv_prog_STRIP+set}" = set; then :
6535 $as_echo_n "(cached) " >&6
6536 else
6537 if test -n "$STRIP"; then
6538 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6539 else
6540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6541 for as_dir in $PATH
6543 IFS=$as_save_IFS
6544 test -z "$as_dir" && as_dir=.
6545 for ac_exec_ext in '' $ac_executable_extensions; do
6546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6547 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6549 break 2
6551 done
6552 done
6553 IFS=$as_save_IFS
6557 STRIP=$ac_cv_prog_STRIP
6558 if test -n "$STRIP"; then
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6560 $as_echo "$STRIP" >&6; }
6561 else
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6563 $as_echo "no" >&6; }
6568 if test -z "$ac_cv_prog_STRIP"; then
6569 ac_ct_STRIP=$STRIP
6570 # Extract the first word of "strip", so it can be a program name with args.
6571 set dummy strip; ac_word=$2
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6573 $as_echo_n "checking for $ac_word... " >&6; }
6574 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6575 $as_echo_n "(cached) " >&6
6576 else
6577 if test -n "$ac_ct_STRIP"; then
6578 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6579 else
6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6581 for as_dir in $PATH
6583 IFS=$as_save_IFS
6584 test -z "$as_dir" && as_dir=.
6585 for ac_exec_ext in '' $ac_executable_extensions; do
6586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6587 ac_cv_prog_ac_ct_STRIP="strip"
6588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6589 break 2
6591 done
6592 done
6593 IFS=$as_save_IFS
6597 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6598 if test -n "$ac_ct_STRIP"; then
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6600 $as_echo "$ac_ct_STRIP" >&6; }
6601 else
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6603 $as_echo "no" >&6; }
6606 if test "x$ac_ct_STRIP" = x; then
6607 STRIP=":"
6608 else
6609 case $cross_compiling:$ac_tool_warned in
6610 yes:)
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6613 ac_tool_warned=yes ;;
6614 esac
6615 STRIP=$ac_ct_STRIP
6617 else
6618 STRIP="$ac_cv_prog_STRIP"
6621 test -z "$STRIP" && STRIP=:
6628 if test -n "$ac_tool_prefix"; then
6629 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6630 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6632 $as_echo_n "checking for $ac_word... " >&6; }
6633 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6634 $as_echo_n "(cached) " >&6
6635 else
6636 if test -n "$RANLIB"; then
6637 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6638 else
6639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6640 for as_dir in $PATH
6642 IFS=$as_save_IFS
6643 test -z "$as_dir" && as_dir=.
6644 for ac_exec_ext in '' $ac_executable_extensions; do
6645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6646 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6648 break 2
6650 done
6651 done
6652 IFS=$as_save_IFS
6656 RANLIB=$ac_cv_prog_RANLIB
6657 if test -n "$RANLIB"; then
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6659 $as_echo "$RANLIB" >&6; }
6660 else
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662 $as_echo "no" >&6; }
6667 if test -z "$ac_cv_prog_RANLIB"; then
6668 ac_ct_RANLIB=$RANLIB
6669 # Extract the first word of "ranlib", so it can be a program name with args.
6670 set dummy ranlib; ac_word=$2
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6672 $as_echo_n "checking for $ac_word... " >&6; }
6673 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6674 $as_echo_n "(cached) " >&6
6675 else
6676 if test -n "$ac_ct_RANLIB"; then
6677 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6678 else
6679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6680 for as_dir in $PATH
6682 IFS=$as_save_IFS
6683 test -z "$as_dir" && as_dir=.
6684 for ac_exec_ext in '' $ac_executable_extensions; do
6685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6686 ac_cv_prog_ac_ct_RANLIB="ranlib"
6687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6688 break 2
6690 done
6691 done
6692 IFS=$as_save_IFS
6696 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6697 if test -n "$ac_ct_RANLIB"; then
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6699 $as_echo "$ac_ct_RANLIB" >&6; }
6700 else
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6702 $as_echo "no" >&6; }
6705 if test "x$ac_ct_RANLIB" = x; then
6706 RANLIB=":"
6707 else
6708 case $cross_compiling:$ac_tool_warned in
6709 yes:)
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6712 ac_tool_warned=yes ;;
6713 esac
6714 RANLIB=$ac_ct_RANLIB
6716 else
6717 RANLIB="$ac_cv_prog_RANLIB"
6720 test -z "$RANLIB" && RANLIB=:
6727 # Determine commands to create old-style static archives.
6728 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6729 old_postinstall_cmds='chmod 644 $oldlib'
6730 old_postuninstall_cmds=
6732 if test -n "$RANLIB"; then
6733 case $host_os in
6734 openbsd*)
6735 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6738 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6740 esac
6741 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6744 case $host_os in
6745 darwin*)
6746 lock_old_archive_extraction=yes ;;
6748 lock_old_archive_extraction=no ;;
6749 esac
6789 # If no C compiler was specified, use CC.
6790 LTCC=${LTCC-"$CC"}
6792 # If no C compiler flags were specified, use CFLAGS.
6793 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6795 # Allow CC to be a program name with arguments.
6796 compiler=$CC
6799 # Check for command to grab the raw symbol name followed by C symbol from nm.
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6801 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6802 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6803 $as_echo_n "(cached) " >&6
6804 else
6806 # These are sane defaults that work on at least a few old systems.
6807 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6809 # Character class describing NM global symbol codes.
6810 symcode='[BCDEGRST]'
6812 # Regexp to match symbols that can be accessed directly from C.
6813 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6815 # Define system-specific variables.
6816 case $host_os in
6817 aix*)
6818 symcode='[BCDT]'
6820 cygwin* | mingw* | pw32* | cegcc*)
6821 symcode='[ABCDGISTW]'
6823 hpux*)
6824 if test "$host_cpu" = ia64; then
6825 symcode='[ABCDEGRST]'
6828 irix* | nonstopux*)
6829 symcode='[BCDEGRST]'
6831 osf*)
6832 symcode='[BCDEGQRST]'
6834 solaris*)
6835 symcode='[BDRT]'
6837 sco3.2v5*)
6838 symcode='[DT]'
6840 sysv4.2uw2*)
6841 symcode='[DT]'
6843 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6844 symcode='[ABDT]'
6846 sysv4)
6847 symcode='[DFNSTU]'
6849 esac
6851 # If we're using GNU nm, then use its standard symbol codes.
6852 case `$NM -V 2>&1` in
6853 *GNU* | *'with BFD'*)
6854 symcode='[ABCDGIRSTW]' ;;
6855 esac
6857 # Transform an extracted symbol line into a proper C declaration.
6858 # Some systems (esp. on ia64) link data and code symbols differently,
6859 # so use this general approach.
6860 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6862 # Transform an extracted symbol line into symbol name and symbol address
6863 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6864 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6866 # Handle CRLF in mingw tool chain
6867 opt_cr=
6868 case $build_os in
6869 mingw*)
6870 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6872 esac
6874 # Try without a prefix underscore, then with it.
6875 for ac_symprfx in "" "_"; do
6877 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6878 symxfrm="\\1 $ac_symprfx\\2 \\2"
6880 # Write the raw and C identifiers.
6881 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6882 # Fake it for dumpbin and say T for any non-static function
6883 # and D for any global variable.
6884 # Also find C++ and __fastcall symbols from MSVC++,
6885 # which start with @ or ?.
6886 lt_cv_sys_global_symbol_pipe="$AWK '"\
6887 " {last_section=section; section=\$ 3};"\
6888 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6889 " \$ 0!~/External *\|/{next};"\
6890 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6891 " {if(hide[section]) next};"\
6892 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6893 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6894 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6895 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6896 " ' prfx=^$ac_symprfx"
6897 else
6898 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6901 # Check to see that the pipe works correctly.
6902 pipe_works=no
6904 rm -f conftest*
6905 cat > conftest.$ac_ext <<_LT_EOF
6906 #ifdef __cplusplus
6907 extern "C" {
6908 #endif
6909 char nm_test_var;
6910 void nm_test_func(void);
6911 void nm_test_func(void){}
6912 #ifdef __cplusplus
6914 #endif
6915 int main(){nm_test_var='a';nm_test_func();return(0);}
6916 _LT_EOF
6918 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6919 (eval $ac_compile) 2>&5
6920 ac_status=$?
6921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6922 test $ac_status = 0; }; then
6923 # Now try to grab the symbols.
6924 nlist=conftest.nm
6925 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6926 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6927 ac_status=$?
6928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6929 test $ac_status = 0; } && test -s "$nlist"; then
6930 # Try sorting and uniquifying the output.
6931 if sort "$nlist" | uniq > "$nlist"T; then
6932 mv -f "$nlist"T "$nlist"
6933 else
6934 rm -f "$nlist"T
6937 # Make sure that we snagged all the symbols we need.
6938 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6939 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6940 cat <<_LT_EOF > conftest.$ac_ext
6941 #ifdef __cplusplus
6942 extern "C" {
6943 #endif
6945 _LT_EOF
6946 # Now generate the symbol file.
6947 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6949 cat <<_LT_EOF >> conftest.$ac_ext
6951 /* The mapping between symbol names and symbols. */
6952 const struct {
6953 const char *name;
6954 void *address;
6956 lt__PROGRAM__LTX_preloaded_symbols[] =
6958 { "@PROGRAM@", (void *) 0 },
6959 _LT_EOF
6960 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6961 cat <<\_LT_EOF >> conftest.$ac_ext
6962 {0, (void *) 0}
6965 /* This works around a problem in FreeBSD linker */
6966 #ifdef FREEBSD_WORKAROUND
6967 static const void *lt_preloaded_setup() {
6968 return lt__PROGRAM__LTX_preloaded_symbols;
6970 #endif
6972 #ifdef __cplusplus
6974 #endif
6975 _LT_EOF
6976 # Now try linking the two files.
6977 mv conftest.$ac_objext conftstm.$ac_objext
6978 lt_save_LIBS="$LIBS"
6979 lt_save_CFLAGS="$CFLAGS"
6980 LIBS="conftstm.$ac_objext"
6981 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6982 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6983 (eval $ac_link) 2>&5
6984 ac_status=$?
6985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6986 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6987 pipe_works=yes
6989 LIBS="$lt_save_LIBS"
6990 CFLAGS="$lt_save_CFLAGS"
6991 else
6992 echo "cannot find nm_test_func in $nlist" >&5
6994 else
6995 echo "cannot find nm_test_var in $nlist" >&5
6997 else
6998 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7000 else
7001 echo "$progname: failed program was:" >&5
7002 cat conftest.$ac_ext >&5
7004 rm -rf conftest* conftst*
7006 # Do not use the global_symbol_pipe unless it works.
7007 if test "$pipe_works" = yes; then
7008 break
7009 else
7010 lt_cv_sys_global_symbol_pipe=
7012 done
7016 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7017 lt_cv_sys_global_symbol_to_cdecl=
7019 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7021 $as_echo "failed" >&6; }
7022 else
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7024 $as_echo "ok" >&6; }
7048 # Check whether --enable-libtool-lock was given.
7049 if test "${enable_libtool_lock+set}" = set; then :
7050 enableval=$enable_libtool_lock;
7053 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7055 # Some flags need to be propagated to the compiler or linker for good
7056 # libtool support.
7057 case $host in
7058 ia64-*-hpux*)
7059 # Find out which ABI we are using.
7060 echo 'int i;' > conftest.$ac_ext
7061 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7062 (eval $ac_compile) 2>&5
7063 ac_status=$?
7064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7065 test $ac_status = 0; }; then
7066 case `/usr/bin/file conftest.$ac_objext` in
7067 *ELF-32*)
7068 HPUX_IA64_MODE="32"
7070 *ELF-64*)
7071 HPUX_IA64_MODE="64"
7073 esac
7075 rm -rf conftest*
7077 *-*-irix6*)
7078 # Find out which ABI we are using.
7079 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7080 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7081 (eval $ac_compile) 2>&5
7082 ac_status=$?
7083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7084 test $ac_status = 0; }; then
7085 if test "$lt_cv_prog_gnu_ld" = yes; then
7086 case `/usr/bin/file conftest.$ac_objext` in
7087 *32-bit*)
7088 LD="${LD-ld} -melf32bsmip"
7090 *N32*)
7091 LD="${LD-ld} -melf32bmipn32"
7093 *64-bit*)
7094 LD="${LD-ld} -melf64bmip"
7096 esac
7097 else
7098 case `/usr/bin/file conftest.$ac_objext` in
7099 *32-bit*)
7100 LD="${LD-ld} -32"
7102 *N32*)
7103 LD="${LD-ld} -n32"
7105 *64-bit*)
7106 LD="${LD-ld} -64"
7108 esac
7111 rm -rf conftest*
7114 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7115 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7116 # Find out which ABI we are using.
7117 echo 'int i;' > conftest.$ac_ext
7118 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7119 (eval $ac_compile) 2>&5
7120 ac_status=$?
7121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7122 test $ac_status = 0; }; then
7123 case `/usr/bin/file conftest.o` in
7124 *32-bit*)
7125 case $host in
7126 x86_64-*kfreebsd*-gnu)
7127 LD="${LD-ld} -m elf_i386_fbsd"
7129 x86_64-*linux*)
7130 case `/usr/bin/file conftest.o` in
7131 *x86-64*)
7132 LD="${LD-ld} -m elf32_x86_64"
7135 LD="${LD-ld} -m elf_i386"
7137 esac
7139 ppc64-*linux*|powerpc64-*linux*)
7140 LD="${LD-ld} -m elf32ppclinux"
7142 s390x-*linux*)
7143 LD="${LD-ld} -m elf_s390"
7145 sparc64-*linux*)
7146 LD="${LD-ld} -m elf32_sparc"
7148 esac
7150 *64-bit*)
7151 case $host in
7152 x86_64-*kfreebsd*-gnu)
7153 LD="${LD-ld} -m elf_x86_64_fbsd"
7155 x86_64-*linux*)
7156 LD="${LD-ld} -m elf_x86_64"
7158 ppc*-*linux*|powerpc*-*linux*)
7159 LD="${LD-ld} -m elf64ppc"
7161 s390*-*linux*|s390*-*tpf*)
7162 LD="${LD-ld} -m elf64_s390"
7164 sparc*-*linux*)
7165 LD="${LD-ld} -m elf64_sparc"
7167 esac
7169 esac
7171 rm -rf conftest*
7174 *-*-sco3.2v5*)
7175 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7176 SAVE_CFLAGS="$CFLAGS"
7177 CFLAGS="$CFLAGS -belf"
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7179 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7180 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7181 $as_echo_n "(cached) " >&6
7182 else
7183 ac_ext=c
7184 ac_cpp='$CPP $CPPFLAGS'
7185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7189 if test x$gcc_no_link = xyes; then
7190 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7193 /* end confdefs.h. */
7196 main ()
7200 return 0;
7202 _ACEOF
7203 if ac_fn_c_try_link "$LINENO"; then :
7204 lt_cv_cc_needs_belf=yes
7205 else
7206 lt_cv_cc_needs_belf=no
7208 rm -f core conftest.err conftest.$ac_objext \
7209 conftest$ac_exeext conftest.$ac_ext
7210 ac_ext=c
7211 ac_cpp='$CPP $CPPFLAGS'
7212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7218 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7219 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7220 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7221 CFLAGS="$SAVE_CFLAGS"
7224 sparc*-*solaris*)
7225 # Find out which ABI we are using.
7226 echo 'int i;' > conftest.$ac_ext
7227 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7228 (eval $ac_compile) 2>&5
7229 ac_status=$?
7230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7231 test $ac_status = 0; }; then
7232 case `/usr/bin/file conftest.o` in
7233 *64-bit*)
7234 case $lt_cv_prog_gnu_ld in
7235 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7237 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7238 LD="${LD-ld} -64"
7241 esac
7243 esac
7245 rm -rf conftest*
7247 esac
7249 need_locks="$enable_libtool_lock"
7252 case $host_os in
7253 rhapsody* | darwin*)
7254 if test -n "$ac_tool_prefix"; then
7255 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7256 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7258 $as_echo_n "checking for $ac_word... " >&6; }
7259 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7260 $as_echo_n "(cached) " >&6
7261 else
7262 if test -n "$DSYMUTIL"; then
7263 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7264 else
7265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7266 for as_dir in $PATH
7268 IFS=$as_save_IFS
7269 test -z "$as_dir" && as_dir=.
7270 for ac_exec_ext in '' $ac_executable_extensions; do
7271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7272 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7274 break 2
7276 done
7277 done
7278 IFS=$as_save_IFS
7282 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7283 if test -n "$DSYMUTIL"; then
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7285 $as_echo "$DSYMUTIL" >&6; }
7286 else
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7288 $as_echo "no" >&6; }
7293 if test -z "$ac_cv_prog_DSYMUTIL"; then
7294 ac_ct_DSYMUTIL=$DSYMUTIL
7295 # Extract the first word of "dsymutil", so it can be a program name with args.
7296 set dummy dsymutil; ac_word=$2
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7298 $as_echo_n "checking for $ac_word... " >&6; }
7299 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7300 $as_echo_n "(cached) " >&6
7301 else
7302 if test -n "$ac_ct_DSYMUTIL"; then
7303 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7304 else
7305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7306 for as_dir in $PATH
7308 IFS=$as_save_IFS
7309 test -z "$as_dir" && as_dir=.
7310 for ac_exec_ext in '' $ac_executable_extensions; do
7311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7312 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7314 break 2
7316 done
7317 done
7318 IFS=$as_save_IFS
7322 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7323 if test -n "$ac_ct_DSYMUTIL"; then
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7325 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7326 else
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328 $as_echo "no" >&6; }
7331 if test "x$ac_ct_DSYMUTIL" = x; then
7332 DSYMUTIL=":"
7333 else
7334 case $cross_compiling:$ac_tool_warned in
7335 yes:)
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7338 ac_tool_warned=yes ;;
7339 esac
7340 DSYMUTIL=$ac_ct_DSYMUTIL
7342 else
7343 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7346 if test -n "$ac_tool_prefix"; then
7347 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7348 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7350 $as_echo_n "checking for $ac_word... " >&6; }
7351 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7352 $as_echo_n "(cached) " >&6
7353 else
7354 if test -n "$NMEDIT"; then
7355 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7356 else
7357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7358 for as_dir in $PATH
7360 IFS=$as_save_IFS
7361 test -z "$as_dir" && as_dir=.
7362 for ac_exec_ext in '' $ac_executable_extensions; do
7363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7364 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7366 break 2
7368 done
7369 done
7370 IFS=$as_save_IFS
7374 NMEDIT=$ac_cv_prog_NMEDIT
7375 if test -n "$NMEDIT"; then
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7377 $as_echo "$NMEDIT" >&6; }
7378 else
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7380 $as_echo "no" >&6; }
7385 if test -z "$ac_cv_prog_NMEDIT"; then
7386 ac_ct_NMEDIT=$NMEDIT
7387 # Extract the first word of "nmedit", so it can be a program name with args.
7388 set dummy nmedit; ac_word=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 $as_echo_n "checking for $ac_word... " >&6; }
7391 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7392 $as_echo_n "(cached) " >&6
7393 else
7394 if test -n "$ac_ct_NMEDIT"; then
7395 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7396 else
7397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7398 for as_dir in $PATH
7400 IFS=$as_save_IFS
7401 test -z "$as_dir" && as_dir=.
7402 for ac_exec_ext in '' $ac_executable_extensions; do
7403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7404 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7406 break 2
7408 done
7409 done
7410 IFS=$as_save_IFS
7414 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7415 if test -n "$ac_ct_NMEDIT"; then
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7417 $as_echo "$ac_ct_NMEDIT" >&6; }
7418 else
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 $as_echo "no" >&6; }
7423 if test "x$ac_ct_NMEDIT" = x; then
7424 NMEDIT=":"
7425 else
7426 case $cross_compiling:$ac_tool_warned in
7427 yes:)
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7430 ac_tool_warned=yes ;;
7431 esac
7432 NMEDIT=$ac_ct_NMEDIT
7434 else
7435 NMEDIT="$ac_cv_prog_NMEDIT"
7438 if test -n "$ac_tool_prefix"; then
7439 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7440 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7442 $as_echo_n "checking for $ac_word... " >&6; }
7443 if test "${ac_cv_prog_LIPO+set}" = set; then :
7444 $as_echo_n "(cached) " >&6
7445 else
7446 if test -n "$LIPO"; then
7447 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7448 else
7449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7450 for as_dir in $PATH
7452 IFS=$as_save_IFS
7453 test -z "$as_dir" && as_dir=.
7454 for ac_exec_ext in '' $ac_executable_extensions; do
7455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7456 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7458 break 2
7460 done
7461 done
7462 IFS=$as_save_IFS
7466 LIPO=$ac_cv_prog_LIPO
7467 if test -n "$LIPO"; then
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7469 $as_echo "$LIPO" >&6; }
7470 else
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7472 $as_echo "no" >&6; }
7477 if test -z "$ac_cv_prog_LIPO"; then
7478 ac_ct_LIPO=$LIPO
7479 # Extract the first word of "lipo", so it can be a program name with args.
7480 set dummy lipo; ac_word=$2
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7482 $as_echo_n "checking for $ac_word... " >&6; }
7483 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7484 $as_echo_n "(cached) " >&6
7485 else
7486 if test -n "$ac_ct_LIPO"; then
7487 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7488 else
7489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7490 for as_dir in $PATH
7492 IFS=$as_save_IFS
7493 test -z "$as_dir" && as_dir=.
7494 for ac_exec_ext in '' $ac_executable_extensions; do
7495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7496 ac_cv_prog_ac_ct_LIPO="lipo"
7497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7498 break 2
7500 done
7501 done
7502 IFS=$as_save_IFS
7506 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7507 if test -n "$ac_ct_LIPO"; then
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7509 $as_echo "$ac_ct_LIPO" >&6; }
7510 else
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7512 $as_echo "no" >&6; }
7515 if test "x$ac_ct_LIPO" = x; then
7516 LIPO=":"
7517 else
7518 case $cross_compiling:$ac_tool_warned in
7519 yes:)
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7522 ac_tool_warned=yes ;;
7523 esac
7524 LIPO=$ac_ct_LIPO
7526 else
7527 LIPO="$ac_cv_prog_LIPO"
7530 if test -n "$ac_tool_prefix"; then
7531 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7532 set dummy ${ac_tool_prefix}otool; ac_word=$2
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7534 $as_echo_n "checking for $ac_word... " >&6; }
7535 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7536 $as_echo_n "(cached) " >&6
7537 else
7538 if test -n "$OTOOL"; then
7539 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7540 else
7541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7542 for as_dir in $PATH
7544 IFS=$as_save_IFS
7545 test -z "$as_dir" && as_dir=.
7546 for ac_exec_ext in '' $ac_executable_extensions; do
7547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7548 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7550 break 2
7552 done
7553 done
7554 IFS=$as_save_IFS
7558 OTOOL=$ac_cv_prog_OTOOL
7559 if test -n "$OTOOL"; then
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7561 $as_echo "$OTOOL" >&6; }
7562 else
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7564 $as_echo "no" >&6; }
7569 if test -z "$ac_cv_prog_OTOOL"; then
7570 ac_ct_OTOOL=$OTOOL
7571 # Extract the first word of "otool", so it can be a program name with args.
7572 set dummy otool; ac_word=$2
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7574 $as_echo_n "checking for $ac_word... " >&6; }
7575 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7576 $as_echo_n "(cached) " >&6
7577 else
7578 if test -n "$ac_ct_OTOOL"; then
7579 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7580 else
7581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7582 for as_dir in $PATH
7584 IFS=$as_save_IFS
7585 test -z "$as_dir" && as_dir=.
7586 for ac_exec_ext in '' $ac_executable_extensions; do
7587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7588 ac_cv_prog_ac_ct_OTOOL="otool"
7589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7590 break 2
7592 done
7593 done
7594 IFS=$as_save_IFS
7598 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7599 if test -n "$ac_ct_OTOOL"; then
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7601 $as_echo "$ac_ct_OTOOL" >&6; }
7602 else
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7604 $as_echo "no" >&6; }
7607 if test "x$ac_ct_OTOOL" = x; then
7608 OTOOL=":"
7609 else
7610 case $cross_compiling:$ac_tool_warned in
7611 yes:)
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7614 ac_tool_warned=yes ;;
7615 esac
7616 OTOOL=$ac_ct_OTOOL
7618 else
7619 OTOOL="$ac_cv_prog_OTOOL"
7622 if test -n "$ac_tool_prefix"; then
7623 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7624 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7626 $as_echo_n "checking for $ac_word... " >&6; }
7627 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7628 $as_echo_n "(cached) " >&6
7629 else
7630 if test -n "$OTOOL64"; then
7631 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7632 else
7633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7634 for as_dir in $PATH
7636 IFS=$as_save_IFS
7637 test -z "$as_dir" && as_dir=.
7638 for ac_exec_ext in '' $ac_executable_extensions; do
7639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7640 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7642 break 2
7644 done
7645 done
7646 IFS=$as_save_IFS
7650 OTOOL64=$ac_cv_prog_OTOOL64
7651 if test -n "$OTOOL64"; then
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7653 $as_echo "$OTOOL64" >&6; }
7654 else
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7656 $as_echo "no" >&6; }
7661 if test -z "$ac_cv_prog_OTOOL64"; then
7662 ac_ct_OTOOL64=$OTOOL64
7663 # Extract the first word of "otool64", so it can be a program name with args.
7664 set dummy otool64; ac_word=$2
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7666 $as_echo_n "checking for $ac_word... " >&6; }
7667 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7668 $as_echo_n "(cached) " >&6
7669 else
7670 if test -n "$ac_ct_OTOOL64"; then
7671 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7672 else
7673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7674 for as_dir in $PATH
7676 IFS=$as_save_IFS
7677 test -z "$as_dir" && as_dir=.
7678 for ac_exec_ext in '' $ac_executable_extensions; do
7679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7680 ac_cv_prog_ac_ct_OTOOL64="otool64"
7681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7682 break 2
7684 done
7685 done
7686 IFS=$as_save_IFS
7690 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7691 if test -n "$ac_ct_OTOOL64"; then
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7693 $as_echo "$ac_ct_OTOOL64" >&6; }
7694 else
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7696 $as_echo "no" >&6; }
7699 if test "x$ac_ct_OTOOL64" = x; then
7700 OTOOL64=":"
7701 else
7702 case $cross_compiling:$ac_tool_warned in
7703 yes:)
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7706 ac_tool_warned=yes ;;
7707 esac
7708 OTOOL64=$ac_ct_OTOOL64
7710 else
7711 OTOOL64="$ac_cv_prog_OTOOL64"
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7741 $as_echo_n "checking for -single_module linker flag... " >&6; }
7742 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7743 $as_echo_n "(cached) " >&6
7744 else
7745 lt_cv_apple_cc_single_mod=no
7746 if test -z "${LT_MULTI_MODULE}"; then
7747 # By default we will add the -single_module flag. You can override
7748 # by either setting the environment variable LT_MULTI_MODULE
7749 # non-empty at configure time, or by adding -multi_module to the
7750 # link flags.
7751 rm -rf libconftest.dylib*
7752 echo "int foo(void){return 1;}" > conftest.c
7753 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7754 -dynamiclib -Wl,-single_module conftest.c" >&5
7755 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7756 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7757 _lt_result=$?
7758 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7759 lt_cv_apple_cc_single_mod=yes
7760 else
7761 cat conftest.err >&5
7763 rm -rf libconftest.dylib*
7764 rm -f conftest.*
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7768 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7770 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7771 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7772 $as_echo_n "(cached) " >&6
7773 else
7774 lt_cv_ld_exported_symbols_list=no
7775 save_LDFLAGS=$LDFLAGS
7776 echo "_main" > conftest.sym
7777 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7778 if test x$gcc_no_link = xyes; then
7779 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7782 /* end confdefs.h. */
7785 main ()
7789 return 0;
7791 _ACEOF
7792 if ac_fn_c_try_link "$LINENO"; then :
7793 lt_cv_ld_exported_symbols_list=yes
7794 else
7795 lt_cv_ld_exported_symbols_list=no
7797 rm -f core conftest.err conftest.$ac_objext \
7798 conftest$ac_exeext conftest.$ac_ext
7799 LDFLAGS="$save_LDFLAGS"
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7803 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7805 $as_echo_n "checking for -force_load linker flag... " >&6; }
7806 if test "${lt_cv_ld_force_load+set}" = set; then :
7807 $as_echo_n "(cached) " >&6
7808 else
7809 lt_cv_ld_force_load=no
7810 cat > conftest.c << _LT_EOF
7811 int forced_loaded() { return 2;}
7812 _LT_EOF
7813 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7814 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7815 echo "$AR cru libconftest.a conftest.o" >&5
7816 $AR cru libconftest.a conftest.o 2>&5
7817 cat > conftest.c << _LT_EOF
7818 int main() { return 0;}
7819 _LT_EOF
7820 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7821 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7822 _lt_result=$?
7823 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7824 lt_cv_ld_force_load=yes
7825 else
7826 cat conftest.err >&5
7828 rm -f conftest.err libconftest.a conftest conftest.c
7829 rm -rf conftest.dSYM
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7833 $as_echo "$lt_cv_ld_force_load" >&6; }
7834 case $host_os in
7835 rhapsody* | darwin1.[012])
7836 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7837 darwin1.*)
7838 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7839 darwin*) # darwin 5.x on
7840 # if running on 10.5 or later, the deployment target defaults
7841 # to the OS version, if on x86, and 10.4, the deployment
7842 # target defaults to 10.4. Don't you love it?
7843 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7844 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7845 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7846 10.[012]*)
7847 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7848 10.*)
7849 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7850 esac
7852 esac
7853 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7854 _lt_dar_single_mod='$single_module'
7856 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7857 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7858 else
7859 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7861 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7862 _lt_dsymutil='~$DSYMUTIL $lib || :'
7863 else
7864 _lt_dsymutil=
7867 esac
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7870 $as_echo_n "checking for ANSI C header files... " >&6; }
7871 if test "${ac_cv_header_stdc+set}" = set; then :
7872 $as_echo_n "(cached) " >&6
7873 else
7874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h. */
7876 #include <stdlib.h>
7877 #include <stdarg.h>
7878 #include <string.h>
7879 #include <float.h>
7882 main ()
7886 return 0;
7888 _ACEOF
7889 if ac_fn_c_try_compile "$LINENO"; then :
7890 ac_cv_header_stdc=yes
7891 else
7892 ac_cv_header_stdc=no
7894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7896 if test $ac_cv_header_stdc = yes; then
7897 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7899 /* end confdefs.h. */
7900 #include <string.h>
7902 _ACEOF
7903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7904 $EGREP "memchr" >/dev/null 2>&1; then :
7906 else
7907 ac_cv_header_stdc=no
7909 rm -f conftest*
7913 if test $ac_cv_header_stdc = yes; then
7914 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7916 /* end confdefs.h. */
7917 #include <stdlib.h>
7919 _ACEOF
7920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7921 $EGREP "free" >/dev/null 2>&1; then :
7923 else
7924 ac_cv_header_stdc=no
7926 rm -f conftest*
7930 if test $ac_cv_header_stdc = yes; then
7931 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7932 if test "$cross_compiling" = yes; then :
7934 else
7935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7936 /* end confdefs.h. */
7937 #include <ctype.h>
7938 #include <stdlib.h>
7939 #if ((' ' & 0x0FF) == 0x020)
7940 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7941 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7942 #else
7943 # define ISLOWER(c) \
7944 (('a' <= (c) && (c) <= 'i') \
7945 || ('j' <= (c) && (c) <= 'r') \
7946 || ('s' <= (c) && (c) <= 'z'))
7947 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7948 #endif
7950 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7952 main ()
7954 int i;
7955 for (i = 0; i < 256; i++)
7956 if (XOR (islower (i), ISLOWER (i))
7957 || toupper (i) != TOUPPER (i))
7958 return 2;
7959 return 0;
7961 _ACEOF
7962 if ac_fn_c_try_run "$LINENO"; then :
7964 else
7965 ac_cv_header_stdc=no
7967 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7968 conftest.$ac_objext conftest.beam conftest.$ac_ext
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7974 $as_echo "$ac_cv_header_stdc" >&6; }
7975 if test $ac_cv_header_stdc = yes; then
7977 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7981 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7982 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7983 inttypes.h stdint.h unistd.h
7984 do :
7985 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7986 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7988 eval as_val=\$$as_ac_Header
7989 if test "x$as_val" = x""yes; then :
7990 cat >>confdefs.h <<_ACEOF
7991 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7992 _ACEOF
7996 done
7999 for ac_header in dlfcn.h
8000 do :
8001 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8003 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8004 cat >>confdefs.h <<_ACEOF
8005 #define HAVE_DLFCN_H 1
8006 _ACEOF
8010 done
8017 # Set options
8022 enable_win32_dll=no
8025 # Check whether --enable-shared was given.
8026 if test "${enable_shared+set}" = set; then :
8027 enableval=$enable_shared; p=${PACKAGE-default}
8028 case $enableval in
8029 yes) enable_shared=yes ;;
8030 no) enable_shared=no ;;
8032 enable_shared=no
8033 # Look at the argument we got. We use all the common list separators.
8034 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8035 for pkg in $enableval; do
8036 IFS="$lt_save_ifs"
8037 if test "X$pkg" = "X$p"; then
8038 enable_shared=yes
8040 done
8041 IFS="$lt_save_ifs"
8043 esac
8044 else
8045 enable_shared=yes
8056 # Check whether --enable-static was given.
8057 if test "${enable_static+set}" = set; then :
8058 enableval=$enable_static; p=${PACKAGE-default}
8059 case $enableval in
8060 yes) enable_static=yes ;;
8061 no) enable_static=no ;;
8063 enable_static=no
8064 # Look at the argument we got. We use all the common list separators.
8065 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8066 for pkg in $enableval; do
8067 IFS="$lt_save_ifs"
8068 if test "X$pkg" = "X$p"; then
8069 enable_static=yes
8071 done
8072 IFS="$lt_save_ifs"
8074 esac
8075 else
8076 enable_static=yes
8088 # Check whether --with-pic was given.
8089 if test "${with_pic+set}" = set; then :
8090 withval=$with_pic; pic_mode="$withval"
8091 else
8092 pic_mode=default
8096 test -z "$pic_mode" && pic_mode=default
8104 # Check whether --enable-fast-install was given.
8105 if test "${enable_fast_install+set}" = set; then :
8106 enableval=$enable_fast_install; p=${PACKAGE-default}
8107 case $enableval in
8108 yes) enable_fast_install=yes ;;
8109 no) enable_fast_install=no ;;
8111 enable_fast_install=no
8112 # Look at the argument we got. We use all the common list separators.
8113 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8114 for pkg in $enableval; do
8115 IFS="$lt_save_ifs"
8116 if test "X$pkg" = "X$p"; then
8117 enable_fast_install=yes
8119 done
8120 IFS="$lt_save_ifs"
8122 esac
8123 else
8124 enable_fast_install=yes
8137 # This can be used to rebuild libtool when needed
8138 LIBTOOL_DEPS="$ltmain"
8140 # Always use our own libtool.
8141 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8168 test -z "$LN_S" && LN_S="ln -s"
8183 if test -n "${ZSH_VERSION+set}" ; then
8184 setopt NO_GLOB_SUBST
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8188 $as_echo_n "checking for objdir... " >&6; }
8189 if test "${lt_cv_objdir+set}" = set; then :
8190 $as_echo_n "(cached) " >&6
8191 else
8192 rm -f .libs 2>/dev/null
8193 mkdir .libs 2>/dev/null
8194 if test -d .libs; then
8195 lt_cv_objdir=.libs
8196 else
8197 # MS-DOS does not allow filenames that begin with a dot.
8198 lt_cv_objdir=_libs
8200 rmdir .libs 2>/dev/null
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8203 $as_echo "$lt_cv_objdir" >&6; }
8204 objdir=$lt_cv_objdir
8210 cat >>confdefs.h <<_ACEOF
8211 #define LT_OBJDIR "$lt_cv_objdir/"
8212 _ACEOF
8217 case $host_os in
8218 aix3*)
8219 # AIX sometimes has problems with the GCC collect2 program. For some
8220 # reason, if we set the COLLECT_NAMES environment variable, the problems
8221 # vanish in a puff of smoke.
8222 if test "X${COLLECT_NAMES+set}" != Xset; then
8223 COLLECT_NAMES=
8224 export COLLECT_NAMES
8227 esac
8229 # Global variables:
8230 ofile=libtool
8231 can_build_shared=yes
8233 # All known linkers require a `.a' archive for static linking (except MSVC,
8234 # which needs '.lib').
8235 libext=a
8237 with_gnu_ld="$lt_cv_prog_gnu_ld"
8239 old_CC="$CC"
8240 old_CFLAGS="$CFLAGS"
8242 # Set sane defaults for various variables
8243 test -z "$CC" && CC=cc
8244 test -z "$LTCC" && LTCC=$CC
8245 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8246 test -z "$LD" && LD=ld
8247 test -z "$ac_objext" && ac_objext=o
8249 for cc_temp in $compiler""; do
8250 case $cc_temp in
8251 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8252 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8253 \-*) ;;
8254 *) break;;
8255 esac
8256 done
8257 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8260 # Only perform the check for file, if the check method requires it
8261 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8262 case $deplibs_check_method in
8263 file_magic*)
8264 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8266 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8267 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8268 $as_echo_n "(cached) " >&6
8269 else
8270 case $MAGIC_CMD in
8271 [\\/*] | ?:[\\/]*)
8272 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8275 lt_save_MAGIC_CMD="$MAGIC_CMD"
8276 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8277 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8278 for ac_dir in $ac_dummy; do
8279 IFS="$lt_save_ifs"
8280 test -z "$ac_dir" && ac_dir=.
8281 if test -f $ac_dir/${ac_tool_prefix}file; then
8282 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8283 if test -n "$file_magic_test_file"; then
8284 case $deplibs_check_method in
8285 "file_magic "*)
8286 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8287 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8288 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8289 $EGREP "$file_magic_regex" > /dev/null; then
8291 else
8292 cat <<_LT_EOF 1>&2
8294 *** Warning: the command libtool uses to detect shared libraries,
8295 *** $file_magic_cmd, produces output that libtool cannot recognize.
8296 *** The result is that libtool may fail to recognize shared libraries
8297 *** as such. This will affect the creation of libtool libraries that
8298 *** depend on shared libraries, but programs linked with such libtool
8299 *** libraries will work regardless of this problem. Nevertheless, you
8300 *** may want to report the problem to your system manager and/or to
8301 *** bug-libtool@gnu.org
8303 _LT_EOF
8304 fi ;;
8305 esac
8307 break
8309 done
8310 IFS="$lt_save_ifs"
8311 MAGIC_CMD="$lt_save_MAGIC_CMD"
8313 esac
8316 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8317 if test -n "$MAGIC_CMD"; then
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8319 $as_echo "$MAGIC_CMD" >&6; }
8320 else
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8322 $as_echo "no" >&6; }
8329 if test -z "$lt_cv_path_MAGIC_CMD"; then
8330 if test -n "$ac_tool_prefix"; then
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8332 $as_echo_n "checking for file... " >&6; }
8333 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8334 $as_echo_n "(cached) " >&6
8335 else
8336 case $MAGIC_CMD in
8337 [\\/*] | ?:[\\/]*)
8338 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8341 lt_save_MAGIC_CMD="$MAGIC_CMD"
8342 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8343 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8344 for ac_dir in $ac_dummy; do
8345 IFS="$lt_save_ifs"
8346 test -z "$ac_dir" && ac_dir=.
8347 if test -f $ac_dir/file; then
8348 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8349 if test -n "$file_magic_test_file"; then
8350 case $deplibs_check_method in
8351 "file_magic "*)
8352 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8353 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8354 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8355 $EGREP "$file_magic_regex" > /dev/null; then
8357 else
8358 cat <<_LT_EOF 1>&2
8360 *** Warning: the command libtool uses to detect shared libraries,
8361 *** $file_magic_cmd, produces output that libtool cannot recognize.
8362 *** The result is that libtool may fail to recognize shared libraries
8363 *** as such. This will affect the creation of libtool libraries that
8364 *** depend on shared libraries, but programs linked with such libtool
8365 *** libraries will work regardless of this problem. Nevertheless, you
8366 *** may want to report the problem to your system manager and/or to
8367 *** bug-libtool@gnu.org
8369 _LT_EOF
8370 fi ;;
8371 esac
8373 break
8375 done
8376 IFS="$lt_save_ifs"
8377 MAGIC_CMD="$lt_save_MAGIC_CMD"
8379 esac
8382 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8383 if test -n "$MAGIC_CMD"; then
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8385 $as_echo "$MAGIC_CMD" >&6; }
8386 else
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8388 $as_echo "no" >&6; }
8392 else
8393 MAGIC_CMD=:
8399 esac
8401 # Use C for the default configuration in the libtool script
8403 lt_save_CC="$CC"
8404 ac_ext=c
8405 ac_cpp='$CPP $CPPFLAGS'
8406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8411 # Source file extension for C test sources.
8412 ac_ext=c
8414 # Object file extension for compiled C test sources.
8415 objext=o
8416 objext=$objext
8418 # Code to be used in simple compile tests
8419 lt_simple_compile_test_code="int some_variable = 0;"
8421 # Code to be used in simple link tests
8422 lt_simple_link_test_code='int main(){return(0);}'
8430 # If no C compiler was specified, use CC.
8431 LTCC=${LTCC-"$CC"}
8433 # If no C compiler flags were specified, use CFLAGS.
8434 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8436 # Allow CC to be a program name with arguments.
8437 compiler=$CC
8439 # Save the default compiler, since it gets overwritten when the other
8440 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8441 compiler_DEFAULT=$CC
8443 # save warnings/boilerplate of simple test code
8444 ac_outfile=conftest.$ac_objext
8445 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8446 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8447 _lt_compiler_boilerplate=`cat conftest.err`
8448 $RM conftest*
8450 ac_outfile=conftest.$ac_objext
8451 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8452 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8453 _lt_linker_boilerplate=`cat conftest.err`
8454 $RM -r conftest*
8457 ## CAVEAT EMPTOR:
8458 ## There is no encapsulation within the following macros, do not change
8459 ## the running order or otherwise move them around unless you know exactly
8460 ## what you are doing...
8461 if test -n "$compiler"; then
8463 lt_prog_compiler_no_builtin_flag=
8465 if test "$GCC" = yes; then
8466 case $cc_basename in
8467 nvcc*)
8468 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8470 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8471 esac
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8474 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8475 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8476 $as_echo_n "(cached) " >&6
8477 else
8478 lt_cv_prog_compiler_rtti_exceptions=no
8479 ac_outfile=conftest.$ac_objext
8480 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8481 lt_compiler_flag="-fno-rtti -fno-exceptions"
8482 # Insert the option either (1) after the last *FLAGS variable, or
8483 # (2) before a word containing "conftest.", or (3) at the end.
8484 # Note that $ac_compile itself does not contain backslashes and begins
8485 # with a dollar sign (not a hyphen), so the echo should work correctly.
8486 # The option is referenced via a variable to avoid confusing sed.
8487 lt_compile=`echo "$ac_compile" | $SED \
8488 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8489 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8490 -e 's:$: $lt_compiler_flag:'`
8491 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8492 (eval "$lt_compile" 2>conftest.err)
8493 ac_status=$?
8494 cat conftest.err >&5
8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496 if (exit $ac_status) && test -s "$ac_outfile"; then
8497 # The compiler can only warn and ignore the option if not recognized
8498 # So say no if there are warnings other than the usual output.
8499 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8500 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8501 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8502 lt_cv_prog_compiler_rtti_exceptions=yes
8505 $RM conftest*
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8509 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8511 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8512 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8513 else
8524 lt_prog_compiler_wl=
8525 lt_prog_compiler_pic=
8526 lt_prog_compiler_static=
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8529 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8531 if test "$GCC" = yes; then
8532 lt_prog_compiler_wl='-Wl,'
8533 lt_prog_compiler_static='-static'
8535 case $host_os in
8536 aix*)
8537 # All AIX code is PIC.
8538 if test "$host_cpu" = ia64; then
8539 # AIX 5 now supports IA64 processor
8540 lt_prog_compiler_static='-Bstatic'
8542 lt_prog_compiler_pic='-fPIC'
8545 amigaos*)
8546 case $host_cpu in
8547 powerpc)
8548 # see comment about AmigaOS4 .so support
8549 lt_prog_compiler_pic='-fPIC'
8551 m68k)
8552 # FIXME: we need at least 68020 code to build shared libraries, but
8553 # adding the `-m68020' flag to GCC prevents building anything better,
8554 # like `-m68040'.
8555 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8557 esac
8560 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8561 # PIC is the default for these OSes.
8564 mingw* | cygwin* | pw32* | os2* | cegcc*)
8565 # This hack is so that the source file can tell whether it is being
8566 # built for inclusion in a dll (and should export symbols for example).
8567 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8568 # (--disable-auto-import) libraries
8569 lt_prog_compiler_pic='-DDLL_EXPORT'
8572 darwin* | rhapsody*)
8573 # PIC is the default on this platform
8574 # Common symbols not allowed in MH_DYLIB files
8575 lt_prog_compiler_pic='-fno-common'
8578 haiku*)
8579 # PIC is the default for Haiku.
8580 # The "-static" flag exists, but is broken.
8581 lt_prog_compiler_static=
8584 hpux*)
8585 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8586 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8587 # sets the default TLS model and affects inlining.
8588 case $host_cpu in
8589 hppa*64*)
8590 # +Z the default
8593 lt_prog_compiler_pic='-fPIC'
8595 esac
8598 interix[3-9]*)
8599 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8600 # Instead, we relocate shared libraries at runtime.
8603 msdosdjgpp*)
8604 # Just because we use GCC doesn't mean we suddenly get shared libraries
8605 # on systems that don't support them.
8606 lt_prog_compiler_can_build_shared=no
8607 enable_shared=no
8610 *nto* | *qnx*)
8611 # QNX uses GNU C++, but need to define -shared option too, otherwise
8612 # it will coredump.
8613 lt_prog_compiler_pic='-fPIC -shared'
8616 sysv4*MP*)
8617 if test -d /usr/nec; then
8618 lt_prog_compiler_pic=-Kconform_pic
8623 lt_prog_compiler_pic='-fPIC'
8625 esac
8627 case $cc_basename in
8628 nvcc*) # Cuda Compiler Driver 2.2
8629 lt_prog_compiler_wl='-Xlinker '
8630 lt_prog_compiler_pic='-Xcompiler -fPIC'
8632 esac
8633 else
8634 # PORTME Check for flag to pass linker flags through the system compiler.
8635 case $host_os in
8636 aix*)
8637 lt_prog_compiler_wl='-Wl,'
8638 if test "$host_cpu" = ia64; then
8639 # AIX 5 now supports IA64 processor
8640 lt_prog_compiler_static='-Bstatic'
8641 else
8642 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8646 mingw* | cygwin* | pw32* | os2* | cegcc*)
8647 # This hack is so that the source file can tell whether it is being
8648 # built for inclusion in a dll (and should export symbols for example).
8649 lt_prog_compiler_pic='-DDLL_EXPORT'
8652 hpux9* | hpux10* | hpux11*)
8653 lt_prog_compiler_wl='-Wl,'
8654 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8655 # not for PA HP-UX.
8656 case $host_cpu in
8657 hppa*64*|ia64*)
8658 # +Z the default
8661 lt_prog_compiler_pic='+Z'
8663 esac
8664 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8665 lt_prog_compiler_static='${wl}-a ${wl}archive'
8668 irix5* | irix6* | nonstopux*)
8669 lt_prog_compiler_wl='-Wl,'
8670 # PIC (with -KPIC) is the default.
8671 lt_prog_compiler_static='-non_shared'
8674 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8675 case $cc_basename in
8676 # old Intel for x86_64 which still supported -KPIC.
8677 ecc*)
8678 lt_prog_compiler_wl='-Wl,'
8679 lt_prog_compiler_pic='-KPIC'
8680 lt_prog_compiler_static='-static'
8682 # icc used to be incompatible with GCC.
8683 # ICC 10 doesn't accept -KPIC any more.
8684 icc* | ifort*)
8685 lt_prog_compiler_wl='-Wl,'
8686 lt_prog_compiler_pic='-fPIC'
8687 lt_prog_compiler_static='-static'
8689 # Lahey Fortran 8.1.
8690 lf95*)
8691 lt_prog_compiler_wl='-Wl,'
8692 lt_prog_compiler_pic='--shared'
8693 lt_prog_compiler_static='--static'
8695 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8696 # Portland Group compilers (*not* the Pentium gcc compiler,
8697 # which looks to be a dead project)
8698 lt_prog_compiler_wl='-Wl,'
8699 lt_prog_compiler_pic='-fpic'
8700 lt_prog_compiler_static='-Bstatic'
8702 ccc*)
8703 lt_prog_compiler_wl='-Wl,'
8704 # All Alpha code is PIC.
8705 lt_prog_compiler_static='-non_shared'
8707 xl* | bgxl* | bgf* | mpixl*)
8708 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8709 lt_prog_compiler_wl='-Wl,'
8710 lt_prog_compiler_pic='-qpic'
8711 lt_prog_compiler_static='-qstaticlink'
8714 case `$CC -V 2>&1 | sed 5q` in
8715 *Sun\ F* | *Sun*Fortran*)
8716 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8717 lt_prog_compiler_pic='-KPIC'
8718 lt_prog_compiler_static='-Bstatic'
8719 lt_prog_compiler_wl=''
8721 *Sun\ C*)
8722 # Sun C 5.9
8723 lt_prog_compiler_pic='-KPIC'
8724 lt_prog_compiler_static='-Bstatic'
8725 lt_prog_compiler_wl='-Wl,'
8727 esac
8729 esac
8732 newsos6)
8733 lt_prog_compiler_pic='-KPIC'
8734 lt_prog_compiler_static='-Bstatic'
8737 *nto* | *qnx*)
8738 # QNX uses GNU C++, but need to define -shared option too, otherwise
8739 # it will coredump.
8740 lt_prog_compiler_pic='-fPIC -shared'
8743 osf3* | osf4* | osf5*)
8744 lt_prog_compiler_wl='-Wl,'
8745 # All OSF/1 code is PIC.
8746 lt_prog_compiler_static='-non_shared'
8749 rdos*)
8750 lt_prog_compiler_static='-non_shared'
8753 solaris*)
8754 lt_prog_compiler_pic='-KPIC'
8755 lt_prog_compiler_static='-Bstatic'
8756 case $cc_basename in
8757 f77* | f90* | f95*)
8758 lt_prog_compiler_wl='-Qoption ld ';;
8760 lt_prog_compiler_wl='-Wl,';;
8761 esac
8764 sunos4*)
8765 lt_prog_compiler_wl='-Qoption ld '
8766 lt_prog_compiler_pic='-PIC'
8767 lt_prog_compiler_static='-Bstatic'
8770 sysv4 | sysv4.2uw2* | sysv4.3*)
8771 lt_prog_compiler_wl='-Wl,'
8772 lt_prog_compiler_pic='-KPIC'
8773 lt_prog_compiler_static='-Bstatic'
8776 sysv4*MP*)
8777 if test -d /usr/nec ;then
8778 lt_prog_compiler_pic='-Kconform_pic'
8779 lt_prog_compiler_static='-Bstatic'
8783 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8784 lt_prog_compiler_wl='-Wl,'
8785 lt_prog_compiler_pic='-KPIC'
8786 lt_prog_compiler_static='-Bstatic'
8789 unicos*)
8790 lt_prog_compiler_wl='-Wl,'
8791 lt_prog_compiler_can_build_shared=no
8794 uts4*)
8795 lt_prog_compiler_pic='-pic'
8796 lt_prog_compiler_static='-Bstatic'
8800 lt_prog_compiler_can_build_shared=no
8802 esac
8805 case $host_os in
8806 # For platforms which do not support PIC, -DPIC is meaningless:
8807 *djgpp*)
8808 lt_prog_compiler_pic=
8811 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8813 esac
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8815 $as_echo "$lt_prog_compiler_pic" >&6; }
8823 # Check to make sure the PIC flag actually works.
8825 if test -n "$lt_prog_compiler_pic"; then
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8827 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8828 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8829 $as_echo_n "(cached) " >&6
8830 else
8831 lt_cv_prog_compiler_pic_works=no
8832 ac_outfile=conftest.$ac_objext
8833 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8834 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8835 # Insert the option either (1) after the last *FLAGS variable, or
8836 # (2) before a word containing "conftest.", or (3) at the end.
8837 # Note that $ac_compile itself does not contain backslashes and begins
8838 # with a dollar sign (not a hyphen), so the echo should work correctly.
8839 # The option is referenced via a variable to avoid confusing sed.
8840 lt_compile=`echo "$ac_compile" | $SED \
8841 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8842 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8843 -e 's:$: $lt_compiler_flag:'`
8844 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8845 (eval "$lt_compile" 2>conftest.err)
8846 ac_status=$?
8847 cat conftest.err >&5
8848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8849 if (exit $ac_status) && test -s "$ac_outfile"; then
8850 # The compiler can only warn and ignore the option if not recognized
8851 # So say no if there are warnings other than the usual output.
8852 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8853 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8854 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8855 lt_cv_prog_compiler_pic_works=yes
8858 $RM conftest*
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8862 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8864 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8865 case $lt_prog_compiler_pic in
8866 "" | " "*) ;;
8867 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8868 esac
8869 else
8870 lt_prog_compiler_pic=
8871 lt_prog_compiler_can_build_shared=no
8882 # Check to make sure the static flag actually works.
8884 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8886 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8887 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8888 $as_echo_n "(cached) " >&6
8889 else
8890 lt_cv_prog_compiler_static_works=no
8891 save_LDFLAGS="$LDFLAGS"
8892 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8893 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8894 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8895 # The linker can only warn and ignore the option if not recognized
8896 # So say no if there are warnings
8897 if test -s conftest.err; then
8898 # Append any errors to the config.log.
8899 cat conftest.err 1>&5
8900 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8901 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8902 if diff conftest.exp conftest.er2 >/dev/null; then
8903 lt_cv_prog_compiler_static_works=yes
8905 else
8906 lt_cv_prog_compiler_static_works=yes
8909 $RM -r conftest*
8910 LDFLAGS="$save_LDFLAGS"
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8914 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8916 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8918 else
8919 lt_prog_compiler_static=
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8929 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8930 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8931 $as_echo_n "(cached) " >&6
8932 else
8933 lt_cv_prog_compiler_c_o=no
8934 $RM -r conftest 2>/dev/null
8935 mkdir conftest
8936 cd conftest
8937 mkdir out
8938 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8940 lt_compiler_flag="-o out/conftest2.$ac_objext"
8941 # Insert the option either (1) after the last *FLAGS variable, or
8942 # (2) before a word containing "conftest.", or (3) at the end.
8943 # Note that $ac_compile itself does not contain backslashes and begins
8944 # with a dollar sign (not a hyphen), so the echo should work correctly.
8945 lt_compile=`echo "$ac_compile" | $SED \
8946 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8947 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8948 -e 's:$: $lt_compiler_flag:'`
8949 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8950 (eval "$lt_compile" 2>out/conftest.err)
8951 ac_status=$?
8952 cat out/conftest.err >&5
8953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8954 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8955 then
8956 # The compiler can only warn and ignore the option if not recognized
8957 # So say no if there are warnings
8958 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8959 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8960 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8961 lt_cv_prog_compiler_c_o=yes
8964 chmod u+w . 2>&5
8965 $RM conftest*
8966 # SGI C++ compiler will create directory out/ii_files/ for
8967 # template instantiation
8968 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8969 $RM out/* && rmdir out
8970 cd ..
8971 $RM -r conftest
8972 $RM conftest*
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8976 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8984 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8985 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8986 $as_echo_n "(cached) " >&6
8987 else
8988 lt_cv_prog_compiler_c_o=no
8989 $RM -r conftest 2>/dev/null
8990 mkdir conftest
8991 cd conftest
8992 mkdir out
8993 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8995 lt_compiler_flag="-o out/conftest2.$ac_objext"
8996 # Insert the option either (1) after the last *FLAGS variable, or
8997 # (2) before a word containing "conftest.", or (3) at the end.
8998 # Note that $ac_compile itself does not contain backslashes and begins
8999 # with a dollar sign (not a hyphen), so the echo should work correctly.
9000 lt_compile=`echo "$ac_compile" | $SED \
9001 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9002 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9003 -e 's:$: $lt_compiler_flag:'`
9004 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9005 (eval "$lt_compile" 2>out/conftest.err)
9006 ac_status=$?
9007 cat out/conftest.err >&5
9008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9009 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9010 then
9011 # The compiler can only warn and ignore the option if not recognized
9012 # So say no if there are warnings
9013 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9014 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9015 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9016 lt_cv_prog_compiler_c_o=yes
9019 chmod u+w . 2>&5
9020 $RM conftest*
9021 # SGI C++ compiler will create directory out/ii_files/ for
9022 # template instantiation
9023 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9024 $RM out/* && rmdir out
9025 cd ..
9026 $RM -r conftest
9027 $RM conftest*
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9031 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9036 hard_links="nottested"
9037 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9038 # do not overwrite the value of need_locks provided by the user
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9040 $as_echo_n "checking if we can lock with hard links... " >&6; }
9041 hard_links=yes
9042 $RM conftest*
9043 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9044 touch conftest.a
9045 ln conftest.a conftest.b 2>&5 || hard_links=no
9046 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9048 $as_echo "$hard_links" >&6; }
9049 if test "$hard_links" = no; then
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9051 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9052 need_locks=warn
9054 else
9055 need_locks=no
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9064 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9066 runpath_var=
9067 allow_undefined_flag=
9068 always_export_symbols=no
9069 archive_cmds=
9070 archive_expsym_cmds=
9071 compiler_needs_object=no
9072 enable_shared_with_static_runtimes=no
9073 export_dynamic_flag_spec=
9074 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9075 hardcode_automatic=no
9076 hardcode_direct=no
9077 hardcode_direct_absolute=no
9078 hardcode_libdir_flag_spec=
9079 hardcode_libdir_flag_spec_ld=
9080 hardcode_libdir_separator=
9081 hardcode_minus_L=no
9082 hardcode_shlibpath_var=unsupported
9083 inherit_rpath=no
9084 link_all_deplibs=unknown
9085 module_cmds=
9086 module_expsym_cmds=
9087 old_archive_from_new_cmds=
9088 old_archive_from_expsyms_cmds=
9089 thread_safe_flag_spec=
9090 whole_archive_flag_spec=
9091 # include_expsyms should be a list of space-separated symbols to be *always*
9092 # included in the symbol list
9093 include_expsyms=
9094 # exclude_expsyms can be an extended regexp of symbols to exclude
9095 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9096 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9097 # as well as any symbol that contains `d'.
9098 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9099 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9100 # platforms (ab)use it in PIC code, but their linkers get confused if
9101 # the symbol is explicitly referenced. Since portable code cannot
9102 # rely on this symbol name, it's probably fine to never include it in
9103 # preloaded symbol tables.
9104 # Exclude shared library initialization/finalization symbols.
9105 extract_expsyms_cmds=
9107 case $host_os in
9108 cygwin* | mingw* | pw32* | cegcc*)
9109 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9110 # When not using gcc, we currently assume that we are using
9111 # Microsoft Visual C++.
9112 if test "$GCC" != yes; then
9113 with_gnu_ld=no
9116 interix*)
9117 # we just hope/assume this is gcc and not c89 (= MSVC++)
9118 with_gnu_ld=yes
9120 openbsd*)
9121 with_gnu_ld=no
9123 esac
9125 ld_shlibs=yes
9127 # On some targets, GNU ld is compatible enough with the native linker
9128 # that we're better off using the native interface for both.
9129 lt_use_gnu_ld_interface=no
9130 if test "$with_gnu_ld" = yes; then
9131 case $host_os in
9132 aix*)
9133 # The AIX port of GNU ld has always aspired to compatibility
9134 # with the native linker. However, as the warning in the GNU ld
9135 # block says, versions before 2.19.5* couldn't really create working
9136 # shared libraries, regardless of the interface used.
9137 case `$LD -v 2>&1` in
9138 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9139 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9140 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9142 lt_use_gnu_ld_interface=yes
9144 esac
9147 lt_use_gnu_ld_interface=yes
9149 esac
9152 if test "$lt_use_gnu_ld_interface" = yes; then
9153 # If archive_cmds runs LD, not CC, wlarc should be empty
9154 wlarc='${wl}'
9156 # Set some defaults for GNU ld with shared library support. These
9157 # are reset later if shared libraries are not supported. Putting them
9158 # here allows them to be overridden if necessary.
9159 runpath_var=LD_RUN_PATH
9160 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9161 export_dynamic_flag_spec='${wl}--export-dynamic'
9162 # ancient GNU ld didn't support --whole-archive et. al.
9163 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9164 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9165 else
9166 whole_archive_flag_spec=
9168 supports_anon_versioning=no
9169 case `$LD -v 2>&1` in
9170 *GNU\ gold*) supports_anon_versioning=yes ;;
9171 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9172 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9173 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9174 *\ 2.11.*) ;; # other 2.11 versions
9175 *) supports_anon_versioning=yes ;;
9176 esac
9178 # See if GNU ld supports shared libraries.
9179 case $host_os in
9180 aix[3-9]*)
9181 # On AIX/PPC, the GNU linker is very broken
9182 if test "$host_cpu" != ia64; then
9183 ld_shlibs=no
9184 cat <<_LT_EOF 1>&2
9186 *** Warning: the GNU linker, at least up to release 2.19, is reported
9187 *** to be unable to reliably create shared libraries on AIX.
9188 *** Therefore, libtool is disabling shared libraries support. If you
9189 *** really care for shared libraries, you may want to install binutils
9190 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9191 *** You will then need to restart the configuration process.
9193 _LT_EOF
9197 amigaos*)
9198 case $host_cpu in
9199 powerpc)
9200 # see comment about AmigaOS4 .so support
9201 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9202 archive_expsym_cmds=''
9204 m68k)
9205 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9206 hardcode_libdir_flag_spec='-L$libdir'
9207 hardcode_minus_L=yes
9209 esac
9212 beos*)
9213 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9214 allow_undefined_flag=unsupported
9215 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9216 # support --undefined. This deserves some investigation. FIXME
9217 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9218 else
9219 ld_shlibs=no
9223 cygwin* | mingw* | pw32* | cegcc*)
9224 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9225 # as there is no search path for DLLs.
9226 hardcode_libdir_flag_spec='-L$libdir'
9227 export_dynamic_flag_spec='${wl}--export-all-symbols'
9228 allow_undefined_flag=unsupported
9229 always_export_symbols=no
9230 enable_shared_with_static_runtimes=yes
9231 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9233 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9234 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9235 # If the export-symbols file already is a .def file (1st line
9236 # is EXPORTS), use it as is; otherwise, prepend...
9237 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9238 cp $export_symbols $output_objdir/$soname.def;
9239 else
9240 echo EXPORTS > $output_objdir/$soname.def;
9241 cat $export_symbols >> $output_objdir/$soname.def;
9243 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9244 else
9245 ld_shlibs=no
9249 haiku*)
9250 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9251 link_all_deplibs=yes
9254 interix[3-9]*)
9255 hardcode_direct=no
9256 hardcode_shlibpath_var=no
9257 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9258 export_dynamic_flag_spec='${wl}-E'
9259 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9260 # Instead, shared libraries are loaded at an image base (0x10000000 by
9261 # default) and relocated if they conflict, which is a slow very memory
9262 # consuming and fragmenting process. To avoid this, we pick a random,
9263 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9264 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9265 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9266 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9269 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9270 tmp_diet=no
9271 if test "$host_os" = linux-dietlibc; then
9272 case $cc_basename in
9273 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9274 esac
9276 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9277 && test "$tmp_diet" = no
9278 then
9279 tmp_addflag=
9280 tmp_sharedflag='-shared'
9281 case $cc_basename,$host_cpu in
9282 pgcc*) # Portland Group C compiler
9283 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9284 tmp_addflag=' $pic_flag'
9286 pgf77* | pgf90* | pgf95* | pgfortran*)
9287 # Portland Group f77 and f90 compilers
9288 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9289 tmp_addflag=' $pic_flag -Mnomain' ;;
9290 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9291 tmp_addflag=' -i_dynamic' ;;
9292 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9293 tmp_addflag=' -i_dynamic -nofor_main' ;;
9294 ifc* | ifort*) # Intel Fortran compiler
9295 tmp_addflag=' -nofor_main' ;;
9296 lf95*) # Lahey Fortran 8.1
9297 whole_archive_flag_spec=
9298 tmp_sharedflag='--shared' ;;
9299 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9300 tmp_sharedflag='-qmkshrobj'
9301 tmp_addflag= ;;
9302 nvcc*) # Cuda Compiler Driver 2.2
9303 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9304 compiler_needs_object=yes
9306 esac
9307 case `$CC -V 2>&1 | sed 5q` in
9308 *Sun\ C*) # Sun C 5.9
9309 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9310 compiler_needs_object=yes
9311 tmp_sharedflag='-G' ;;
9312 *Sun\ F*) # Sun Fortran 8.3
9313 tmp_sharedflag='-G' ;;
9314 esac
9315 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9317 if test "x$supports_anon_versioning" = xyes; then
9318 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9319 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9320 echo "local: *; };" >> $output_objdir/$libname.ver~
9321 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9324 case $cc_basename in
9325 xlf* | bgf* | bgxlf* | mpixlf*)
9326 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9327 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9328 hardcode_libdir_flag_spec=
9329 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9330 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9331 if test "x$supports_anon_versioning" = xyes; then
9332 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9333 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9334 echo "local: *; };" >> $output_objdir/$libname.ver~
9335 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9338 esac
9339 else
9340 ld_shlibs=no
9344 netbsd*)
9345 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9346 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9347 wlarc=
9348 else
9349 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9350 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9354 solaris*)
9355 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9356 ld_shlibs=no
9357 cat <<_LT_EOF 1>&2
9359 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9360 *** create shared libraries on Solaris systems. Therefore, libtool
9361 *** is disabling shared libraries support. We urge you to upgrade GNU
9362 *** binutils to release 2.9.1 or newer. Another option is to modify
9363 *** your PATH or compiler configuration so that the native linker is
9364 *** used, and then restart.
9366 _LT_EOF
9367 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9368 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9369 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9370 else
9371 ld_shlibs=no
9375 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9376 case `$LD -v 2>&1` in
9377 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9378 ld_shlibs=no
9379 cat <<_LT_EOF 1>&2
9381 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9382 *** reliably create shared libraries on SCO systems. Therefore, libtool
9383 *** is disabling shared libraries support. We urge you to upgrade GNU
9384 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9385 *** your PATH or compiler configuration so that the native linker is
9386 *** used, and then restart.
9388 _LT_EOF
9391 # For security reasons, it is highly recommended that you always
9392 # use absolute paths for naming shared libraries, and exclude the
9393 # DT_RUNPATH tag from executables and libraries. But doing so
9394 # requires that you compile everything twice, which is a pain.
9395 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9396 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9397 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9398 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9399 else
9400 ld_shlibs=no
9403 esac
9406 sunos4*)
9407 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9408 wlarc=
9409 hardcode_direct=yes
9410 hardcode_shlibpath_var=no
9414 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9415 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9416 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9417 else
9418 ld_shlibs=no
9421 esac
9423 if test "$ld_shlibs" = no; then
9424 runpath_var=
9425 hardcode_libdir_flag_spec=
9426 export_dynamic_flag_spec=
9427 whole_archive_flag_spec=
9429 else
9430 # PORTME fill in a description of your system's linker (not GNU ld)
9431 case $host_os in
9432 aix3*)
9433 allow_undefined_flag=unsupported
9434 always_export_symbols=yes
9435 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9436 # Note: this linker hardcodes the directories in LIBPATH if there
9437 # are no directories specified by -L.
9438 hardcode_minus_L=yes
9439 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9440 # Neither direct hardcoding nor static linking is supported with a
9441 # broken collect2.
9442 hardcode_direct=unsupported
9446 aix[4-9]*)
9447 if test "$host_cpu" = ia64; then
9448 # On IA64, the linker does run time linking by default, so we don't
9449 # have to do anything special.
9450 aix_use_runtimelinking=no
9451 exp_sym_flag='-Bexport'
9452 no_entry_flag=""
9453 else
9454 # If we're using GNU nm, then we don't want the "-C" option.
9455 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9456 # Also, AIX nm treats weak defined symbols like other global
9457 # defined symbols, whereas GNU nm marks them as "W".
9458 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9459 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9460 else
9461 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9463 aix_use_runtimelinking=no
9465 # Test if we are trying to use run time linking or normal
9466 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9467 # need to do runtime linking.
9468 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9469 for ld_flag in $LDFLAGS; do
9470 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9471 aix_use_runtimelinking=yes
9472 break
9474 done
9476 esac
9478 exp_sym_flag='-bexport'
9479 no_entry_flag='-bnoentry'
9482 # When large executables or shared objects are built, AIX ld can
9483 # have problems creating the table of contents. If linking a library
9484 # or program results in "error TOC overflow" add -mminimal-toc to
9485 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9486 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9488 archive_cmds=''
9489 hardcode_direct=yes
9490 hardcode_direct_absolute=yes
9491 hardcode_libdir_separator=':'
9492 link_all_deplibs=yes
9493 file_list_spec='${wl}-f,'
9495 if test "$GCC" = yes; then
9496 case $host_os in aix4.[012]|aix4.[012].*)
9497 # We only want to do this on AIX 4.2 and lower, the check
9498 # below for broken collect2 doesn't work under 4.3+
9499 collect2name=`${CC} -print-prog-name=collect2`
9500 if test -f "$collect2name" &&
9501 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9502 then
9503 # We have reworked collect2
9505 else
9506 # We have old collect2
9507 hardcode_direct=unsupported
9508 # It fails to find uninstalled libraries when the uninstalled
9509 # path is not listed in the libpath. Setting hardcode_minus_L
9510 # to unsupported forces relinking
9511 hardcode_minus_L=yes
9512 hardcode_libdir_flag_spec='-L$libdir'
9513 hardcode_libdir_separator=
9516 esac
9517 shared_flag='-shared'
9518 if test "$aix_use_runtimelinking" = yes; then
9519 shared_flag="$shared_flag "'${wl}-G'
9521 else
9522 # not using gcc
9523 if test "$host_cpu" = ia64; then
9524 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9525 # chokes on -Wl,-G. The following line is correct:
9526 shared_flag='-G'
9527 else
9528 if test "$aix_use_runtimelinking" = yes; then
9529 shared_flag='${wl}-G'
9530 else
9531 shared_flag='${wl}-bM:SRE'
9536 export_dynamic_flag_spec='${wl}-bexpall'
9537 # It seems that -bexpall does not export symbols beginning with
9538 # underscore (_), so it is better to generate a list of symbols to export.
9539 always_export_symbols=yes
9540 if test "$aix_use_runtimelinking" = yes; then
9541 # Warning - without using the other runtime loading flags (-brtl),
9542 # -berok will link without error, but may produce a broken library.
9543 allow_undefined_flag='-berok'
9544 # Determine the default libpath from the value encoded in an
9545 # empty executable.
9546 if test x$gcc_no_link = xyes; then
9547 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9550 /* end confdefs.h. */
9553 main ()
9557 return 0;
9559 _ACEOF
9560 if ac_fn_c_try_link "$LINENO"; then :
9562 lt_aix_libpath_sed='
9563 /Import File Strings/,/^$/ {
9564 /^0/ {
9565 s/^0 *\(.*\)$/\1/
9569 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9570 # Check for a 64-bit object if we didn't find anything.
9571 if test -z "$aix_libpath"; then
9572 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9575 rm -f core conftest.err conftest.$ac_objext \
9576 conftest$ac_exeext conftest.$ac_ext
9577 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9579 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9580 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9581 else
9582 if test "$host_cpu" = ia64; then
9583 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9584 allow_undefined_flag="-z nodefs"
9585 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9586 else
9587 # Determine the default libpath from the value encoded in an
9588 # empty executable.
9589 if test x$gcc_no_link = xyes; then
9590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9593 /* end confdefs.h. */
9596 main ()
9600 return 0;
9602 _ACEOF
9603 if ac_fn_c_try_link "$LINENO"; then :
9605 lt_aix_libpath_sed='
9606 /Import File Strings/,/^$/ {
9607 /^0/ {
9608 s/^0 *\(.*\)$/\1/
9612 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9613 # Check for a 64-bit object if we didn't find anything.
9614 if test -z "$aix_libpath"; then
9615 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9618 rm -f core conftest.err conftest.$ac_objext \
9619 conftest$ac_exeext conftest.$ac_ext
9620 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9622 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9623 # Warning - without using the other run time loading flags,
9624 # -berok will link without error, but may produce a broken library.
9625 no_undefined_flag=' ${wl}-bernotok'
9626 allow_undefined_flag=' ${wl}-berok'
9627 if test "$with_gnu_ld" = yes; then
9628 # We only use this code for GNU lds that support --whole-archive.
9629 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9630 else
9631 # Exported symbols can be pulled into shared objects from archives
9632 whole_archive_flag_spec='$convenience'
9634 archive_cmds_need_lc=yes
9635 # This is similar to how AIX traditionally builds its shared libraries.
9636 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9641 amigaos*)
9642 case $host_cpu in
9643 powerpc)
9644 # see comment about AmigaOS4 .so support
9645 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9646 archive_expsym_cmds=''
9648 m68k)
9649 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9650 hardcode_libdir_flag_spec='-L$libdir'
9651 hardcode_minus_L=yes
9653 esac
9656 bsdi[45]*)
9657 export_dynamic_flag_spec=-rdynamic
9660 cygwin* | mingw* | pw32* | cegcc*)
9661 # When not using gcc, we currently assume that we are using
9662 # Microsoft Visual C++.
9663 # hardcode_libdir_flag_spec is actually meaningless, as there is
9664 # no search path for DLLs.
9665 hardcode_libdir_flag_spec=' '
9666 allow_undefined_flag=unsupported
9667 # Tell ltmain to make .lib files, not .a files.
9668 libext=lib
9669 # Tell ltmain to make .dll files, not .so files.
9670 shrext_cmds=".dll"
9671 # FIXME: Setting linknames here is a bad hack.
9672 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9673 # The linker will automatically build a .lib file if we build a DLL.
9674 old_archive_from_new_cmds='true'
9675 # FIXME: Should let the user specify the lib program.
9676 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9677 fix_srcfile_path='`cygpath -w "$srcfile"`'
9678 enable_shared_with_static_runtimes=yes
9681 darwin* | rhapsody*)
9684 archive_cmds_need_lc=no
9685 hardcode_direct=no
9686 hardcode_automatic=yes
9687 hardcode_shlibpath_var=unsupported
9688 if test "$lt_cv_ld_force_load" = "yes"; then
9689 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9690 else
9691 whole_archive_flag_spec=''
9693 link_all_deplibs=yes
9694 allow_undefined_flag="$_lt_dar_allow_undefined"
9695 case $cc_basename in
9696 ifort*) _lt_dar_can_shared=yes ;;
9697 *) _lt_dar_can_shared=$GCC ;;
9698 esac
9699 if test "$_lt_dar_can_shared" = "yes"; then
9700 output_verbose_link_cmd=func_echo_all
9701 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9702 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9703 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9704 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9706 else
9707 ld_shlibs=no
9712 dgux*)
9713 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9714 hardcode_libdir_flag_spec='-L$libdir'
9715 hardcode_shlibpath_var=no
9718 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9719 # support. Future versions do this automatically, but an explicit c++rt0.o
9720 # does not break anything, and helps significantly (at the cost of a little
9721 # extra space).
9722 freebsd2.2*)
9723 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9724 hardcode_libdir_flag_spec='-R$libdir'
9725 hardcode_direct=yes
9726 hardcode_shlibpath_var=no
9729 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9730 freebsd2.*)
9731 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9732 hardcode_direct=yes
9733 hardcode_minus_L=yes
9734 hardcode_shlibpath_var=no
9737 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9738 freebsd* | dragonfly*)
9739 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9740 hardcode_libdir_flag_spec='-R$libdir'
9741 hardcode_direct=yes
9742 hardcode_shlibpath_var=no
9745 hpux9*)
9746 if test "$GCC" = yes; then
9747 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9748 else
9749 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9751 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9752 hardcode_libdir_separator=:
9753 hardcode_direct=yes
9755 # hardcode_minus_L: Not really in the search PATH,
9756 # but as the default location of the library.
9757 hardcode_minus_L=yes
9758 export_dynamic_flag_spec='${wl}-E'
9761 hpux10*)
9762 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9763 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9764 else
9765 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9767 if test "$with_gnu_ld" = no; then
9768 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9769 hardcode_libdir_flag_spec_ld='+b $libdir'
9770 hardcode_libdir_separator=:
9771 hardcode_direct=yes
9772 hardcode_direct_absolute=yes
9773 export_dynamic_flag_spec='${wl}-E'
9774 # hardcode_minus_L: Not really in the search PATH,
9775 # but as the default location of the library.
9776 hardcode_minus_L=yes
9780 hpux11*)
9781 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9782 case $host_cpu in
9783 hppa*64*)
9784 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9786 ia64*)
9787 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9790 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9792 esac
9793 else
9794 case $host_cpu in
9795 hppa*64*)
9796 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9798 ia64*)
9799 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9803 # Older versions of the 11.00 compiler do not understand -b yet
9804 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9806 $as_echo_n "checking if $CC understands -b... " >&6; }
9807 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9808 $as_echo_n "(cached) " >&6
9809 else
9810 lt_cv_prog_compiler__b=no
9811 save_LDFLAGS="$LDFLAGS"
9812 LDFLAGS="$LDFLAGS -b"
9813 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9814 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9815 # The linker can only warn and ignore the option if not recognized
9816 # So say no if there are warnings
9817 if test -s conftest.err; then
9818 # Append any errors to the config.log.
9819 cat conftest.err 1>&5
9820 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9821 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9822 if diff conftest.exp conftest.er2 >/dev/null; then
9823 lt_cv_prog_compiler__b=yes
9825 else
9826 lt_cv_prog_compiler__b=yes
9829 $RM -r conftest*
9830 LDFLAGS="$save_LDFLAGS"
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9834 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9836 if test x"$lt_cv_prog_compiler__b" = xyes; then
9837 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9838 else
9839 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9843 esac
9845 if test "$with_gnu_ld" = no; then
9846 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9847 hardcode_libdir_separator=:
9849 case $host_cpu in
9850 hppa*64*|ia64*)
9851 hardcode_direct=no
9852 hardcode_shlibpath_var=no
9855 hardcode_direct=yes
9856 hardcode_direct_absolute=yes
9857 export_dynamic_flag_spec='${wl}-E'
9859 # hardcode_minus_L: Not really in the search PATH,
9860 # but as the default location of the library.
9861 hardcode_minus_L=yes
9863 esac
9867 irix5* | irix6* | nonstopux*)
9868 if test "$GCC" = yes; then
9869 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9870 # Try to use the -exported_symbol ld option, if it does not
9871 # work, assume that -exports_file does not work either and
9872 # implicitly export all symbols.
9873 save_LDFLAGS="$LDFLAGS"
9874 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9875 if test x$gcc_no_link = xyes; then
9876 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9879 /* end confdefs.h. */
9880 int foo(void) {}
9881 _ACEOF
9882 if ac_fn_c_try_link "$LINENO"; then :
9883 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9886 rm -f core conftest.err conftest.$ac_objext \
9887 conftest$ac_exeext conftest.$ac_ext
9888 LDFLAGS="$save_LDFLAGS"
9889 else
9890 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9891 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9893 archive_cmds_need_lc='no'
9894 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9895 hardcode_libdir_separator=:
9896 inherit_rpath=yes
9897 link_all_deplibs=yes
9900 netbsd*)
9901 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9902 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9903 else
9904 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9906 hardcode_libdir_flag_spec='-R$libdir'
9907 hardcode_direct=yes
9908 hardcode_shlibpath_var=no
9911 newsos6)
9912 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9913 hardcode_direct=yes
9914 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9915 hardcode_libdir_separator=:
9916 hardcode_shlibpath_var=no
9919 *nto* | *qnx*)
9922 openbsd*)
9923 if test -f /usr/libexec/ld.so; then
9924 hardcode_direct=yes
9925 hardcode_shlibpath_var=no
9926 hardcode_direct_absolute=yes
9927 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9928 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9929 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9930 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9931 export_dynamic_flag_spec='${wl}-E'
9932 else
9933 case $host_os in
9934 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9935 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9936 hardcode_libdir_flag_spec='-R$libdir'
9939 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9940 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9942 esac
9944 else
9945 ld_shlibs=no
9949 os2*)
9950 hardcode_libdir_flag_spec='-L$libdir'
9951 hardcode_minus_L=yes
9952 allow_undefined_flag=unsupported
9953 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9954 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9957 osf3*)
9958 if test "$GCC" = yes; then
9959 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9960 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9961 else
9962 allow_undefined_flag=' -expect_unresolved \*'
9963 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9965 archive_cmds_need_lc='no'
9966 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9967 hardcode_libdir_separator=:
9970 osf4* | osf5*) # as osf3* with the addition of -msym flag
9971 if test "$GCC" = yes; then
9972 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9973 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9974 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9975 else
9976 allow_undefined_flag=' -expect_unresolved \*'
9977 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9978 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9979 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9981 # Both c and cxx compiler support -rpath directly
9982 hardcode_libdir_flag_spec='-rpath $libdir'
9984 archive_cmds_need_lc='no'
9985 hardcode_libdir_separator=:
9988 solaris*)
9989 no_undefined_flag=' -z defs'
9990 if test "$GCC" = yes; then
9991 wlarc='${wl}'
9992 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9993 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9994 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9995 else
9996 case `$CC -V 2>&1` in
9997 *"Compilers 5.0"*)
9998 wlarc=''
9999 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10000 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10001 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10004 wlarc='${wl}'
10005 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10006 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10007 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10009 esac
10011 hardcode_libdir_flag_spec='-R$libdir'
10012 hardcode_shlibpath_var=no
10013 case $host_os in
10014 solaris2.[0-5] | solaris2.[0-5].*) ;;
10016 # The compiler driver will combine and reorder linker options,
10017 # but understands `-z linker_flag'. GCC discards it without `$wl',
10018 # but is careful enough not to reorder.
10019 # Supported since Solaris 2.6 (maybe 2.5.1?)
10020 if test "$GCC" = yes; then
10021 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10022 else
10023 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10026 esac
10027 link_all_deplibs=yes
10030 sunos4*)
10031 if test "x$host_vendor" = xsequent; then
10032 # Use $CC to link under sequent, because it throws in some extra .o
10033 # files that make .init and .fini sections work.
10034 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10035 else
10036 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10038 hardcode_libdir_flag_spec='-L$libdir'
10039 hardcode_direct=yes
10040 hardcode_minus_L=yes
10041 hardcode_shlibpath_var=no
10044 sysv4)
10045 case $host_vendor in
10046 sni)
10047 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10048 hardcode_direct=yes # is this really true???
10050 siemens)
10051 ## LD is ld it makes a PLAMLIB
10052 ## CC just makes a GrossModule.
10053 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10054 reload_cmds='$CC -r -o $output$reload_objs'
10055 hardcode_direct=no
10057 motorola)
10058 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10059 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10061 esac
10062 runpath_var='LD_RUN_PATH'
10063 hardcode_shlibpath_var=no
10066 sysv4.3*)
10067 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10068 hardcode_shlibpath_var=no
10069 export_dynamic_flag_spec='-Bexport'
10072 sysv4*MP*)
10073 if test -d /usr/nec; then
10074 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10075 hardcode_shlibpath_var=no
10076 runpath_var=LD_RUN_PATH
10077 hardcode_runpath_var=yes
10078 ld_shlibs=yes
10082 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10083 no_undefined_flag='${wl}-z,text'
10084 archive_cmds_need_lc=no
10085 hardcode_shlibpath_var=no
10086 runpath_var='LD_RUN_PATH'
10088 if test "$GCC" = yes; then
10089 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10090 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091 else
10092 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10093 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10097 sysv5* | sco3.2v5* | sco5v6*)
10098 # Note: We can NOT use -z defs as we might desire, because we do not
10099 # link with -lc, and that would cause any symbols used from libc to
10100 # always be unresolved, which means just about no library would
10101 # ever link correctly. If we're not using GNU ld we use -z text
10102 # though, which does catch some bad symbols but isn't as heavy-handed
10103 # as -z defs.
10104 no_undefined_flag='${wl}-z,text'
10105 allow_undefined_flag='${wl}-z,nodefs'
10106 archive_cmds_need_lc=no
10107 hardcode_shlibpath_var=no
10108 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10109 hardcode_libdir_separator=':'
10110 link_all_deplibs=yes
10111 export_dynamic_flag_spec='${wl}-Bexport'
10112 runpath_var='LD_RUN_PATH'
10114 if test "$GCC" = yes; then
10115 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10116 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10117 else
10118 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10119 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10123 uts4*)
10124 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10125 hardcode_libdir_flag_spec='-L$libdir'
10126 hardcode_shlibpath_var=no
10130 ld_shlibs=no
10132 esac
10134 if test x$host_vendor = xsni; then
10135 case $host in
10136 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10137 export_dynamic_flag_spec='${wl}-Blargedynsym'
10139 esac
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10144 $as_echo "$ld_shlibs" >&6; }
10145 test "$ld_shlibs" = no && can_build_shared=no
10147 with_gnu_ld=$with_gnu_ld
10164 # Do we need to explicitly link libc?
10166 case "x$archive_cmds_need_lc" in
10167 x|xyes)
10168 # Assume -lc should be added
10169 archive_cmds_need_lc=yes
10171 if test "$enable_shared" = yes && test "$GCC" = yes; then
10172 case $archive_cmds in
10173 *'~'*)
10174 # FIXME: we may have to deal with multi-command sequences.
10176 '$CC '*)
10177 # Test whether the compiler implicitly links with -lc since on some
10178 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10179 # to ld, don't add -lc before -lgcc.
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10181 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10182 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10183 $as_echo_n "(cached) " >&6
10184 else
10185 $RM conftest*
10186 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10188 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10189 (eval $ac_compile) 2>&5
10190 ac_status=$?
10191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10192 test $ac_status = 0; } 2>conftest.err; then
10193 soname=conftest
10194 lib=conftest
10195 libobjs=conftest.$ac_objext
10196 deplibs=
10197 wl=$lt_prog_compiler_wl
10198 pic_flag=$lt_prog_compiler_pic
10199 compiler_flags=-v
10200 linker_flags=-v
10201 verstring=
10202 output_objdir=.
10203 libname=conftest
10204 lt_save_allow_undefined_flag=$allow_undefined_flag
10205 allow_undefined_flag=
10206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10207 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10208 ac_status=$?
10209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10210 test $ac_status = 0; }
10211 then
10212 lt_cv_archive_cmds_need_lc=no
10213 else
10214 lt_cv_archive_cmds_need_lc=yes
10216 allow_undefined_flag=$lt_save_allow_undefined_flag
10217 else
10218 cat conftest.err 1>&5
10220 $RM conftest*
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10224 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10225 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10227 esac
10230 esac
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10389 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10391 if test "$GCC" = yes; then
10392 case $host_os in
10393 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10394 *) lt_awk_arg="/^libraries:/" ;;
10395 esac
10396 case $host_os in
10397 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10398 *) lt_sed_strip_eq="s,=/,/,g" ;;
10399 esac
10400 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10401 case $lt_search_path_spec in
10402 *\;*)
10403 # if the path contains ";" then we assume it to be the separator
10404 # otherwise default to the standard path separator (i.e. ":") - it is
10405 # assumed that no part of a normal pathname contains ";" but that should
10406 # okay in the real world where ";" in dirpaths is itself problematic.
10407 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10410 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10412 esac
10413 # Ok, now we have the path, separated by spaces, we can step through it
10414 # and add multilib dir if necessary.
10415 lt_tmp_lt_search_path_spec=
10416 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10417 for lt_sys_path in $lt_search_path_spec; do
10418 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10419 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10420 else
10421 test -d "$lt_sys_path" && \
10422 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10424 done
10425 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10426 BEGIN {RS=" "; FS="/|\n";} {
10427 lt_foo="";
10428 lt_count=0;
10429 for (lt_i = NF; lt_i > 0; lt_i--) {
10430 if ($lt_i != "" && $lt_i != ".") {
10431 if ($lt_i == "..") {
10432 lt_count++;
10433 } else {
10434 if (lt_count == 0) {
10435 lt_foo="/" $lt_i lt_foo;
10436 } else {
10437 lt_count--;
10442 if (lt_foo != "") { lt_freq[lt_foo]++; }
10443 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10445 # AWK program above erroneously prepends '/' to C:/dos/paths
10446 # for these hosts.
10447 case $host_os in
10448 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10449 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10450 esac
10451 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10452 else
10453 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10455 library_names_spec=
10456 libname_spec='lib$name'
10457 soname_spec=
10458 shrext_cmds=".so"
10459 postinstall_cmds=
10460 postuninstall_cmds=
10461 finish_cmds=
10462 finish_eval=
10463 shlibpath_var=
10464 shlibpath_overrides_runpath=unknown
10465 version_type=none
10466 dynamic_linker="$host_os ld.so"
10467 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10468 need_lib_prefix=unknown
10469 hardcode_into_libs=no
10471 # when you set need_version to no, make sure it does not cause -set_version
10472 # flags to be left without arguments
10473 need_version=unknown
10475 case $host_os in
10476 aix3*)
10477 version_type=linux
10478 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10479 shlibpath_var=LIBPATH
10481 # AIX 3 has no versioning support, so we append a major version to the name.
10482 soname_spec='${libname}${release}${shared_ext}$major'
10485 aix[4-9]*)
10486 version_type=linux
10487 need_lib_prefix=no
10488 need_version=no
10489 hardcode_into_libs=yes
10490 if test "$host_cpu" = ia64; then
10491 # AIX 5 supports IA64
10492 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10493 shlibpath_var=LD_LIBRARY_PATH
10494 else
10495 # With GCC up to 2.95.x, collect2 would create an import file
10496 # for dependence libraries. The import file would start with
10497 # the line `#! .'. This would cause the generated library to
10498 # depend on `.', always an invalid library. This was fixed in
10499 # development snapshots of GCC prior to 3.0.
10500 case $host_os in
10501 aix4 | aix4.[01] | aix4.[01].*)
10502 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10503 echo ' yes '
10504 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10506 else
10507 can_build_shared=no
10510 esac
10511 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10512 # soname into executable. Probably we can add versioning support to
10513 # collect2, so additional links can be useful in future.
10514 if test "$aix_use_runtimelinking" = yes; then
10515 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10516 # instead of lib<name>.a to let people know that these are not
10517 # typical AIX shared libraries.
10518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10519 else
10520 # We preserve .a as extension for shared libraries through AIX4.2
10521 # and later when we are not doing run time linking.
10522 library_names_spec='${libname}${release}.a $libname.a'
10523 soname_spec='${libname}${release}${shared_ext}$major'
10525 shlibpath_var=LIBPATH
10529 amigaos*)
10530 case $host_cpu in
10531 powerpc)
10532 # Since July 2007 AmigaOS4 officially supports .so libraries.
10533 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10536 m68k)
10537 library_names_spec='$libname.ixlibrary $libname.a'
10538 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10539 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10541 esac
10544 beos*)
10545 library_names_spec='${libname}${shared_ext}'
10546 dynamic_linker="$host_os ld.so"
10547 shlibpath_var=LIBRARY_PATH
10550 bsdi[45]*)
10551 version_type=linux
10552 need_version=no
10553 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10554 soname_spec='${libname}${release}${shared_ext}$major'
10555 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10556 shlibpath_var=LD_LIBRARY_PATH
10557 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10558 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10559 # the default ld.so.conf also contains /usr/contrib/lib and
10560 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10561 # libtool to hard-code these into programs
10564 cygwin* | mingw* | pw32* | cegcc*)
10565 version_type=windows
10566 shrext_cmds=".dll"
10567 need_version=no
10568 need_lib_prefix=no
10570 case $GCC,$host_os in
10571 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10572 library_names_spec='$libname.dll.a'
10573 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10574 postinstall_cmds='base_file=`basename \${file}`~
10575 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10576 dldir=$destdir/`dirname \$dlpath`~
10577 test -d \$dldir || mkdir -p \$dldir~
10578 $install_prog $dir/$dlname \$dldir/$dlname~
10579 chmod a+x \$dldir/$dlname~
10580 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10581 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10583 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10584 dlpath=$dir/\$dldll~
10585 $RM \$dlpath'
10586 shlibpath_overrides_runpath=yes
10588 case $host_os in
10589 cygwin*)
10590 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10591 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10593 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10595 mingw* | cegcc*)
10596 # MinGW DLLs use traditional 'lib' prefix
10597 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10599 pw32*)
10600 # pw32 DLLs use 'pw' prefix rather than 'lib'
10601 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10603 esac
10607 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10609 esac
10610 dynamic_linker='Win32 ld.exe'
10611 # FIXME: first we should search . and the directory the executable is in
10612 shlibpath_var=PATH
10615 darwin* | rhapsody*)
10616 dynamic_linker="$host_os dyld"
10617 version_type=darwin
10618 need_lib_prefix=no
10619 need_version=no
10620 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10621 soname_spec='${libname}${release}${major}$shared_ext'
10622 shlibpath_overrides_runpath=yes
10623 shlibpath_var=DYLD_LIBRARY_PATH
10624 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10626 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10627 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10630 dgux*)
10631 version_type=linux
10632 need_lib_prefix=no
10633 need_version=no
10634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10635 soname_spec='${libname}${release}${shared_ext}$major'
10636 shlibpath_var=LD_LIBRARY_PATH
10639 freebsd* | dragonfly*)
10640 # DragonFly does not have aout. When/if they implement a new
10641 # versioning mechanism, adjust this.
10642 if test -x /usr/bin/objformat; then
10643 objformat=`/usr/bin/objformat`
10644 else
10645 case $host_os in
10646 freebsd[23].*) objformat=aout ;;
10647 *) objformat=elf ;;
10648 esac
10650 version_type=freebsd-$objformat
10651 case $version_type in
10652 freebsd-elf*)
10653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10654 need_version=no
10655 need_lib_prefix=no
10657 freebsd-*)
10658 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10659 need_version=yes
10661 esac
10662 shlibpath_var=LD_LIBRARY_PATH
10663 case $host_os in
10664 freebsd2.*)
10665 shlibpath_overrides_runpath=yes
10667 freebsd3.[01]* | freebsdelf3.[01]*)
10668 shlibpath_overrides_runpath=yes
10669 hardcode_into_libs=yes
10671 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10672 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10673 shlibpath_overrides_runpath=no
10674 hardcode_into_libs=yes
10676 *) # from 4.6 on, and DragonFly
10677 shlibpath_overrides_runpath=yes
10678 hardcode_into_libs=yes
10680 esac
10683 gnu*)
10684 version_type=linux
10685 need_lib_prefix=no
10686 need_version=no
10687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10688 soname_spec='${libname}${release}${shared_ext}$major'
10689 shlibpath_var=LD_LIBRARY_PATH
10690 hardcode_into_libs=yes
10693 haiku*)
10694 version_type=linux
10695 need_lib_prefix=no
10696 need_version=no
10697 dynamic_linker="$host_os runtime_loader"
10698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10699 soname_spec='${libname}${release}${shared_ext}$major'
10700 shlibpath_var=LIBRARY_PATH
10701 shlibpath_overrides_runpath=yes
10702 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10703 hardcode_into_libs=yes
10706 hpux9* | hpux10* | hpux11*)
10707 # Give a soname corresponding to the major version so that dld.sl refuses to
10708 # link against other versions.
10709 version_type=sunos
10710 need_lib_prefix=no
10711 need_version=no
10712 case $host_cpu in
10713 ia64*)
10714 shrext_cmds='.so'
10715 hardcode_into_libs=yes
10716 dynamic_linker="$host_os dld.so"
10717 shlibpath_var=LD_LIBRARY_PATH
10718 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10720 soname_spec='${libname}${release}${shared_ext}$major'
10721 if test "X$HPUX_IA64_MODE" = X32; then
10722 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10723 else
10724 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10726 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10728 hppa*64*)
10729 shrext_cmds='.sl'
10730 hardcode_into_libs=yes
10731 dynamic_linker="$host_os dld.sl"
10732 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10733 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10735 soname_spec='${libname}${release}${shared_ext}$major'
10736 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10737 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10740 shrext_cmds='.sl'
10741 dynamic_linker="$host_os dld.sl"
10742 shlibpath_var=SHLIB_PATH
10743 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10745 soname_spec='${libname}${release}${shared_ext}$major'
10747 esac
10748 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10749 postinstall_cmds='chmod 555 $lib'
10750 # or fails outright, so override atomically:
10751 install_override_mode=555
10754 interix[3-9]*)
10755 version_type=linux
10756 need_lib_prefix=no
10757 need_version=no
10758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10759 soname_spec='${libname}${release}${shared_ext}$major'
10760 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10761 shlibpath_var=LD_LIBRARY_PATH
10762 shlibpath_overrides_runpath=no
10763 hardcode_into_libs=yes
10766 irix5* | irix6* | nonstopux*)
10767 case $host_os in
10768 nonstopux*) version_type=nonstopux ;;
10770 if test "$lt_cv_prog_gnu_ld" = yes; then
10771 version_type=linux
10772 else
10773 version_type=irix
10774 fi ;;
10775 esac
10776 need_lib_prefix=no
10777 need_version=no
10778 soname_spec='${libname}${release}${shared_ext}$major'
10779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10780 case $host_os in
10781 irix5* | nonstopux*)
10782 libsuff= shlibsuff=
10785 case $LD in # libtool.m4 will add one of these switches to LD
10786 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10787 libsuff= shlibsuff= libmagic=32-bit;;
10788 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10789 libsuff=32 shlibsuff=N32 libmagic=N32;;
10790 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10791 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10792 *) libsuff= shlibsuff= libmagic=never-match;;
10793 esac
10795 esac
10796 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10797 shlibpath_overrides_runpath=no
10798 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10799 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10800 hardcode_into_libs=yes
10803 # No shared lib support for Linux oldld, aout, or coff.
10804 linux*oldld* | linux*aout* | linux*coff*)
10805 dynamic_linker=no
10808 # This must be Linux ELF.
10809 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10810 version_type=linux
10811 need_lib_prefix=no
10812 need_version=no
10813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10814 soname_spec='${libname}${release}${shared_ext}$major'
10815 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10816 shlibpath_var=LD_LIBRARY_PATH
10817 shlibpath_overrides_runpath=no
10819 # Some binutils ld are patched to set DT_RUNPATH
10820 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10821 $as_echo_n "(cached) " >&6
10822 else
10823 lt_cv_shlibpath_overrides_runpath=no
10824 save_LDFLAGS=$LDFLAGS
10825 save_libdir=$libdir
10826 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10827 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10828 if test x$gcc_no_link = xyes; then
10829 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10832 /* end confdefs.h. */
10835 main ()
10839 return 0;
10841 _ACEOF
10842 if ac_fn_c_try_link "$LINENO"; then :
10843 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10844 lt_cv_shlibpath_overrides_runpath=yes
10847 rm -f core conftest.err conftest.$ac_objext \
10848 conftest$ac_exeext conftest.$ac_ext
10849 LDFLAGS=$save_LDFLAGS
10850 libdir=$save_libdir
10854 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10856 # This implies no fast_install, which is unacceptable.
10857 # Some rework will be needed to allow for fast_install
10858 # before this can be enabled.
10859 hardcode_into_libs=yes
10861 # Append ld.so.conf contents to the search path
10862 if test -f /etc/ld.so.conf; then
10863 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10864 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10867 # We used to test for /lib/ld.so.1 and disable shared libraries on
10868 # powerpc, because MkLinux only supported shared libraries with the
10869 # GNU dynamic linker. Since this was broken with cross compilers,
10870 # most powerpc-linux boxes support dynamic linking these days and
10871 # people can always --disable-shared, the test was removed, and we
10872 # assume the GNU/Linux dynamic linker is in use.
10873 dynamic_linker='GNU/Linux ld.so'
10876 netbsd*)
10877 version_type=sunos
10878 need_lib_prefix=no
10879 need_version=no
10880 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10882 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10883 dynamic_linker='NetBSD (a.out) ld.so'
10884 else
10885 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10886 soname_spec='${libname}${release}${shared_ext}$major'
10887 dynamic_linker='NetBSD ld.elf_so'
10889 shlibpath_var=LD_LIBRARY_PATH
10890 shlibpath_overrides_runpath=yes
10891 hardcode_into_libs=yes
10894 newsos6)
10895 version_type=linux
10896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10897 shlibpath_var=LD_LIBRARY_PATH
10898 shlibpath_overrides_runpath=yes
10901 *nto* | *qnx*)
10902 version_type=qnx
10903 need_lib_prefix=no
10904 need_version=no
10905 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10906 soname_spec='${libname}${release}${shared_ext}$major'
10907 shlibpath_var=LD_LIBRARY_PATH
10908 shlibpath_overrides_runpath=no
10909 hardcode_into_libs=yes
10910 dynamic_linker='ldqnx.so'
10913 openbsd*)
10914 version_type=sunos
10915 sys_lib_dlsearch_path_spec="/usr/lib"
10916 need_lib_prefix=no
10917 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10918 case $host_os in
10919 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10920 *) need_version=no ;;
10921 esac
10922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10923 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10924 shlibpath_var=LD_LIBRARY_PATH
10925 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10926 case $host_os in
10927 openbsd2.[89] | openbsd2.[89].*)
10928 shlibpath_overrides_runpath=no
10931 shlibpath_overrides_runpath=yes
10933 esac
10934 else
10935 shlibpath_overrides_runpath=yes
10939 os2*)
10940 libname_spec='$name'
10941 shrext_cmds=".dll"
10942 need_lib_prefix=no
10943 library_names_spec='$libname${shared_ext} $libname.a'
10944 dynamic_linker='OS/2 ld.exe'
10945 shlibpath_var=LIBPATH
10948 osf3* | osf4* | osf5*)
10949 version_type=osf
10950 need_lib_prefix=no
10951 need_version=no
10952 soname_spec='${libname}${release}${shared_ext}$major'
10953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10954 shlibpath_var=LD_LIBRARY_PATH
10955 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10956 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10959 rdos*)
10960 dynamic_linker=no
10963 solaris*)
10964 version_type=linux
10965 need_lib_prefix=no
10966 need_version=no
10967 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10968 soname_spec='${libname}${release}${shared_ext}$major'
10969 shlibpath_var=LD_LIBRARY_PATH
10970 shlibpath_overrides_runpath=yes
10971 hardcode_into_libs=yes
10972 # ldd complains unless libraries are executable
10973 postinstall_cmds='chmod +x $lib'
10976 sunos4*)
10977 version_type=sunos
10978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10979 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10980 shlibpath_var=LD_LIBRARY_PATH
10981 shlibpath_overrides_runpath=yes
10982 if test "$with_gnu_ld" = yes; then
10983 need_lib_prefix=no
10985 need_version=yes
10988 sysv4 | sysv4.3*)
10989 version_type=linux
10990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10991 soname_spec='${libname}${release}${shared_ext}$major'
10992 shlibpath_var=LD_LIBRARY_PATH
10993 case $host_vendor in
10994 sni)
10995 shlibpath_overrides_runpath=no
10996 need_lib_prefix=no
10997 runpath_var=LD_RUN_PATH
10999 siemens)
11000 need_lib_prefix=no
11002 motorola)
11003 need_lib_prefix=no
11004 need_version=no
11005 shlibpath_overrides_runpath=no
11006 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11008 esac
11011 sysv4*MP*)
11012 if test -d /usr/nec ;then
11013 version_type=linux
11014 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11015 soname_spec='$libname${shared_ext}.$major'
11016 shlibpath_var=LD_LIBRARY_PATH
11020 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11021 version_type=freebsd-elf
11022 need_lib_prefix=no
11023 need_version=no
11024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11025 soname_spec='${libname}${release}${shared_ext}$major'
11026 shlibpath_var=LD_LIBRARY_PATH
11027 shlibpath_overrides_runpath=yes
11028 hardcode_into_libs=yes
11029 if test "$with_gnu_ld" = yes; then
11030 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11031 else
11032 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11033 case $host_os in
11034 sco3.2v5*)
11035 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11037 esac
11039 sys_lib_dlsearch_path_spec='/usr/lib'
11042 tpf*)
11043 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11044 version_type=linux
11045 need_lib_prefix=no
11046 need_version=no
11047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048 shlibpath_var=LD_LIBRARY_PATH
11049 shlibpath_overrides_runpath=no
11050 hardcode_into_libs=yes
11053 uts4*)
11054 version_type=linux
11055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11056 soname_spec='${libname}${release}${shared_ext}$major'
11057 shlibpath_var=LD_LIBRARY_PATH
11061 dynamic_linker=no
11063 esac
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11065 $as_echo "$dynamic_linker" >&6; }
11066 test "$dynamic_linker" = no && can_build_shared=no
11068 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11069 if test "$GCC" = yes; then
11070 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11073 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11074 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11076 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11077 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11172 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11173 hardcode_action=
11174 if test -n "$hardcode_libdir_flag_spec" ||
11175 test -n "$runpath_var" ||
11176 test "X$hardcode_automatic" = "Xyes" ; then
11178 # We can hardcode non-existent directories.
11179 if test "$hardcode_direct" != no &&
11180 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11181 # have to relink, otherwise we might link with an installed library
11182 # when we should be linking with a yet-to-be-installed one
11183 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11184 test "$hardcode_minus_L" != no; then
11185 # Linking always hardcodes the temporary library directory.
11186 hardcode_action=relink
11187 else
11188 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11189 hardcode_action=immediate
11191 else
11192 # We cannot hardcode anything, or else we can only hardcode existing
11193 # directories.
11194 hardcode_action=unsupported
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11197 $as_echo "$hardcode_action" >&6; }
11199 if test "$hardcode_action" = relink ||
11200 test "$inherit_rpath" = yes; then
11201 # Fast installation is not supported
11202 enable_fast_install=no
11203 elif test "$shlibpath_overrides_runpath" = yes ||
11204 test "$enable_shared" = no; then
11205 # Fast installation is not necessary
11206 enable_fast_install=needless
11214 if test "x$enable_dlopen" != xyes; then
11215 enable_dlopen=unknown
11216 enable_dlopen_self=unknown
11217 enable_dlopen_self_static=unknown
11218 else
11219 lt_cv_dlopen=no
11220 lt_cv_dlopen_libs=
11222 case $host_os in
11223 beos*)
11224 lt_cv_dlopen="load_add_on"
11225 lt_cv_dlopen_libs=
11226 lt_cv_dlopen_self=yes
11229 mingw* | pw32* | cegcc*)
11230 lt_cv_dlopen="LoadLibrary"
11231 lt_cv_dlopen_libs=
11234 cygwin*)
11235 lt_cv_dlopen="dlopen"
11236 lt_cv_dlopen_libs=
11239 darwin*)
11240 # if libdl is installed we need to link against it
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11242 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11243 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11244 $as_echo_n "(cached) " >&6
11245 else
11246 ac_check_lib_save_LIBS=$LIBS
11247 LIBS="-ldl $LIBS"
11248 if test x$gcc_no_link = xyes; then
11249 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11252 /* end confdefs.h. */
11254 /* Override any GCC internal prototype to avoid an error.
11255 Use char because int might match the return type of a GCC
11256 builtin and then its argument prototype would still apply. */
11257 #ifdef __cplusplus
11258 extern "C"
11259 #endif
11260 char dlopen ();
11262 main ()
11264 return dlopen ();
11266 return 0;
11268 _ACEOF
11269 if ac_fn_c_try_link "$LINENO"; then :
11270 ac_cv_lib_dl_dlopen=yes
11271 else
11272 ac_cv_lib_dl_dlopen=no
11274 rm -f core conftest.err conftest.$ac_objext \
11275 conftest$ac_exeext conftest.$ac_ext
11276 LIBS=$ac_check_lib_save_LIBS
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11279 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11280 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11281 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11282 else
11284 lt_cv_dlopen="dyld"
11285 lt_cv_dlopen_libs=
11286 lt_cv_dlopen_self=yes
11293 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11294 if test "x$ac_cv_func_shl_load" = x""yes; then :
11295 lt_cv_dlopen="shl_load"
11296 else
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11298 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11299 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11300 $as_echo_n "(cached) " >&6
11301 else
11302 ac_check_lib_save_LIBS=$LIBS
11303 LIBS="-ldld $LIBS"
11304 if test x$gcc_no_link = xyes; then
11305 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11308 /* end confdefs.h. */
11310 /* Override any GCC internal prototype to avoid an error.
11311 Use char because int might match the return type of a GCC
11312 builtin and then its argument prototype would still apply. */
11313 #ifdef __cplusplus
11314 extern "C"
11315 #endif
11316 char shl_load ();
11318 main ()
11320 return shl_load ();
11322 return 0;
11324 _ACEOF
11325 if ac_fn_c_try_link "$LINENO"; then :
11326 ac_cv_lib_dld_shl_load=yes
11327 else
11328 ac_cv_lib_dld_shl_load=no
11330 rm -f core conftest.err conftest.$ac_objext \
11331 conftest$ac_exeext conftest.$ac_ext
11332 LIBS=$ac_check_lib_save_LIBS
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11335 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11336 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11337 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11338 else
11339 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11340 if test "x$ac_cv_func_dlopen" = x""yes; then :
11341 lt_cv_dlopen="dlopen"
11342 else
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11344 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11345 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11346 $as_echo_n "(cached) " >&6
11347 else
11348 ac_check_lib_save_LIBS=$LIBS
11349 LIBS="-ldl $LIBS"
11350 if test x$gcc_no_link = xyes; then
11351 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11354 /* end confdefs.h. */
11356 /* Override any GCC internal prototype to avoid an error.
11357 Use char because int might match the return type of a GCC
11358 builtin and then its argument prototype would still apply. */
11359 #ifdef __cplusplus
11360 extern "C"
11361 #endif
11362 char dlopen ();
11364 main ()
11366 return dlopen ();
11368 return 0;
11370 _ACEOF
11371 if ac_fn_c_try_link "$LINENO"; then :
11372 ac_cv_lib_dl_dlopen=yes
11373 else
11374 ac_cv_lib_dl_dlopen=no
11376 rm -f core conftest.err conftest.$ac_objext \
11377 conftest$ac_exeext conftest.$ac_ext
11378 LIBS=$ac_check_lib_save_LIBS
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11381 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11382 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11383 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11384 else
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11386 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11387 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11388 $as_echo_n "(cached) " >&6
11389 else
11390 ac_check_lib_save_LIBS=$LIBS
11391 LIBS="-lsvld $LIBS"
11392 if test x$gcc_no_link = xyes; then
11393 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h. */
11398 /* Override any GCC internal prototype to avoid an error.
11399 Use char because int might match the return type of a GCC
11400 builtin and then its argument prototype would still apply. */
11401 #ifdef __cplusplus
11402 extern "C"
11403 #endif
11404 char dlopen ();
11406 main ()
11408 return dlopen ();
11410 return 0;
11412 _ACEOF
11413 if ac_fn_c_try_link "$LINENO"; then :
11414 ac_cv_lib_svld_dlopen=yes
11415 else
11416 ac_cv_lib_svld_dlopen=no
11418 rm -f core conftest.err conftest.$ac_objext \
11419 conftest$ac_exeext conftest.$ac_ext
11420 LIBS=$ac_check_lib_save_LIBS
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11423 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11424 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11425 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11426 else
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11428 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11429 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11430 $as_echo_n "(cached) " >&6
11431 else
11432 ac_check_lib_save_LIBS=$LIBS
11433 LIBS="-ldld $LIBS"
11434 if test x$gcc_no_link = xyes; then
11435 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11438 /* end confdefs.h. */
11440 /* Override any GCC internal prototype to avoid an error.
11441 Use char because int might match the return type of a GCC
11442 builtin and then its argument prototype would still apply. */
11443 #ifdef __cplusplus
11444 extern "C"
11445 #endif
11446 char dld_link ();
11448 main ()
11450 return dld_link ();
11452 return 0;
11454 _ACEOF
11455 if ac_fn_c_try_link "$LINENO"; then :
11456 ac_cv_lib_dld_dld_link=yes
11457 else
11458 ac_cv_lib_dld_dld_link=no
11460 rm -f core conftest.err conftest.$ac_objext \
11461 conftest$ac_exeext conftest.$ac_ext
11462 LIBS=$ac_check_lib_save_LIBS
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11465 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11466 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11467 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11486 esac
11488 if test "x$lt_cv_dlopen" != xno; then
11489 enable_dlopen=yes
11490 else
11491 enable_dlopen=no
11494 case $lt_cv_dlopen in
11495 dlopen)
11496 save_CPPFLAGS="$CPPFLAGS"
11497 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11499 save_LDFLAGS="$LDFLAGS"
11500 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11502 save_LIBS="$LIBS"
11503 LIBS="$lt_cv_dlopen_libs $LIBS"
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11506 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11507 if test "${lt_cv_dlopen_self+set}" = set; then :
11508 $as_echo_n "(cached) " >&6
11509 else
11510 if test "$cross_compiling" = yes; then :
11511 lt_cv_dlopen_self=cross
11512 else
11513 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11514 lt_status=$lt_dlunknown
11515 cat > conftest.$ac_ext <<_LT_EOF
11516 #line 11516 "configure"
11517 #include "confdefs.h"
11519 #if HAVE_DLFCN_H
11520 #include <dlfcn.h>
11521 #endif
11523 #include <stdio.h>
11525 #ifdef RTLD_GLOBAL
11526 # define LT_DLGLOBAL RTLD_GLOBAL
11527 #else
11528 # ifdef DL_GLOBAL
11529 # define LT_DLGLOBAL DL_GLOBAL
11530 # else
11531 # define LT_DLGLOBAL 0
11532 # endif
11533 #endif
11535 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11536 find out it does not work in some platform. */
11537 #ifndef LT_DLLAZY_OR_NOW
11538 # ifdef RTLD_LAZY
11539 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11540 # else
11541 # ifdef DL_LAZY
11542 # define LT_DLLAZY_OR_NOW DL_LAZY
11543 # else
11544 # ifdef RTLD_NOW
11545 # define LT_DLLAZY_OR_NOW RTLD_NOW
11546 # else
11547 # ifdef DL_NOW
11548 # define LT_DLLAZY_OR_NOW DL_NOW
11549 # else
11550 # define LT_DLLAZY_OR_NOW 0
11551 # endif
11552 # endif
11553 # endif
11554 # endif
11555 #endif
11557 /* When -fvisbility=hidden is used, assume the code has been annotated
11558 correspondingly for the symbols needed. */
11559 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11560 void fnord () __attribute__((visibility("default")));
11561 #endif
11563 void fnord () { int i=42; }
11564 int main ()
11566 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11567 int status = $lt_dlunknown;
11569 if (self)
11571 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11572 else
11574 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11575 else puts (dlerror ());
11577 /* dlclose (self); */
11579 else
11580 puts (dlerror ());
11582 return status;
11584 _LT_EOF
11585 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11586 (eval $ac_link) 2>&5
11587 ac_status=$?
11588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11589 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11590 (./conftest; exit; ) >&5 2>/dev/null
11591 lt_status=$?
11592 case x$lt_status in
11593 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11594 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11595 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11596 esac
11597 else :
11598 # compilation failed
11599 lt_cv_dlopen_self=no
11602 rm -fr conftest*
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11607 $as_echo "$lt_cv_dlopen_self" >&6; }
11609 if test "x$lt_cv_dlopen_self" = xyes; then
11610 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11612 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11613 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11614 $as_echo_n "(cached) " >&6
11615 else
11616 if test "$cross_compiling" = yes; then :
11617 lt_cv_dlopen_self_static=cross
11618 else
11619 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11620 lt_status=$lt_dlunknown
11621 cat > conftest.$ac_ext <<_LT_EOF
11622 #line 11622 "configure"
11623 #include "confdefs.h"
11625 #if HAVE_DLFCN_H
11626 #include <dlfcn.h>
11627 #endif
11629 #include <stdio.h>
11631 #ifdef RTLD_GLOBAL
11632 # define LT_DLGLOBAL RTLD_GLOBAL
11633 #else
11634 # ifdef DL_GLOBAL
11635 # define LT_DLGLOBAL DL_GLOBAL
11636 # else
11637 # define LT_DLGLOBAL 0
11638 # endif
11639 #endif
11641 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11642 find out it does not work in some platform. */
11643 #ifndef LT_DLLAZY_OR_NOW
11644 # ifdef RTLD_LAZY
11645 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11646 # else
11647 # ifdef DL_LAZY
11648 # define LT_DLLAZY_OR_NOW DL_LAZY
11649 # else
11650 # ifdef RTLD_NOW
11651 # define LT_DLLAZY_OR_NOW RTLD_NOW
11652 # else
11653 # ifdef DL_NOW
11654 # define LT_DLLAZY_OR_NOW DL_NOW
11655 # else
11656 # define LT_DLLAZY_OR_NOW 0
11657 # endif
11658 # endif
11659 # endif
11660 # endif
11661 #endif
11663 /* When -fvisbility=hidden is used, assume the code has been annotated
11664 correspondingly for the symbols needed. */
11665 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11666 void fnord () __attribute__((visibility("default")));
11667 #endif
11669 void fnord () { int i=42; }
11670 int main ()
11672 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11673 int status = $lt_dlunknown;
11675 if (self)
11677 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11678 else
11680 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11681 else puts (dlerror ());
11683 /* dlclose (self); */
11685 else
11686 puts (dlerror ());
11688 return status;
11690 _LT_EOF
11691 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11692 (eval $ac_link) 2>&5
11693 ac_status=$?
11694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11695 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11696 (./conftest; exit; ) >&5 2>/dev/null
11697 lt_status=$?
11698 case x$lt_status in
11699 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11700 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11701 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11702 esac
11703 else :
11704 # compilation failed
11705 lt_cv_dlopen_self_static=no
11708 rm -fr conftest*
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11713 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11716 CPPFLAGS="$save_CPPFLAGS"
11717 LDFLAGS="$save_LDFLAGS"
11718 LIBS="$save_LIBS"
11720 esac
11722 case $lt_cv_dlopen_self in
11723 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11724 *) enable_dlopen_self=unknown ;;
11725 esac
11727 case $lt_cv_dlopen_self_static in
11728 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11729 *) enable_dlopen_self_static=unknown ;;
11730 esac
11749 striplib=
11750 old_striplib=
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11752 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11753 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11754 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11755 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11757 $as_echo "yes" >&6; }
11758 else
11759 # FIXME - insert some real tests, host_os isn't really good enough
11760 case $host_os in
11761 darwin*)
11762 if test -n "$STRIP" ; then
11763 striplib="$STRIP -x"
11764 old_striplib="$STRIP -S"
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11766 $as_echo "yes" >&6; }
11767 else
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11769 $as_echo "no" >&6; }
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11774 $as_echo "no" >&6; }
11776 esac
11790 # Report which library types will actually be built
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11792 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11794 $as_echo "$can_build_shared" >&6; }
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11797 $as_echo_n "checking whether to build shared libraries... " >&6; }
11798 test "$can_build_shared" = "no" && enable_shared=no
11800 # On AIX, shared libraries and static libraries use the same namespace, and
11801 # are all built from PIC.
11802 case $host_os in
11803 aix3*)
11804 test "$enable_shared" = yes && enable_static=no
11805 if test -n "$RANLIB"; then
11806 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11807 postinstall_cmds='$RANLIB $lib'
11811 aix[4-9]*)
11812 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11813 test "$enable_shared" = yes && enable_static=no
11816 esac
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11818 $as_echo "$enable_shared" >&6; }
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11821 $as_echo_n "checking whether to build static libraries... " >&6; }
11822 # Make sure either enable_shared or enable_static is yes.
11823 test "$enable_shared" = yes || enable_static=yes
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11825 $as_echo "$enable_static" >&6; }
11831 ac_ext=c
11832 ac_cpp='$CPP $CPPFLAGS'
11833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11837 CC="$lt_save_CC"
11839 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11840 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11841 (test "X$CXX" != "Xg++"))) ; then
11842 ac_ext=cpp
11843 ac_cpp='$CXXCPP $CPPFLAGS'
11844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11848 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11849 if test -z "$CXXCPP"; then
11850 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11851 $as_echo_n "(cached) " >&6
11852 else
11853 # Double quotes because CXXCPP needs to be expanded
11854 for CXXCPP in "$CXX -E" "/lib/cpp"
11856 ac_preproc_ok=false
11857 for ac_cxx_preproc_warn_flag in '' yes
11859 # Use a header file that comes with gcc, so configuring glibc
11860 # with a fresh cross-compiler works.
11861 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11862 # <limits.h> exists even on freestanding compilers.
11863 # On the NeXT, cc -E runs the code through the compiler's parser,
11864 # not just through cpp. "Syntax error" is here to catch this case.
11865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11866 /* end confdefs.h. */
11867 #ifdef __STDC__
11868 # include <limits.h>
11869 #else
11870 # include <assert.h>
11871 #endif
11872 Syntax error
11873 _ACEOF
11874 if ac_fn_cxx_try_cpp "$LINENO"; then :
11876 else
11877 # Broken: fails on valid input.
11878 continue
11880 rm -f conftest.err conftest.$ac_ext
11882 # OK, works on sane cases. Now check whether nonexistent headers
11883 # can be detected and how.
11884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11885 /* end confdefs.h. */
11886 #include <ac_nonexistent.h>
11887 _ACEOF
11888 if ac_fn_cxx_try_cpp "$LINENO"; then :
11889 # Broken: success on invalid input.
11890 continue
11891 else
11892 # Passes both tests.
11893 ac_preproc_ok=:
11894 break
11896 rm -f conftest.err conftest.$ac_ext
11898 done
11899 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11900 rm -f conftest.err conftest.$ac_ext
11901 if $ac_preproc_ok; then :
11902 break
11905 done
11906 ac_cv_prog_CXXCPP=$CXXCPP
11909 CXXCPP=$ac_cv_prog_CXXCPP
11910 else
11911 ac_cv_prog_CXXCPP=$CXXCPP
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11914 $as_echo "$CXXCPP" >&6; }
11915 ac_preproc_ok=false
11916 for ac_cxx_preproc_warn_flag in '' yes
11918 # Use a header file that comes with gcc, so configuring glibc
11919 # with a fresh cross-compiler works.
11920 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11921 # <limits.h> exists even on freestanding compilers.
11922 # On the NeXT, cc -E runs the code through the compiler's parser,
11923 # not just through cpp. "Syntax error" is here to catch this case.
11924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h. */
11926 #ifdef __STDC__
11927 # include <limits.h>
11928 #else
11929 # include <assert.h>
11930 #endif
11931 Syntax error
11932 _ACEOF
11933 if ac_fn_cxx_try_cpp "$LINENO"; then :
11935 else
11936 # Broken: fails on valid input.
11937 continue
11939 rm -f conftest.err conftest.$ac_ext
11941 # OK, works on sane cases. Now check whether nonexistent headers
11942 # can be detected and how.
11943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11944 /* end confdefs.h. */
11945 #include <ac_nonexistent.h>
11946 _ACEOF
11947 if ac_fn_cxx_try_cpp "$LINENO"; then :
11948 # Broken: success on invalid input.
11949 continue
11950 else
11951 # Passes both tests.
11952 ac_preproc_ok=:
11953 break
11955 rm -f conftest.err conftest.$ac_ext
11957 done
11958 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11959 rm -f conftest.err conftest.$ac_ext
11960 if $ac_preproc_ok; then :
11962 else
11963 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11965 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11966 See \`config.log' for more details." "$LINENO" 5; }
11969 ac_ext=c
11970 ac_cpp='$CPP $CPPFLAGS'
11971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11975 else
11976 _lt_caught_CXX_error=yes
11979 ac_ext=cpp
11980 ac_cpp='$CXXCPP $CPPFLAGS'
11981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11985 archive_cmds_need_lc_CXX=no
11986 allow_undefined_flag_CXX=
11987 always_export_symbols_CXX=no
11988 archive_expsym_cmds_CXX=
11989 compiler_needs_object_CXX=no
11990 export_dynamic_flag_spec_CXX=
11991 hardcode_direct_CXX=no
11992 hardcode_direct_absolute_CXX=no
11993 hardcode_libdir_flag_spec_CXX=
11994 hardcode_libdir_flag_spec_ld_CXX=
11995 hardcode_libdir_separator_CXX=
11996 hardcode_minus_L_CXX=no
11997 hardcode_shlibpath_var_CXX=unsupported
11998 hardcode_automatic_CXX=no
11999 inherit_rpath_CXX=no
12000 module_cmds_CXX=
12001 module_expsym_cmds_CXX=
12002 link_all_deplibs_CXX=unknown
12003 old_archive_cmds_CXX=$old_archive_cmds
12004 reload_flag_CXX=$reload_flag
12005 reload_cmds_CXX=$reload_cmds
12006 no_undefined_flag_CXX=
12007 whole_archive_flag_spec_CXX=
12008 enable_shared_with_static_runtimes_CXX=no
12010 # Source file extension for C++ test sources.
12011 ac_ext=cpp
12013 # Object file extension for compiled C++ test sources.
12014 objext=o
12015 objext_CXX=$objext
12017 # No sense in running all these tests if we already determined that
12018 # the CXX compiler isn't working. Some variables (like enable_shared)
12019 # are currently assumed to apply to all compilers on this platform,
12020 # and will be corrupted by setting them based on a non-working compiler.
12021 if test "$_lt_caught_CXX_error" != yes; then
12022 # Code to be used in simple compile tests
12023 lt_simple_compile_test_code="int some_variable = 0;"
12025 # Code to be used in simple link tests
12026 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12028 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12035 # If no C compiler was specified, use CC.
12036 LTCC=${LTCC-"$CC"}
12038 # If no C compiler flags were specified, use CFLAGS.
12039 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12041 # Allow CC to be a program name with arguments.
12042 compiler=$CC
12045 # save warnings/boilerplate of simple test code
12046 ac_outfile=conftest.$ac_objext
12047 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12048 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12049 _lt_compiler_boilerplate=`cat conftest.err`
12050 $RM conftest*
12052 ac_outfile=conftest.$ac_objext
12053 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12054 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12055 _lt_linker_boilerplate=`cat conftest.err`
12056 $RM -r conftest*
12059 # Allow CC to be a program name with arguments.
12060 lt_save_CC=$CC
12061 lt_save_LD=$LD
12062 lt_save_GCC=$GCC
12063 GCC=$GXX
12064 lt_save_with_gnu_ld=$with_gnu_ld
12065 lt_save_path_LD=$lt_cv_path_LD
12066 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12067 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12068 else
12069 $as_unset lt_cv_prog_gnu_ld
12071 if test -n "${lt_cv_path_LDCXX+set}"; then
12072 lt_cv_path_LD=$lt_cv_path_LDCXX
12073 else
12074 $as_unset lt_cv_path_LD
12076 test -z "${LDCXX+set}" || LD=$LDCXX
12077 CC=${CXX-"c++"}
12078 compiler=$CC
12079 compiler_CXX=$CC
12080 for cc_temp in $compiler""; do
12081 case $cc_temp in
12082 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12083 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12084 \-*) ;;
12085 *) break;;
12086 esac
12087 done
12088 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12091 if test -n "$compiler"; then
12092 # We don't want -fno-exception when compiling C++ code, so set the
12093 # no_builtin_flag separately
12094 if test "$GXX" = yes; then
12095 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12096 else
12097 lt_prog_compiler_no_builtin_flag_CXX=
12100 if test "$GXX" = yes; then
12101 # Set up default GNU C++ configuration
12105 # Check whether --with-gnu-ld was given.
12106 if test "${with_gnu_ld+set}" = set; then :
12107 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12108 else
12109 with_gnu_ld=no
12112 ac_prog=ld
12113 if test "$GCC" = yes; then
12114 # Check if gcc -print-prog-name=ld gives a path.
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12116 $as_echo_n "checking for ld used by $CC... " >&6; }
12117 case $host in
12118 *-*-mingw*)
12119 # gcc leaves a trailing carriage return which upsets mingw
12120 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12122 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12123 esac
12124 case $ac_prog in
12125 # Accept absolute paths.
12126 [\\/]* | ?:[\\/]*)
12127 re_direlt='/[^/][^/]*/\.\./'
12128 # Canonicalize the pathname of ld
12129 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12130 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12131 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12132 done
12133 test -z "$LD" && LD="$ac_prog"
12136 # If it fails, then pretend we aren't using GCC.
12137 ac_prog=ld
12140 # If it is relative, then search for the first ld in PATH.
12141 with_gnu_ld=unknown
12143 esac
12144 elif test "$with_gnu_ld" = yes; then
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12146 $as_echo_n "checking for GNU ld... " >&6; }
12147 else
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12149 $as_echo_n "checking for non-GNU ld... " >&6; }
12151 if test "${lt_cv_path_LD+set}" = set; then :
12152 $as_echo_n "(cached) " >&6
12153 else
12154 if test -z "$LD"; then
12155 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12156 for ac_dir in $PATH; do
12157 IFS="$lt_save_ifs"
12158 test -z "$ac_dir" && ac_dir=.
12159 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12160 lt_cv_path_LD="$ac_dir/$ac_prog"
12161 # Check to see if the program is GNU ld. I'd rather use --version,
12162 # but apparently some variants of GNU ld only accept -v.
12163 # Break only if it was the GNU/non-GNU ld that we prefer.
12164 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12165 *GNU* | *'with BFD'*)
12166 test "$with_gnu_ld" != no && break
12169 test "$with_gnu_ld" != yes && break
12171 esac
12173 done
12174 IFS="$lt_save_ifs"
12175 else
12176 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12180 LD="$lt_cv_path_LD"
12181 if test -n "$LD"; then
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12183 $as_echo "$LD" >&6; }
12184 else
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12186 $as_echo "no" >&6; }
12188 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12190 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12191 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12192 $as_echo_n "(cached) " >&6
12193 else
12194 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12195 case `$LD -v 2>&1 </dev/null` in
12196 *GNU* | *'with BFD'*)
12197 lt_cv_prog_gnu_ld=yes
12200 lt_cv_prog_gnu_ld=no
12202 esac
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12205 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12206 with_gnu_ld=$lt_cv_prog_gnu_ld
12214 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12215 # archiving commands below assume that GNU ld is being used.
12216 if test "$with_gnu_ld" = yes; then
12217 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12218 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12220 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12221 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12223 # If archive_cmds runs LD, not CC, wlarc should be empty
12224 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12225 # investigate it a little bit more. (MM)
12226 wlarc='${wl}'
12228 # ancient GNU ld didn't support --whole-archive et. al.
12229 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12230 $GREP 'no-whole-archive' > /dev/null; then
12231 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12232 else
12233 whole_archive_flag_spec_CXX=
12235 else
12236 with_gnu_ld=no
12237 wlarc=
12239 # A generic and very simple default shared library creation
12240 # command for GNU C++ for the case where it uses the native
12241 # linker, instead of GNU ld. If possible, this setting should
12242 # overridden to take advantage of the native linker features on
12243 # the platform it is being used on.
12244 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12247 # Commands to make compiler produce verbose output that lists
12248 # what "hidden" libraries, object files and flags are used when
12249 # linking a shared library.
12250 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12252 else
12253 GXX=no
12254 with_gnu_ld=no
12255 wlarc=
12258 # PORTME: fill in a description of your system's C++ link characteristics
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12260 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12261 ld_shlibs_CXX=yes
12262 case $host_os in
12263 aix3*)
12264 # FIXME: insert proper C++ library support
12265 ld_shlibs_CXX=no
12267 aix[4-9]*)
12268 if test "$host_cpu" = ia64; then
12269 # On IA64, the linker does run time linking by default, so we don't
12270 # have to do anything special.
12271 aix_use_runtimelinking=no
12272 exp_sym_flag='-Bexport'
12273 no_entry_flag=""
12274 else
12275 aix_use_runtimelinking=no
12277 # Test if we are trying to use run time linking or normal
12278 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12279 # need to do runtime linking.
12280 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12281 for ld_flag in $LDFLAGS; do
12282 case $ld_flag in
12283 *-brtl*)
12284 aix_use_runtimelinking=yes
12285 break
12287 esac
12288 done
12290 esac
12292 exp_sym_flag='-bexport'
12293 no_entry_flag='-bnoentry'
12296 # When large executables or shared objects are built, AIX ld can
12297 # have problems creating the table of contents. If linking a library
12298 # or program results in "error TOC overflow" add -mminimal-toc to
12299 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12300 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12302 archive_cmds_CXX=''
12303 hardcode_direct_CXX=yes
12304 hardcode_direct_absolute_CXX=yes
12305 hardcode_libdir_separator_CXX=':'
12306 link_all_deplibs_CXX=yes
12307 file_list_spec_CXX='${wl}-f,'
12309 if test "$GXX" = yes; then
12310 case $host_os in aix4.[012]|aix4.[012].*)
12311 # We only want to do this on AIX 4.2 and lower, the check
12312 # below for broken collect2 doesn't work under 4.3+
12313 collect2name=`${CC} -print-prog-name=collect2`
12314 if test -f "$collect2name" &&
12315 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12316 then
12317 # We have reworked collect2
12319 else
12320 # We have old collect2
12321 hardcode_direct_CXX=unsupported
12322 # It fails to find uninstalled libraries when the uninstalled
12323 # path is not listed in the libpath. Setting hardcode_minus_L
12324 # to unsupported forces relinking
12325 hardcode_minus_L_CXX=yes
12326 hardcode_libdir_flag_spec_CXX='-L$libdir'
12327 hardcode_libdir_separator_CXX=
12329 esac
12330 shared_flag='-shared'
12331 if test "$aix_use_runtimelinking" = yes; then
12332 shared_flag="$shared_flag "'${wl}-G'
12334 else
12335 # not using gcc
12336 if test "$host_cpu" = ia64; then
12337 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12338 # chokes on -Wl,-G. The following line is correct:
12339 shared_flag='-G'
12340 else
12341 if test "$aix_use_runtimelinking" = yes; then
12342 shared_flag='${wl}-G'
12343 else
12344 shared_flag='${wl}-bM:SRE'
12349 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12350 # It seems that -bexpall does not export symbols beginning with
12351 # underscore (_), so it is better to generate a list of symbols to
12352 # export.
12353 always_export_symbols_CXX=yes
12354 if test "$aix_use_runtimelinking" = yes; then
12355 # Warning - without using the other runtime loading flags (-brtl),
12356 # -berok will link without error, but may produce a broken library.
12357 allow_undefined_flag_CXX='-berok'
12358 # Determine the default libpath from the value encoded in an empty
12359 # executable.
12360 if test x$gcc_no_link = xyes; then
12361 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12364 /* end confdefs.h. */
12367 main ()
12371 return 0;
12373 _ACEOF
12374 if ac_fn_cxx_try_link "$LINENO"; then :
12376 lt_aix_libpath_sed='
12377 /Import File Strings/,/^$/ {
12378 /^0/ {
12379 s/^0 *\(.*\)$/\1/
12383 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12384 # Check for a 64-bit object if we didn't find anything.
12385 if test -z "$aix_libpath"; then
12386 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12389 rm -f core conftest.err conftest.$ac_objext \
12390 conftest$ac_exeext conftest.$ac_ext
12391 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12393 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12395 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12396 else
12397 if test "$host_cpu" = ia64; then
12398 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12399 allow_undefined_flag_CXX="-z nodefs"
12400 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12401 else
12402 # Determine the default libpath from the value encoded in an
12403 # empty executable.
12404 if test x$gcc_no_link = xyes; then
12405 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12408 /* end confdefs.h. */
12411 main ()
12415 return 0;
12417 _ACEOF
12418 if ac_fn_cxx_try_link "$LINENO"; then :
12420 lt_aix_libpath_sed='
12421 /Import File Strings/,/^$/ {
12422 /^0/ {
12423 s/^0 *\(.*\)$/\1/
12427 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12428 # Check for a 64-bit object if we didn't find anything.
12429 if test -z "$aix_libpath"; then
12430 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12433 rm -f core conftest.err conftest.$ac_objext \
12434 conftest$ac_exeext conftest.$ac_ext
12435 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12437 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12438 # Warning - without using the other run time loading flags,
12439 # -berok will link without error, but may produce a broken library.
12440 no_undefined_flag_CXX=' ${wl}-bernotok'
12441 allow_undefined_flag_CXX=' ${wl}-berok'
12442 if test "$with_gnu_ld" = yes; then
12443 # We only use this code for GNU lds that support --whole-archive.
12444 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12445 else
12446 # Exported symbols can be pulled into shared objects from archives
12447 whole_archive_flag_spec_CXX='$convenience'
12449 archive_cmds_need_lc_CXX=yes
12450 # This is similar to how AIX traditionally builds its shared
12451 # libraries.
12452 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12457 beos*)
12458 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12459 allow_undefined_flag_CXX=unsupported
12460 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12461 # support --undefined. This deserves some investigation. FIXME
12462 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12463 else
12464 ld_shlibs_CXX=no
12468 chorus*)
12469 case $cc_basename in
12471 # FIXME: insert proper C++ library support
12472 ld_shlibs_CXX=no
12474 esac
12477 cygwin* | mingw* | pw32* | cegcc*)
12478 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12479 # as there is no search path for DLLs.
12480 hardcode_libdir_flag_spec_CXX='-L$libdir'
12481 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12482 allow_undefined_flag_CXX=unsupported
12483 always_export_symbols_CXX=no
12484 enable_shared_with_static_runtimes_CXX=yes
12486 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12487 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12488 # If the export-symbols file already is a .def file (1st line
12489 # is EXPORTS), use it as is; otherwise, prepend...
12490 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12491 cp $export_symbols $output_objdir/$soname.def;
12492 else
12493 echo EXPORTS > $output_objdir/$soname.def;
12494 cat $export_symbols >> $output_objdir/$soname.def;
12496 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12497 else
12498 ld_shlibs_CXX=no
12501 darwin* | rhapsody*)
12504 archive_cmds_need_lc_CXX=no
12505 hardcode_direct_CXX=no
12506 hardcode_automatic_CXX=yes
12507 hardcode_shlibpath_var_CXX=unsupported
12508 if test "$lt_cv_ld_force_load" = "yes"; then
12509 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12510 else
12511 whole_archive_flag_spec_CXX=''
12513 link_all_deplibs_CXX=yes
12514 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12515 case $cc_basename in
12516 ifort*) _lt_dar_can_shared=yes ;;
12517 *) _lt_dar_can_shared=$GCC ;;
12518 esac
12519 if test "$_lt_dar_can_shared" = "yes"; then
12520 output_verbose_link_cmd=func_echo_all
12521 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12522 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12523 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12524 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12525 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12526 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12527 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12530 else
12531 ld_shlibs_CXX=no
12536 dgux*)
12537 case $cc_basename in
12538 ec++*)
12539 # FIXME: insert proper C++ library support
12540 ld_shlibs_CXX=no
12542 ghcx*)
12543 # Green Hills C++ Compiler
12544 # FIXME: insert proper C++ library support
12545 ld_shlibs_CXX=no
12548 # FIXME: insert proper C++ library support
12549 ld_shlibs_CXX=no
12551 esac
12554 freebsd2.*)
12555 # C++ shared libraries reported to be fairly broken before
12556 # switch to ELF
12557 ld_shlibs_CXX=no
12560 freebsd-elf*)
12561 archive_cmds_need_lc_CXX=no
12564 freebsd* | dragonfly*)
12565 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12566 # conventions
12567 ld_shlibs_CXX=yes
12570 gnu*)
12573 haiku*)
12574 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12575 link_all_deplibs_CXX=yes
12578 hpux9*)
12579 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12580 hardcode_libdir_separator_CXX=:
12581 export_dynamic_flag_spec_CXX='${wl}-E'
12582 hardcode_direct_CXX=yes
12583 hardcode_minus_L_CXX=yes # Not in the search PATH,
12584 # but as the default
12585 # location of the library.
12587 case $cc_basename in
12588 CC*)
12589 # FIXME: insert proper C++ library support
12590 ld_shlibs_CXX=no
12592 aCC*)
12593 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12594 # Commands to make compiler produce verbose output that lists
12595 # what "hidden" libraries, object files and flags are used when
12596 # linking a shared library.
12598 # There doesn't appear to be a way to prevent this compiler from
12599 # explicitly linking system object files so we need to strip them
12600 # from the output so that they don't get included in the library
12601 # dependencies.
12602 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12605 if test "$GXX" = yes; then
12606 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12607 else
12608 # FIXME: insert proper C++ library support
12609 ld_shlibs_CXX=no
12612 esac
12615 hpux10*|hpux11*)
12616 if test $with_gnu_ld = no; then
12617 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12618 hardcode_libdir_separator_CXX=:
12620 case $host_cpu in
12621 hppa*64*|ia64*)
12624 export_dynamic_flag_spec_CXX='${wl}-E'
12626 esac
12628 case $host_cpu in
12629 hppa*64*|ia64*)
12630 hardcode_direct_CXX=no
12631 hardcode_shlibpath_var_CXX=no
12634 hardcode_direct_CXX=yes
12635 hardcode_direct_absolute_CXX=yes
12636 hardcode_minus_L_CXX=yes # Not in the search PATH,
12637 # but as the default
12638 # location of the library.
12640 esac
12642 case $cc_basename in
12643 CC*)
12644 # FIXME: insert proper C++ library support
12645 ld_shlibs_CXX=no
12647 aCC*)
12648 case $host_cpu in
12649 hppa*64*)
12650 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12652 ia64*)
12653 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12656 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12658 esac
12659 # Commands to make compiler produce verbose output that lists
12660 # what "hidden" libraries, object files and flags are used when
12661 # linking a shared library.
12663 # There doesn't appear to be a way to prevent this compiler from
12664 # explicitly linking system object files so we need to strip them
12665 # from the output so that they don't get included in the library
12666 # dependencies.
12667 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12670 if test "$GXX" = yes; then
12671 if test $with_gnu_ld = no; then
12672 case $host_cpu in
12673 hppa*64*)
12674 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12676 ia64*)
12677 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12680 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12682 esac
12684 else
12685 # FIXME: insert proper C++ library support
12686 ld_shlibs_CXX=no
12689 esac
12692 interix[3-9]*)
12693 hardcode_direct_CXX=no
12694 hardcode_shlibpath_var_CXX=no
12695 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12696 export_dynamic_flag_spec_CXX='${wl}-E'
12697 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12698 # Instead, shared libraries are loaded at an image base (0x10000000 by
12699 # default) and relocated if they conflict, which is a slow very memory
12700 # consuming and fragmenting process. To avoid this, we pick a random,
12701 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12702 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12703 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12704 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12706 irix5* | irix6*)
12707 case $cc_basename in
12708 CC*)
12709 # SGI C++
12710 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12712 # Archives containing C++ object files must be created using
12713 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12714 # necessary to make sure instantiated templates are included
12715 # in the archive.
12716 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12719 if test "$GXX" = yes; then
12720 if test "$with_gnu_ld" = no; then
12721 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12722 else
12723 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12726 link_all_deplibs_CXX=yes
12728 esac
12729 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12730 hardcode_libdir_separator_CXX=:
12731 inherit_rpath_CXX=yes
12734 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12735 case $cc_basename in
12736 KCC*)
12737 # Kuck and Associates, Inc. (KAI) C++ Compiler
12739 # KCC will only create a shared library if the output file
12740 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12741 # to its proper name (with version) after linking.
12742 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12743 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12744 # Commands to make compiler produce verbose output that lists
12745 # what "hidden" libraries, object files and flags are used when
12746 # linking a shared library.
12748 # There doesn't appear to be a way to prevent this compiler from
12749 # explicitly linking system object files so we need to strip them
12750 # from the output so that they don't get included in the library
12751 # dependencies.
12752 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12754 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12755 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12757 # Archives containing C++ object files must be created using
12758 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12759 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12761 icpc* | ecpc* )
12762 # Intel C++
12763 with_gnu_ld=yes
12764 # version 8.0 and above of icpc choke on multiply defined symbols
12765 # if we add $predep_objects and $postdep_objects, however 7.1 and
12766 # earlier do not add the objects themselves.
12767 case `$CC -V 2>&1` in
12768 *"Version 7."*)
12769 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12770 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12772 *) # Version 8.0 or newer
12773 tmp_idyn=
12774 case $host_cpu in
12775 ia64*) tmp_idyn=' -i_dynamic';;
12776 esac
12777 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12778 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12780 esac
12781 archive_cmds_need_lc_CXX=no
12782 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12783 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12784 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12786 pgCC* | pgcpp*)
12787 # Portland Group C++ compiler
12788 case `$CC -V` in
12789 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12790 prelink_cmds_CXX='tpldir=Template.dir~
12791 rm -rf $tpldir~
12792 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12793 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12794 old_archive_cmds_CXX='tpldir=Template.dir~
12795 rm -rf $tpldir~
12796 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12797 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12798 $RANLIB $oldlib'
12799 archive_cmds_CXX='tpldir=Template.dir~
12800 rm -rf $tpldir~
12801 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12802 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12803 archive_expsym_cmds_CXX='tpldir=Template.dir~
12804 rm -rf $tpldir~
12805 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12806 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12808 *) # Version 6 and above use weak symbols
12809 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12810 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12812 esac
12814 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12815 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12816 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12818 cxx*)
12819 # Compaq C++
12820 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12821 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12823 runpath_var=LD_RUN_PATH
12824 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12825 hardcode_libdir_separator_CXX=:
12827 # Commands to make compiler produce verbose output that lists
12828 # what "hidden" libraries, object files and flags are used when
12829 # linking a shared library.
12831 # There doesn't appear to be a way to prevent this compiler from
12832 # explicitly linking system object files so we need to strip them
12833 # from the output so that they don't get included in the library
12834 # dependencies.
12835 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12837 xl* | mpixl* | bgxl*)
12838 # IBM XL 8.0 on PPC, with GNU ld
12839 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12840 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12841 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12842 if test "x$supports_anon_versioning" = xyes; then
12843 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12844 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12845 echo "local: *; };" >> $output_objdir/$libname.ver~
12846 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12850 case `$CC -V 2>&1 | sed 5q` in
12851 *Sun\ C*)
12852 # Sun C++ 5.9
12853 no_undefined_flag_CXX=' -zdefs'
12854 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12855 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12856 hardcode_libdir_flag_spec_CXX='-R$libdir'
12857 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12858 compiler_needs_object_CXX=yes
12860 # Not sure whether something based on
12861 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12862 # would be better.
12863 output_verbose_link_cmd='func_echo_all'
12865 # Archives containing C++ object files must be created using
12866 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12867 # necessary to make sure instantiated templates are included
12868 # in the archive.
12869 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12871 esac
12873 esac
12876 lynxos*)
12877 # FIXME: insert proper C++ library support
12878 ld_shlibs_CXX=no
12881 m88k*)
12882 # FIXME: insert proper C++ library support
12883 ld_shlibs_CXX=no
12886 mvs*)
12887 case $cc_basename in
12888 cxx*)
12889 # FIXME: insert proper C++ library support
12890 ld_shlibs_CXX=no
12893 # FIXME: insert proper C++ library support
12894 ld_shlibs_CXX=no
12896 esac
12899 netbsd*)
12900 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12901 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12902 wlarc=
12903 hardcode_libdir_flag_spec_CXX='-R$libdir'
12904 hardcode_direct_CXX=yes
12905 hardcode_shlibpath_var_CXX=no
12907 # Workaround some broken pre-1.5 toolchains
12908 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12911 *nto* | *qnx*)
12912 ld_shlibs_CXX=yes
12915 openbsd2*)
12916 # C++ shared libraries are fairly broken
12917 ld_shlibs_CXX=no
12920 openbsd*)
12921 if test -f /usr/libexec/ld.so; then
12922 hardcode_direct_CXX=yes
12923 hardcode_shlibpath_var_CXX=no
12924 hardcode_direct_absolute_CXX=yes
12925 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12926 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12927 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12928 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12929 export_dynamic_flag_spec_CXX='${wl}-E'
12930 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12932 output_verbose_link_cmd=func_echo_all
12933 else
12934 ld_shlibs_CXX=no
12938 osf3* | osf4* | osf5*)
12939 case $cc_basename in
12940 KCC*)
12941 # Kuck and Associates, Inc. (KAI) C++ Compiler
12943 # KCC will only create a shared library if the output file
12944 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12945 # to its proper name (with version) after linking.
12946 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12948 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12949 hardcode_libdir_separator_CXX=:
12951 # Archives containing C++ object files must be created using
12952 # the KAI C++ compiler.
12953 case $host in
12954 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12955 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12956 esac
12958 RCC*)
12959 # Rational C++ 2.4.1
12960 # FIXME: insert proper C++ library support
12961 ld_shlibs_CXX=no
12963 cxx*)
12964 case $host in
12965 osf3*)
12966 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12967 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12968 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12971 allow_undefined_flag_CXX=' -expect_unresolved \*'
12972 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12973 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12974 echo "-hidden">> $lib.exp~
12975 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
12976 $RM $lib.exp'
12977 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12979 esac
12981 hardcode_libdir_separator_CXX=:
12983 # Commands to make compiler produce verbose output that lists
12984 # what "hidden" libraries, object files and flags are used when
12985 # linking a shared library.
12987 # There doesn't appear to be a way to prevent this compiler from
12988 # explicitly linking system object files so we need to strip them
12989 # from the output so that they don't get included in the library
12990 # dependencies.
12991 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12994 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12995 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12996 case $host in
12997 osf3*)
12998 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13001 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13003 esac
13005 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13006 hardcode_libdir_separator_CXX=:
13008 # Commands to make compiler produce verbose output that lists
13009 # what "hidden" libraries, object files and flags are used when
13010 # linking a shared library.
13011 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13013 else
13014 # FIXME: insert proper C++ library support
13015 ld_shlibs_CXX=no
13018 esac
13021 psos*)
13022 # FIXME: insert proper C++ library support
13023 ld_shlibs_CXX=no
13026 sunos4*)
13027 case $cc_basename in
13028 CC*)
13029 # Sun C++ 4.x
13030 # FIXME: insert proper C++ library support
13031 ld_shlibs_CXX=no
13033 lcc*)
13034 # Lucid
13035 # FIXME: insert proper C++ library support
13036 ld_shlibs_CXX=no
13039 # FIXME: insert proper C++ library support
13040 ld_shlibs_CXX=no
13042 esac
13045 solaris*)
13046 case $cc_basename in
13047 CC*)
13048 # Sun C++ 4.2, 5.x and Centerline C++
13049 archive_cmds_need_lc_CXX=yes
13050 no_undefined_flag_CXX=' -zdefs'
13051 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13052 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13053 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13055 hardcode_libdir_flag_spec_CXX='-R$libdir'
13056 hardcode_shlibpath_var_CXX=no
13057 case $host_os in
13058 solaris2.[0-5] | solaris2.[0-5].*) ;;
13060 # The compiler driver will combine and reorder linker options,
13061 # but understands `-z linker_flag'.
13062 # Supported since Solaris 2.6 (maybe 2.5.1?)
13063 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13065 esac
13066 link_all_deplibs_CXX=yes
13068 output_verbose_link_cmd='func_echo_all'
13070 # Archives containing C++ object files must be created using
13071 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13072 # necessary to make sure instantiated templates are included
13073 # in the archive.
13074 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13076 gcx*)
13077 # Green Hills C++ Compiler
13078 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13080 # The C++ compiler must be used to create the archive.
13081 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13084 # GNU C++ compiler with Solaris linker
13085 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13086 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13087 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13088 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13089 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13090 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13092 # Commands to make compiler produce verbose output that lists
13093 # what "hidden" libraries, object files and flags are used when
13094 # linking a shared library.
13095 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13096 else
13097 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13098 # platform.
13099 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13100 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13101 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13103 # Commands to make compiler produce verbose output that lists
13104 # what "hidden" libraries, object files and flags are used when
13105 # linking a shared library.
13106 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13109 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13110 case $host_os in
13111 solaris2.[0-5] | solaris2.[0-5].*) ;;
13113 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13115 esac
13118 esac
13121 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13122 no_undefined_flag_CXX='${wl}-z,text'
13123 archive_cmds_need_lc_CXX=no
13124 hardcode_shlibpath_var_CXX=no
13125 runpath_var='LD_RUN_PATH'
13127 case $cc_basename in
13128 CC*)
13129 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13130 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13133 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13134 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13136 esac
13139 sysv5* | sco3.2v5* | sco5v6*)
13140 # Note: We can NOT use -z defs as we might desire, because we do not
13141 # link with -lc, and that would cause any symbols used from libc to
13142 # always be unresolved, which means just about no library would
13143 # ever link correctly. If we're not using GNU ld we use -z text
13144 # though, which does catch some bad symbols but isn't as heavy-handed
13145 # as -z defs.
13146 no_undefined_flag_CXX='${wl}-z,text'
13147 allow_undefined_flag_CXX='${wl}-z,nodefs'
13148 archive_cmds_need_lc_CXX=no
13149 hardcode_shlibpath_var_CXX=no
13150 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13151 hardcode_libdir_separator_CXX=':'
13152 link_all_deplibs_CXX=yes
13153 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13154 runpath_var='LD_RUN_PATH'
13156 case $cc_basename in
13157 CC*)
13158 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13159 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13160 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13161 '"$old_archive_cmds_CXX"
13162 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13163 '"$reload_cmds_CXX"
13166 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13167 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13169 esac
13172 tandem*)
13173 case $cc_basename in
13174 NCC*)
13175 # NonStop-UX NCC 3.20
13176 # FIXME: insert proper C++ library support
13177 ld_shlibs_CXX=no
13180 # FIXME: insert proper C++ library support
13181 ld_shlibs_CXX=no
13183 esac
13186 vxworks*)
13187 # FIXME: insert proper C++ library support
13188 ld_shlibs_CXX=no
13192 # FIXME: insert proper C++ library support
13193 ld_shlibs_CXX=no
13195 esac
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13198 $as_echo "$ld_shlibs_CXX" >&6; }
13199 test "$ld_shlibs_CXX" = no && can_build_shared=no
13201 GCC_CXX="$GXX"
13202 LD_CXX="$LD"
13204 ## CAVEAT EMPTOR:
13205 ## There is no encapsulation within the following macros, do not change
13206 ## the running order or otherwise move them around unless you know exactly
13207 ## what you are doing...
13208 # Dependencies to place before and after the object being linked:
13209 predep_objects_CXX=
13210 postdep_objects_CXX=
13211 predeps_CXX=
13212 postdeps_CXX=
13213 compiler_lib_search_path_CXX=
13215 cat > conftest.$ac_ext <<_LT_EOF
13216 class Foo
13218 public:
13219 Foo (void) { a = 0; }
13220 private:
13221 int a;
13223 _LT_EOF
13225 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13226 (eval $ac_compile) 2>&5
13227 ac_status=$?
13228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13229 test $ac_status = 0; }; then
13230 # Parse the compiler output and extract the necessary
13231 # objects, libraries and library flags.
13233 # Sentinel used to keep track of whether or not we are before
13234 # the conftest object file.
13235 pre_test_object_deps_done=no
13237 for p in `eval "$output_verbose_link_cmd"`; do
13238 case $p in
13240 -L* | -R* | -l*)
13241 # Some compilers place space between "-{L,R}" and the path.
13242 # Remove the space.
13243 if test $p = "-L" ||
13244 test $p = "-R"; then
13245 prev=$p
13246 continue
13247 else
13248 prev=
13251 if test "$pre_test_object_deps_done" = no; then
13252 case $p in
13253 -L* | -R*)
13254 # Internal compiler library paths should come after those
13255 # provided the user. The postdeps already come after the
13256 # user supplied libs so there is no need to process them.
13257 if test -z "$compiler_lib_search_path_CXX"; then
13258 compiler_lib_search_path_CXX="${prev}${p}"
13259 else
13260 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13263 # The "-l" case would never come before the object being
13264 # linked, so don't bother handling this case.
13265 esac
13266 else
13267 if test -z "$postdeps_CXX"; then
13268 postdeps_CXX="${prev}${p}"
13269 else
13270 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13275 *.$objext)
13276 # This assumes that the test object file only shows up
13277 # once in the compiler output.
13278 if test "$p" = "conftest.$objext"; then
13279 pre_test_object_deps_done=yes
13280 continue
13283 if test "$pre_test_object_deps_done" = no; then
13284 if test -z "$predep_objects_CXX"; then
13285 predep_objects_CXX="$p"
13286 else
13287 predep_objects_CXX="$predep_objects_CXX $p"
13289 else
13290 if test -z "$postdep_objects_CXX"; then
13291 postdep_objects_CXX="$p"
13292 else
13293 postdep_objects_CXX="$postdep_objects_CXX $p"
13298 *) ;; # Ignore the rest.
13300 esac
13301 done
13303 # Clean up.
13304 rm -f a.out a.exe
13305 else
13306 echo "libtool.m4: error: problem compiling CXX test program"
13309 $RM -f confest.$objext
13311 # PORTME: override above test on systems where it is broken
13312 case $host_os in
13313 interix[3-9]*)
13314 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13315 # hack all around it, let's just trust "g++" to DTRT.
13316 predep_objects_CXX=
13317 postdep_objects_CXX=
13318 postdeps_CXX=
13321 linux*)
13322 case `$CC -V 2>&1 | sed 5q` in
13323 *Sun\ C*)
13324 # Sun C++ 5.9
13326 # The more standards-conforming stlport4 library is
13327 # incompatible with the Cstd library. Avoid specifying
13328 # it if it's in CXXFLAGS. Ignore libCrun as
13329 # -library=stlport4 depends on it.
13330 case " $CXX $CXXFLAGS " in
13331 *" -library=stlport4 "*)
13332 solaris_use_stlport4=yes
13334 esac
13336 if test "$solaris_use_stlport4" != yes; then
13337 postdeps_CXX='-library=Cstd -library=Crun'
13340 esac
13343 solaris*)
13344 case $cc_basename in
13345 CC*)
13346 # The more standards-conforming stlport4 library is
13347 # incompatible with the Cstd library. Avoid specifying
13348 # it if it's in CXXFLAGS. Ignore libCrun as
13349 # -library=stlport4 depends on it.
13350 case " $CXX $CXXFLAGS " in
13351 *" -library=stlport4 "*)
13352 solaris_use_stlport4=yes
13354 esac
13356 # Adding this requires a known-good setup of shared libraries for
13357 # Sun compiler versions before 5.6, else PIC objects from an old
13358 # archive will be linked into the output, leading to subtle bugs.
13359 if test "$solaris_use_stlport4" != yes; then
13360 postdeps_CXX='-library=Cstd -library=Crun'
13363 esac
13365 esac
13368 case " $postdeps_CXX " in
13369 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13370 esac
13371 compiler_lib_search_dirs_CXX=
13372 if test -n "${compiler_lib_search_path_CXX}"; then
13373 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13406 lt_prog_compiler_wl_CXX=
13407 lt_prog_compiler_pic_CXX=
13408 lt_prog_compiler_static_CXX=
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13411 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13413 # C++ specific cases for pic, static, wl, etc.
13414 if test "$GXX" = yes; then
13415 lt_prog_compiler_wl_CXX='-Wl,'
13416 lt_prog_compiler_static_CXX='-static'
13418 case $host_os in
13419 aix*)
13420 # All AIX code is PIC.
13421 if test "$host_cpu" = ia64; then
13422 # AIX 5 now supports IA64 processor
13423 lt_prog_compiler_static_CXX='-Bstatic'
13425 lt_prog_compiler_pic_CXX='-fPIC'
13428 amigaos*)
13429 case $host_cpu in
13430 powerpc)
13431 # see comment about AmigaOS4 .so support
13432 lt_prog_compiler_pic_CXX='-fPIC'
13434 m68k)
13435 # FIXME: we need at least 68020 code to build shared libraries, but
13436 # adding the `-m68020' flag to GCC prevents building anything better,
13437 # like `-m68040'.
13438 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13440 esac
13443 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13444 # PIC is the default for these OSes.
13446 mingw* | cygwin* | os2* | pw32* | cegcc*)
13447 # This hack is so that the source file can tell whether it is being
13448 # built for inclusion in a dll (and should export symbols for example).
13449 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13450 # (--disable-auto-import) libraries
13451 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13453 darwin* | rhapsody*)
13454 # PIC is the default on this platform
13455 # Common symbols not allowed in MH_DYLIB files
13456 lt_prog_compiler_pic_CXX='-fno-common'
13458 *djgpp*)
13459 # DJGPP does not support shared libraries at all
13460 lt_prog_compiler_pic_CXX=
13462 haiku*)
13463 # PIC is the default for Haiku.
13464 # The "-static" flag exists, but is broken.
13465 lt_prog_compiler_static_CXX=
13467 interix[3-9]*)
13468 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13469 # Instead, we relocate shared libraries at runtime.
13471 sysv4*MP*)
13472 if test -d /usr/nec; then
13473 lt_prog_compiler_pic_CXX=-Kconform_pic
13476 hpux*)
13477 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13478 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13479 # sets the default TLS model and affects inlining.
13480 case $host_cpu in
13481 hppa*64*)
13484 lt_prog_compiler_pic_CXX='-fPIC'
13486 esac
13488 *qnx* | *nto*)
13489 # QNX uses GNU C++, but need to define -shared option too, otherwise
13490 # it will coredump.
13491 lt_prog_compiler_pic_CXX='-fPIC -shared'
13494 lt_prog_compiler_pic_CXX='-fPIC'
13496 esac
13497 else
13498 case $host_os in
13499 aix[4-9]*)
13500 # All AIX code is PIC.
13501 if test "$host_cpu" = ia64; then
13502 # AIX 5 now supports IA64 processor
13503 lt_prog_compiler_static_CXX='-Bstatic'
13504 else
13505 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13508 chorus*)
13509 case $cc_basename in
13510 cxch68*)
13511 # Green Hills C++ Compiler
13512 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13514 esac
13516 dgux*)
13517 case $cc_basename in
13518 ec++*)
13519 lt_prog_compiler_pic_CXX='-KPIC'
13521 ghcx*)
13522 # Green Hills C++ Compiler
13523 lt_prog_compiler_pic_CXX='-pic'
13527 esac
13529 freebsd* | dragonfly*)
13530 # FreeBSD uses GNU C++
13532 hpux9* | hpux10* | hpux11*)
13533 case $cc_basename in
13534 CC*)
13535 lt_prog_compiler_wl_CXX='-Wl,'
13536 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13537 if test "$host_cpu" != ia64; then
13538 lt_prog_compiler_pic_CXX='+Z'
13541 aCC*)
13542 lt_prog_compiler_wl_CXX='-Wl,'
13543 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13544 case $host_cpu in
13545 hppa*64*|ia64*)
13546 # +Z the default
13549 lt_prog_compiler_pic_CXX='+Z'
13551 esac
13555 esac
13557 interix*)
13558 # This is c89, which is MS Visual C++ (no shared libs)
13559 # Anyone wants to do a port?
13561 irix5* | irix6* | nonstopux*)
13562 case $cc_basename in
13563 CC*)
13564 lt_prog_compiler_wl_CXX='-Wl,'
13565 lt_prog_compiler_static_CXX='-non_shared'
13566 # CC pic flag -KPIC is the default.
13570 esac
13572 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13573 case $cc_basename in
13574 KCC*)
13575 # KAI C++ Compiler
13576 lt_prog_compiler_wl_CXX='--backend -Wl,'
13577 lt_prog_compiler_pic_CXX='-fPIC'
13579 ecpc* )
13580 # old Intel C++ for x86_64 which still supported -KPIC.
13581 lt_prog_compiler_wl_CXX='-Wl,'
13582 lt_prog_compiler_pic_CXX='-KPIC'
13583 lt_prog_compiler_static_CXX='-static'
13585 icpc* )
13586 # Intel C++, used to be incompatible with GCC.
13587 # ICC 10 doesn't accept -KPIC any more.
13588 lt_prog_compiler_wl_CXX='-Wl,'
13589 lt_prog_compiler_pic_CXX='-fPIC'
13590 lt_prog_compiler_static_CXX='-static'
13592 pgCC* | pgcpp*)
13593 # Portland Group C++ compiler
13594 lt_prog_compiler_wl_CXX='-Wl,'
13595 lt_prog_compiler_pic_CXX='-fpic'
13596 lt_prog_compiler_static_CXX='-Bstatic'
13598 cxx*)
13599 # Compaq C++
13600 # Make sure the PIC flag is empty. It appears that all Alpha
13601 # Linux and Compaq Tru64 Unix objects are PIC.
13602 lt_prog_compiler_pic_CXX=
13603 lt_prog_compiler_static_CXX='-non_shared'
13605 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13606 # IBM XL 8.0, 9.0 on PPC and BlueGene
13607 lt_prog_compiler_wl_CXX='-Wl,'
13608 lt_prog_compiler_pic_CXX='-qpic'
13609 lt_prog_compiler_static_CXX='-qstaticlink'
13612 case `$CC -V 2>&1 | sed 5q` in
13613 *Sun\ C*)
13614 # Sun C++ 5.9
13615 lt_prog_compiler_pic_CXX='-KPIC'
13616 lt_prog_compiler_static_CXX='-Bstatic'
13617 lt_prog_compiler_wl_CXX='-Qoption ld '
13619 esac
13621 esac
13623 lynxos*)
13625 m88k*)
13627 mvs*)
13628 case $cc_basename in
13629 cxx*)
13630 lt_prog_compiler_pic_CXX='-W c,exportall'
13634 esac
13636 netbsd*)
13638 *qnx* | *nto*)
13639 # QNX uses GNU C++, but need to define -shared option too, otherwise
13640 # it will coredump.
13641 lt_prog_compiler_pic_CXX='-fPIC -shared'
13643 osf3* | osf4* | osf5*)
13644 case $cc_basename in
13645 KCC*)
13646 lt_prog_compiler_wl_CXX='--backend -Wl,'
13648 RCC*)
13649 # Rational C++ 2.4.1
13650 lt_prog_compiler_pic_CXX='-pic'
13652 cxx*)
13653 # Digital/Compaq C++
13654 lt_prog_compiler_wl_CXX='-Wl,'
13655 # Make sure the PIC flag is empty. It appears that all Alpha
13656 # Linux and Compaq Tru64 Unix objects are PIC.
13657 lt_prog_compiler_pic_CXX=
13658 lt_prog_compiler_static_CXX='-non_shared'
13662 esac
13664 psos*)
13666 solaris*)
13667 case $cc_basename in
13668 CC*)
13669 # Sun C++ 4.2, 5.x and Centerline C++
13670 lt_prog_compiler_pic_CXX='-KPIC'
13671 lt_prog_compiler_static_CXX='-Bstatic'
13672 lt_prog_compiler_wl_CXX='-Qoption ld '
13674 gcx*)
13675 # Green Hills C++ Compiler
13676 lt_prog_compiler_pic_CXX='-PIC'
13680 esac
13682 sunos4*)
13683 case $cc_basename in
13684 CC*)
13685 # Sun C++ 4.x
13686 lt_prog_compiler_pic_CXX='-pic'
13687 lt_prog_compiler_static_CXX='-Bstatic'
13689 lcc*)
13690 # Lucid
13691 lt_prog_compiler_pic_CXX='-pic'
13695 esac
13697 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13698 case $cc_basename in
13699 CC*)
13700 lt_prog_compiler_wl_CXX='-Wl,'
13701 lt_prog_compiler_pic_CXX='-KPIC'
13702 lt_prog_compiler_static_CXX='-Bstatic'
13704 esac
13706 tandem*)
13707 case $cc_basename in
13708 NCC*)
13709 # NonStop-UX NCC 3.20
13710 lt_prog_compiler_pic_CXX='-KPIC'
13714 esac
13716 vxworks*)
13719 lt_prog_compiler_can_build_shared_CXX=no
13721 esac
13724 case $host_os in
13725 # For platforms which do not support PIC, -DPIC is meaningless:
13726 *djgpp*)
13727 lt_prog_compiler_pic_CXX=
13730 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13732 esac
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13734 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13739 # Check to make sure the PIC flag actually works.
13741 if test -n "$lt_prog_compiler_pic_CXX"; then
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13743 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13744 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13745 $as_echo_n "(cached) " >&6
13746 else
13747 lt_cv_prog_compiler_pic_works_CXX=no
13748 ac_outfile=conftest.$ac_objext
13749 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13750 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13751 # Insert the option either (1) after the last *FLAGS variable, or
13752 # (2) before a word containing "conftest.", or (3) at the end.
13753 # Note that $ac_compile itself does not contain backslashes and begins
13754 # with a dollar sign (not a hyphen), so the echo should work correctly.
13755 # The option is referenced via a variable to avoid confusing sed.
13756 lt_compile=`echo "$ac_compile" | $SED \
13757 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13758 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13759 -e 's:$: $lt_compiler_flag:'`
13760 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13761 (eval "$lt_compile" 2>conftest.err)
13762 ac_status=$?
13763 cat conftest.err >&5
13764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765 if (exit $ac_status) && test -s "$ac_outfile"; then
13766 # The compiler can only warn and ignore the option if not recognized
13767 # So say no if there are warnings other than the usual output.
13768 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13769 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13770 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13771 lt_cv_prog_compiler_pic_works_CXX=yes
13774 $RM conftest*
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13778 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13780 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13781 case $lt_prog_compiler_pic_CXX in
13782 "" | " "*) ;;
13783 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13784 esac
13785 else
13786 lt_prog_compiler_pic_CXX=
13787 lt_prog_compiler_can_build_shared_CXX=no
13795 # Check to make sure the static flag actually works.
13797 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13799 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13800 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13801 $as_echo_n "(cached) " >&6
13802 else
13803 lt_cv_prog_compiler_static_works_CXX=no
13804 save_LDFLAGS="$LDFLAGS"
13805 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13806 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13807 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13808 # The linker can only warn and ignore the option if not recognized
13809 # So say no if there are warnings
13810 if test -s conftest.err; then
13811 # Append any errors to the config.log.
13812 cat conftest.err 1>&5
13813 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13814 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13815 if diff conftest.exp conftest.er2 >/dev/null; then
13816 lt_cv_prog_compiler_static_works_CXX=yes
13818 else
13819 lt_cv_prog_compiler_static_works_CXX=yes
13822 $RM -r conftest*
13823 LDFLAGS="$save_LDFLAGS"
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13827 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13829 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13831 else
13832 lt_prog_compiler_static_CXX=
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13839 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13840 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13841 $as_echo_n "(cached) " >&6
13842 else
13843 lt_cv_prog_compiler_c_o_CXX=no
13844 $RM -r conftest 2>/dev/null
13845 mkdir conftest
13846 cd conftest
13847 mkdir out
13848 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13850 lt_compiler_flag="-o out/conftest2.$ac_objext"
13851 # Insert the option either (1) after the last *FLAGS variable, or
13852 # (2) before a word containing "conftest.", or (3) at the end.
13853 # Note that $ac_compile itself does not contain backslashes and begins
13854 # with a dollar sign (not a hyphen), so the echo should work correctly.
13855 lt_compile=`echo "$ac_compile" | $SED \
13856 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13857 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13858 -e 's:$: $lt_compiler_flag:'`
13859 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13860 (eval "$lt_compile" 2>out/conftest.err)
13861 ac_status=$?
13862 cat out/conftest.err >&5
13863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13864 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13865 then
13866 # The compiler can only warn and ignore the option if not recognized
13867 # So say no if there are warnings
13868 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13869 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13870 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13871 lt_cv_prog_compiler_c_o_CXX=yes
13874 chmod u+w . 2>&5
13875 $RM conftest*
13876 # SGI C++ compiler will create directory out/ii_files/ for
13877 # template instantiation
13878 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13879 $RM out/* && rmdir out
13880 cd ..
13881 $RM -r conftest
13882 $RM conftest*
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13886 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13891 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13892 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13893 $as_echo_n "(cached) " >&6
13894 else
13895 lt_cv_prog_compiler_c_o_CXX=no
13896 $RM -r conftest 2>/dev/null
13897 mkdir conftest
13898 cd conftest
13899 mkdir out
13900 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13902 lt_compiler_flag="-o out/conftest2.$ac_objext"
13903 # Insert the option either (1) after the last *FLAGS variable, or
13904 # (2) before a word containing "conftest.", or (3) at the end.
13905 # Note that $ac_compile itself does not contain backslashes and begins
13906 # with a dollar sign (not a hyphen), so the echo should work correctly.
13907 lt_compile=`echo "$ac_compile" | $SED \
13908 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13909 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13910 -e 's:$: $lt_compiler_flag:'`
13911 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13912 (eval "$lt_compile" 2>out/conftest.err)
13913 ac_status=$?
13914 cat out/conftest.err >&5
13915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13916 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13917 then
13918 # The compiler can only warn and ignore the option if not recognized
13919 # So say no if there are warnings
13920 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13921 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13922 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13923 lt_cv_prog_compiler_c_o_CXX=yes
13926 chmod u+w . 2>&5
13927 $RM conftest*
13928 # SGI C++ compiler will create directory out/ii_files/ for
13929 # template instantiation
13930 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13931 $RM out/* && rmdir out
13932 cd ..
13933 $RM -r conftest
13934 $RM conftest*
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13938 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13943 hard_links="nottested"
13944 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13945 # do not overwrite the value of need_locks provided by the user
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13947 $as_echo_n "checking if we can lock with hard links... " >&6; }
13948 hard_links=yes
13949 $RM conftest*
13950 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13951 touch conftest.a
13952 ln conftest.a conftest.b 2>&5 || hard_links=no
13953 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13955 $as_echo "$hard_links" >&6; }
13956 if test "$hard_links" = no; then
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13958 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13959 need_locks=warn
13961 else
13962 need_locks=no
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13968 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13970 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13971 case $host_os in
13972 aix[4-9]*)
13973 # If we're using GNU nm, then we don't want the "-C" option.
13974 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13975 # Also, AIX nm treats weak defined symbols like other global defined
13976 # symbols, whereas GNU nm marks them as "W".
13977 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13978 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13979 else
13980 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13983 pw32*)
13984 export_symbols_cmds_CXX="$ltdll_cmds"
13986 cygwin* | mingw* | cegcc*)
13987 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
13990 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13992 esac
13993 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13996 $as_echo "$ld_shlibs_CXX" >&6; }
13997 test "$ld_shlibs_CXX" = no && can_build_shared=no
13999 with_gnu_ld_CXX=$with_gnu_ld
14007 # Do we need to explicitly link libc?
14009 case "x$archive_cmds_need_lc_CXX" in
14010 x|xyes)
14011 # Assume -lc should be added
14012 archive_cmds_need_lc_CXX=yes
14014 if test "$enable_shared" = yes && test "$GCC" = yes; then
14015 case $archive_cmds_CXX in
14016 *'~'*)
14017 # FIXME: we may have to deal with multi-command sequences.
14019 '$CC '*)
14020 # Test whether the compiler implicitly links with -lc since on some
14021 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14022 # to ld, don't add -lc before -lgcc.
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14024 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14025 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14026 $as_echo_n "(cached) " >&6
14027 else
14028 $RM conftest*
14029 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14031 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14032 (eval $ac_compile) 2>&5
14033 ac_status=$?
14034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14035 test $ac_status = 0; } 2>conftest.err; then
14036 soname=conftest
14037 lib=conftest
14038 libobjs=conftest.$ac_objext
14039 deplibs=
14040 wl=$lt_prog_compiler_wl_CXX
14041 pic_flag=$lt_prog_compiler_pic_CXX
14042 compiler_flags=-v
14043 linker_flags=-v
14044 verstring=
14045 output_objdir=.
14046 libname=conftest
14047 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14048 allow_undefined_flag_CXX=
14049 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14050 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14051 ac_status=$?
14052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14053 test $ac_status = 0; }
14054 then
14055 lt_cv_archive_cmds_need_lc_CXX=no
14056 else
14057 lt_cv_archive_cmds_need_lc_CXX=yes
14059 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14060 else
14061 cat conftest.err 1>&5
14063 $RM conftest*
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14067 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14068 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14070 esac
14073 esac
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14139 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14141 library_names_spec=
14142 libname_spec='lib$name'
14143 soname_spec=
14144 shrext_cmds=".so"
14145 postinstall_cmds=
14146 postuninstall_cmds=
14147 finish_cmds=
14148 finish_eval=
14149 shlibpath_var=
14150 shlibpath_overrides_runpath=unknown
14151 version_type=none
14152 dynamic_linker="$host_os ld.so"
14153 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14154 need_lib_prefix=unknown
14155 hardcode_into_libs=no
14157 # when you set need_version to no, make sure it does not cause -set_version
14158 # flags to be left without arguments
14159 need_version=unknown
14161 case $host_os in
14162 aix3*)
14163 version_type=linux
14164 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14165 shlibpath_var=LIBPATH
14167 # AIX 3 has no versioning support, so we append a major version to the name.
14168 soname_spec='${libname}${release}${shared_ext}$major'
14171 aix[4-9]*)
14172 version_type=linux
14173 need_lib_prefix=no
14174 need_version=no
14175 hardcode_into_libs=yes
14176 if test "$host_cpu" = ia64; then
14177 # AIX 5 supports IA64
14178 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14179 shlibpath_var=LD_LIBRARY_PATH
14180 else
14181 # With GCC up to 2.95.x, collect2 would create an import file
14182 # for dependence libraries. The import file would start with
14183 # the line `#! .'. This would cause the generated library to
14184 # depend on `.', always an invalid library. This was fixed in
14185 # development snapshots of GCC prior to 3.0.
14186 case $host_os in
14187 aix4 | aix4.[01] | aix4.[01].*)
14188 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14189 echo ' yes '
14190 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14192 else
14193 can_build_shared=no
14196 esac
14197 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14198 # soname into executable. Probably we can add versioning support to
14199 # collect2, so additional links can be useful in future.
14200 if test "$aix_use_runtimelinking" = yes; then
14201 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14202 # instead of lib<name>.a to let people know that these are not
14203 # typical AIX shared libraries.
14204 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14205 else
14206 # We preserve .a as extension for shared libraries through AIX4.2
14207 # and later when we are not doing run time linking.
14208 library_names_spec='${libname}${release}.a $libname.a'
14209 soname_spec='${libname}${release}${shared_ext}$major'
14211 shlibpath_var=LIBPATH
14215 amigaos*)
14216 case $host_cpu in
14217 powerpc)
14218 # Since July 2007 AmigaOS4 officially supports .so libraries.
14219 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14220 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14222 m68k)
14223 library_names_spec='$libname.ixlibrary $libname.a'
14224 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14225 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14227 esac
14230 beos*)
14231 library_names_spec='${libname}${shared_ext}'
14232 dynamic_linker="$host_os ld.so"
14233 shlibpath_var=LIBRARY_PATH
14236 bsdi[45]*)
14237 version_type=linux
14238 need_version=no
14239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14240 soname_spec='${libname}${release}${shared_ext}$major'
14241 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14242 shlibpath_var=LD_LIBRARY_PATH
14243 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14244 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14245 # the default ld.so.conf also contains /usr/contrib/lib and
14246 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14247 # libtool to hard-code these into programs
14250 cygwin* | mingw* | pw32* | cegcc*)
14251 version_type=windows
14252 shrext_cmds=".dll"
14253 need_version=no
14254 need_lib_prefix=no
14256 case $GCC,$host_os in
14257 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14258 library_names_spec='$libname.dll.a'
14259 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14260 postinstall_cmds='base_file=`basename \${file}`~
14261 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14262 dldir=$destdir/`dirname \$dlpath`~
14263 test -d \$dldir || mkdir -p \$dldir~
14264 $install_prog $dir/$dlname \$dldir/$dlname~
14265 chmod a+x \$dldir/$dlname~
14266 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14267 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14269 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14270 dlpath=$dir/\$dldll~
14271 $RM \$dlpath'
14272 shlibpath_overrides_runpath=yes
14274 case $host_os in
14275 cygwin*)
14276 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14277 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14280 mingw* | cegcc*)
14281 # MinGW DLLs use traditional 'lib' prefix
14282 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14284 pw32*)
14285 # pw32 DLLs use 'pw' prefix rather than 'lib'
14286 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14288 esac
14292 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14294 esac
14295 dynamic_linker='Win32 ld.exe'
14296 # FIXME: first we should search . and the directory the executable is in
14297 shlibpath_var=PATH
14300 darwin* | rhapsody*)
14301 dynamic_linker="$host_os dyld"
14302 version_type=darwin
14303 need_lib_prefix=no
14304 need_version=no
14305 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14306 soname_spec='${libname}${release}${major}$shared_ext'
14307 shlibpath_overrides_runpath=yes
14308 shlibpath_var=DYLD_LIBRARY_PATH
14309 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14311 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14314 dgux*)
14315 version_type=linux
14316 need_lib_prefix=no
14317 need_version=no
14318 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14319 soname_spec='${libname}${release}${shared_ext}$major'
14320 shlibpath_var=LD_LIBRARY_PATH
14323 freebsd* | dragonfly*)
14324 # DragonFly does not have aout. When/if they implement a new
14325 # versioning mechanism, adjust this.
14326 if test -x /usr/bin/objformat; then
14327 objformat=`/usr/bin/objformat`
14328 else
14329 case $host_os in
14330 freebsd[23].*) objformat=aout ;;
14331 *) objformat=elf ;;
14332 esac
14334 version_type=freebsd-$objformat
14335 case $version_type in
14336 freebsd-elf*)
14337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14338 need_version=no
14339 need_lib_prefix=no
14341 freebsd-*)
14342 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14343 need_version=yes
14345 esac
14346 shlibpath_var=LD_LIBRARY_PATH
14347 case $host_os in
14348 freebsd2.*)
14349 shlibpath_overrides_runpath=yes
14351 freebsd3.[01]* | freebsdelf3.[01]*)
14352 shlibpath_overrides_runpath=yes
14353 hardcode_into_libs=yes
14355 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14356 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14357 shlibpath_overrides_runpath=no
14358 hardcode_into_libs=yes
14360 *) # from 4.6 on, and DragonFly
14361 shlibpath_overrides_runpath=yes
14362 hardcode_into_libs=yes
14364 esac
14367 gnu*)
14368 version_type=linux
14369 need_lib_prefix=no
14370 need_version=no
14371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14372 soname_spec='${libname}${release}${shared_ext}$major'
14373 shlibpath_var=LD_LIBRARY_PATH
14374 hardcode_into_libs=yes
14377 haiku*)
14378 version_type=linux
14379 need_lib_prefix=no
14380 need_version=no
14381 dynamic_linker="$host_os runtime_loader"
14382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14383 soname_spec='${libname}${release}${shared_ext}$major'
14384 shlibpath_var=LIBRARY_PATH
14385 shlibpath_overrides_runpath=yes
14386 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14387 hardcode_into_libs=yes
14390 hpux9* | hpux10* | hpux11*)
14391 # Give a soname corresponding to the major version so that dld.sl refuses to
14392 # link against other versions.
14393 version_type=sunos
14394 need_lib_prefix=no
14395 need_version=no
14396 case $host_cpu in
14397 ia64*)
14398 shrext_cmds='.so'
14399 hardcode_into_libs=yes
14400 dynamic_linker="$host_os dld.so"
14401 shlibpath_var=LD_LIBRARY_PATH
14402 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14403 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14404 soname_spec='${libname}${release}${shared_ext}$major'
14405 if test "X$HPUX_IA64_MODE" = X32; then
14406 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14407 else
14408 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14410 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14412 hppa*64*)
14413 shrext_cmds='.sl'
14414 hardcode_into_libs=yes
14415 dynamic_linker="$host_os dld.sl"
14416 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14417 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14419 soname_spec='${libname}${release}${shared_ext}$major'
14420 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14421 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14424 shrext_cmds='.sl'
14425 dynamic_linker="$host_os dld.sl"
14426 shlibpath_var=SHLIB_PATH
14427 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14429 soname_spec='${libname}${release}${shared_ext}$major'
14431 esac
14432 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14433 postinstall_cmds='chmod 555 $lib'
14434 # or fails outright, so override atomically:
14435 install_override_mode=555
14438 interix[3-9]*)
14439 version_type=linux
14440 need_lib_prefix=no
14441 need_version=no
14442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14443 soname_spec='${libname}${release}${shared_ext}$major'
14444 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14445 shlibpath_var=LD_LIBRARY_PATH
14446 shlibpath_overrides_runpath=no
14447 hardcode_into_libs=yes
14450 irix5* | irix6* | nonstopux*)
14451 case $host_os in
14452 nonstopux*) version_type=nonstopux ;;
14454 if test "$lt_cv_prog_gnu_ld" = yes; then
14455 version_type=linux
14456 else
14457 version_type=irix
14458 fi ;;
14459 esac
14460 need_lib_prefix=no
14461 need_version=no
14462 soname_spec='${libname}${release}${shared_ext}$major'
14463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14464 case $host_os in
14465 irix5* | nonstopux*)
14466 libsuff= shlibsuff=
14469 case $LD in # libtool.m4 will add one of these switches to LD
14470 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14471 libsuff= shlibsuff= libmagic=32-bit;;
14472 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14473 libsuff=32 shlibsuff=N32 libmagic=N32;;
14474 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14475 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14476 *) libsuff= shlibsuff= libmagic=never-match;;
14477 esac
14479 esac
14480 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14481 shlibpath_overrides_runpath=no
14482 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14483 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14484 hardcode_into_libs=yes
14487 # No shared lib support for Linux oldld, aout, or coff.
14488 linux*oldld* | linux*aout* | linux*coff*)
14489 dynamic_linker=no
14492 # This must be Linux ELF.
14493 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14494 version_type=linux
14495 need_lib_prefix=no
14496 need_version=no
14497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14498 soname_spec='${libname}${release}${shared_ext}$major'
14499 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14500 shlibpath_var=LD_LIBRARY_PATH
14501 shlibpath_overrides_runpath=no
14503 # Some binutils ld are patched to set DT_RUNPATH
14504 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14505 $as_echo_n "(cached) " >&6
14506 else
14507 lt_cv_shlibpath_overrides_runpath=no
14508 save_LDFLAGS=$LDFLAGS
14509 save_libdir=$libdir
14510 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14511 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14512 if test x$gcc_no_link = xyes; then
14513 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14516 /* end confdefs.h. */
14519 main ()
14523 return 0;
14525 _ACEOF
14526 if ac_fn_cxx_try_link "$LINENO"; then :
14527 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14528 lt_cv_shlibpath_overrides_runpath=yes
14531 rm -f core conftest.err conftest.$ac_objext \
14532 conftest$ac_exeext conftest.$ac_ext
14533 LDFLAGS=$save_LDFLAGS
14534 libdir=$save_libdir
14538 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14540 # This implies no fast_install, which is unacceptable.
14541 # Some rework will be needed to allow for fast_install
14542 # before this can be enabled.
14543 hardcode_into_libs=yes
14545 # Append ld.so.conf contents to the search path
14546 if test -f /etc/ld.so.conf; then
14547 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
14548 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14551 # We used to test for /lib/ld.so.1 and disable shared libraries on
14552 # powerpc, because MkLinux only supported shared libraries with the
14553 # GNU dynamic linker. Since this was broken with cross compilers,
14554 # most powerpc-linux boxes support dynamic linking these days and
14555 # people can always --disable-shared, the test was removed, and we
14556 # assume the GNU/Linux dynamic linker is in use.
14557 dynamic_linker='GNU/Linux ld.so'
14560 netbsd*)
14561 version_type=sunos
14562 need_lib_prefix=no
14563 need_version=no
14564 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14566 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14567 dynamic_linker='NetBSD (a.out) ld.so'
14568 else
14569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14570 soname_spec='${libname}${release}${shared_ext}$major'
14571 dynamic_linker='NetBSD ld.elf_so'
14573 shlibpath_var=LD_LIBRARY_PATH
14574 shlibpath_overrides_runpath=yes
14575 hardcode_into_libs=yes
14578 newsos6)
14579 version_type=linux
14580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14581 shlibpath_var=LD_LIBRARY_PATH
14582 shlibpath_overrides_runpath=yes
14585 *nto* | *qnx*)
14586 version_type=qnx
14587 need_lib_prefix=no
14588 need_version=no
14589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14590 soname_spec='${libname}${release}${shared_ext}$major'
14591 shlibpath_var=LD_LIBRARY_PATH
14592 shlibpath_overrides_runpath=no
14593 hardcode_into_libs=yes
14594 dynamic_linker='ldqnx.so'
14597 openbsd*)
14598 version_type=sunos
14599 sys_lib_dlsearch_path_spec="/usr/lib"
14600 need_lib_prefix=no
14601 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14602 case $host_os in
14603 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14604 *) need_version=no ;;
14605 esac
14606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14607 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14608 shlibpath_var=LD_LIBRARY_PATH
14609 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14610 case $host_os in
14611 openbsd2.[89] | openbsd2.[89].*)
14612 shlibpath_overrides_runpath=no
14615 shlibpath_overrides_runpath=yes
14617 esac
14618 else
14619 shlibpath_overrides_runpath=yes
14623 os2*)
14624 libname_spec='$name'
14625 shrext_cmds=".dll"
14626 need_lib_prefix=no
14627 library_names_spec='$libname${shared_ext} $libname.a'
14628 dynamic_linker='OS/2 ld.exe'
14629 shlibpath_var=LIBPATH
14632 osf3* | osf4* | osf5*)
14633 version_type=osf
14634 need_lib_prefix=no
14635 need_version=no
14636 soname_spec='${libname}${release}${shared_ext}$major'
14637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14638 shlibpath_var=LD_LIBRARY_PATH
14639 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14640 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14643 rdos*)
14644 dynamic_linker=no
14647 solaris*)
14648 version_type=linux
14649 need_lib_prefix=no
14650 need_version=no
14651 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14652 soname_spec='${libname}${release}${shared_ext}$major'
14653 shlibpath_var=LD_LIBRARY_PATH
14654 shlibpath_overrides_runpath=yes
14655 hardcode_into_libs=yes
14656 # ldd complains unless libraries are executable
14657 postinstall_cmds='chmod +x $lib'
14660 sunos4*)
14661 version_type=sunos
14662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14663 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14664 shlibpath_var=LD_LIBRARY_PATH
14665 shlibpath_overrides_runpath=yes
14666 if test "$with_gnu_ld" = yes; then
14667 need_lib_prefix=no
14669 need_version=yes
14672 sysv4 | sysv4.3*)
14673 version_type=linux
14674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14675 soname_spec='${libname}${release}${shared_ext}$major'
14676 shlibpath_var=LD_LIBRARY_PATH
14677 case $host_vendor in
14678 sni)
14679 shlibpath_overrides_runpath=no
14680 need_lib_prefix=no
14681 runpath_var=LD_RUN_PATH
14683 siemens)
14684 need_lib_prefix=no
14686 motorola)
14687 need_lib_prefix=no
14688 need_version=no
14689 shlibpath_overrides_runpath=no
14690 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14692 esac
14695 sysv4*MP*)
14696 if test -d /usr/nec ;then
14697 version_type=linux
14698 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14699 soname_spec='$libname${shared_ext}.$major'
14700 shlibpath_var=LD_LIBRARY_PATH
14704 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14705 version_type=freebsd-elf
14706 need_lib_prefix=no
14707 need_version=no
14708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14709 soname_spec='${libname}${release}${shared_ext}$major'
14710 shlibpath_var=LD_LIBRARY_PATH
14711 shlibpath_overrides_runpath=yes
14712 hardcode_into_libs=yes
14713 if test "$with_gnu_ld" = yes; then
14714 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14715 else
14716 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14717 case $host_os in
14718 sco3.2v5*)
14719 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14721 esac
14723 sys_lib_dlsearch_path_spec='/usr/lib'
14726 tpf*)
14727 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14728 version_type=linux
14729 need_lib_prefix=no
14730 need_version=no
14731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14732 shlibpath_var=LD_LIBRARY_PATH
14733 shlibpath_overrides_runpath=no
14734 hardcode_into_libs=yes
14737 uts4*)
14738 version_type=linux
14739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14740 soname_spec='${libname}${release}${shared_ext}$major'
14741 shlibpath_var=LD_LIBRARY_PATH
14745 dynamic_linker=no
14747 esac
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14749 $as_echo "$dynamic_linker" >&6; }
14750 test "$dynamic_linker" = no && can_build_shared=no
14752 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14753 if test "$GCC" = yes; then
14754 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14757 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14758 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14760 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14761 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14802 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14803 hardcode_action_CXX=
14804 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14805 test -n "$runpath_var_CXX" ||
14806 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14808 # We can hardcode non-existent directories.
14809 if test "$hardcode_direct_CXX" != no &&
14810 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14811 # have to relink, otherwise we might link with an installed library
14812 # when we should be linking with a yet-to-be-installed one
14813 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14814 test "$hardcode_minus_L_CXX" != no; then
14815 # Linking always hardcodes the temporary library directory.
14816 hardcode_action_CXX=relink
14817 else
14818 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14819 hardcode_action_CXX=immediate
14821 else
14822 # We cannot hardcode anything, or else we can only hardcode existing
14823 # directories.
14824 hardcode_action_CXX=unsupported
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14827 $as_echo "$hardcode_action_CXX" >&6; }
14829 if test "$hardcode_action_CXX" = relink ||
14830 test "$inherit_rpath_CXX" = yes; then
14831 # Fast installation is not supported
14832 enable_fast_install=no
14833 elif test "$shlibpath_overrides_runpath" = yes ||
14834 test "$enable_shared" = no; then
14835 # Fast installation is not necessary
14836 enable_fast_install=needless
14845 fi # test -n "$compiler"
14847 CC=$lt_save_CC
14848 LDCXX=$LD
14849 LD=$lt_save_LD
14850 GCC=$lt_save_GCC
14851 with_gnu_ld=$lt_save_with_gnu_ld
14852 lt_cv_path_LDCXX=$lt_cv_path_LD
14853 lt_cv_path_LD=$lt_save_path_LD
14854 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14855 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14856 fi # test "$_lt_caught_CXX_error" != yes
14858 ac_ext=c
14859 ac_cpp='$CPP $CPPFLAGS'
14860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14876 ac_config_commands="$ac_config_commands libtool"
14881 # Only expand once:
14887 case $host in
14888 *-cygwin* | *-mingw*)
14889 # 'host' will be top-level target in the case of a target lib,
14890 # we must compare to with_cross_host to decide if this is a native
14891 # or cross-compiler and select where to install dlls appropriately.
14892 if test -n "$with_cross_host" &&
14893 test x"$with_cross_host" != x"no"; then
14894 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14895 else
14896 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14900 lt_host_flags=
14902 esac
14909 # libtool variables for C++ shared and position-independent compiles.
14911 # Use glibcxx_lt_pic_flag to designate the automake variable
14912 # used to encapsulate the default libtool approach to creating objects
14913 # with position-independent code. Default: -prefer-pic.
14915 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14916 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14918 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14919 # creating position-independent objects. This varies with the target
14920 # hardware and operating system, but is often: -DPIC -fPIC.
14921 if test "$enable_shared" = yes; then
14922 glibcxx_lt_pic_flag="-prefer-pic"
14923 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14924 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14926 else
14927 glibcxx_lt_pic_flag=
14928 glibcxx_compiler_pic_flag=
14929 glibcxx_compiler_shared_flag=
14935 # Override the libtool's pic_flag and pic_mode.
14936 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14937 # NB: this impacts --with-pic and --without-pic.
14938 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14939 pic_mode='default'
14941 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14942 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14944 # Possibly disable most of the library.
14945 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14946 ## than just ignoring the results. Faster /and/ more correct, win win.
14948 # Check whether --enable-hosted-libstdcxx was given.
14949 if test "${enable_hosted_libstdcxx+set}" = set; then :
14950 enableval=$enable_hosted_libstdcxx;
14951 else
14952 case "$host" in
14953 arm*-*-symbianelf*)
14954 enable_hosted_libstdcxx=no
14957 enable_hosted_libstdcxx=yes
14959 esac
14962 if test "$enable_hosted_libstdcxx" = no; then
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14964 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14965 is_hosted=no
14966 hosted_define=0
14967 enable_abi_check=no
14968 enable_libstdcxx_pch=no
14969 else
14970 is_hosted=yes
14971 hosted_define=1
14975 cat >>confdefs.h <<_ACEOF
14976 #define _GLIBCXX_HOSTED $hosted_define
14977 _ACEOF
14981 # Enable descriptive messages to standard output on termination.
14983 # Check whether --enable-libstdcxx-verbose was given.
14984 if test "${enable_libstdcxx_verbose+set}" = set; then :
14985 enableval=$enable_libstdcxx_verbose;
14986 else
14987 enable_libstdcxx_verbose=yes
14990 if test x"$enable_libstdcxx_verbose" = xyes; then
14991 verbose_define=1
14992 else
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
14994 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
14995 verbose_define=0
14998 cat >>confdefs.h <<_ACEOF
14999 #define _GLIBCXX_VERBOSE $verbose_define
15000 _ACEOF
15004 # Enable compiler support that doesn't require linking.
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15007 $as_echo_n "checking for exception model to use... " >&6; }
15009 ac_ext=cpp
15010 ac_cpp='$CXXCPP $CPPFLAGS'
15011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15015 # Check whether --enable-sjlj-exceptions was given.
15016 if test "${enable_sjlj_exceptions+set}" = set; then :
15017 enableval=$enable_sjlj_exceptions;
15018 case "$enableval" in
15019 yes|no|auto) ;;
15020 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15021 esac
15023 else
15024 enable_sjlj_exceptions=auto
15029 if test $enable_sjlj_exceptions = auto; then
15030 # Botheration. Now we've got to detect the exception model. Link tests
15031 # against libgcc.a are problematic since we've not been given proper -L
15032 # bits for single-tree newlib and libgloss.
15034 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15035 cat > conftest.$ac_ext << EOF
15036 #line 15036 "configure"
15037 struct S { ~S(); };
15038 void bar();
15039 void foo()
15041 S s;
15042 bar();
15045 old_CXXFLAGS="$CXXFLAGS"
15046 CXXFLAGS=-S
15047 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15048 (eval $ac_compile) 2>&5
15049 ac_status=$?
15050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15051 test $ac_status = 0; }; then
15052 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15053 enable_sjlj_exceptions=yes
15054 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15055 enable_sjlj_exceptions=no
15056 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15057 enable_sjlj_exceptions=no
15060 CXXFLAGS="$old_CXXFLAGS"
15061 rm -f conftest*
15064 # This is a tad weird, for hysterical raisins. We have to map
15065 # enable/disable to two different models.
15066 case $enable_sjlj_exceptions in
15067 yes)
15069 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15071 ac_exception_model_name=sjlj
15074 ac_exception_model_name="call frame"
15077 as_fn_error "unable to detect exception model" "$LINENO" 5
15079 esac
15080 ac_ext=c
15081 ac_cpp='$CPP $CPPFLAGS'
15082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15087 $as_echo "$ac_exception_model_name" >&6; }
15090 # Check whether --enable-libstdcxx-pch was given.
15091 if test "${enable_libstdcxx_pch+set}" = set; then :
15092 enableval=$enable_libstdcxx_pch;
15093 case "$enableval" in
15094 yes|no) ;;
15095 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15096 esac
15098 else
15099 enable_libstdcxx_pch=$is_hosted
15103 if test $enable_libstdcxx_pch = yes; then
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15105 $as_echo_n "checking for compiler with PCH support... " >&6; }
15106 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15107 $as_echo_n "(cached) " >&6
15108 else
15109 ac_save_CXXFLAGS="$CXXFLAGS"
15110 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15112 ac_ext=cpp
15113 ac_cpp='$CXXCPP $CPPFLAGS'
15114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15118 echo '#include <math.h>' > conftest.h
15119 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15120 -o conftest.h.gch 1>&5 2>&1 &&
15121 echo '#error "pch failed"' > conftest.h &&
15122 echo '#include "conftest.h"' > conftest.cc &&
15123 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15124 then
15125 glibcxx_cv_prog_CXX_pch=yes
15126 else
15127 glibcxx_cv_prog_CXX_pch=no
15129 rm -f conftest*
15130 CXXFLAGS=$ac_save_CXXFLAGS
15131 ac_ext=c
15132 ac_cpp='$CPP $CPPFLAGS'
15133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15140 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15141 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15145 $as_echo_n "checking for enabled PCH... " >&6; }
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15147 $as_echo "$enable_libstdcxx_pch" >&6; }
15150 if test $enable_libstdcxx_pch = yes; then
15151 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15152 else
15153 glibcxx_PCHFLAGS=""
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15159 $as_echo_n "checking for thread model used by GCC... " >&6; }
15160 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15162 $as_echo "$target_thread_file" >&6; }
15164 case $target_thread_file in
15165 aix) thread_header=config/rs6000/gthr-aix.h ;;
15166 dce) thread_header=config/pa/gthr-dce.h ;;
15167 lynx) thread_header=config/gthr-lynx.h ;;
15168 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15169 posix) thread_header=gthr-posix.h ;;
15170 rtems) thread_header=config/gthr-rtems.h ;;
15171 single) thread_header=gthr-single.h ;;
15172 tpf) thread_header=config/s390/gthr-tpf.h ;;
15173 vxworks) thread_header=config/gthr-vxworks.h ;;
15174 win32) thread_header=config/i386/gthr-win32.h ;;
15175 esac
15181 ac_ext=cpp
15182 ac_cpp='$CXXCPP $CPPFLAGS'
15183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15187 old_CXXFLAGS="$CXXFLAGS"
15189 # Do link tests if possible, instead asm tests, limited to some platforms
15190 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15191 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15192 atomic_builtins_link_tests=no
15193 if test x$gcc_no_link != xyes; then
15194 # Can do link tests. Limit to some tested platforms
15195 case "$host" in
15196 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15197 atomic_builtins_link_tests=yes
15199 esac
15202 if test x$atomic_builtins_link_tests = xyes; then
15204 # Do link tests.
15206 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15209 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15210 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15211 $as_echo_n "(cached) " >&6
15212 else
15214 if test x$gcc_no_link = xyes; then
15215 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15218 /* end confdefs.h. */
15221 main ()
15223 typedef bool atomic_type;
15224 atomic_type c1;
15225 atomic_type c2;
15226 atomic_type c3(0);
15227 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15228 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15229 __ATOMIC_RELAXED);
15230 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15231 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15234 return 0;
15236 _ACEOF
15237 if ac_fn_cxx_try_link "$LINENO"; then :
15238 glibcxx_cv_atomic_bool=yes
15239 else
15240 glibcxx_cv_atomic_bool=no
15242 rm -f core conftest.err conftest.$ac_objext \
15243 conftest$ac_exeext conftest.$ac_ext
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15248 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15251 $as_echo_n "checking for atomic builtins for short... " >&6; }
15252 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15253 $as_echo_n "(cached) " >&6
15254 else
15256 if test x$gcc_no_link = xyes; then
15257 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15260 /* end confdefs.h. */
15263 main ()
15265 typedef short atomic_type;
15266 atomic_type c1;
15267 atomic_type c2;
15268 atomic_type c3(0);
15269 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15270 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15271 __ATOMIC_RELAXED);
15272 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15273 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15276 return 0;
15278 _ACEOF
15279 if ac_fn_cxx_try_link "$LINENO"; then :
15280 glibcxx_cv_atomic_short=yes
15281 else
15282 glibcxx_cv_atomic_short=no
15284 rm -f core conftest.err conftest.$ac_objext \
15285 conftest$ac_exeext conftest.$ac_ext
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15290 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15293 $as_echo_n "checking for atomic builtins for int... " >&6; }
15294 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15295 $as_echo_n "(cached) " >&6
15296 else
15298 if test x$gcc_no_link = xyes; then
15299 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15302 /* end confdefs.h. */
15305 main ()
15307 typedef int atomic_type;
15308 atomic_type c1;
15309 atomic_type c2;
15310 atomic_type c3(0);
15311 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15312 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15313 __ATOMIC_RELAXED);
15314 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15315 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15318 return 0;
15320 _ACEOF
15321 if ac_fn_cxx_try_link "$LINENO"; then :
15322 glibcxx_cv_atomic_int=yes
15323 else
15324 glibcxx_cv_atomic_int=no
15326 rm -f core conftest.err conftest.$ac_objext \
15327 conftest$ac_exeext conftest.$ac_ext
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15332 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15335 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15336 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15337 $as_echo_n "(cached) " >&6
15338 else
15340 if test x$gcc_no_link = xyes; then
15341 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15344 /* end confdefs.h. */
15347 main ()
15349 typedef long long atomic_type;
15350 atomic_type c1;
15351 atomic_type c2;
15352 atomic_type c3(0);
15353 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15354 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15355 __ATOMIC_RELAXED);
15356 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15357 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15360 return 0;
15362 _ACEOF
15363 if ac_fn_cxx_try_link "$LINENO"; then :
15364 glibcxx_cv_atomic_long_long=yes
15365 else
15366 glibcxx_cv_atomic_long_long=no
15368 rm -f core conftest.err conftest.$ac_objext \
15369 conftest$ac_exeext conftest.$ac_ext
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15374 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15376 else
15378 # Do asm tests.
15380 # Compile unoptimized.
15381 CXXFLAGS='-O0 -S'
15383 # Fake what AC_TRY_COMPILE does.
15385 cat > conftest.$ac_ext << EOF
15386 #line 15386 "configure"
15387 int main()
15389 typedef bool atomic_type;
15390 atomic_type c1;
15391 atomic_type c2;
15392 atomic_type c3(0);
15393 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15394 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15395 __ATOMIC_RELAXED);
15396 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15397 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15399 return 0;
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15404 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15405 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15406 (eval $ac_compile) 2>&5
15407 ac_status=$?
15408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15409 test $ac_status = 0; }; then
15410 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15411 glibcxx_cv_atomic_bool=no
15412 else
15413 glibcxx_cv_atomic_bool=yes
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15417 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15418 rm -f conftest*
15420 cat > conftest.$ac_ext << EOF
15421 #line 15421 "configure"
15422 int main()
15424 typedef short atomic_type;
15425 atomic_type c1;
15426 atomic_type c2;
15427 atomic_type c3(0);
15428 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15429 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15430 __ATOMIC_RELAXED);
15431 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15432 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15434 return 0;
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15439 $as_echo_n "checking for atomic builtins for short... " >&6; }
15440 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15441 (eval $ac_compile) 2>&5
15442 ac_status=$?
15443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15444 test $ac_status = 0; }; then
15445 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15446 glibcxx_cv_atomic_short=no
15447 else
15448 glibcxx_cv_atomic_short=yes
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15452 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15453 rm -f conftest*
15455 cat > conftest.$ac_ext << EOF
15456 #line 15456 "configure"
15457 int main()
15459 // NB: _Atomic_word not necessarily int.
15460 typedef int atomic_type;
15461 atomic_type c1;
15462 atomic_type c2;
15463 atomic_type c3(0);
15464 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15465 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15466 __ATOMIC_RELAXED);
15467 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15468 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15470 return 0;
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15475 $as_echo_n "checking for atomic builtins for int... " >&6; }
15476 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15477 (eval $ac_compile) 2>&5
15478 ac_status=$?
15479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15480 test $ac_status = 0; }; then
15481 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15482 glibcxx_cv_atomic_int=no
15483 else
15484 glibcxx_cv_atomic_int=yes
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15488 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15489 rm -f conftest*
15491 cat > conftest.$ac_ext << EOF
15492 #line 15492 "configure"
15493 int main()
15495 typedef long long atomic_type;
15496 atomic_type c1;
15497 atomic_type c2;
15498 atomic_type c3(0);
15499 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15500 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15501 __ATOMIC_RELAXED);
15502 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15503 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15505 return 0;
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15510 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15511 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15512 (eval $ac_compile) 2>&5
15513 ac_status=$?
15514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15515 test $ac_status = 0; }; then
15516 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15517 glibcxx_cv_atomic_long_long=no
15518 else
15519 glibcxx_cv_atomic_long_long=yes
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15523 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15524 rm -f conftest*
15528 CXXFLAGS="$old_CXXFLAGS"
15529 ac_ext=c
15530 ac_cpp='$CPP $CPPFLAGS'
15531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15536 # Set atomicity_dir to builtins if all but the long long test above passes.
15537 if test $glibcxx_cv_atomic_bool = yes \
15538 && test $glibcxx_cv_atomic_short = yes \
15539 && test $glibcxx_cv_atomic_int = yes; then
15541 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15543 atomicity_dir=cpu/generic/atomicity_builtins
15546 # If still generic, set to mutex.
15547 if test $atomicity_dir = "cpu/generic" ; then
15548 atomicity_dir=cpu/generic/atomicity_mutex
15549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15550 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15551 if test "x$target_thread_file" = xsingle; then
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15553 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15555 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15556 else
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15558 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15560 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15567 # Fake what AC_TRY_COMPILE does, without linking as this is
15568 # unnecessary for this test.
15570 cat > conftest.$ac_ext << EOF
15571 #line 15571 "configure"
15572 int main()
15574 _Decimal32 d1;
15575 _Decimal64 d2;
15576 _Decimal128 d3;
15577 return 0;
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15582 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15583 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15584 (eval $ac_compile) 2>&5
15585 ac_status=$?
15586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15587 test $ac_status = 0; }; then
15589 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15591 enable_dfp=yes
15592 else
15593 enable_dfp=no
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15596 $as_echo "$enable_dfp" >&6; }
15597 rm -f conftest*
15602 ac_ext=cpp
15603 ac_cpp='$CXXCPP $CPPFLAGS'
15604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15609 # Fake what AC_TRY_COMPILE does, without linking as this is
15610 # unnecessary for this test.
15612 cat > conftest.$ac_ext << EOF
15613 #line 15613 "configure"
15614 template<typename T1, typename T2>
15615 struct same
15616 { typedef T2 type; };
15618 template<typename T>
15619 struct same<T, T>;
15621 int main()
15623 typename same<long, __int128>::type i1;
15624 typename same<long long, __int128>::type i2;
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15629 $as_echo_n "checking for __int128... " >&6; }
15630 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15631 (eval $ac_compile) 2>&5
15632 ac_status=$?
15633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15634 test $ac_status = 0; }; then
15636 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15638 enable_int128=yes
15639 else
15640 enable_int128=no
15642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15643 $as_echo "$enable_int128" >&6; }
15644 rm -f conftest*
15646 cat > conftest.$ac_ext << EOF
15647 #line 15647 "configure"
15648 template<typename T1, typename T2>
15649 struct same
15650 { typedef T2 type; };
15652 template<typename T>
15653 struct same<T, T>;
15655 int main()
15657 typename same<double, __float128>::type f1;
15658 typename same<long double, __float128>::type f2;
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15663 $as_echo_n "checking for __float128... " >&6; }
15664 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15665 (eval $ac_compile) 2>&5
15666 ac_status=$?
15667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15668 test $ac_status = 0; }; then
15670 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15672 enable_float128=yes
15673 else
15674 enable_float128=no
15676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15677 $as_echo "$enable_float128" >&6; }
15678 rm -f conftest*
15680 ac_ext=c
15681 ac_cpp='$CPP $CPPFLAGS'
15682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15688 # Checks for compiler support that doesn't require linking.
15690 # All these tests are for C++; save the language and the compiler flags.
15691 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15692 # found in GLIBCXX_CONFIGURE.
15694 ac_ext=cpp
15695 ac_cpp='$CXXCPP $CPPFLAGS'
15696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15700 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15701 ac_save_CXXFLAGS="$CXXFLAGS"
15703 # Check for maintainer-mode bits.
15704 if test x"$USE_MAINTAINER_MODE" = xno; then
15705 WERROR=''
15706 else
15707 WERROR='-Werror'
15710 # Check for -ffunction-sections -fdata-sections
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15712 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15713 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15715 /* end confdefs.h. */
15716 int foo; void bar() { };
15718 main ()
15722 return 0;
15724 _ACEOF
15725 if ac_fn_cxx_try_compile "$LINENO"; then :
15726 ac_fdsections=yes
15727 else
15728 ac_fdsections=no
15730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15731 if test "$ac_test_CXXFLAGS" = set; then
15732 CXXFLAGS="$ac_save_CXXFLAGS"
15733 else
15734 # this is the suspicious part
15735 CXXFLAGS=''
15737 if test x"$ac_fdsections" = x"yes"; then
15738 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15741 $as_echo "$ac_fdsections" >&6; }
15743 ac_ext=c
15744 ac_cpp='$CPP $CPPFLAGS'
15745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15753 # Enable all the variable C++ runtime options that don't require linking.
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15756 $as_echo_n "checking for underlying I/O to use... " >&6; }
15757 # Check whether --enable-cstdio was given.
15758 if test "${enable_cstdio+set}" = set; then :
15759 enableval=$enable_cstdio;
15760 case "$enableval" in
15761 stdio) ;;
15762 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15763 esac
15765 else
15766 enable_cstdio=stdio
15771 # Now that libio has been removed, you can have any color you want as long
15772 # as it's black. This is one big no-op until other packages are added, but
15773 # showing the framework never hurts.
15774 case ${enable_cstdio} in
15775 stdio)
15776 CSTDIO_H=config/io/c_io_stdio.h
15777 BASIC_FILE_H=config/io/basic_file_stdio.h
15778 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15780 $as_echo "stdio" >&6; }
15782 esac
15789 # Check whether --enable-clocale was given.
15790 if test "${enable_clocale+set}" = set; then :
15791 enableval=$enable_clocale;
15792 case "$enableval" in
15793 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15794 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15795 esac
15797 else
15798 enable_clocale=auto
15803 # Deal with gettext issues. Default to not using it (=no) until we detect
15804 # support for it later. Let the user turn it off via --e/d, but let that
15805 # default to on for easier handling.
15806 USE_NLS=no
15807 # Check whether --enable-nls was given.
15808 if test "${enable_nls+set}" = set; then :
15809 enableval=$enable_nls;
15810 else
15811 enable_nls=yes
15815 # Either a known package, or "auto"
15816 if test $enable_clocale = no || test $enable_clocale = yes; then
15817 enable_clocale=auto
15819 enable_clocale_flag=$enable_clocale
15821 # Probe for locale model to use if none specified.
15822 # Default to "generic".
15823 if test $enable_clocale_flag = auto; then
15824 case ${target_os} in
15825 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15826 enable_clocale_flag=gnu
15828 darwin* | freebsd*)
15829 enable_clocale_flag=darwin
15831 openbsd*)
15832 enable_clocale_flag=newlib
15835 if test x"$with_newlib" = x"yes"; then
15836 enable_clocale_flag=newlib
15837 else
15838 enable_clocale_flag=generic
15841 esac
15844 # Sanity check model, and test for special functionality.
15845 if test $enable_clocale_flag = gnu; then
15846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15847 /* end confdefs.h. */
15849 #include <features.h>
15850 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15851 _GLIBCXX_ok
15852 #endif
15854 _ACEOF
15855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15856 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15857 enable_clocale_flag=gnu
15858 else
15859 enable_clocale_flag=generic
15861 rm -f conftest*
15864 # Set it to scream when it hurts.
15865 ac_save_CFLAGS="$CFLAGS"
15866 CFLAGS="-Wimplicit-function-declaration -Werror"
15868 # Use strxfrm_l if available.
15869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15870 /* end confdefs.h. */
15871 #define _GNU_SOURCE 1
15872 #include <string.h>
15873 #include <locale.h>
15875 main ()
15877 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15879 return 0;
15881 _ACEOF
15882 if ac_fn_c_try_compile "$LINENO"; then :
15884 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15889 # Use strerror_l if available.
15890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15891 /* end confdefs.h. */
15892 #define _GNU_SOURCE 1
15893 #include <string.h>
15894 #include <locale.h>
15896 main ()
15898 __locale_t loc; strerror_l(5, loc);
15900 return 0;
15902 _ACEOF
15903 if ac_fn_c_try_compile "$LINENO"; then :
15905 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15910 CFLAGS="$ac_save_CFLAGS"
15913 # Perhaps use strerror_r if available, and strerror_l isn't.
15914 ac_save_CFLAGS="$CFLAGS"
15915 CFLAGS="-Wimplicit-function-declaration -Werror"
15916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15917 /* end confdefs.h. */
15918 #define _GNU_SOURCE 1
15919 #include <string.h>
15920 #include <locale.h>
15922 main ()
15924 char s[128]; strerror_r(5, s, 128);
15926 return 0;
15928 _ACEOF
15929 if ac_fn_c_try_compile "$LINENO"; then :
15931 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15935 CFLAGS="$ac_save_CFLAGS"
15937 # Set configure bits for specified locale package
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15939 $as_echo_n "checking for C locale to use... " >&6; }
15940 case ${enable_clocale_flag} in
15941 generic)
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15943 $as_echo "generic" >&6; }
15945 CLOCALE_H=config/locale/generic/c_locale.h
15946 CLOCALE_CC=config/locale/generic/c_locale.cc
15947 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15948 CCOLLATE_CC=config/locale/generic/collate_members.cc
15949 CCTYPE_CC=config/locale/generic/ctype_members.cc
15950 CMESSAGES_H=config/locale/generic/messages_members.h
15951 CMESSAGES_CC=config/locale/generic/messages_members.cc
15952 CMONEY_CC=config/locale/generic/monetary_members.cc
15953 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15954 CTIME_H=config/locale/generic/time_members.h
15955 CTIME_CC=config/locale/generic/time_members.cc
15956 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15958 darwin)
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15960 $as_echo "darwin or freebsd" >&6; }
15962 CLOCALE_H=config/locale/generic/c_locale.h
15963 CLOCALE_CC=config/locale/generic/c_locale.cc
15964 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15965 CCOLLATE_CC=config/locale/generic/collate_members.cc
15966 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15967 CMESSAGES_H=config/locale/generic/messages_members.h
15968 CMESSAGES_CC=config/locale/generic/messages_members.cc
15969 CMONEY_CC=config/locale/generic/monetary_members.cc
15970 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15971 CTIME_H=config/locale/generic/time_members.h
15972 CTIME_CC=config/locale/generic/time_members.cc
15973 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15976 gnu)
15977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15978 $as_echo "gnu" >&6; }
15980 # Declare intention to use gettext, and add support for specific
15981 # languages.
15982 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15983 ALL_LINGUAS="de fr"
15985 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15986 # Extract the first word of "msgfmt", so it can be a program name with args.
15987 set dummy msgfmt; ac_word=$2
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15989 $as_echo_n "checking for $ac_word... " >&6; }
15990 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15991 $as_echo_n "(cached) " >&6
15992 else
15993 if test -n "$check_msgfmt"; then
15994 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15995 else
15996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15997 for as_dir in $PATH
15999 IFS=$as_save_IFS
16000 test -z "$as_dir" && as_dir=.
16001 for ac_exec_ext in '' $ac_executable_extensions; do
16002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16003 ac_cv_prog_check_msgfmt="yes"
16004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16005 break 2
16007 done
16008 done
16009 IFS=$as_save_IFS
16011 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16014 check_msgfmt=$ac_cv_prog_check_msgfmt
16015 if test -n "$check_msgfmt"; then
16016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16017 $as_echo "$check_msgfmt" >&6; }
16018 else
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16020 $as_echo "no" >&6; }
16024 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16025 USE_NLS=yes
16027 # Export the build objects.
16028 for ling in $ALL_LINGUAS; do \
16029 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16030 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16031 done
16035 CLOCALE_H=config/locale/gnu/c_locale.h
16036 CLOCALE_CC=config/locale/gnu/c_locale.cc
16037 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16038 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16039 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16040 CMESSAGES_H=config/locale/gnu/messages_members.h
16041 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16042 CMONEY_CC=config/locale/gnu/monetary_members.cc
16043 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16044 CTIME_H=config/locale/gnu/time_members.h
16045 CTIME_CC=config/locale/gnu/time_members.cc
16046 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16048 ieee_1003.1-2001)
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16050 $as_echo "IEEE 1003.1" >&6; }
16052 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16053 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16054 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16055 CCOLLATE_CC=config/locale/generic/collate_members.cc
16056 CCTYPE_CC=config/locale/generic/ctype_members.cc
16057 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16058 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16059 CMONEY_CC=config/locale/generic/monetary_members.cc
16060 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16061 CTIME_H=config/locale/generic/time_members.h
16062 CTIME_CC=config/locale/generic/time_members.cc
16063 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16065 newlib)
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16067 $as_echo "newlib" >&6; }
16069 CLOCALE_H=config/locale/generic/c_locale.h
16070 CLOCALE_CC=config/locale/generic/c_locale.cc
16071 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16072 CCOLLATE_CC=config/locale/generic/collate_members.cc
16073 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16074 CMESSAGES_H=config/locale/generic/messages_members.h
16075 CMESSAGES_CC=config/locale/generic/messages_members.cc
16076 CMONEY_CC=config/locale/generic/monetary_members.cc
16077 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16078 CTIME_H=config/locale/generic/time_members.h
16079 CTIME_CC=config/locale/generic/time_members.cc
16080 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16082 esac
16084 # This is where the testsuite looks for locale catalogs, using the
16085 # -DLOCALEDIR define during testsuite compilation.
16086 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16089 # A standalone libintl (e.g., GNU libintl) may be in use.
16090 if test $USE_NLS = yes; then
16091 for ac_header in libintl.h
16092 do :
16093 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16094 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16095 cat >>confdefs.h <<_ACEOF
16096 #define HAVE_LIBINTL_H 1
16097 _ACEOF
16099 else
16100 USE_NLS=no
16103 done
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16106 $as_echo_n "checking for library containing gettext... " >&6; }
16107 if test "${ac_cv_search_gettext+set}" = set; then :
16108 $as_echo_n "(cached) " >&6
16109 else
16110 ac_func_search_save_LIBS=$LIBS
16111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16112 /* end confdefs.h. */
16114 /* Override any GCC internal prototype to avoid an error.
16115 Use char because int might match the return type of a GCC
16116 builtin and then its argument prototype would still apply. */
16117 #ifdef __cplusplus
16118 extern "C"
16119 #endif
16120 char gettext ();
16122 main ()
16124 return gettext ();
16126 return 0;
16128 _ACEOF
16129 for ac_lib in '' intl; do
16130 if test -z "$ac_lib"; then
16131 ac_res="none required"
16132 else
16133 ac_res=-l$ac_lib
16134 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16136 if test x$gcc_no_link = xyes; then
16137 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16139 if ac_fn_c_try_link "$LINENO"; then :
16140 ac_cv_search_gettext=$ac_res
16142 rm -f core conftest.err conftest.$ac_objext \
16143 conftest$ac_exeext
16144 if test "${ac_cv_search_gettext+set}" = set; then :
16145 break
16147 done
16148 if test "${ac_cv_search_gettext+set}" = set; then :
16150 else
16151 ac_cv_search_gettext=no
16153 rm conftest.$ac_ext
16154 LIBS=$ac_func_search_save_LIBS
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16157 $as_echo "$ac_cv_search_gettext" >&6; }
16158 ac_res=$ac_cv_search_gettext
16159 if test "$ac_res" != no; then :
16160 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16162 else
16163 USE_NLS=no
16167 if test $USE_NLS = yes; then
16169 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16189 $as_echo_n "checking for std::allocator base class... " >&6; }
16190 # Check whether --enable-libstdcxx-allocator was given.
16191 if test "${enable_libstdcxx_allocator+set}" = set; then :
16192 enableval=$enable_libstdcxx_allocator;
16193 case "$enableval" in
16194 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16195 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16196 esac
16198 else
16199 enable_libstdcxx_allocator=auto
16204 # If they didn't use this option switch, or if they specified --enable
16205 # with no specific model, we'll have to look for one. If they
16206 # specified --disable (???), do likewise.
16207 if test $enable_libstdcxx_allocator = no ||
16208 test $enable_libstdcxx_allocator = yes;
16209 then
16210 enable_libstdcxx_allocator=auto
16213 # Either a known package, or "auto". Auto implies the default choice
16214 # for a particular platform.
16215 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16217 # Probe for host-specific support if no specific model is specified.
16218 # Default to "new".
16219 if test $enable_libstdcxx_allocator_flag = auto; then
16220 case ${target_os} in
16221 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16222 enable_libstdcxx_allocator_flag=new
16225 enable_libstdcxx_allocator_flag=new
16227 esac
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16230 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16233 # Set configure bits for specified locale package
16234 case ${enable_libstdcxx_allocator_flag} in
16235 bitmap)
16236 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16237 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16239 malloc)
16240 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16241 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16244 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16245 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16247 new)
16248 ALLOCATOR_H=config/allocator/new_allocator_base.h
16249 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16251 pool)
16252 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16253 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16255 esac
16261 # Check whether --enable-cheaders was given.
16262 if test "${enable_cheaders+set}" = set; then :
16263 enableval=$enable_cheaders;
16264 case "$enableval" in
16265 c|c_std|c_global) ;;
16266 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16267 esac
16269 else
16270 enable_cheaders=$c_model
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16275 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16277 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16279 # Allow overrides to configure.host here.
16280 if test $enable_cheaders = c_global; then
16281 c_compatibility=yes
16290 # Check whether --enable-long-long was given.
16291 if test "${enable_long_long+set}" = set; then :
16292 enableval=$enable_long_long;
16293 case "$enableval" in
16294 yes|no) ;;
16295 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16296 esac
16298 else
16299 enable_long_long=yes
16303 if test $enable_long_long = yes; then
16305 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16309 $as_echo_n "checking for enabled long long specializations... " >&6; }
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16311 $as_echo "$enable_long_long" >&6; }
16314 # Check whether --enable-wchar_t was given.
16315 if test "${enable_wchar_t+set}" = set; then :
16316 enableval=$enable_wchar_t;
16317 case "$enableval" in
16318 yes|no) ;;
16319 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16320 esac
16322 else
16323 enable_wchar_t=yes
16328 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16329 for ac_header in wchar.h
16330 do :
16331 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16332 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16333 cat >>confdefs.h <<_ACEOF
16334 #define HAVE_WCHAR_H 1
16335 _ACEOF
16336 ac_has_wchar_h=yes
16337 else
16338 ac_has_wchar_h=no
16341 done
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16344 $as_echo_n "checking for mbstate_t... " >&6; }
16345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16346 /* end confdefs.h. */
16347 #include <wchar.h>
16349 main ()
16351 mbstate_t teststate;
16353 return 0;
16355 _ACEOF
16356 if ac_fn_c_try_compile "$LINENO"; then :
16357 have_mbstate_t=yes
16358 else
16359 have_mbstate_t=no
16361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16363 $as_echo "$have_mbstate_t" >&6; }
16364 if test x"$have_mbstate_t" = xyes; then
16366 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16370 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16371 # ac_has_wchar_h.
16372 for ac_header in wctype.h
16373 do :
16374 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16375 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16376 cat >>confdefs.h <<_ACEOF
16377 #define HAVE_WCTYPE_H 1
16378 _ACEOF
16379 ac_has_wctype_h=yes
16380 else
16381 ac_has_wctype_h=no
16384 done
16387 if test x"$enable_wchar_t" = x"yes"; then
16390 ac_ext=cpp
16391 ac_cpp='$CXXCPP $CPPFLAGS'
16392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16397 if test x"$ac_has_wchar_h" = xyes &&
16398 test x"$ac_has_wctype_h" = xyes; then
16399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16400 /* end confdefs.h. */
16401 #include <wchar.h>
16402 #include <stddef.h>
16403 wint_t i;
16404 long l = WEOF;
16405 long j = WCHAR_MIN;
16406 long k = WCHAR_MAX;
16407 namespace test
16409 using ::btowc;
16410 using ::fgetwc;
16411 using ::fgetws;
16412 using ::fputwc;
16413 using ::fputws;
16414 using ::fwide;
16415 using ::fwprintf;
16416 using ::fwscanf;
16417 using ::getwc;
16418 using ::getwchar;
16419 using ::mbrlen;
16420 using ::mbrtowc;
16421 using ::mbsinit;
16422 using ::mbsrtowcs;
16423 using ::putwc;
16424 using ::putwchar;
16425 using ::swprintf;
16426 using ::swscanf;
16427 using ::ungetwc;
16428 using ::vfwprintf;
16429 using ::vswprintf;
16430 using ::vwprintf;
16431 using ::wcrtomb;
16432 using ::wcscat;
16433 using ::wcschr;
16434 using ::wcscmp;
16435 using ::wcscoll;
16436 using ::wcscpy;
16437 using ::wcscspn;
16438 using ::wcsftime;
16439 using ::wcslen;
16440 using ::wcsncat;
16441 using ::wcsncmp;
16442 using ::wcsncpy;
16443 using ::wcspbrk;
16444 using ::wcsrchr;
16445 using ::wcsrtombs;
16446 using ::wcsspn;
16447 using ::wcsstr;
16448 using ::wcstod;
16449 using ::wcstok;
16450 using ::wcstol;
16451 using ::wcstoul;
16452 using ::wcsxfrm;
16453 using ::wctob;
16454 using ::wmemchr;
16455 using ::wmemcmp;
16456 using ::wmemcpy;
16457 using ::wmemmove;
16458 using ::wmemset;
16459 using ::wprintf;
16460 using ::wscanf;
16464 main ()
16468 return 0;
16470 _ACEOF
16471 if ac_fn_cxx_try_compile "$LINENO"; then :
16473 else
16474 enable_wchar_t=no
16476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16477 else
16478 enable_wchar_t=no
16481 ac_ext=c
16482 ac_cpp='$CPP $CPPFLAGS'
16483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16489 if test x"$enable_wchar_t" = x"yes"; then
16491 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16496 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16498 $as_echo "$enable_wchar_t" >&6; }
16502 # Check whether --enable-c99 was given.
16503 if test "${enable_c99+set}" = set; then :
16504 enableval=$enable_c99;
16505 case "$enableval" in
16506 yes|no) ;;
16507 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16508 esac
16510 else
16511 enable_c99=yes
16516 if test x"$enable_c99" = x"yes"; then
16519 ac_ext=cpp
16520 ac_cpp='$CXXCPP $CPPFLAGS'
16521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16526 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16527 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16528 # spuriously enabled.
16529 # Long term, -std=c++0x could be even better, could manage to explicitely
16530 # request C99 facilities to the underlying C headers.
16531 ac_save_CXXFLAGS="$CXXFLAGS"
16532 CXXFLAGS="$CXXFLAGS -std=c++98"
16533 ac_save_LIBS="$LIBS"
16534 ac_save_gcc_no_link="$gcc_no_link"
16536 if test x$gcc_no_link != xyes; then
16537 # Use -fno-exceptions to that the C driver can link these tests without
16538 # hitting undefined references to personality routines.
16539 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16541 $as_echo_n "checking for sin in -lm... " >&6; }
16542 if test "${ac_cv_lib_m_sin+set}" = set; then :
16543 $as_echo_n "(cached) " >&6
16544 else
16545 ac_check_lib_save_LIBS=$LIBS
16546 LIBS="-lm $LIBS"
16547 if test x$gcc_no_link = xyes; then
16548 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16551 /* end confdefs.h. */
16553 /* Override any GCC internal prototype to avoid an error.
16554 Use char because int might match the return type of a GCC
16555 builtin and then its argument prototype would still apply. */
16556 #ifdef __cplusplus
16557 extern "C"
16558 #endif
16559 char sin ();
16561 main ()
16563 return sin ();
16565 return 0;
16567 _ACEOF
16568 if ac_fn_cxx_try_link "$LINENO"; then :
16569 ac_cv_lib_m_sin=yes
16570 else
16571 ac_cv_lib_m_sin=no
16573 rm -f core conftest.err conftest.$ac_objext \
16574 conftest$ac_exeext conftest.$ac_ext
16575 LIBS=$ac_check_lib_save_LIBS
16577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16578 $as_echo "$ac_cv_lib_m_sin" >&6; }
16579 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16581 LIBS="$LIBS -lm"
16583 else
16585 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16586 gcc_no_link=yes
16592 # Check for the existence of <math.h> functions used if C99 is enabled.
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16594 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16595 if test "${glibcxx_cv_c99_math+set}" = set; then :
16596 $as_echo_n "(cached) " >&6
16597 else
16599 if test x$gcc_no_link = xyes; then
16600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16601 /* end confdefs.h. */
16602 #include <math.h>
16603 volatile double d1, d2;
16604 volatile int i;
16606 main ()
16608 i = fpclassify(d1);
16609 i = isfinite(d1);
16610 i = isinf(d1);
16611 i = isnan(d1);
16612 i = isnormal(d1);
16613 i = signbit(d1);
16614 i = isgreater(d1, d2);
16615 i = isgreaterequal(d1, d2);
16616 i = isless(d1, d2);
16617 i = islessequal(d1, d2);
16618 i = islessgreater(d1, d2);
16619 i = islessgreater(d1, d2);
16620 i = isunordered(d1, d2);
16623 return 0;
16625 _ACEOF
16626 if ac_fn_cxx_try_compile "$LINENO"; then :
16627 glibcxx_cv_c99_math=yes
16628 else
16629 glibcxx_cv_c99_math=no
16631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16632 else
16633 if test x$gcc_no_link = xyes; then
16634 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16637 /* end confdefs.h. */
16638 #include <math.h>
16639 volatile double d1, d2;
16640 volatile int i;
16642 main ()
16644 i = fpclassify(d1);
16645 i = isfinite(d1);
16646 i = isinf(d1);
16647 i = isnan(d1);
16648 i = isnormal(d1);
16649 i = signbit(d1);
16650 i = isgreater(d1, d2);
16651 i = isgreaterequal(d1, d2);
16652 i = isless(d1, d2);
16653 i = islessequal(d1, d2);
16654 i = islessgreater(d1, d2);
16655 i = islessgreater(d1, d2);
16656 i = isunordered(d1, d2);
16659 return 0;
16661 _ACEOF
16662 if ac_fn_cxx_try_link "$LINENO"; then :
16663 glibcxx_cv_c99_math=yes
16664 else
16665 glibcxx_cv_c99_math=no
16667 rm -f core conftest.err conftest.$ac_objext \
16668 conftest$ac_exeext conftest.$ac_ext
16673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16674 $as_echo "$glibcxx_cv_c99_math" >&6; }
16675 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16677 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16681 # Check for the existence of <complex.h> complex math functions.
16682 # This is necessary even though libstdc++ uses the builtin versions
16683 # of these functions, because if the builtin cannot be used, a reference
16684 # to the library function is emitted.
16685 for ac_header in tgmath.h
16686 do :
16687 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16688 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16689 cat >>confdefs.h <<_ACEOF
16690 #define HAVE_TGMATH_H 1
16691 _ACEOF
16692 ac_has_tgmath_h=yes
16693 else
16694 ac_has_tgmath_h=no
16697 done
16699 for ac_header in complex.h
16700 do :
16701 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16702 if test "x$ac_cv_header_complex_h" = x""yes; then :
16703 cat >>confdefs.h <<_ACEOF
16704 #define HAVE_COMPLEX_H 1
16705 _ACEOF
16706 ac_has_complex_h=yes
16707 else
16708 ac_has_complex_h=no
16711 done
16713 glibcxx_cv_c99_complex=no;
16714 if test x"$ac_has_complex_h" = x"yes"; then
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16716 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16717 if test x$gcc_no_link = xyes; then
16718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16719 /* end confdefs.h. */
16720 #include <complex.h>
16721 typedef __complex__ float float_type;
16722 typedef __complex__ double double_type;
16723 typedef __complex__ long double ld_type;
16724 volatile float_type tmpf;
16725 volatile double_type tmpd;
16726 volatile ld_type tmpld;
16727 volatile float f;
16728 volatile double d;
16729 volatile long double ld;
16731 main ()
16733 f = cabsf(tmpf);
16734 f = cargf(tmpf);
16735 tmpf = ccosf(tmpf);
16736 tmpf = ccoshf(tmpf);
16737 tmpf = cexpf(tmpf);
16738 tmpf = clogf(tmpf);
16739 tmpf = csinf(tmpf);
16740 tmpf = csinhf(tmpf);
16741 tmpf = csqrtf(tmpf);
16742 tmpf = ctanf(tmpf);
16743 tmpf = ctanhf(tmpf);
16744 tmpf = cpowf(tmpf, tmpf);
16745 tmpf = cprojf(tmpf);
16746 d = cabs(tmpd);
16747 d = carg(tmpd);
16748 tmpd = ccos(tmpd);
16749 tmpd = ccosh(tmpd);
16750 tmpd = cexp(tmpd);
16751 tmpd = clog(tmpd);
16752 tmpd = csin(tmpd);
16753 tmpd = csinh(tmpd);
16754 tmpd = csqrt(tmpd);
16755 tmpd = ctan(tmpd);
16756 tmpd = ctanh(tmpd);
16757 tmpd = cpow(tmpd, tmpd);
16758 tmpd = cproj(tmpd);
16759 ld = cabsl(tmpld);
16760 ld = cargl(tmpld);
16761 tmpld = ccosl(tmpld);
16762 tmpld = ccoshl(tmpld);
16763 tmpld = cexpl(tmpld);
16764 tmpld = clogl(tmpld);
16765 tmpld = csinl(tmpld);
16766 tmpld = csinhl(tmpld);
16767 tmpld = csqrtl(tmpld);
16768 tmpld = ctanl(tmpld);
16769 tmpld = ctanhl(tmpld);
16770 tmpld = cpowl(tmpld, tmpld);
16771 tmpld = cprojl(tmpld);
16774 return 0;
16776 _ACEOF
16777 if ac_fn_cxx_try_compile "$LINENO"; then :
16778 glibcxx_cv_c99_complex=yes
16779 else
16780 glibcxx_cv_c99_complex=no
16782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16783 else
16784 if test x$gcc_no_link = xyes; then
16785 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16788 /* end confdefs.h. */
16789 #include <complex.h>
16790 typedef __complex__ float float_type;
16791 typedef __complex__ double double_type;
16792 typedef __complex__ long double ld_type;
16793 volatile float_type tmpf;
16794 volatile double_type tmpd;
16795 volatile ld_type tmpld;
16796 volatile float f;
16797 volatile double d;
16798 volatile long double ld;
16800 main ()
16802 f = cabsf(tmpf);
16803 f = cargf(tmpf);
16804 tmpf = ccosf(tmpf);
16805 tmpf = ccoshf(tmpf);
16806 tmpf = cexpf(tmpf);
16807 tmpf = clogf(tmpf);
16808 tmpf = csinf(tmpf);
16809 tmpf = csinhf(tmpf);
16810 tmpf = csqrtf(tmpf);
16811 tmpf = ctanf(tmpf);
16812 tmpf = ctanhf(tmpf);
16813 tmpf = cpowf(tmpf, tmpf);
16814 tmpf = cprojf(tmpf);
16815 d = cabs(tmpd);
16816 d = carg(tmpd);
16817 tmpd = ccos(tmpd);
16818 tmpd = ccosh(tmpd);
16819 tmpd = cexp(tmpd);
16820 tmpd = clog(tmpd);
16821 tmpd = csin(tmpd);
16822 tmpd = csinh(tmpd);
16823 tmpd = csqrt(tmpd);
16824 tmpd = ctan(tmpd);
16825 tmpd = ctanh(tmpd);
16826 tmpd = cpow(tmpd, tmpd);
16827 tmpd = cproj(tmpd);
16828 ld = cabsl(tmpld);
16829 ld = cargl(tmpld);
16830 tmpld = ccosl(tmpld);
16831 tmpld = ccoshl(tmpld);
16832 tmpld = cexpl(tmpld);
16833 tmpld = clogl(tmpld);
16834 tmpld = csinl(tmpld);
16835 tmpld = csinhl(tmpld);
16836 tmpld = csqrtl(tmpld);
16837 tmpld = ctanl(tmpld);
16838 tmpld = ctanhl(tmpld);
16839 tmpld = cpowl(tmpld, tmpld);
16840 tmpld = cprojl(tmpld);
16843 return 0;
16845 _ACEOF
16846 if ac_fn_cxx_try_link "$LINENO"; then :
16847 glibcxx_cv_c99_complex=yes
16848 else
16849 glibcxx_cv_c99_complex=no
16851 rm -f core conftest.err conftest.$ac_objext \
16852 conftest$ac_exeext conftest.$ac_ext
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16856 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16857 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16859 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16863 # Check for the existence in <stdio.h> of vscanf, et. al.
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16865 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16866 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16867 $as_echo_n "(cached) " >&6
16868 else
16870 if test x$gcc_no_link = xyes; then
16871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16872 /* end confdefs.h. */
16873 #include <stdio.h>
16874 #include <stdarg.h>
16875 void foo(char* fmt, ...)
16877 va_list args; va_start(args, fmt);
16878 vfscanf(stderr, "%i", args);
16879 vscanf("%i", args);
16880 vsnprintf(fmt, 0, "%i", args);
16881 vsscanf(fmt, "%i", args);
16884 main ()
16886 snprintf("12", 0, "%i");
16888 return 0;
16890 _ACEOF
16891 if ac_fn_cxx_try_compile "$LINENO"; then :
16892 glibcxx_cv_c99_stdio=yes
16893 else
16894 glibcxx_cv_c99_stdio=no
16896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16897 else
16898 if test x$gcc_no_link = xyes; then
16899 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16902 /* end confdefs.h. */
16903 #include <stdio.h>
16904 #include <stdarg.h>
16905 void foo(char* fmt, ...)
16907 va_list args; va_start(args, fmt);
16908 vfscanf(stderr, "%i", args);
16909 vscanf("%i", args);
16910 vsnprintf(fmt, 0, "%i", args);
16911 vsscanf(fmt, "%i", args);
16914 main ()
16916 snprintf("12", 0, "%i");
16918 return 0;
16920 _ACEOF
16921 if ac_fn_cxx_try_link "$LINENO"; then :
16922 glibcxx_cv_c99_stdio=yes
16923 else
16924 glibcxx_cv_c99_stdio=no
16926 rm -f core conftest.err conftest.$ac_objext \
16927 conftest$ac_exeext conftest.$ac_ext
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16933 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16935 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16937 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16938 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16939 $as_echo_n "(cached) " >&6
16940 else
16942 if test x$gcc_no_link = xyes; then
16943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16944 /* end confdefs.h. */
16945 #include <stdlib.h>
16946 volatile float f;
16947 volatile long double ld;
16948 volatile unsigned long long ll;
16949 lldiv_t mydivt;
16951 main ()
16953 char* tmp;
16954 f = strtof("gnu", &tmp);
16955 ld = strtold("gnu", &tmp);
16956 ll = strtoll("gnu", &tmp, 10);
16957 ll = strtoull("gnu", &tmp, 10);
16958 ll = llabs(10);
16959 mydivt = lldiv(10,1);
16960 ll = mydivt.quot;
16961 ll = mydivt.rem;
16962 ll = atoll("10");
16963 _Exit(0);
16966 return 0;
16968 _ACEOF
16969 if ac_fn_cxx_try_compile "$LINENO"; then :
16970 glibcxx_cv_c99_stdlib=yes
16971 else
16972 glibcxx_cv_c99_stdlib=no
16974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16975 else
16976 if test x$gcc_no_link = xyes; then
16977 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16980 /* end confdefs.h. */
16981 #include <stdlib.h>
16982 volatile float f;
16983 volatile long double ld;
16984 volatile unsigned long long ll;
16985 lldiv_t mydivt;
16987 main ()
16989 char* tmp;
16990 f = strtof("gnu", &tmp);
16991 ld = strtold("gnu", &tmp);
16992 ll = strtoll("gnu", &tmp, 10);
16993 ll = strtoull("gnu", &tmp, 10);
16994 ll = llabs(10);
16995 mydivt = lldiv(10,1);
16996 ll = mydivt.quot;
16997 ll = mydivt.rem;
16998 ll = atoll("10");
16999 _Exit(0);
17002 return 0;
17004 _ACEOF
17005 if ac_fn_cxx_try_link "$LINENO"; then :
17006 glibcxx_cv_c99_stdlib=yes
17007 else
17008 glibcxx_cv_c99_stdlib=no
17010 rm -f core conftest.err conftest.$ac_objext \
17011 conftest$ac_exeext conftest.$ac_ext
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17017 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17019 # Check for the existence in <wchar.h> of wcstold, etc.
17020 glibcxx_cv_c99_wchar=no;
17021 if test x"$ac_has_wchar_h" = xyes &&
17022 test x"$ac_has_wctype_h" = xyes; then
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17024 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h. */
17027 #include <wchar.h>
17028 namespace test
17030 using ::wcstold;
17031 using ::wcstoll;
17032 using ::wcstoull;
17036 main ()
17040 return 0;
17042 _ACEOF
17043 if ac_fn_cxx_try_compile "$LINENO"; then :
17044 glibcxx_cv_c99_wchar=yes
17045 else
17046 glibcxx_cv_c99_wchar=no
17048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17050 # Checks for wide character functions that may not be present.
17051 # Injection of these is wrapped with guard macros.
17052 # NB: only put functions here, instead of immediately above, if
17053 # absolutely necessary.
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17056 #include <wchar.h>
17057 namespace test { using ::vfwscanf; }
17059 main ()
17063 return 0;
17065 _ACEOF
17066 if ac_fn_cxx_try_compile "$LINENO"; then :
17068 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17074 /* end confdefs.h. */
17075 #include <wchar.h>
17076 namespace test { using ::vswscanf; }
17078 main ()
17082 return 0;
17084 _ACEOF
17085 if ac_fn_cxx_try_compile "$LINENO"; then :
17087 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17093 /* end confdefs.h. */
17094 #include <wchar.h>
17095 namespace test { using ::vwscanf; }
17097 main ()
17101 return 0;
17103 _ACEOF
17104 if ac_fn_cxx_try_compile "$LINENO"; then :
17106 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h. */
17113 #include <wchar.h>
17114 namespace test { using ::wcstof; }
17116 main ()
17120 return 0;
17122 _ACEOF
17123 if ac_fn_cxx_try_compile "$LINENO"; then :
17125 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17131 /* end confdefs.h. */
17132 #include <wctype.h>
17134 main ()
17136 wint_t t; int i = iswblank(t);
17138 return 0;
17140 _ACEOF
17141 if ac_fn_cxx_try_compile "$LINENO"; then :
17143 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17149 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17152 # Option parsed, now set things appropriately.
17153 if test x"$glibcxx_cv_c99_math" = x"no" ||
17154 test x"$glibcxx_cv_c99_complex" = x"no" ||
17155 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17156 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17157 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17158 enable_c99=no;
17159 else
17161 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17165 gcc_no_link="$ac_save_gcc_no_link"
17166 LIBS="$ac_save_LIBS"
17167 CXXFLAGS="$ac_save_CXXFLAGS"
17168 ac_ext=c
17169 ac_cpp='$CPP $CPPFLAGS'
17170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17177 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17179 $as_echo "$enable_c99" >&6; }
17182 # Check whether --enable-concept-checks was given.
17183 if test "${enable_concept_checks+set}" = set; then :
17184 enableval=$enable_concept_checks;
17185 case "$enableval" in
17186 yes|no) ;;
17187 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17188 esac
17190 else
17191 enable_concept_checks=no
17195 if test $enable_concept_checks = yes; then
17197 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17202 # Check whether --enable-libstdcxx-debug-flags was given.
17203 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17204 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17205 xno | x) enable_libstdcxx_debug_flags= ;;
17206 x-*) ;;
17207 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17208 esac
17209 else
17210 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17215 # Option parsed, now set things appropriately
17216 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17220 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17224 $as_echo_n "checking for additional debug build... " >&6; }
17225 # Check whether --enable-libstdcxx-debug was given.
17226 if test "${enable_libstdcxx_debug+set}" = set; then :
17227 enableval=$enable_libstdcxx_debug;
17228 case "$enableval" in
17229 yes|no) ;;
17230 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17231 esac
17233 else
17234 enable_libstdcxx_debug=no
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17239 $as_echo "$enable_libstdcxx_debug" >&6; }
17244 enable_parallel=no;
17246 # See if configured libgomp/omp.h exists. (libgomp may be in
17247 # noconfigdirs but not explicitly disabled.)
17248 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17249 enable_parallel=yes;
17250 else
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17252 $as_echo "$as_me: target-libgomp not built" >&6;}
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17256 $as_echo_n "checking for parallel mode support... " >&6; }
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17258 $as_echo "$enable_parallel" >&6; }
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17261 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17262 # Check whether --enable-cxx-flags was given.
17263 if test "${enable_cxx_flags+set}" = set; then :
17264 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17265 xno | x) enable_cxx_flags= ;;
17266 x-*) ;;
17267 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17268 esac
17269 else
17270 enable_cxx_flags=
17275 # Run through flags (either default or command-line) and set anything
17276 # extra (e.g., #defines) that must accompany particular g++ options.
17277 if test -n "$enable_cxx_flags"; then
17278 for f in $enable_cxx_flags; do
17279 case "$f" in
17280 -fhonor-std) ;;
17281 -*) ;;
17282 *) # and we're trying to pass /what/ exactly?
17283 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17284 esac
17285 done
17288 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17290 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17294 # Check whether --enable-fully-dynamic-string was given.
17295 if test "${enable_fully_dynamic_string+set}" = set; then :
17296 enableval=$enable_fully_dynamic_string;
17297 case "$enableval" in
17298 yes|no) ;;
17299 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17300 esac
17302 else
17303 enable_fully_dynamic_string=no
17307 if test $enable_fully_dynamic_string = yes; then
17308 enable_fully_dynamic_string_def=1
17309 else
17310 enable_fully_dynamic_string_def=0
17313 cat >>confdefs.h <<_ACEOF
17314 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17315 _ACEOF
17320 # Check whether --enable-extern-template was given.
17321 if test "${enable_extern_template+set}" = set; then :
17322 enableval=$enable_extern_template;
17323 case "$enableval" in
17324 yes|no) ;;
17325 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17326 esac
17328 else
17329 enable_extern_template=yes
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17335 $as_echo_n "checking for extern template support... " >&6; }
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17337 $as_echo "$enable_extern_template" >&6; }
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17344 $as_echo_n "checking for custom python install directory... " >&6; }
17346 # Check whether --with-python-dir was given.
17347 if test "${with_python_dir+set}" = set; then :
17348 withval=$with_python_dir; with_python_dir=$withval
17349 else
17350 with_python_dir="no"
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17354 $as_echo "${with_python_dir}" >&6; }
17356 # Needed for installing Python modules during make install.
17357 python_mod_dir="${with_python_dir}"
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17363 $as_echo_n "checking for -Werror... " >&6; }
17364 # Check whether --enable-werror was given.
17365 if test "${enable_werror+set}" = set; then :
17366 enableval=$enable_werror;
17367 case "$enableval" in
17368 yes|no) ;;
17369 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17370 esac
17372 else
17373 enable_werror=yes
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17378 $as_echo "$enable_werror" >&6; }
17382 # Checks for operating systems support that doesn't require linking.
17386 ac_ext=cpp
17387 ac_cpp='$CXXCPP $CPPFLAGS'
17388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17394 $as_echo_n "checking for gets declaration... " >&6; }
17395 if test "${glibcxx_cv_gets+set}" = set; then :
17396 $as_echo_n "(cached) " >&6
17397 else
17399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17400 /* end confdefs.h. */
17401 #include <stdio.h>
17402 namespace test
17404 using ::gets;
17407 _ACEOF
17408 if ac_fn_cxx_try_compile "$LINENO"; then :
17409 glibcxx_cv_gets=yes
17410 else
17411 glibcxx_cv_gets=no
17414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17418 if test $glibcxx_cv_gets = yes; then
17420 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17424 $as_echo "$glibcxx_cv_gets" >&6; }
17426 ac_ext=c
17427 ac_cpp='$CPP $CPPFLAGS'
17428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17436 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17437 if test "${glibcxx_cv_system_error1+set}" = set; then :
17438 $as_echo_n "(cached) " >&6
17439 else
17441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17442 /* end confdefs.h. */
17443 #include <errno.h>
17445 main ()
17447 int i = EOWNERDEAD;
17449 return 0;
17451 _ACEOF
17452 if ac_fn_c_try_compile "$LINENO"; then :
17453 glibcxx_cv_system_error1=yes
17454 else
17455 glibcxx_cv_system_error1=no
17457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17462 $as_echo "$glibcxx_cv_system_error1" >&6; }
17463 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17465 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17469 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17470 if test "${glibcxx_cv_system_error2+set}" = set; then :
17471 $as_echo_n "(cached) " >&6
17472 else
17474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17475 /* end confdefs.h. */
17476 #include <errno.h>
17478 main ()
17480 int i = ENOTRECOVERABLE;
17482 return 0;
17484 _ACEOF
17485 if ac_fn_c_try_compile "$LINENO"; then :
17486 glibcxx_cv_system_error2=yes
17487 else
17488 glibcxx_cv_system_error2=no
17490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17495 $as_echo "$glibcxx_cv_system_error2" >&6; }
17496 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17498 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17502 $as_echo_n "checking for ENOLINK... " >&6; }
17503 if test "${glibcxx_cv_system_error3+set}" = set; then :
17504 $as_echo_n "(cached) " >&6
17505 else
17507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17508 /* end confdefs.h. */
17509 #include <errno.h>
17511 main ()
17513 int i = ENOLINK;
17515 return 0;
17517 _ACEOF
17518 if ac_fn_c_try_compile "$LINENO"; then :
17519 glibcxx_cv_system_error3=yes
17520 else
17521 glibcxx_cv_system_error3=no
17523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17528 $as_echo "$glibcxx_cv_system_error3" >&6; }
17529 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17531 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17535 $as_echo_n "checking for EPROTO... " >&6; }
17536 if test "${glibcxx_cv_system_error4+set}" = set; then :
17537 $as_echo_n "(cached) " >&6
17538 else
17540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17541 /* end confdefs.h. */
17542 #include <errno.h>
17544 main ()
17546 int i = EPROTO;
17548 return 0;
17550 _ACEOF
17551 if ac_fn_c_try_compile "$LINENO"; then :
17552 glibcxx_cv_system_error4=yes
17553 else
17554 glibcxx_cv_system_error4=no
17556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17561 $as_echo "$glibcxx_cv_system_error4" >&6; }
17562 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17564 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17568 $as_echo_n "checking for ENODATA... " >&6; }
17569 if test "${glibcxx_cv_system_error5+set}" = set; then :
17570 $as_echo_n "(cached) " >&6
17571 else
17573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17574 /* end confdefs.h. */
17575 #include <errno.h>
17577 main ()
17579 int i = ENODATA;
17581 return 0;
17583 _ACEOF
17584 if ac_fn_c_try_compile "$LINENO"; then :
17585 glibcxx_cv_system_error5=yes
17586 else
17587 glibcxx_cv_system_error5=no
17589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17594 $as_echo "$glibcxx_cv_system_error5" >&6; }
17595 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17597 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17601 $as_echo_n "checking for ENOSR... " >&6; }
17602 if test "${glibcxx_cv_system_error6+set}" = set; then :
17603 $as_echo_n "(cached) " >&6
17604 else
17606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17607 /* end confdefs.h. */
17608 #include <errno.h>
17610 main ()
17612 int i = ENOSR;
17614 return 0;
17616 _ACEOF
17617 if ac_fn_c_try_compile "$LINENO"; then :
17618 glibcxx_cv_system_error6=yes
17619 else
17620 glibcxx_cv_system_error6=no
17622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17627 $as_echo "$glibcxx_cv_system_error6" >&6; }
17628 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17630 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17634 $as_echo_n "checking for ENOSTR... " >&6; }
17635 if test "${glibcxx_cv_system_error7+set}" = set; then :
17636 $as_echo_n "(cached) " >&6
17637 else
17639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17640 /* end confdefs.h. */
17641 #include <errno.h>
17643 main ()
17645 int i = ENOSTR;
17647 return 0;
17649 _ACEOF
17650 if ac_fn_c_try_compile "$LINENO"; then :
17651 glibcxx_cv_system_error7=yes
17652 else
17653 glibcxx_cv_system_error7=no
17655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17660 $as_echo "$glibcxx_cv_system_error7" >&6; }
17661 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17663 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17667 $as_echo_n "checking for ETIME... " >&6; }
17668 if test "${glibcxx_cv_system_error8+set}" = set; then :
17669 $as_echo_n "(cached) " >&6
17670 else
17672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17673 /* end confdefs.h. */
17674 #include <errno.h>
17676 main ()
17678 int i = ETIME;
17680 return 0;
17682 _ACEOF
17683 if ac_fn_c_try_compile "$LINENO"; then :
17684 glibcxx_cv_system_error8=yes
17685 else
17686 glibcxx_cv_system_error8=no
17688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17693 $as_echo "$glibcxx_cv_system_error8" >&6; }
17694 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17696 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17700 $as_echo_n "checking for EBADMSG... " >&6; }
17701 if test "${glibcxx_cv_system_error9+set}" = set; then :
17702 $as_echo_n "(cached) " >&6
17703 else
17705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17706 /* end confdefs.h. */
17707 #include <errno.h>
17709 main ()
17711 int i = EBADMSG;
17713 return 0;
17715 _ACEOF
17716 if ac_fn_c_try_compile "$LINENO"; then :
17717 glibcxx_cv_system_error9=yes
17718 else
17719 glibcxx_cv_system_error9=no
17721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17726 $as_echo "$glibcxx_cv_system_error9" >&6; }
17727 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17729 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17733 $as_echo_n "checking for ECANCELED... " >&6; }
17734 if test "${glibcxx_cv_system_error10+set}" = set; then :
17735 $as_echo_n "(cached) " >&6
17736 else
17738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17739 /* end confdefs.h. */
17740 #include <errno.h>
17742 main ()
17744 int i = ECANCELED;
17746 return 0;
17748 _ACEOF
17749 if ac_fn_c_try_compile "$LINENO"; then :
17750 glibcxx_cv_system_error10=yes
17751 else
17752 glibcxx_cv_system_error10=no
17754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17759 $as_echo "$glibcxx_cv_system_error10" >&6; }
17760 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17762 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17766 $as_echo_n "checking for EOVERFLOW... " >&6; }
17767 if test "${glibcxx_cv_system_error11+set}" = set; then :
17768 $as_echo_n "(cached) " >&6
17769 else
17771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17772 /* end confdefs.h. */
17773 #include <errno.h>
17775 main ()
17777 int i = EOVERFLOW;
17779 return 0;
17781 _ACEOF
17782 if ac_fn_c_try_compile "$LINENO"; then :
17783 glibcxx_cv_system_error11=yes
17784 else
17785 glibcxx_cv_system_error11=no
17787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17792 $as_echo "$glibcxx_cv_system_error11" >&6; }
17793 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17795 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17799 $as_echo_n "checking for ENOTSUP... " >&6; }
17800 if test "${glibcxx_cv_system_error12+set}" = set; then :
17801 $as_echo_n "(cached) " >&6
17802 else
17804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17805 /* end confdefs.h. */
17806 #include <errno.h>
17808 main ()
17810 int i = ENOTSUP;
17812 return 0;
17814 _ACEOF
17815 if ac_fn_c_try_compile "$LINENO"; then :
17816 glibcxx_cv_system_error12=yes
17817 else
17818 glibcxx_cv_system_error12=no
17820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17825 $as_echo "$glibcxx_cv_system_error12" >&6; }
17826 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17828 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17832 $as_echo_n "checking for EIDRM... " >&6; }
17833 if test "${glibcxx_cv_system_error13+set}" = set; then :
17834 $as_echo_n "(cached) " >&6
17835 else
17837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17838 /* end confdefs.h. */
17839 #include <errno.h>
17841 main ()
17843 int i = EIDRM;
17845 return 0;
17847 _ACEOF
17848 if ac_fn_c_try_compile "$LINENO"; then :
17849 glibcxx_cv_system_error13=yes
17850 else
17851 glibcxx_cv_system_error13=no
17853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17858 $as_echo "$glibcxx_cv_system_error13" >&6; }
17859 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17861 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17865 $as_echo_n "checking for ETXTBSY... " >&6; }
17866 if test "${glibcxx_cv_system_error14+set}" = set; then :
17867 $as_echo_n "(cached) " >&6
17868 else
17870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17871 /* end confdefs.h. */
17872 #include <errno.h>
17874 main ()
17876 int i = ETXTBSY;
17878 return 0;
17880 _ACEOF
17881 if ac_fn_c_try_compile "$LINENO"; then :
17882 glibcxx_cv_system_error14=yes
17883 else
17884 glibcxx_cv_system_error14=no
17886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17891 $as_echo "$glibcxx_cv_system_error14" >&6; }
17892 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17894 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17898 $as_echo_n "checking for ECHILD... " >&6; }
17899 if test "${glibcxx_cv_system_error15+set}" = set; then :
17900 $as_echo_n "(cached) " >&6
17901 else
17903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17904 /* end confdefs.h. */
17905 #include <errno.h>
17907 main ()
17909 int i = ECHILD;
17911 return 0;
17913 _ACEOF
17914 if ac_fn_c_try_compile "$LINENO"; then :
17915 glibcxx_cv_system_error15=yes
17916 else
17917 glibcxx_cv_system_error15=no
17919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17924 $as_echo "$glibcxx_cv_system_error15" >&6; }
17925 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17927 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17931 $as_echo_n "checking for ENOSPC... " >&6; }
17932 if test "${glibcxx_cv_system_error16+set}" = set; then :
17933 $as_echo_n "(cached) " >&6
17934 else
17936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17937 /* end confdefs.h. */
17938 #include <errno.h>
17940 main ()
17942 int i = ENOSPC;
17944 return 0;
17946 _ACEOF
17947 if ac_fn_c_try_compile "$LINENO"; then :
17948 glibcxx_cv_system_error16=yes
17949 else
17950 glibcxx_cv_system_error16=no
17952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17957 $as_echo "$glibcxx_cv_system_error16" >&6; }
17958 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17960 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17964 $as_echo_n "checking for EPERM... " >&6; }
17965 if test "${glibcxx_cv_system_error17+set}" = set; then :
17966 $as_echo_n "(cached) " >&6
17967 else
17969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17970 /* end confdefs.h. */
17971 #include <errno.h>
17973 main ()
17975 int i = EPERM;
17977 return 0;
17979 _ACEOF
17980 if ac_fn_c_try_compile "$LINENO"; then :
17981 glibcxx_cv_system_error17=yes
17982 else
17983 glibcxx_cv_system_error17=no
17985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17990 $as_echo "$glibcxx_cv_system_error17" >&6; }
17991 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17993 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17997 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17998 if test "${glibcxx_cv_system_error18+set}" = set; then :
17999 $as_echo_n "(cached) " >&6
18000 else
18002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18003 /* end confdefs.h. */
18004 #include <errno.h>
18006 main ()
18008 int i = ETIMEDOUT;
18010 return 0;
18012 _ACEOF
18013 if ac_fn_c_try_compile "$LINENO"; then :
18014 glibcxx_cv_system_error18=yes
18015 else
18016 glibcxx_cv_system_error18=no
18018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18023 $as_echo "$glibcxx_cv_system_error18" >&6; }
18024 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18026 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18030 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18031 if test "${glibcxx_cv_system_error19+set}" = set; then :
18032 $as_echo_n "(cached) " >&6
18033 else
18035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18036 /* end confdefs.h. */
18037 #include <errno.h>
18039 main ()
18041 int i = EWOULDBLOCK;
18043 return 0;
18045 _ACEOF
18046 if ac_fn_c_try_compile "$LINENO"; then :
18047 glibcxx_cv_system_error19=yes
18048 else
18049 glibcxx_cv_system_error19=no
18051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18056 $as_echo "$glibcxx_cv_system_error19" >&6; }
18057 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18059 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18065 # For the streamoff typedef.
18069 ac_ext=cpp
18070 ac_cpp='$CXXCPP $CPPFLAGS'
18071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18077 $as_echo_n "checking for int64_t... " >&6; }
18078 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18079 $as_echo_n "(cached) " >&6
18080 else
18082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18083 /* end confdefs.h. */
18084 #include <stdint.h>
18086 main ()
18088 int64_t var;
18090 return 0;
18092 _ACEOF
18093 if ac_fn_cxx_try_compile "$LINENO"; then :
18094 glibcxx_cv_INT64_T=yes
18095 else
18096 glibcxx_cv_INT64_T=no
18098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18103 if test $glibcxx_cv_INT64_T = yes; then
18105 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18108 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18111 $as_echo_n "checking for int64_t as long... " >&6; }
18112 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18113 $as_echo_n "(cached) " >&6
18114 else
18116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18117 /* end confdefs.h. */
18118 #include <stdint.h>
18119 template<typename, typename> struct same { enum { value = -1 }; };
18120 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18121 int array[same<int64_t, long>::value];
18123 main ()
18127 return 0;
18129 _ACEOF
18130 if ac_fn_cxx_try_compile "$LINENO"; then :
18131 glibcxx_cv_int64_t_long=yes
18132 else
18133 glibcxx_cv_int64_t_long=no
18135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18140 if test $glibcxx_cv_int64_t_long = yes; then
18142 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18145 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18149 $as_echo_n "checking for int64_t as long long... " >&6; }
18150 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18151 $as_echo_n "(cached) " >&6
18152 else
18154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18155 /* end confdefs.h. */
18156 #include <stdint.h>
18157 template<typename, typename> struct same { enum { value = -1 }; };
18158 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18159 int array[same<int64_t, long long>::value];
18161 main ()
18165 return 0;
18167 _ACEOF
18168 if ac_fn_cxx_try_compile "$LINENO"; then :
18169 glibcxx_cv_int64_t_long_long=yes
18170 else
18171 glibcxx_cv_int64_t_long_long=no
18173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18178 if test $glibcxx_cv_int64_t_long_long = yes; then
18180 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18183 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18187 ac_ext=c
18188 ac_cpp='$CPP $CPPFLAGS'
18189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18195 # For LFS support.
18198 ac_ext=cpp
18199 ac_cpp='$CXXCPP $CPPFLAGS'
18200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18204 ac_save_CXXFLAGS="$CXXFLAGS"
18205 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18207 $as_echo_n "checking for LFS support... " >&6; }
18208 if test "${glibcxx_cv_LFS+set}" = set; then :
18209 $as_echo_n "(cached) " >&6
18210 else
18212 if test x$gcc_no_link = xyes; then
18213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18214 /* end confdefs.h. */
18215 #include <unistd.h>
18216 #include <stdio.h>
18217 #include <sys/stat.h>
18220 main ()
18222 FILE* fp;
18223 fopen64("t", "w");
18224 fseeko64(fp, 0, SEEK_CUR);
18225 ftello64(fp);
18226 lseek64(1, 0, SEEK_CUR);
18227 struct stat64 buf;
18228 fstat64(1, &buf);
18230 return 0;
18232 _ACEOF
18233 if ac_fn_cxx_try_compile "$LINENO"; then :
18234 glibcxx_cv_LFS=yes
18235 else
18236 glibcxx_cv_LFS=no
18238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18239 else
18240 if test x$gcc_no_link = xyes; then
18241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18244 /* end confdefs.h. */
18245 #include <unistd.h>
18246 #include <stdio.h>
18247 #include <sys/stat.h>
18250 main ()
18252 FILE* fp;
18253 fopen64("t", "w");
18254 fseeko64(fp, 0, SEEK_CUR);
18255 ftello64(fp);
18256 lseek64(1, 0, SEEK_CUR);
18257 struct stat64 buf;
18258 fstat64(1, &buf);
18260 return 0;
18262 _ACEOF
18263 if ac_fn_cxx_try_link "$LINENO"; then :
18264 glibcxx_cv_LFS=yes
18265 else
18266 glibcxx_cv_LFS=no
18268 rm -f core conftest.err conftest.$ac_objext \
18269 conftest$ac_exeext conftest.$ac_ext
18274 if test $glibcxx_cv_LFS = yes; then
18276 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18280 $as_echo "$glibcxx_cv_LFS" >&6; }
18281 CXXFLAGS="$ac_save_CXXFLAGS"
18282 ac_ext=c
18283 ac_cpp='$CPP $CPPFLAGS'
18284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18290 # For showmanyc_helper().
18291 for ac_header in sys/ioctl.h sys/filio.h
18292 do :
18293 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18294 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18295 eval as_val=\$$as_ac_Header
18296 if test "x$as_val" = x""yes; then :
18297 cat >>confdefs.h <<_ACEOF
18298 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18299 _ACEOF
18303 done
18308 ac_ext=cpp
18309 ac_cpp='$CXXCPP $CPPFLAGS'
18310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18314 ac_save_CXXFLAGS="$CXXFLAGS"
18315 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18318 $as_echo_n "checking for poll... " >&6; }
18319 if test "${glibcxx_cv_POLL+set}" = set; then :
18320 $as_echo_n "(cached) " >&6
18321 else
18323 if test x$gcc_no_link = xyes; then
18324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18325 /* end confdefs.h. */
18326 #include <poll.h>
18328 main ()
18330 struct pollfd pfd[1];
18331 pfd[0].events = POLLIN;
18332 poll(pfd, 1, 0);
18334 return 0;
18336 _ACEOF
18337 if ac_fn_cxx_try_compile "$LINENO"; then :
18338 glibcxx_cv_POLL=yes
18339 else
18340 glibcxx_cv_POLL=no
18342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18343 else
18344 if test x$gcc_no_link = xyes; then
18345 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18348 /* end confdefs.h. */
18349 #include <poll.h>
18351 main ()
18353 struct pollfd pfd[1];
18354 pfd[0].events = POLLIN;
18355 poll(pfd, 1, 0);
18357 return 0;
18359 _ACEOF
18360 if ac_fn_cxx_try_link "$LINENO"; then :
18361 glibcxx_cv_POLL=yes
18362 else
18363 glibcxx_cv_POLL=no
18365 rm -f core conftest.err conftest.$ac_objext \
18366 conftest$ac_exeext conftest.$ac_ext
18371 if test $glibcxx_cv_POLL = yes; then
18373 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18377 $as_echo "$glibcxx_cv_POLL" >&6; }
18379 CXXFLAGS="$ac_save_CXXFLAGS"
18380 ac_ext=c
18381 ac_cpp='$CPP $CPPFLAGS'
18382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18390 ac_ext=cpp
18391 ac_cpp='$CXXCPP $CPPFLAGS'
18392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18396 ac_save_CXXFLAGS="$CXXFLAGS"
18397 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18400 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18401 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18402 $as_echo_n "(cached) " >&6
18403 else
18405 if test x$gcc_no_link = xyes; then
18406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18407 /* end confdefs.h. */
18408 #include <sys/stat.h>
18410 main ()
18412 struct stat buffer;
18413 fstat(0, &buffer);
18414 S_ISREG(buffer.st_mode);
18416 return 0;
18418 _ACEOF
18419 if ac_fn_cxx_try_compile "$LINENO"; then :
18420 glibcxx_cv_S_ISREG=yes
18421 else
18422 glibcxx_cv_S_ISREG=no
18424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18425 else
18426 if test x$gcc_no_link = xyes; then
18427 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18430 /* end confdefs.h. */
18431 #include <sys/stat.h>
18433 main ()
18435 struct stat buffer;
18436 fstat(0, &buffer);
18437 S_ISREG(buffer.st_mode);
18439 return 0;
18441 _ACEOF
18442 if ac_fn_cxx_try_link "$LINENO"; then :
18443 glibcxx_cv_S_ISREG=yes
18444 else
18445 glibcxx_cv_S_ISREG=no
18447 rm -f core conftest.err conftest.$ac_objext \
18448 conftest$ac_exeext conftest.$ac_ext
18453 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18454 $as_echo_n "(cached) " >&6
18455 else
18457 if test x$gcc_no_link = xyes; then
18458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18459 /* end confdefs.h. */
18460 #include <sys/stat.h>
18462 main ()
18464 struct stat buffer;
18465 fstat(0, &buffer);
18466 S_IFREG & buffer.st_mode;
18468 return 0;
18470 _ACEOF
18471 if ac_fn_cxx_try_compile "$LINENO"; then :
18472 glibcxx_cv_S_IFREG=yes
18473 else
18474 glibcxx_cv_S_IFREG=no
18476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18477 else
18478 if test x$gcc_no_link = xyes; then
18479 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18482 /* end confdefs.h. */
18483 #include <sys/stat.h>
18485 main ()
18487 struct stat buffer;
18488 fstat(0, &buffer);
18489 S_IFREG & buffer.st_mode;
18491 return 0;
18493 _ACEOF
18494 if ac_fn_cxx_try_link "$LINENO"; then :
18495 glibcxx_cv_S_IFREG=yes
18496 else
18497 glibcxx_cv_S_IFREG=no
18499 rm -f core conftest.err conftest.$ac_objext \
18500 conftest$ac_exeext conftest.$ac_ext
18505 res=no
18506 if test $glibcxx_cv_S_ISREG = yes; then
18508 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18510 res=S_ISREG
18511 elif test $glibcxx_cv_S_IFREG = yes; then
18513 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18515 res=S_IFREG
18517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18518 $as_echo "$res" >&6; }
18520 CXXFLAGS="$ac_save_CXXFLAGS"
18521 ac_ext=c
18522 ac_cpp='$CPP $CPPFLAGS'
18523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18529 # For xsputn_2().
18530 for ac_header in sys/uio.h
18531 do :
18532 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18533 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18534 cat >>confdefs.h <<_ACEOF
18535 #define HAVE_SYS_UIO_H 1
18536 _ACEOF
18540 done
18545 ac_ext=cpp
18546 ac_cpp='$CXXCPP $CPPFLAGS'
18547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18551 ac_save_CXXFLAGS="$CXXFLAGS"
18552 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18555 $as_echo_n "checking for writev... " >&6; }
18556 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18557 $as_echo_n "(cached) " >&6
18558 else
18560 if test x$gcc_no_link = xyes; then
18561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18562 /* end confdefs.h. */
18563 #include <sys/uio.h>
18565 main ()
18567 struct iovec iov[2];
18568 writev(0, iov, 0);
18570 return 0;
18572 _ACEOF
18573 if ac_fn_cxx_try_compile "$LINENO"; then :
18574 glibcxx_cv_WRITEV=yes
18575 else
18576 glibcxx_cv_WRITEV=no
18578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18579 else
18580 if test x$gcc_no_link = xyes; then
18581 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18584 /* end confdefs.h. */
18585 #include <sys/uio.h>
18587 main ()
18589 struct iovec iov[2];
18590 writev(0, iov, 0);
18592 return 0;
18594 _ACEOF
18595 if ac_fn_cxx_try_link "$LINENO"; then :
18596 glibcxx_cv_WRITEV=yes
18597 else
18598 glibcxx_cv_WRITEV=no
18600 rm -f core conftest.err conftest.$ac_objext \
18601 conftest$ac_exeext conftest.$ac_ext
18606 if test $glibcxx_cv_WRITEV = yes; then
18608 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18612 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18614 CXXFLAGS="$ac_save_CXXFLAGS"
18615 ac_ext=c
18616 ac_cpp='$CPP $CPPFLAGS'
18617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18623 # For C99 support to TR1.
18627 ac_ext=cpp
18628 ac_cpp='$CXXCPP $CPPFLAGS'
18629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18634 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18635 # undefined and fake C99 facilities may be spuriously enabled.
18636 ac_save_CXXFLAGS="$CXXFLAGS"
18637 CXXFLAGS="$CXXFLAGS -std=c++98"
18639 # Check for the existence of <complex.h> complex math functions used
18640 # by tr1/complex.
18641 for ac_header in complex.h
18642 do :
18643 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18644 if test "x$ac_cv_header_complex_h" = x""yes; then :
18645 cat >>confdefs.h <<_ACEOF
18646 #define HAVE_COMPLEX_H 1
18647 _ACEOF
18648 ac_has_complex_h=yes
18649 else
18650 ac_has_complex_h=no
18653 done
18655 ac_c99_complex_tr1=no;
18656 if test x"$ac_has_complex_h" = x"yes"; then
18657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18658 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18660 /* end confdefs.h. */
18661 #include <complex.h>
18663 main ()
18665 typedef __complex__ float float_type; float_type tmpf;
18666 cacosf(tmpf);
18667 casinf(tmpf);
18668 catanf(tmpf);
18669 cacoshf(tmpf);
18670 casinhf(tmpf);
18671 catanhf(tmpf);
18672 typedef __complex__ double double_type; double_type tmpd;
18673 cacos(tmpd);
18674 casin(tmpd);
18675 catan(tmpd);
18676 cacosh(tmpd);
18677 casinh(tmpd);
18678 catanh(tmpd);
18679 typedef __complex__ long double ld_type; ld_type tmpld;
18680 cacosl(tmpld);
18681 casinl(tmpld);
18682 catanl(tmpld);
18683 cacoshl(tmpld);
18684 casinhl(tmpld);
18685 catanhl(tmpld);
18688 return 0;
18690 _ACEOF
18691 if ac_fn_cxx_try_compile "$LINENO"; then :
18692 ac_c99_complex_tr1=yes
18693 else
18694 ac_c99_complex_tr1=no
18696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18699 $as_echo "$ac_c99_complex_tr1" >&6; }
18700 if test x"$ac_c99_complex_tr1" = x"yes"; then
18702 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18706 # Check for the existence of <ctype.h> functions.
18707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18708 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18709 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18710 $as_echo_n "(cached) " >&6
18711 else
18713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18714 /* end confdefs.h. */
18715 #include <ctype.h>
18717 main ()
18719 int ch;
18720 int ret;
18721 ret = isblank(ch);
18724 return 0;
18726 _ACEOF
18727 if ac_fn_cxx_try_compile "$LINENO"; then :
18728 glibcxx_cv_c99_ctype_tr1=yes
18729 else
18730 glibcxx_cv_c99_ctype_tr1=no
18732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18737 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18738 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18740 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18744 # Check for the existence of <fenv.h> functions.
18745 for ac_header in fenv.h
18746 do :
18747 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18748 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18749 cat >>confdefs.h <<_ACEOF
18750 #define HAVE_FENV_H 1
18751 _ACEOF
18752 ac_has_fenv_h=yes
18753 else
18754 ac_has_fenv_h=no
18757 done
18759 ac_c99_fenv_tr1=no;
18760 if test x"$ac_has_fenv_h" = x"yes"; then
18761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18762 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18764 /* end confdefs.h. */
18765 #include <fenv.h>
18767 main ()
18769 int except, mode;
18770 fexcept_t* pflag;
18771 fenv_t* penv;
18772 int ret;
18773 ret = feclearexcept(except);
18774 ret = fegetexceptflag(pflag, except);
18775 ret = feraiseexcept(except);
18776 ret = fesetexceptflag(pflag, except);
18777 ret = fetestexcept(except);
18778 ret = fegetround();
18779 ret = fesetround(mode);
18780 ret = fegetenv(penv);
18781 ret = feholdexcept(penv);
18782 ret = fesetenv(penv);
18783 ret = feupdateenv(penv);
18786 return 0;
18788 _ACEOF
18789 if ac_fn_cxx_try_compile "$LINENO"; then :
18790 ac_c99_fenv_tr1=yes
18791 else
18792 ac_c99_fenv_tr1=no
18794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18797 $as_echo "$ac_c99_fenv_tr1" >&6; }
18798 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18800 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18804 # Check for the existence of <stdint.h> types.
18805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18806 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18807 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18808 $as_echo_n "(cached) " >&6
18809 else
18811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18812 /* end confdefs.h. */
18813 #define __STDC_LIMIT_MACROS
18814 #define __STDC_CONSTANT_MACROS
18815 #include <stdint.h>
18817 main ()
18819 typedef int8_t my_int8_t;
18820 my_int8_t i8 = INT8_MIN;
18821 i8 = INT8_MAX;
18822 typedef int16_t my_int16_t;
18823 my_int16_t i16 = INT16_MIN;
18824 i16 = INT16_MAX;
18825 typedef int32_t my_int32_t;
18826 my_int32_t i32 = INT32_MIN;
18827 i32 = INT32_MAX;
18828 typedef int64_t my_int64_t;
18829 my_int64_t i64 = INT64_MIN;
18830 i64 = INT64_MAX;
18831 typedef int_fast8_t my_int_fast8_t;
18832 my_int_fast8_t if8 = INT_FAST8_MIN;
18833 if8 = INT_FAST8_MAX;
18834 typedef int_fast16_t my_int_fast16_t;
18835 my_int_fast16_t if16 = INT_FAST16_MIN;
18836 if16 = INT_FAST16_MAX;
18837 typedef int_fast32_t my_int_fast32_t;
18838 my_int_fast32_t if32 = INT_FAST32_MIN;
18839 if32 = INT_FAST32_MAX;
18840 typedef int_fast64_t my_int_fast64_t;
18841 my_int_fast64_t if64 = INT_FAST64_MIN;
18842 if64 = INT_FAST64_MAX;
18843 typedef int_least8_t my_int_least8_t;
18844 my_int_least8_t il8 = INT_LEAST8_MIN;
18845 il8 = INT_LEAST8_MAX;
18846 typedef int_least16_t my_int_least16_t;
18847 my_int_least16_t il16 = INT_LEAST16_MIN;
18848 il16 = INT_LEAST16_MAX;
18849 typedef int_least32_t my_int_least32_t;
18850 my_int_least32_t il32 = INT_LEAST32_MIN;
18851 il32 = INT_LEAST32_MAX;
18852 typedef int_least64_t my_int_least64_t;
18853 my_int_least64_t il64 = INT_LEAST64_MIN;
18854 il64 = INT_LEAST64_MAX;
18855 typedef intmax_t my_intmax_t;
18856 my_intmax_t im = INTMAX_MAX;
18857 im = INTMAX_MIN;
18858 typedef intptr_t my_intptr_t;
18859 my_intptr_t ip = INTPTR_MAX;
18860 ip = INTPTR_MIN;
18861 typedef uint8_t my_uint8_t;
18862 my_uint8_t ui8 = UINT8_MAX;
18863 ui8 = UINT8_MAX;
18864 typedef uint16_t my_uint16_t;
18865 my_uint16_t ui16 = UINT16_MAX;
18866 ui16 = UINT16_MAX;
18867 typedef uint32_t my_uint32_t;
18868 my_uint32_t ui32 = UINT32_MAX;
18869 ui32 = UINT32_MAX;
18870 typedef uint64_t my_uint64_t;
18871 my_uint64_t ui64 = UINT64_MAX;
18872 ui64 = UINT64_MAX;
18873 typedef uint_fast8_t my_uint_fast8_t;
18874 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18875 uif8 = UINT_FAST8_MAX;
18876 typedef uint_fast16_t my_uint_fast16_t;
18877 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18878 uif16 = UINT_FAST16_MAX;
18879 typedef uint_fast32_t my_uint_fast32_t;
18880 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18881 uif32 = UINT_FAST32_MAX;
18882 typedef uint_fast64_t my_uint_fast64_t;
18883 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18884 uif64 = UINT_FAST64_MAX;
18885 typedef uint_least8_t my_uint_least8_t;
18886 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18887 uil8 = UINT_LEAST8_MAX;
18888 typedef uint_least16_t my_uint_least16_t;
18889 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18890 uil16 = UINT_LEAST16_MAX;
18891 typedef uint_least32_t my_uint_least32_t;
18892 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18893 uil32 = UINT_LEAST32_MAX;
18894 typedef uint_least64_t my_uint_least64_t;
18895 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18896 uil64 = UINT_LEAST64_MAX;
18897 typedef uintmax_t my_uintmax_t;
18898 my_uintmax_t uim = UINTMAX_MAX;
18899 uim = UINTMAX_MAX;
18900 typedef uintptr_t my_uintptr_t;
18901 my_uintptr_t uip = UINTPTR_MAX;
18902 uip = UINTPTR_MAX;
18905 return 0;
18907 _ACEOF
18908 if ac_fn_cxx_try_compile "$LINENO"; then :
18909 glibcxx_cv_c99_stdint_tr1=yes
18910 else
18911 glibcxx_cv_c99_stdint_tr1=no
18913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18918 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18919 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18921 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18925 # Check for the existence of <math.h> functions.
18926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18927 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18928 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18929 $as_echo_n "(cached) " >&6
18930 else
18932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18933 /* end confdefs.h. */
18934 #include <math.h>
18936 main ()
18938 typedef double_t my_double_t;
18939 typedef float_t my_float_t;
18940 acosh(0.0);
18941 acoshf(0.0f);
18942 acoshl(0.0l);
18943 asinh(0.0);
18944 asinhf(0.0f);
18945 asinhl(0.0l);
18946 atanh(0.0);
18947 atanhf(0.0f);
18948 atanhl(0.0l);
18949 cbrt(0.0);
18950 cbrtf(0.0f);
18951 cbrtl(0.0l);
18952 copysign(0.0, 0.0);
18953 copysignf(0.0f, 0.0f);
18954 copysignl(0.0l, 0.0l);
18955 erf(0.0);
18956 erff(0.0f);
18957 erfl(0.0l);
18958 erfc(0.0);
18959 erfcf(0.0f);
18960 erfcl(0.0l);
18961 exp2(0.0);
18962 exp2f(0.0f);
18963 exp2l(0.0l);
18964 expm1(0.0);
18965 expm1f(0.0f);
18966 expm1l(0.0l);
18967 fdim(0.0, 0.0);
18968 fdimf(0.0f, 0.0f);
18969 fdiml(0.0l, 0.0l);
18970 fma(0.0, 0.0, 0.0);
18971 fmaf(0.0f, 0.0f, 0.0f);
18972 fmal(0.0l, 0.0l, 0.0l);
18973 fmax(0.0, 0.0);
18974 fmaxf(0.0f, 0.0f);
18975 fmaxl(0.0l, 0.0l);
18976 fmin(0.0, 0.0);
18977 fminf(0.0f, 0.0f);
18978 fminl(0.0l, 0.0l);
18979 hypot(0.0, 0.0);
18980 hypotf(0.0f, 0.0f);
18981 hypotl(0.0l, 0.0l);
18982 ilogb(0.0);
18983 ilogbf(0.0f);
18984 ilogbl(0.0l);
18985 lgamma(0.0);
18986 lgammaf(0.0f);
18987 lgammal(0.0l);
18988 llrint(0.0);
18989 llrintf(0.0f);
18990 llrintl(0.0l);
18991 llround(0.0);
18992 llroundf(0.0f);
18993 llroundl(0.0l);
18994 log1p(0.0);
18995 log1pf(0.0f);
18996 log1pl(0.0l);
18997 log2(0.0);
18998 log2f(0.0f);
18999 log2l(0.0l);
19000 logb(0.0);
19001 logbf(0.0f);
19002 logbl(0.0l);
19003 lrint(0.0);
19004 lrintf(0.0f);
19005 lrintl(0.0l);
19006 lround(0.0);
19007 lroundf(0.0f);
19008 lroundl(0.0l);
19009 nan(0);
19010 nanf(0);
19011 nanl(0);
19012 nearbyint(0.0);
19013 nearbyintf(0.0f);
19014 nearbyintl(0.0l);
19015 nextafter(0.0, 0.0);
19016 nextafterf(0.0f, 0.0f);
19017 nextafterl(0.0l, 0.0l);
19018 nexttoward(0.0, 0.0);
19019 nexttowardf(0.0f, 0.0f);
19020 nexttowardl(0.0l, 0.0l);
19021 remainder(0.0, 0.0);
19022 remainderf(0.0f, 0.0f);
19023 remainderl(0.0l, 0.0l);
19024 remquo(0.0, 0.0, 0);
19025 remquof(0.0f, 0.0f, 0);
19026 remquol(0.0l, 0.0l, 0);
19027 rint(0.0);
19028 rintf(0.0f);
19029 rintl(0.0l);
19030 round(0.0);
19031 roundf(0.0f);
19032 roundl(0.0l);
19033 scalbln(0.0, 0l);
19034 scalblnf(0.0f, 0l);
19035 scalblnl(0.0l, 0l);
19036 scalbn(0.0, 0);
19037 scalbnf(0.0f, 0);
19038 scalbnl(0.0l, 0);
19039 tgamma(0.0);
19040 tgammaf(0.0f);
19041 tgammal(0.0l);
19042 trunc(0.0);
19043 truncf(0.0f);
19044 truncl(0.0l);
19047 return 0;
19049 _ACEOF
19050 if ac_fn_cxx_try_compile "$LINENO"; then :
19051 glibcxx_cv_c99_math_tr1=yes
19052 else
19053 glibcxx_cv_c99_math_tr1=no
19055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19060 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19061 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19063 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19067 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19068 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19069 ac_c99_inttypes_tr1=no;
19070 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19072 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19074 /* end confdefs.h. */
19075 #include <inttypes.h>
19077 main ()
19079 intmax_t i, numer, denom, base;
19080 const char* s;
19081 char** endptr;
19082 intmax_t ret = imaxabs(i);
19083 imaxdiv_t dret = imaxdiv(numer, denom);
19084 ret = strtoimax(s, endptr, base);
19085 uintmax_t uret = strtoumax(s, endptr, base);
19088 return 0;
19090 _ACEOF
19091 if ac_fn_cxx_try_compile "$LINENO"; then :
19092 ac_c99_inttypes_tr1=yes
19093 else
19094 ac_c99_inttypes_tr1=no
19096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19099 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19100 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19102 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19106 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19107 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19108 ac_c99_inttypes_wchar_t_tr1=no;
19109 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19111 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19113 /* end confdefs.h. */
19114 #include <inttypes.h>
19116 main ()
19118 intmax_t base;
19119 const wchar_t* s;
19120 wchar_t** endptr;
19121 intmax_t ret = wcstoimax(s, endptr, base);
19122 uintmax_t uret = wcstoumax(s, endptr, base);
19125 return 0;
19127 _ACEOF
19128 if ac_fn_cxx_try_compile "$LINENO"; then :
19129 ac_c99_inttypes_wchar_t_tr1=yes
19130 else
19131 ac_c99_inttypes_wchar_t_tr1=no
19133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19136 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19137 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19139 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19143 # Check for the existence of the <stdbool.h> header.
19144 for ac_header in stdbool.h
19145 do :
19146 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19147 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19148 cat >>confdefs.h <<_ACEOF
19149 #define HAVE_STDBOOL_H 1
19150 _ACEOF
19154 done
19157 # Check for the existence of the <stdalign.h> header.
19158 for ac_header in stdalign.h
19159 do :
19160 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19161 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19162 cat >>confdefs.h <<_ACEOF
19163 #define HAVE_STDALIGN_H 1
19164 _ACEOF
19168 done
19171 CXXFLAGS="$ac_save_CXXFLAGS"
19172 ac_ext=c
19173 ac_cpp='$CPP $CPPFLAGS'
19174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19180 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19184 $as_echo_n "checking for the value of EOF... " >&6; }
19185 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19186 $as_echo_n "(cached) " >&6
19187 else
19189 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19191 else
19192 as_fn_error "computing EOF failed" "$LINENO" 5
19197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19198 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19200 cat >>confdefs.h <<_ACEOF
19201 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19202 _ACEOF
19205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19206 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19207 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19208 $as_echo_n "(cached) " >&6
19209 else
19211 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19213 else
19214 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19220 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19222 cat >>confdefs.h <<_ACEOF
19223 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19224 _ACEOF
19227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19228 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19229 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19230 $as_echo_n "(cached) " >&6
19231 else
19233 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19235 else
19236 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19242 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19244 cat >>confdefs.h <<_ACEOF
19245 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19246 _ACEOF
19250 # For gettimeofday support.
19253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19254 $as_echo_n "checking for gettimeofday... " >&6; }
19257 ac_ext=cpp
19258 ac_cpp='$CXXCPP $CPPFLAGS'
19259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19263 ac_save_CXXFLAGS="$CXXFLAGS"
19264 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19266 ac_has_gettimeofday=no;
19267 for ac_header in sys/time.h
19268 do :
19269 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19270 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19271 cat >>confdefs.h <<_ACEOF
19272 #define HAVE_SYS_TIME_H 1
19273 _ACEOF
19274 ac_has_sys_time_h=yes
19275 else
19276 ac_has_sys_time_h=no
19279 done
19281 if test x"$ac_has_sys_time_h" = x"yes"; then
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19283 $as_echo_n "checking for gettimeofday... " >&6; }
19284 if test x$gcc_no_link = xyes; then
19285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19286 /* end confdefs.h. */
19287 #include <sys/time.h>
19289 main ()
19291 timeval tv; gettimeofday(&tv, 0);
19293 return 0;
19295 _ACEOF
19296 if ac_fn_cxx_try_compile "$LINENO"; then :
19297 ac_has_gettimeofday=yes
19298 else
19299 ac_has_gettimeofday=no
19301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19302 else
19303 if test x$gcc_no_link = xyes; then
19304 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19307 /* end confdefs.h. */
19308 #include <sys/time.h>
19310 main ()
19312 timeval tv; gettimeofday(&tv, 0);
19314 return 0;
19316 _ACEOF
19317 if ac_fn_cxx_try_link "$LINENO"; then :
19318 ac_has_gettimeofday=yes
19319 else
19320 ac_has_gettimeofday=no
19322 rm -f core conftest.err conftest.$ac_objext \
19323 conftest$ac_exeext conftest.$ac_ext
19326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19327 $as_echo "$ac_has_gettimeofday" >&6; }
19330 if test x"$ac_has_gettimeofday" = x"yes"; then
19332 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19336 CXXFLAGS="$ac_save_CXXFLAGS"
19337 ac_ext=c
19338 ac_cpp='$CPP $CPPFLAGS'
19339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19345 # For clock_gettime, nanosleep and sched_yield support.
19348 # Check whether --enable-libstdcxx-time was given.
19349 if test "${enable_libstdcxx_time+set}" = set; then :
19350 enableval=$enable_libstdcxx_time;
19351 case "$enableval" in
19352 yes|no|rt) ;;
19353 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19354 esac
19356 else
19357 enable_libstdcxx_time=auto
19363 ac_ext=cpp
19364 ac_cpp='$CXXCPP $CPPFLAGS'
19365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19369 ac_save_CXXFLAGS="$CXXFLAGS"
19370 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19371 ac_save_LIBS="$LIBS"
19373 ac_has_clock_monotonic=no
19374 ac_has_clock_realtime=no
19375 ac_has_nanosleep=no
19376 ac_has_sched_yield=no
19378 if test x"$enable_libstdcxx_time" = x"auto"; then
19380 case "${target_os}" in
19381 cygwin*)
19382 ac_has_nanosleep=yes
19384 darwin*)
19385 ac_has_nanosleep=yes
19386 ac_has_sched_yield=yes
19388 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19390 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19392 /* end confdefs.h. */
19393 #include <features.h>
19395 main ()
19398 #if ! __GLIBC_PREREQ(2, 17)
19399 #error
19400 #endif
19403 return 0;
19405 _ACEOF
19406 if ac_fn_cxx_try_compile "$LINENO"; then :
19407 glibcxx_glibc217=yes
19408 else
19409 glibcxx_glibc217=no
19411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19413 $as_echo "$glibcxx_glibc217" >&6; }
19415 if test x"$glibcxx_glibc217" = x"yes"; then
19416 ac_has_clock_monotonic=yes
19417 ac_has_clock_realtime=yes
19419 ac_has_nanosleep=yes
19420 ac_has_sched_yield=yes
19422 freebsd*|netbsd*)
19423 ac_has_clock_monotonic=yes
19424 ac_has_clock_realtime=yes
19425 ac_has_nanosleep=yes
19426 ac_has_sched_yield=yes
19428 openbsd*)
19429 ac_has_clock_monotonic=yes
19430 ac_has_clock_realtime=yes
19431 ac_has_nanosleep=yes
19433 solaris*)
19434 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19435 ac_has_clock_monotonic=yes
19436 ac_has_clock_realtime=yes
19437 ac_has_nanosleep=yes
19438 ac_has_sched_yield=yes
19440 esac
19442 elif test x"$enable_libstdcxx_time" != x"no"; then
19444 if test x"$enable_libstdcxx_time" = x"rt"; then
19445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19446 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19447 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19448 $as_echo_n "(cached) " >&6
19449 else
19450 ac_func_search_save_LIBS=$LIBS
19451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19452 /* end confdefs.h. */
19454 /* Override any GCC internal prototype to avoid an error.
19455 Use char because int might match the return type of a GCC
19456 builtin and then its argument prototype would still apply. */
19457 #ifdef __cplusplus
19458 extern "C"
19459 #endif
19460 char clock_gettime ();
19462 main ()
19464 return clock_gettime ();
19466 return 0;
19468 _ACEOF
19469 for ac_lib in '' rt posix4; do
19470 if test -z "$ac_lib"; then
19471 ac_res="none required"
19472 else
19473 ac_res=-l$ac_lib
19474 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19476 if test x$gcc_no_link = xyes; then
19477 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19479 if ac_fn_cxx_try_link "$LINENO"; then :
19480 ac_cv_search_clock_gettime=$ac_res
19482 rm -f core conftest.err conftest.$ac_objext \
19483 conftest$ac_exeext
19484 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19485 break
19487 done
19488 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19490 else
19491 ac_cv_search_clock_gettime=no
19493 rm conftest.$ac_ext
19494 LIBS=$ac_func_search_save_LIBS
19496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19497 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19498 ac_res=$ac_cv_search_clock_gettime
19499 if test "$ac_res" != no; then :
19500 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19505 $as_echo_n "checking for library containing nanosleep... " >&6; }
19506 if test "${ac_cv_search_nanosleep+set}" = set; then :
19507 $as_echo_n "(cached) " >&6
19508 else
19509 ac_func_search_save_LIBS=$LIBS
19510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19511 /* end confdefs.h. */
19513 /* Override any GCC internal prototype to avoid an error.
19514 Use char because int might match the return type of a GCC
19515 builtin and then its argument prototype would still apply. */
19516 #ifdef __cplusplus
19517 extern "C"
19518 #endif
19519 char nanosleep ();
19521 main ()
19523 return nanosleep ();
19525 return 0;
19527 _ACEOF
19528 for ac_lib in '' rt posix4; do
19529 if test -z "$ac_lib"; then
19530 ac_res="none required"
19531 else
19532 ac_res=-l$ac_lib
19533 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19535 if test x$gcc_no_link = xyes; then
19536 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19538 if ac_fn_cxx_try_link "$LINENO"; then :
19539 ac_cv_search_nanosleep=$ac_res
19541 rm -f core conftest.err conftest.$ac_objext \
19542 conftest$ac_exeext
19543 if test "${ac_cv_search_nanosleep+set}" = set; then :
19544 break
19546 done
19547 if test "${ac_cv_search_nanosleep+set}" = set; then :
19549 else
19550 ac_cv_search_nanosleep=no
19552 rm conftest.$ac_ext
19553 LIBS=$ac_func_search_save_LIBS
19555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19556 $as_echo "$ac_cv_search_nanosleep" >&6; }
19557 ac_res=$ac_cv_search_nanosleep
19558 if test "$ac_res" != no; then :
19559 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19563 else
19564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19565 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19566 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19567 $as_echo_n "(cached) " >&6
19568 else
19569 ac_func_search_save_LIBS=$LIBS
19570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19571 /* end confdefs.h. */
19573 /* Override any GCC internal prototype to avoid an error.
19574 Use char because int might match the return type of a GCC
19575 builtin and then its argument prototype would still apply. */
19576 #ifdef __cplusplus
19577 extern "C"
19578 #endif
19579 char clock_gettime ();
19581 main ()
19583 return clock_gettime ();
19585 return 0;
19587 _ACEOF
19588 for ac_lib in '' posix4; do
19589 if test -z "$ac_lib"; then
19590 ac_res="none required"
19591 else
19592 ac_res=-l$ac_lib
19593 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19595 if test x$gcc_no_link = xyes; then
19596 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19598 if ac_fn_cxx_try_link "$LINENO"; then :
19599 ac_cv_search_clock_gettime=$ac_res
19601 rm -f core conftest.err conftest.$ac_objext \
19602 conftest$ac_exeext
19603 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19604 break
19606 done
19607 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19609 else
19610 ac_cv_search_clock_gettime=no
19612 rm conftest.$ac_ext
19613 LIBS=$ac_func_search_save_LIBS
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19616 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19617 ac_res=$ac_cv_search_clock_gettime
19618 if test "$ac_res" != no; then :
19619 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19624 $as_echo_n "checking for library containing nanosleep... " >&6; }
19625 if test "${ac_cv_search_nanosleep+set}" = set; then :
19626 $as_echo_n "(cached) " >&6
19627 else
19628 ac_func_search_save_LIBS=$LIBS
19629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19630 /* end confdefs.h. */
19632 /* Override any GCC internal prototype to avoid an error.
19633 Use char because int might match the return type of a GCC
19634 builtin and then its argument prototype would still apply. */
19635 #ifdef __cplusplus
19636 extern "C"
19637 #endif
19638 char nanosleep ();
19640 main ()
19642 return nanosleep ();
19644 return 0;
19646 _ACEOF
19647 for ac_lib in '' posix4; do
19648 if test -z "$ac_lib"; then
19649 ac_res="none required"
19650 else
19651 ac_res=-l$ac_lib
19652 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19654 if test x$gcc_no_link = xyes; then
19655 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19657 if ac_fn_cxx_try_link "$LINENO"; then :
19658 ac_cv_search_nanosleep=$ac_res
19660 rm -f core conftest.err conftest.$ac_objext \
19661 conftest$ac_exeext
19662 if test "${ac_cv_search_nanosleep+set}" = set; then :
19663 break
19665 done
19666 if test "${ac_cv_search_nanosleep+set}" = set; then :
19668 else
19669 ac_cv_search_nanosleep=no
19671 rm conftest.$ac_ext
19672 LIBS=$ac_func_search_save_LIBS
19674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19675 $as_echo "$ac_cv_search_nanosleep" >&6; }
19676 ac_res=$ac_cv_search_nanosleep
19677 if test "$ac_res" != no; then :
19678 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19684 case "$ac_cv_search_clock_gettime" in
19685 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19687 esac
19688 case "$ac_cv_search_nanosleep" in
19689 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19691 esac
19693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19694 $as_echo_n "checking for library containing sched_yield... " >&6; }
19695 if test "${ac_cv_search_sched_yield+set}" = set; then :
19696 $as_echo_n "(cached) " >&6
19697 else
19698 ac_func_search_save_LIBS=$LIBS
19699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19700 /* end confdefs.h. */
19702 /* Override any GCC internal prototype to avoid an error.
19703 Use char because int might match the return type of a GCC
19704 builtin and then its argument prototype would still apply. */
19705 #ifdef __cplusplus
19706 extern "C"
19707 #endif
19708 char sched_yield ();
19710 main ()
19712 return sched_yield ();
19714 return 0;
19716 _ACEOF
19717 for ac_lib in '' rt posix4; do
19718 if test -z "$ac_lib"; then
19719 ac_res="none required"
19720 else
19721 ac_res=-l$ac_lib
19722 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19724 if test x$gcc_no_link = xyes; then
19725 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19727 if ac_fn_cxx_try_link "$LINENO"; then :
19728 ac_cv_search_sched_yield=$ac_res
19730 rm -f core conftest.err conftest.$ac_objext \
19731 conftest$ac_exeext
19732 if test "${ac_cv_search_sched_yield+set}" = set; then :
19733 break
19735 done
19736 if test "${ac_cv_search_sched_yield+set}" = set; then :
19738 else
19739 ac_cv_search_sched_yield=no
19741 rm conftest.$ac_ext
19742 LIBS=$ac_func_search_save_LIBS
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19745 $as_echo "$ac_cv_search_sched_yield" >&6; }
19746 ac_res=$ac_cv_search_sched_yield
19747 if test "$ac_res" != no; then :
19748 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19753 case "$ac_cv_search_sched_yield" in
19754 -lposix4*)
19755 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19756 ac_has_sched_yield=yes
19758 -lrt*)
19759 if test x"$enable_libstdcxx_time" = x"rt"; then
19760 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19761 ac_has_sched_yield=yes
19765 ac_has_sched_yield=yes
19767 esac
19769 for ac_header in unistd.h
19770 do :
19771 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19772 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19773 cat >>confdefs.h <<_ACEOF
19774 #define HAVE_UNISTD_H 1
19775 _ACEOF
19776 ac_has_unistd_h=yes
19777 else
19778 ac_has_unistd_h=no
19781 done
19784 if test x"$ac_has_unistd_h" = x"yes"; then
19785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19786 $as_echo_n "checking for monotonic clock... " >&6; }
19787 if test x$gcc_no_link = xyes; then
19788 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19791 /* end confdefs.h. */
19792 #include <unistd.h>
19793 #include <time.h>
19796 main ()
19798 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19799 timespec tp;
19800 #endif
19801 clock_gettime(CLOCK_MONOTONIC, &tp);
19804 return 0;
19806 _ACEOF
19807 if ac_fn_cxx_try_link "$LINENO"; then :
19808 ac_has_clock_monotonic=yes
19809 else
19810 ac_has_clock_monotonic=no
19812 rm -f core conftest.err conftest.$ac_objext \
19813 conftest$ac_exeext conftest.$ac_ext
19815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19816 $as_echo "$ac_has_clock_monotonic" >&6; }
19818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19819 $as_echo_n "checking for realtime clock... " >&6; }
19820 if test x$gcc_no_link = xyes; then
19821 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19824 /* end confdefs.h. */
19825 #include <unistd.h>
19826 #include <time.h>
19829 main ()
19831 #if _POSIX_TIMERS > 0
19832 timespec tp;
19833 #endif
19834 clock_gettime(CLOCK_REALTIME, &tp);
19837 return 0;
19839 _ACEOF
19840 if ac_fn_cxx_try_link "$LINENO"; then :
19841 ac_has_clock_realtime=yes
19842 else
19843 ac_has_clock_realtime=no
19845 rm -f core conftest.err conftest.$ac_objext \
19846 conftest$ac_exeext conftest.$ac_ext
19848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19849 $as_echo "$ac_has_clock_realtime" >&6; }
19851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19852 $as_echo_n "checking for nanosleep... " >&6; }
19853 if test x$gcc_no_link = xyes; then
19854 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19857 /* end confdefs.h. */
19858 #include <unistd.h>
19859 #include <time.h>
19862 main ()
19864 #if _POSIX_TIMERS > 0
19865 timespec tp;
19866 #endif
19867 nanosleep(&tp, 0);
19870 return 0;
19872 _ACEOF
19873 if ac_fn_cxx_try_link "$LINENO"; then :
19874 ac_has_nanosleep=yes
19875 else
19876 ac_has_nanosleep=no
19878 rm -f core conftest.err conftest.$ac_objext \
19879 conftest$ac_exeext conftest.$ac_ext
19881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19882 $as_echo "$ac_has_nanosleep" >&6; }
19886 if test x"$ac_has_clock_monotonic" = x"yes"; then
19888 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19892 if test x"$ac_has_clock_realtime" = x"yes"; then
19894 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19898 if test x"$ac_has_sched_yield" = x"yes"; then
19900 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19904 if test x"$ac_has_nanosleep" = x"yes"; then
19906 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19908 else
19909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
19910 $as_echo_n "checking for sleep... " >&6; }
19911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19912 /* end confdefs.h. */
19913 #include <unistd.h>
19915 main ()
19917 sleep(1)
19919 return 0;
19921 _ACEOF
19922 if ac_fn_cxx_try_compile "$LINENO"; then :
19923 ac_has_sleep=yes
19924 else
19925 ac_has_sleep=no
19927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19928 if test x"$ac_has_sleep" = x"yes"; then
19930 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
19933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
19934 $as_echo "$ac_has_sleep" >&6; }
19935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
19936 $as_echo_n "checking for usleep... " >&6; }
19937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19938 /* end confdefs.h. */
19939 #include <unistd.h>
19941 main ()
19943 sleep(1);
19944 usleep(100);
19946 return 0;
19948 _ACEOF
19949 if ac_fn_cxx_try_compile "$LINENO"; then :
19950 ac_has_usleep=yes
19951 else
19952 ac_has_usleep=no
19954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19955 if test x"$ac_has_usleep" = x"yes"; then
19957 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
19960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
19961 $as_echo "$ac_has_usleep" >&6; }
19964 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
19965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
19966 $as_echo_n "checking for Sleep... " >&6; }
19967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19968 /* end confdefs.h. */
19969 #include <windows.h>
19971 main ()
19973 Sleep(1)
19975 return 0;
19977 _ACEOF
19978 if ac_fn_cxx_try_compile "$LINENO"; then :
19979 ac_has_win32_sleep=yes
19980 else
19981 ac_has_win32_sleep=no
19983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19984 if test x"$ac_has_win32_sleep" = x"yes"; then
19986 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
19989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
19990 $as_echo "$ac_has_win32_sleep" >&6; }
19995 CXXFLAGS="$ac_save_CXXFLAGS"
19996 LIBS="$ac_save_LIBS"
19997 ac_ext=c
19998 ac_cpp='$CPP $CPPFLAGS'
19999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20006 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20007 if test "x$ac_cv_header_locale_h" = x""yes; then :
20009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20010 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20011 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20012 $as_echo_n "(cached) " >&6
20013 else
20014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20015 /* end confdefs.h. */
20016 #include <locale.h>
20018 main ()
20020 return LC_MESSAGES
20022 return 0;
20024 _ACEOF
20025 if ac_fn_c_try_compile "$LINENO"; then :
20026 ac_cv_val_LC_MESSAGES=yes
20027 else
20028 ac_cv_val_LC_MESSAGES=no
20030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20033 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20034 if test $ac_cv_val_LC_MESSAGES = yes; then
20036 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20045 # For hardware_concurrency
20046 for ac_header in sys/sysinfo.h
20047 do :
20048 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20049 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20050 cat >>confdefs.h <<_ACEOF
20051 #define HAVE_SYS_SYSINFO_H 1
20052 _ACEOF
20056 done
20061 ac_ext=cpp
20062 ac_cpp='$CXXCPP $CPPFLAGS'
20063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20067 ac_save_CXXFLAGS="$CXXFLAGS"
20068 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20071 $as_echo_n "checking for get_nprocs... " >&6; }
20072 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20073 $as_echo_n "(cached) " >&6
20074 else
20076 if test x$gcc_no_link = xyes; then
20077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20078 /* end confdefs.h. */
20079 #include <sys/sysinfo.h>
20081 main ()
20083 int n = get_nprocs();
20085 return 0;
20087 _ACEOF
20088 if ac_fn_cxx_try_compile "$LINENO"; then :
20089 glibcxx_cv_GET_NPROCS=yes
20090 else
20091 glibcxx_cv_GET_NPROCS=no
20093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20094 else
20095 if test x$gcc_no_link = xyes; then
20096 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20099 /* end confdefs.h. */
20100 #include <sys/sysinfo.h>
20102 main ()
20104 int n = get_nprocs();
20106 return 0;
20108 _ACEOF
20109 if ac_fn_cxx_try_link "$LINENO"; then :
20110 glibcxx_cv_GET_NPROCS=yes
20111 else
20112 glibcxx_cv_GET_NPROCS=no
20114 rm -f core conftest.err conftest.$ac_objext \
20115 conftest$ac_exeext conftest.$ac_ext
20120 if test $glibcxx_cv_GET_NPROCS = yes; then
20122 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20126 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20128 CXXFLAGS="$ac_save_CXXFLAGS"
20129 ac_ext=c
20130 ac_cpp='$CPP $CPPFLAGS'
20131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20136 for ac_header in unistd.h
20137 do :
20138 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20139 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20140 cat >>confdefs.h <<_ACEOF
20141 #define HAVE_UNISTD_H 1
20142 _ACEOF
20146 done
20151 ac_ext=cpp
20152 ac_cpp='$CXXCPP $CPPFLAGS'
20153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20157 ac_save_CXXFLAGS="$CXXFLAGS"
20158 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20161 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20162 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20163 $as_echo_n "(cached) " >&6
20164 else
20166 if test x$gcc_no_link = xyes; then
20167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20168 /* end confdefs.h. */
20169 #include <unistd.h>
20171 main ()
20173 int n = sysconf(_SC_NPROCESSORS_ONLN);
20175 return 0;
20177 _ACEOF
20178 if ac_fn_cxx_try_compile "$LINENO"; then :
20179 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20180 else
20181 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20184 else
20185 if test x$gcc_no_link = xyes; then
20186 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20189 /* end confdefs.h. */
20190 #include <unistd.h>
20192 main ()
20194 int n = sysconf(_SC_NPROCESSORS_ONLN);
20196 return 0;
20198 _ACEOF
20199 if ac_fn_cxx_try_link "$LINENO"; then :
20200 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20201 else
20202 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20204 rm -f core conftest.err conftest.$ac_objext \
20205 conftest$ac_exeext conftest.$ac_ext
20210 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20212 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20216 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20218 CXXFLAGS="$ac_save_CXXFLAGS"
20219 ac_ext=c
20220 ac_cpp='$CPP $CPPFLAGS'
20221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20229 ac_ext=cpp
20230 ac_cpp='$CXXCPP $CPPFLAGS'
20231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20235 ac_save_CXXFLAGS="$CXXFLAGS"
20236 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20239 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20240 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20241 $as_echo_n "(cached) " >&6
20242 else
20244 if test x$gcc_no_link = xyes; then
20245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20246 /* end confdefs.h. */
20247 #include <unistd.h>
20249 main ()
20251 int n = sysconf(_SC_NPROC_ONLN);
20253 return 0;
20255 _ACEOF
20256 if ac_fn_cxx_try_compile "$LINENO"; then :
20257 glibcxx_cv_SC_NPROC_ONLN=yes
20258 else
20259 glibcxx_cv_SC_NPROC_ONLN=no
20261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20262 else
20263 if test x$gcc_no_link = xyes; then
20264 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20267 /* end confdefs.h. */
20268 #include <unistd.h>
20270 main ()
20272 int n = sysconf(_SC_NPROC_ONLN);
20274 return 0;
20276 _ACEOF
20277 if ac_fn_cxx_try_link "$LINENO"; then :
20278 glibcxx_cv_SC_NPROC_ONLN=yes
20279 else
20280 glibcxx_cv_SC_NPROC_ONLN=no
20282 rm -f core conftest.err conftest.$ac_objext \
20283 conftest$ac_exeext conftest.$ac_ext
20288 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20290 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20294 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20296 CXXFLAGS="$ac_save_CXXFLAGS"
20297 ac_ext=c
20298 ac_cpp='$CPP $CPPFLAGS'
20299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20307 ac_ext=cpp
20308 ac_cpp='$CXXCPP $CPPFLAGS'
20309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20313 ac_save_CXXFLAGS="$CXXFLAGS"
20314 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20317 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20318 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20319 $as_echo_n "(cached) " >&6
20320 else
20322 if test x$gcc_no_link = xyes; then
20323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20324 /* end confdefs.h. */
20325 #include <pthread.h>
20327 main ()
20329 int n = pthread_num_processors_np();
20331 return 0;
20333 _ACEOF
20334 if ac_fn_cxx_try_compile "$LINENO"; then :
20335 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20336 else
20337 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20340 else
20341 if test x$gcc_no_link = xyes; then
20342 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20345 /* end confdefs.h. */
20346 #include <pthread.h>
20348 main ()
20350 int n = pthread_num_processors_np();
20352 return 0;
20354 _ACEOF
20355 if ac_fn_cxx_try_link "$LINENO"; then :
20356 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20357 else
20358 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20360 rm -f core conftest.err conftest.$ac_objext \
20361 conftest$ac_exeext conftest.$ac_ext
20366 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20368 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20372 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20374 CXXFLAGS="$ac_save_CXXFLAGS"
20375 ac_ext=c
20376 ac_cpp='$CPP $CPPFLAGS'
20377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20385 ac_ext=cpp
20386 ac_cpp='$CXXCPP $CPPFLAGS'
20387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20391 ac_save_CXXFLAGS="$CXXFLAGS"
20392 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20395 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20396 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20397 $as_echo_n "(cached) " >&6
20398 else
20400 if test x$gcc_no_link = xyes; then
20401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20402 /* end confdefs.h. */
20404 #include <stddef.h>
20405 #include <sys/sysctl.h>
20408 main ()
20411 int count;
20412 size_t size = sizeof(count);
20413 int mib[] = { CTL_HW, HW_NCPU };
20414 sysctl(mib, 2, &count, &size, NULL, 0);
20417 return 0;
20419 _ACEOF
20420 if ac_fn_cxx_try_compile "$LINENO"; then :
20421 glibcxx_cv_SYSCTL_HW_NCPU=yes
20422 else
20423 glibcxx_cv_SYSCTL_HW_NCPU=no
20425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20426 else
20427 if test x$gcc_no_link = xyes; then
20428 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20431 /* end confdefs.h. */
20433 #include <stddef.h>
20434 #include <sys/sysctl.h>
20437 main ()
20440 int count;
20441 size_t size = sizeof(count);
20442 int mib[] = { CTL_HW, HW_NCPU };
20443 sysctl(mib, 2, &count, &size, NULL, 0);
20446 return 0;
20448 _ACEOF
20449 if ac_fn_cxx_try_link "$LINENO"; then :
20450 glibcxx_cv_SYSCTL_HW_NCPU=yes
20451 else
20452 glibcxx_cv_SYSCTL_HW_NCPU=no
20454 rm -f core conftest.err conftest.$ac_objext \
20455 conftest$ac_exeext conftest.$ac_ext
20460 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20462 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20466 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20468 CXXFLAGS="$ac_save_CXXFLAGS"
20469 ac_ext=c
20470 ac_cpp='$CPP $CPPFLAGS'
20471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: for suitable sys/sdt.h" >&5
20478 $as_echo "for suitable sys/sdt.h" >&6; }
20479 # Note that this test has to be run with the C language.
20480 # Otherwise, sdt.h will try to include some headers from
20481 # libstdc++ itself.
20483 ac_ext=c
20484 ac_cpp='$CPP $CPPFLAGS'
20485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20489 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20490 $as_echo_n "(cached) " >&6
20491 else
20493 # Because we have to run the test in C, we use grep rather
20494 # than the compiler to check for the bug. The bug is that
20495 # were strings without trailing whitespace, causing g++
20496 # to look for operator"". The pattern searches for the fixed
20497 # output.
20498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20499 /* end confdefs.h. */
20501 #include <sys/sdt.h>
20502 int f() { STAP_PROBE(hi, bob); }
20504 _ACEOF
20505 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20506 $EGREP " \",\" " >/dev/null 2>&1; then :
20507 glibcxx_cv_sys_sdt_h=yes
20508 else
20509 glibcxx_cv_sys_sdt_h=no
20511 rm -f conftest*
20516 ac_ext=c
20517 ac_cpp='$CPP $CPPFLAGS'
20518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20522 if test $glibcxx_cv_sys_sdt_h = yes; then
20524 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20528 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20531 # Check for available headers.
20532 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20533 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20534 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20535 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20536 wchar.h wctype.h
20537 do :
20538 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20539 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20540 eval as_val=\$$as_ac_Header
20541 if test "x$as_val" = x""yes; then :
20542 cat >>confdefs.h <<_ACEOF
20543 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20544 _ACEOF
20548 done
20551 # Only do link tests if native. Else, hardcode.
20552 if $GLIBCXX_IS_NATIVE; then
20554 # We can do more elaborate tests that assume a working linker.
20555 CANADIAN=no
20559 # Check whether --with-gnu-ld was given.
20560 if test "${with_gnu_ld+set}" = set; then :
20561 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20562 else
20563 with_gnu_ld=no
20566 ac_prog=ld
20567 if test "$GCC" = yes; then
20568 # Check if gcc -print-prog-name=ld gives a path.
20569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20570 $as_echo_n "checking for ld used by $CC... " >&6; }
20571 case $host in
20572 *-*-mingw*)
20573 # gcc leaves a trailing carriage return which upsets mingw
20574 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20576 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20577 esac
20578 case $ac_prog in
20579 # Accept absolute paths.
20580 [\\/]* | ?:[\\/]*)
20581 re_direlt='/[^/][^/]*/\.\./'
20582 # Canonicalize the pathname of ld
20583 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20584 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20585 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20586 done
20587 test -z "$LD" && LD="$ac_prog"
20590 # If it fails, then pretend we aren't using GCC.
20591 ac_prog=ld
20594 # If it is relative, then search for the first ld in PATH.
20595 with_gnu_ld=unknown
20597 esac
20598 elif test "$with_gnu_ld" = yes; then
20599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20600 $as_echo_n "checking for GNU ld... " >&6; }
20601 else
20602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20603 $as_echo_n "checking for non-GNU ld... " >&6; }
20605 if test "${lt_cv_path_LD+set}" = set; then :
20606 $as_echo_n "(cached) " >&6
20607 else
20608 if test -z "$LD"; then
20609 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20610 for ac_dir in $PATH; do
20611 IFS="$lt_save_ifs"
20612 test -z "$ac_dir" && ac_dir=.
20613 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20614 lt_cv_path_LD="$ac_dir/$ac_prog"
20615 # Check to see if the program is GNU ld. I'd rather use --version,
20616 # but apparently some variants of GNU ld only accept -v.
20617 # Break only if it was the GNU/non-GNU ld that we prefer.
20618 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20619 *GNU* | *'with BFD'*)
20620 test "$with_gnu_ld" != no && break
20623 test "$with_gnu_ld" != yes && break
20625 esac
20627 done
20628 IFS="$lt_save_ifs"
20629 else
20630 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20634 LD="$lt_cv_path_LD"
20635 if test -n "$LD"; then
20636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20637 $as_echo "$LD" >&6; }
20638 else
20639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20640 $as_echo "no" >&6; }
20642 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20644 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20645 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20646 $as_echo_n "(cached) " >&6
20647 else
20648 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20649 case `$LD -v 2>&1 </dev/null` in
20650 *GNU* | *'with BFD'*)
20651 lt_cv_prog_gnu_ld=yes
20654 lt_cv_prog_gnu_ld=no
20656 esac
20658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20659 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20660 with_gnu_ld=$lt_cv_prog_gnu_ld
20668 # If we're not using GNU ld, then there's no point in even trying these
20669 # tests. Check for that first. We should have already tested for gld
20670 # by now (in libtool), but require it now just to be safe...
20671 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20672 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20676 # The name set by libtool depends on the version of libtool. Shame on us
20677 # for depending on an impl detail, but c'est la vie. Older versions used
20678 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20679 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20680 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20681 # set (hence we're using an older libtool), then set it.
20682 if test x${with_gnu_ld+set} != xset; then
20683 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20684 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20685 with_gnu_ld=no
20686 else
20687 with_gnu_ld=$ac_cv_prog_gnu_ld
20691 # Start by getting the version number. I think the libtool test already
20692 # does some of this, but throws away the result.
20693 glibcxx_ld_is_gold=no
20694 if test x"$with_gnu_ld" = x"yes"; then
20695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20696 $as_echo_n "checking for ld version... " >&6; }
20698 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20699 glibcxx_ld_is_gold=yes
20701 ldver=`$LD --version 2>/dev/null |
20702 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'`
20704 glibcxx_gnu_ld_version=`echo $ldver | \
20705 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20707 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20710 # Set --gc-sections.
20711 glibcxx_have_gc_sections=no
20712 if test "$glibcxx_ld_is_gold" = "yes"; then
20713 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20714 glibcxx_have_gc_sections=yes
20716 else
20717 glibcxx_gcsections_min_ld=21602
20718 if test x"$with_gnu_ld" = x"yes" &&
20719 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20720 glibcxx_have_gc_sections=yes
20723 if test "$glibcxx_have_gc_sections" = "yes"; then
20724 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20725 # NB: This flag only works reliably after 2.16.1. Configure tests
20726 # for this are difficult, so hard wire a value that should work.
20728 ac_test_CFLAGS="${CFLAGS+set}"
20729 ac_save_CFLAGS="$CFLAGS"
20730 CFLAGS='-Wl,--gc-sections'
20732 # Check for -Wl,--gc-sections
20733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20734 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20735 if test x$gcc_no_link = xyes; then
20736 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20739 /* end confdefs.h. */
20740 int one(void) { return 1; }
20741 int two(void) { return 2; }
20744 main ()
20746 two();
20748 return 0;
20750 _ACEOF
20751 if ac_fn_c_try_link "$LINENO"; then :
20752 ac_gcsections=yes
20753 else
20754 ac_gcsections=no
20756 rm -f core conftest.err conftest.$ac_objext \
20757 conftest$ac_exeext conftest.$ac_ext
20758 if test "$ac_gcsections" = "yes"; then
20759 rm -f conftest.c
20760 touch conftest.c
20761 if $CC -c conftest.c; then
20762 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20763 grep "Warning: gc-sections option ignored" > /dev/null; then
20764 ac_gcsections=no
20767 rm -f conftest.c conftest.o conftest
20769 if test "$ac_gcsections" = "yes"; then
20770 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20773 $as_echo "$ac_gcsections" >&6; }
20775 if test "$ac_test_CFLAGS" = set; then
20776 CFLAGS="$ac_save_CFLAGS"
20777 else
20778 # this is the suspicious part
20779 CFLAGS=''
20783 # Set -z,relro.
20784 # Note this is only for shared objects.
20785 ac_ld_relro=no
20786 if test x"$with_gnu_ld" = x"yes"; then
20787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20788 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20789 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20790 if test -n "$cxx_z_relo"; then
20791 OPT_LDFLAGS="-Wl,-z,relro"
20792 ac_ld_relro=yes
20794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20795 $as_echo "$ac_ld_relro" >&6; }
20798 # Set linker optimization flags.
20799 if test x"$with_gnu_ld" = x"yes"; then
20800 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20807 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20808 ac_save_CXXFLAGS="$CXXFLAGS"
20809 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20812 $as_echo_n "checking for sin in -lm... " >&6; }
20813 if test "${ac_cv_lib_m_sin+set}" = set; then :
20814 $as_echo_n "(cached) " >&6
20815 else
20816 ac_check_lib_save_LIBS=$LIBS
20817 LIBS="-lm $LIBS"
20818 if test x$gcc_no_link = xyes; then
20819 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20822 /* end confdefs.h. */
20824 /* Override any GCC internal prototype to avoid an error.
20825 Use char because int might match the return type of a GCC
20826 builtin and then its argument prototype would still apply. */
20827 #ifdef __cplusplus
20828 extern "C"
20829 #endif
20830 char sin ();
20832 main ()
20834 return sin ();
20836 return 0;
20838 _ACEOF
20839 if ac_fn_c_try_link "$LINENO"; then :
20840 ac_cv_lib_m_sin=yes
20841 else
20842 ac_cv_lib_m_sin=no
20844 rm -f core conftest.err conftest.$ac_objext \
20845 conftest$ac_exeext conftest.$ac_ext
20846 LIBS=$ac_check_lib_save_LIBS
20848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20849 $as_echo "$ac_cv_lib_m_sin" >&6; }
20850 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20851 libm="-lm"
20854 ac_save_LIBS="$LIBS"
20855 LIBS="$LIBS $libm"
20859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20860 $as_echo_n "checking for isinf declaration... " >&6; }
20861 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20862 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20863 $as_echo_n "(cached) " >&6
20864 else
20867 ac_ext=cpp
20868 ac_cpp='$CXXCPP $CPPFLAGS'
20869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20874 /* end confdefs.h. */
20875 #include <math.h>
20876 #ifdef HAVE_IEEEFP_H
20877 #include <ieeefp.h>
20878 #endif
20881 main ()
20883 isinf(0);
20885 return 0;
20887 _ACEOF
20888 if ac_fn_cxx_try_compile "$LINENO"; then :
20889 glibcxx_cv_func_isinf_use=yes
20890 else
20891 glibcxx_cv_func_isinf_use=no
20893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20894 ac_ext=c
20895 ac_cpp='$CPP $CPPFLAGS'
20896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20905 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20907 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20908 for ac_func in isinf
20909 do :
20910 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20911 if test "x$ac_cv_func_isinf" = x""yes; then :
20912 cat >>confdefs.h <<_ACEOF
20913 #define HAVE_ISINF 1
20914 _ACEOF
20917 done
20919 else
20921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20922 $as_echo_n "checking for _isinf declaration... " >&6; }
20923 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20924 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20925 $as_echo_n "(cached) " >&6
20926 else
20929 ac_ext=cpp
20930 ac_cpp='$CXXCPP $CPPFLAGS'
20931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20936 /* end confdefs.h. */
20937 #include <math.h>
20938 #ifdef HAVE_IEEEFP_H
20939 #include <ieeefp.h>
20940 #endif
20943 main ()
20945 _isinf(0);
20947 return 0;
20949 _ACEOF
20950 if ac_fn_cxx_try_compile "$LINENO"; then :
20951 glibcxx_cv_func__isinf_use=yes
20952 else
20953 glibcxx_cv_func__isinf_use=no
20955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20956 ac_ext=c
20957 ac_cpp='$CPP $CPPFLAGS'
20958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20967 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20969 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20970 for ac_func in _isinf
20971 do :
20972 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20973 if test "x$ac_cv_func__isinf" = x""yes; then :
20974 cat >>confdefs.h <<_ACEOF
20975 #define HAVE__ISINF 1
20976 _ACEOF
20979 done
20988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20989 $as_echo_n "checking for isnan declaration... " >&6; }
20990 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20991 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20992 $as_echo_n "(cached) " >&6
20993 else
20996 ac_ext=cpp
20997 ac_cpp='$CXXCPP $CPPFLAGS'
20998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21003 /* end confdefs.h. */
21004 #include <math.h>
21005 #ifdef HAVE_IEEEFP_H
21006 #include <ieeefp.h>
21007 #endif
21010 main ()
21012 isnan(0);
21014 return 0;
21016 _ACEOF
21017 if ac_fn_cxx_try_compile "$LINENO"; then :
21018 glibcxx_cv_func_isnan_use=yes
21019 else
21020 glibcxx_cv_func_isnan_use=no
21022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21023 ac_ext=c
21024 ac_cpp='$CPP $CPPFLAGS'
21025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21034 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21036 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21037 for ac_func in isnan
21038 do :
21039 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21040 if test "x$ac_cv_func_isnan" = x""yes; then :
21041 cat >>confdefs.h <<_ACEOF
21042 #define HAVE_ISNAN 1
21043 _ACEOF
21046 done
21048 else
21050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21051 $as_echo_n "checking for _isnan declaration... " >&6; }
21052 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21053 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21054 $as_echo_n "(cached) " >&6
21055 else
21058 ac_ext=cpp
21059 ac_cpp='$CXXCPP $CPPFLAGS'
21060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21065 /* end confdefs.h. */
21066 #include <math.h>
21067 #ifdef HAVE_IEEEFP_H
21068 #include <ieeefp.h>
21069 #endif
21072 main ()
21074 _isnan(0);
21076 return 0;
21078 _ACEOF
21079 if ac_fn_cxx_try_compile "$LINENO"; then :
21080 glibcxx_cv_func__isnan_use=yes
21081 else
21082 glibcxx_cv_func__isnan_use=no
21084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21085 ac_ext=c
21086 ac_cpp='$CPP $CPPFLAGS'
21087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21096 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21098 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21099 for ac_func in _isnan
21100 do :
21101 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21102 if test "x$ac_cv_func__isnan" = x""yes; then :
21103 cat >>confdefs.h <<_ACEOF
21104 #define HAVE__ISNAN 1
21105 _ACEOF
21108 done
21117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21118 $as_echo_n "checking for finite declaration... " >&6; }
21119 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21120 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21121 $as_echo_n "(cached) " >&6
21122 else
21125 ac_ext=cpp
21126 ac_cpp='$CXXCPP $CPPFLAGS'
21127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21132 /* end confdefs.h. */
21133 #include <math.h>
21134 #ifdef HAVE_IEEEFP_H
21135 #include <ieeefp.h>
21136 #endif
21139 main ()
21141 finite(0);
21143 return 0;
21145 _ACEOF
21146 if ac_fn_cxx_try_compile "$LINENO"; then :
21147 glibcxx_cv_func_finite_use=yes
21148 else
21149 glibcxx_cv_func_finite_use=no
21151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21152 ac_ext=c
21153 ac_cpp='$CPP $CPPFLAGS'
21154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21163 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21165 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21166 for ac_func in finite
21167 do :
21168 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21169 if test "x$ac_cv_func_finite" = x""yes; then :
21170 cat >>confdefs.h <<_ACEOF
21171 #define HAVE_FINITE 1
21172 _ACEOF
21175 done
21177 else
21179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21180 $as_echo_n "checking for _finite declaration... " >&6; }
21181 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21182 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21183 $as_echo_n "(cached) " >&6
21184 else
21187 ac_ext=cpp
21188 ac_cpp='$CXXCPP $CPPFLAGS'
21189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21194 /* end confdefs.h. */
21195 #include <math.h>
21196 #ifdef HAVE_IEEEFP_H
21197 #include <ieeefp.h>
21198 #endif
21201 main ()
21203 _finite(0);
21205 return 0;
21207 _ACEOF
21208 if ac_fn_cxx_try_compile "$LINENO"; then :
21209 glibcxx_cv_func__finite_use=yes
21210 else
21211 glibcxx_cv_func__finite_use=no
21213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21214 ac_ext=c
21215 ac_cpp='$CPP $CPPFLAGS'
21216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21225 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21227 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21228 for ac_func in _finite
21229 do :
21230 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21231 if test "x$ac_cv_func__finite" = x""yes; then :
21232 cat >>confdefs.h <<_ACEOF
21233 #define HAVE__FINITE 1
21234 _ACEOF
21237 done
21246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21247 $as_echo_n "checking for sincos declaration... " >&6; }
21248 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21249 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21250 $as_echo_n "(cached) " >&6
21251 else
21254 ac_ext=cpp
21255 ac_cpp='$CXXCPP $CPPFLAGS'
21256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21261 /* end confdefs.h. */
21262 #include <math.h>
21264 main ()
21266 sincos(0, 0, 0);
21268 return 0;
21270 _ACEOF
21271 if ac_fn_cxx_try_compile "$LINENO"; then :
21272 glibcxx_cv_func_sincos_use=yes
21273 else
21274 glibcxx_cv_func_sincos_use=no
21276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21277 ac_ext=c
21278 ac_cpp='$CPP $CPPFLAGS'
21279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21288 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21290 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21291 for ac_func in sincos
21292 do :
21293 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21294 if test "x$ac_cv_func_sincos" = x""yes; then :
21295 cat >>confdefs.h <<_ACEOF
21296 #define HAVE_SINCOS 1
21297 _ACEOF
21300 done
21302 else
21304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21305 $as_echo_n "checking for _sincos declaration... " >&6; }
21306 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21307 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21308 $as_echo_n "(cached) " >&6
21309 else
21312 ac_ext=cpp
21313 ac_cpp='$CXXCPP $CPPFLAGS'
21314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21319 /* end confdefs.h. */
21320 #include <math.h>
21322 main ()
21324 _sincos(0, 0, 0);
21326 return 0;
21328 _ACEOF
21329 if ac_fn_cxx_try_compile "$LINENO"; then :
21330 glibcxx_cv_func__sincos_use=yes
21331 else
21332 glibcxx_cv_func__sincos_use=no
21334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21335 ac_ext=c
21336 ac_cpp='$CPP $CPPFLAGS'
21337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21346 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21348 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21349 for ac_func in _sincos
21350 do :
21351 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21352 if test "x$ac_cv_func__sincos" = x""yes; then :
21353 cat >>confdefs.h <<_ACEOF
21354 #define HAVE__SINCOS 1
21355 _ACEOF
21358 done
21367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21368 $as_echo_n "checking for fpclass declaration... " >&6; }
21369 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21370 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21371 $as_echo_n "(cached) " >&6
21372 else
21375 ac_ext=cpp
21376 ac_cpp='$CXXCPP $CPPFLAGS'
21377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21382 /* end confdefs.h. */
21383 #include <math.h>
21384 #ifdef HAVE_IEEEFP_H
21385 #include <ieeefp.h>
21386 #endif
21389 main ()
21391 fpclass(0);
21393 return 0;
21395 _ACEOF
21396 if ac_fn_cxx_try_compile "$LINENO"; then :
21397 glibcxx_cv_func_fpclass_use=yes
21398 else
21399 glibcxx_cv_func_fpclass_use=no
21401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21402 ac_ext=c
21403 ac_cpp='$CPP $CPPFLAGS'
21404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21413 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21415 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21416 for ac_func in fpclass
21417 do :
21418 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21419 if test "x$ac_cv_func_fpclass" = x""yes; then :
21420 cat >>confdefs.h <<_ACEOF
21421 #define HAVE_FPCLASS 1
21422 _ACEOF
21425 done
21427 else
21429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21430 $as_echo_n "checking for _fpclass declaration... " >&6; }
21431 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21432 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21433 $as_echo_n "(cached) " >&6
21434 else
21437 ac_ext=cpp
21438 ac_cpp='$CXXCPP $CPPFLAGS'
21439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21444 /* end confdefs.h. */
21445 #include <math.h>
21446 #ifdef HAVE_IEEEFP_H
21447 #include <ieeefp.h>
21448 #endif
21451 main ()
21453 _fpclass(0);
21455 return 0;
21457 _ACEOF
21458 if ac_fn_cxx_try_compile "$LINENO"; then :
21459 glibcxx_cv_func__fpclass_use=yes
21460 else
21461 glibcxx_cv_func__fpclass_use=no
21463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21464 ac_ext=c
21465 ac_cpp='$CPP $CPPFLAGS'
21466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21475 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21477 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21478 for ac_func in _fpclass
21479 do :
21480 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21481 if test "x$ac_cv_func__fpclass" = x""yes; then :
21482 cat >>confdefs.h <<_ACEOF
21483 #define HAVE__FPCLASS 1
21484 _ACEOF
21487 done
21496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21497 $as_echo_n "checking for qfpclass declaration... " >&6; }
21498 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21499 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21500 $as_echo_n "(cached) " >&6
21501 else
21504 ac_ext=cpp
21505 ac_cpp='$CXXCPP $CPPFLAGS'
21506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21511 /* end confdefs.h. */
21512 #include <math.h>
21513 #ifdef HAVE_IEEEFP_H
21514 #include <ieeefp.h>
21515 #endif
21518 main ()
21520 qfpclass(0);
21522 return 0;
21524 _ACEOF
21525 if ac_fn_cxx_try_compile "$LINENO"; then :
21526 glibcxx_cv_func_qfpclass_use=yes
21527 else
21528 glibcxx_cv_func_qfpclass_use=no
21530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21531 ac_ext=c
21532 ac_cpp='$CPP $CPPFLAGS'
21533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21542 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21544 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21545 for ac_func in qfpclass
21546 do :
21547 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21548 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21549 cat >>confdefs.h <<_ACEOF
21550 #define HAVE_QFPCLASS 1
21551 _ACEOF
21554 done
21556 else
21558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21559 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21560 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21561 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21562 $as_echo_n "(cached) " >&6
21563 else
21566 ac_ext=cpp
21567 ac_cpp='$CXXCPP $CPPFLAGS'
21568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21573 /* end confdefs.h. */
21574 #include <math.h>
21575 #ifdef HAVE_IEEEFP_H
21576 #include <ieeefp.h>
21577 #endif
21580 main ()
21582 _qfpclass(0);
21584 return 0;
21586 _ACEOF
21587 if ac_fn_cxx_try_compile "$LINENO"; then :
21588 glibcxx_cv_func__qfpclass_use=yes
21589 else
21590 glibcxx_cv_func__qfpclass_use=no
21592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21593 ac_ext=c
21594 ac_cpp='$CPP $CPPFLAGS'
21595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21604 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21606 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21607 for ac_func in _qfpclass
21608 do :
21609 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21610 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21611 cat >>confdefs.h <<_ACEOF
21612 #define HAVE__QFPCLASS 1
21613 _ACEOF
21616 done
21625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21626 $as_echo_n "checking for hypot declaration... " >&6; }
21627 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21628 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21629 $as_echo_n "(cached) " >&6
21630 else
21633 ac_ext=cpp
21634 ac_cpp='$CXXCPP $CPPFLAGS'
21635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21640 /* end confdefs.h. */
21641 #include <math.h>
21643 main ()
21645 hypot(0, 0);
21647 return 0;
21649 _ACEOF
21650 if ac_fn_cxx_try_compile "$LINENO"; then :
21651 glibcxx_cv_func_hypot_use=yes
21652 else
21653 glibcxx_cv_func_hypot_use=no
21655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21656 ac_ext=c
21657 ac_cpp='$CPP $CPPFLAGS'
21658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21667 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21669 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21670 for ac_func in hypot
21671 do :
21672 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21673 if test "x$ac_cv_func_hypot" = x""yes; then :
21674 cat >>confdefs.h <<_ACEOF
21675 #define HAVE_HYPOT 1
21676 _ACEOF
21679 done
21681 else
21683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21684 $as_echo_n "checking for _hypot declaration... " >&6; }
21685 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21686 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21687 $as_echo_n "(cached) " >&6
21688 else
21691 ac_ext=cpp
21692 ac_cpp='$CXXCPP $CPPFLAGS'
21693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21698 /* end confdefs.h. */
21699 #include <math.h>
21701 main ()
21703 _hypot(0, 0);
21705 return 0;
21707 _ACEOF
21708 if ac_fn_cxx_try_compile "$LINENO"; then :
21709 glibcxx_cv_func__hypot_use=yes
21710 else
21711 glibcxx_cv_func__hypot_use=no
21713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21714 ac_ext=c
21715 ac_cpp='$CPP $CPPFLAGS'
21716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21725 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21727 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21728 for ac_func in _hypot
21729 do :
21730 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21731 if test "x$ac_cv_func__hypot" = x""yes; then :
21732 cat >>confdefs.h <<_ACEOF
21733 #define HAVE__HYPOT 1
21734 _ACEOF
21737 done
21746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21747 $as_echo_n "checking for float trig functions... " >&6; }
21748 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21749 $as_echo_n "(cached) " >&6
21750 else
21753 ac_ext=cpp
21754 ac_cpp='$CXXCPP $CPPFLAGS'
21755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21760 /* end confdefs.h. */
21761 #include <math.h>
21763 main ()
21765 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21767 return 0;
21769 _ACEOF
21770 if ac_fn_cxx_try_compile "$LINENO"; then :
21771 glibcxx_cv_func_float_trig_use=yes
21772 else
21773 glibcxx_cv_func_float_trig_use=no
21775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21776 ac_ext=c
21777 ac_cpp='$CPP $CPPFLAGS'
21778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21785 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21786 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21787 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21788 do :
21789 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21790 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21791 eval as_val=\$$as_ac_var
21792 if test "x$as_val" = x""yes; then :
21793 cat >>confdefs.h <<_ACEOF
21794 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21795 _ACEOF
21798 done
21800 else
21801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21802 $as_echo_n "checking for _float trig functions... " >&6; }
21803 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21804 $as_echo_n "(cached) " >&6
21805 else
21808 ac_ext=cpp
21809 ac_cpp='$CXXCPP $CPPFLAGS'
21810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21815 /* end confdefs.h. */
21816 #include <math.h>
21818 main ()
21820 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21822 return 0;
21824 _ACEOF
21825 if ac_fn_cxx_try_compile "$LINENO"; then :
21826 glibcxx_cv_func__float_trig_use=yes
21827 else
21828 glibcxx_cv_func__float_trig_use=no
21830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21831 ac_ext=c
21832 ac_cpp='$CPP $CPPFLAGS'
21833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21840 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21841 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21842 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21843 do :
21844 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21845 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21846 eval as_val=\$$as_ac_var
21847 if test "x$as_val" = x""yes; then :
21848 cat >>confdefs.h <<_ACEOF
21849 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21850 _ACEOF
21853 done
21862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21863 $as_echo_n "checking for float round functions... " >&6; }
21864 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21865 $as_echo_n "(cached) " >&6
21866 else
21869 ac_ext=cpp
21870 ac_cpp='$CXXCPP $CPPFLAGS'
21871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21876 /* end confdefs.h. */
21877 #include <math.h>
21879 main ()
21881 ceilf (0); floorf (0);
21883 return 0;
21885 _ACEOF
21886 if ac_fn_cxx_try_compile "$LINENO"; then :
21887 glibcxx_cv_func_float_round_use=yes
21888 else
21889 glibcxx_cv_func_float_round_use=no
21891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21892 ac_ext=c
21893 ac_cpp='$CPP $CPPFLAGS'
21894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21901 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21902 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21903 for ac_func in ceilf floorf
21904 do :
21905 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21906 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21907 eval as_val=\$$as_ac_var
21908 if test "x$as_val" = x""yes; then :
21909 cat >>confdefs.h <<_ACEOF
21910 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21911 _ACEOF
21914 done
21916 else
21917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21918 $as_echo_n "checking for _float round functions... " >&6; }
21919 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21920 $as_echo_n "(cached) " >&6
21921 else
21924 ac_ext=cpp
21925 ac_cpp='$CXXCPP $CPPFLAGS'
21926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21931 /* end confdefs.h. */
21932 #include <math.h>
21934 main ()
21936 _ceilf (0); _floorf (0);
21938 return 0;
21940 _ACEOF
21941 if ac_fn_cxx_try_compile "$LINENO"; then :
21942 glibcxx_cv_func__float_round_use=yes
21943 else
21944 glibcxx_cv_func__float_round_use=no
21946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21947 ac_ext=c
21948 ac_cpp='$CPP $CPPFLAGS'
21949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21956 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21957 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21958 for ac_func in _ceilf _floorf
21959 do :
21960 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21961 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21962 eval as_val=\$$as_ac_var
21963 if test "x$as_val" = x""yes; then :
21964 cat >>confdefs.h <<_ACEOF
21965 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21966 _ACEOF
21969 done
21979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21980 $as_echo_n "checking for expf declaration... " >&6; }
21981 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21982 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21983 $as_echo_n "(cached) " >&6
21984 else
21987 ac_ext=cpp
21988 ac_cpp='$CXXCPP $CPPFLAGS'
21989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21994 /* end confdefs.h. */
21995 #include <math.h>
21996 #ifdef HAVE_IEEEFP_H
21997 #include <ieeefp.h>
21998 #endif
22001 main ()
22003 expf(0);
22005 return 0;
22007 _ACEOF
22008 if ac_fn_cxx_try_compile "$LINENO"; then :
22009 glibcxx_cv_func_expf_use=yes
22010 else
22011 glibcxx_cv_func_expf_use=no
22013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22014 ac_ext=c
22015 ac_cpp='$CPP $CPPFLAGS'
22016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22025 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22027 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22028 for ac_func in expf
22029 do :
22030 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22031 if test "x$ac_cv_func_expf" = x""yes; then :
22032 cat >>confdefs.h <<_ACEOF
22033 #define HAVE_EXPF 1
22034 _ACEOF
22037 done
22039 else
22041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22042 $as_echo_n "checking for _expf declaration... " >&6; }
22043 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22044 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22045 $as_echo_n "(cached) " >&6
22046 else
22049 ac_ext=cpp
22050 ac_cpp='$CXXCPP $CPPFLAGS'
22051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22056 /* end confdefs.h. */
22057 #include <math.h>
22058 #ifdef HAVE_IEEEFP_H
22059 #include <ieeefp.h>
22060 #endif
22063 main ()
22065 _expf(0);
22067 return 0;
22069 _ACEOF
22070 if ac_fn_cxx_try_compile "$LINENO"; then :
22071 glibcxx_cv_func__expf_use=yes
22072 else
22073 glibcxx_cv_func__expf_use=no
22075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22076 ac_ext=c
22077 ac_cpp='$CPP $CPPFLAGS'
22078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22087 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22089 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22090 for ac_func in _expf
22091 do :
22092 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22093 if test "x$ac_cv_func__expf" = x""yes; then :
22094 cat >>confdefs.h <<_ACEOF
22095 #define HAVE__EXPF 1
22096 _ACEOF
22099 done
22108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22109 $as_echo_n "checking for isnanf declaration... " >&6; }
22110 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22111 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22112 $as_echo_n "(cached) " >&6
22113 else
22116 ac_ext=cpp
22117 ac_cpp='$CXXCPP $CPPFLAGS'
22118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22123 /* end confdefs.h. */
22124 #include <math.h>
22125 #ifdef HAVE_IEEEFP_H
22126 #include <ieeefp.h>
22127 #endif
22130 main ()
22132 isnanf(0);
22134 return 0;
22136 _ACEOF
22137 if ac_fn_cxx_try_compile "$LINENO"; then :
22138 glibcxx_cv_func_isnanf_use=yes
22139 else
22140 glibcxx_cv_func_isnanf_use=no
22142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22143 ac_ext=c
22144 ac_cpp='$CPP $CPPFLAGS'
22145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22154 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22156 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22157 for ac_func in isnanf
22158 do :
22159 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22160 if test "x$ac_cv_func_isnanf" = x""yes; then :
22161 cat >>confdefs.h <<_ACEOF
22162 #define HAVE_ISNANF 1
22163 _ACEOF
22166 done
22168 else
22170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22171 $as_echo_n "checking for _isnanf declaration... " >&6; }
22172 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22173 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22174 $as_echo_n "(cached) " >&6
22175 else
22178 ac_ext=cpp
22179 ac_cpp='$CXXCPP $CPPFLAGS'
22180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22185 /* end confdefs.h. */
22186 #include <math.h>
22187 #ifdef HAVE_IEEEFP_H
22188 #include <ieeefp.h>
22189 #endif
22192 main ()
22194 _isnanf(0);
22196 return 0;
22198 _ACEOF
22199 if ac_fn_cxx_try_compile "$LINENO"; then :
22200 glibcxx_cv_func__isnanf_use=yes
22201 else
22202 glibcxx_cv_func__isnanf_use=no
22204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22205 ac_ext=c
22206 ac_cpp='$CPP $CPPFLAGS'
22207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22216 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22218 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22219 for ac_func in _isnanf
22220 do :
22221 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22222 if test "x$ac_cv_func__isnanf" = x""yes; then :
22223 cat >>confdefs.h <<_ACEOF
22224 #define HAVE__ISNANF 1
22225 _ACEOF
22228 done
22237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22238 $as_echo_n "checking for isinff declaration... " >&6; }
22239 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22240 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22241 $as_echo_n "(cached) " >&6
22242 else
22245 ac_ext=cpp
22246 ac_cpp='$CXXCPP $CPPFLAGS'
22247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22252 /* end confdefs.h. */
22253 #include <math.h>
22254 #ifdef HAVE_IEEEFP_H
22255 #include <ieeefp.h>
22256 #endif
22259 main ()
22261 isinff(0);
22263 return 0;
22265 _ACEOF
22266 if ac_fn_cxx_try_compile "$LINENO"; then :
22267 glibcxx_cv_func_isinff_use=yes
22268 else
22269 glibcxx_cv_func_isinff_use=no
22271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22272 ac_ext=c
22273 ac_cpp='$CPP $CPPFLAGS'
22274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22283 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22285 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22286 for ac_func in isinff
22287 do :
22288 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22289 if test "x$ac_cv_func_isinff" = x""yes; then :
22290 cat >>confdefs.h <<_ACEOF
22291 #define HAVE_ISINFF 1
22292 _ACEOF
22295 done
22297 else
22299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22300 $as_echo_n "checking for _isinff declaration... " >&6; }
22301 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22302 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22303 $as_echo_n "(cached) " >&6
22304 else
22307 ac_ext=cpp
22308 ac_cpp='$CXXCPP $CPPFLAGS'
22309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22314 /* end confdefs.h. */
22315 #include <math.h>
22316 #ifdef HAVE_IEEEFP_H
22317 #include <ieeefp.h>
22318 #endif
22321 main ()
22323 _isinff(0);
22325 return 0;
22327 _ACEOF
22328 if ac_fn_cxx_try_compile "$LINENO"; then :
22329 glibcxx_cv_func__isinff_use=yes
22330 else
22331 glibcxx_cv_func__isinff_use=no
22333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22334 ac_ext=c
22335 ac_cpp='$CPP $CPPFLAGS'
22336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22345 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22347 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22348 for ac_func in _isinff
22349 do :
22350 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22351 if test "x$ac_cv_func__isinff" = x""yes; then :
22352 cat >>confdefs.h <<_ACEOF
22353 #define HAVE__ISINFF 1
22354 _ACEOF
22357 done
22366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22367 $as_echo_n "checking for atan2f declaration... " >&6; }
22368 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22369 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22370 $as_echo_n "(cached) " >&6
22371 else
22374 ac_ext=cpp
22375 ac_cpp='$CXXCPP $CPPFLAGS'
22376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22381 /* end confdefs.h. */
22382 #include <math.h>
22384 main ()
22386 atan2f(0, 0);
22388 return 0;
22390 _ACEOF
22391 if ac_fn_cxx_try_compile "$LINENO"; then :
22392 glibcxx_cv_func_atan2f_use=yes
22393 else
22394 glibcxx_cv_func_atan2f_use=no
22396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22397 ac_ext=c
22398 ac_cpp='$CPP $CPPFLAGS'
22399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22408 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22410 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22411 for ac_func in atan2f
22412 do :
22413 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22414 if test "x$ac_cv_func_atan2f" = x""yes; then :
22415 cat >>confdefs.h <<_ACEOF
22416 #define HAVE_ATAN2F 1
22417 _ACEOF
22420 done
22422 else
22424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22425 $as_echo_n "checking for _atan2f declaration... " >&6; }
22426 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22427 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22428 $as_echo_n "(cached) " >&6
22429 else
22432 ac_ext=cpp
22433 ac_cpp='$CXXCPP $CPPFLAGS'
22434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22439 /* end confdefs.h. */
22440 #include <math.h>
22442 main ()
22444 _atan2f(0, 0);
22446 return 0;
22448 _ACEOF
22449 if ac_fn_cxx_try_compile "$LINENO"; then :
22450 glibcxx_cv_func__atan2f_use=yes
22451 else
22452 glibcxx_cv_func__atan2f_use=no
22454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22455 ac_ext=c
22456 ac_cpp='$CPP $CPPFLAGS'
22457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22466 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22468 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22469 for ac_func in _atan2f
22470 do :
22471 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22472 if test "x$ac_cv_func__atan2f" = x""yes; then :
22473 cat >>confdefs.h <<_ACEOF
22474 #define HAVE__ATAN2F 1
22475 _ACEOF
22478 done
22487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22488 $as_echo_n "checking for fabsf declaration... " >&6; }
22489 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22490 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22491 $as_echo_n "(cached) " >&6
22492 else
22495 ac_ext=cpp
22496 ac_cpp='$CXXCPP $CPPFLAGS'
22497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22502 /* end confdefs.h. */
22503 #include <math.h>
22504 #ifdef HAVE_IEEEFP_H
22505 #include <ieeefp.h>
22506 #endif
22509 main ()
22511 fabsf(0);
22513 return 0;
22515 _ACEOF
22516 if ac_fn_cxx_try_compile "$LINENO"; then :
22517 glibcxx_cv_func_fabsf_use=yes
22518 else
22519 glibcxx_cv_func_fabsf_use=no
22521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22522 ac_ext=c
22523 ac_cpp='$CPP $CPPFLAGS'
22524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22533 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22535 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22536 for ac_func in fabsf
22537 do :
22538 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22539 if test "x$ac_cv_func_fabsf" = x""yes; then :
22540 cat >>confdefs.h <<_ACEOF
22541 #define HAVE_FABSF 1
22542 _ACEOF
22545 done
22547 else
22549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22550 $as_echo_n "checking for _fabsf declaration... " >&6; }
22551 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22552 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22553 $as_echo_n "(cached) " >&6
22554 else
22557 ac_ext=cpp
22558 ac_cpp='$CXXCPP $CPPFLAGS'
22559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22564 /* end confdefs.h. */
22565 #include <math.h>
22566 #ifdef HAVE_IEEEFP_H
22567 #include <ieeefp.h>
22568 #endif
22571 main ()
22573 _fabsf(0);
22575 return 0;
22577 _ACEOF
22578 if ac_fn_cxx_try_compile "$LINENO"; then :
22579 glibcxx_cv_func__fabsf_use=yes
22580 else
22581 glibcxx_cv_func__fabsf_use=no
22583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22584 ac_ext=c
22585 ac_cpp='$CPP $CPPFLAGS'
22586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22595 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22597 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22598 for ac_func in _fabsf
22599 do :
22600 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22601 if test "x$ac_cv_func__fabsf" = x""yes; then :
22602 cat >>confdefs.h <<_ACEOF
22603 #define HAVE__FABSF 1
22604 _ACEOF
22607 done
22616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22617 $as_echo_n "checking for fmodf declaration... " >&6; }
22618 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22619 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22620 $as_echo_n "(cached) " >&6
22621 else
22624 ac_ext=cpp
22625 ac_cpp='$CXXCPP $CPPFLAGS'
22626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22631 /* end confdefs.h. */
22632 #include <math.h>
22634 main ()
22636 fmodf(0, 0);
22638 return 0;
22640 _ACEOF
22641 if ac_fn_cxx_try_compile "$LINENO"; then :
22642 glibcxx_cv_func_fmodf_use=yes
22643 else
22644 glibcxx_cv_func_fmodf_use=no
22646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22647 ac_ext=c
22648 ac_cpp='$CPP $CPPFLAGS'
22649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22658 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22660 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22661 for ac_func in fmodf
22662 do :
22663 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22664 if test "x$ac_cv_func_fmodf" = x""yes; then :
22665 cat >>confdefs.h <<_ACEOF
22666 #define HAVE_FMODF 1
22667 _ACEOF
22670 done
22672 else
22674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22675 $as_echo_n "checking for _fmodf declaration... " >&6; }
22676 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22677 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22678 $as_echo_n "(cached) " >&6
22679 else
22682 ac_ext=cpp
22683 ac_cpp='$CXXCPP $CPPFLAGS'
22684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22689 /* end confdefs.h. */
22690 #include <math.h>
22692 main ()
22694 _fmodf(0, 0);
22696 return 0;
22698 _ACEOF
22699 if ac_fn_cxx_try_compile "$LINENO"; then :
22700 glibcxx_cv_func__fmodf_use=yes
22701 else
22702 glibcxx_cv_func__fmodf_use=no
22704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22705 ac_ext=c
22706 ac_cpp='$CPP $CPPFLAGS'
22707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22716 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22718 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22719 for ac_func in _fmodf
22720 do :
22721 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22722 if test "x$ac_cv_func__fmodf" = x""yes; then :
22723 cat >>confdefs.h <<_ACEOF
22724 #define HAVE__FMODF 1
22725 _ACEOF
22728 done
22737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22738 $as_echo_n "checking for frexpf declaration... " >&6; }
22739 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22740 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22741 $as_echo_n "(cached) " >&6
22742 else
22745 ac_ext=cpp
22746 ac_cpp='$CXXCPP $CPPFLAGS'
22747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22752 /* end confdefs.h. */
22753 #include <math.h>
22755 main ()
22757 frexpf(0, 0);
22759 return 0;
22761 _ACEOF
22762 if ac_fn_cxx_try_compile "$LINENO"; then :
22763 glibcxx_cv_func_frexpf_use=yes
22764 else
22765 glibcxx_cv_func_frexpf_use=no
22767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22768 ac_ext=c
22769 ac_cpp='$CPP $CPPFLAGS'
22770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22779 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22781 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22782 for ac_func in frexpf
22783 do :
22784 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22785 if test "x$ac_cv_func_frexpf" = x""yes; then :
22786 cat >>confdefs.h <<_ACEOF
22787 #define HAVE_FREXPF 1
22788 _ACEOF
22791 done
22793 else
22795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22796 $as_echo_n "checking for _frexpf declaration... " >&6; }
22797 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22798 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22799 $as_echo_n "(cached) " >&6
22800 else
22803 ac_ext=cpp
22804 ac_cpp='$CXXCPP $CPPFLAGS'
22805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22810 /* end confdefs.h. */
22811 #include <math.h>
22813 main ()
22815 _frexpf(0, 0);
22817 return 0;
22819 _ACEOF
22820 if ac_fn_cxx_try_compile "$LINENO"; then :
22821 glibcxx_cv_func__frexpf_use=yes
22822 else
22823 glibcxx_cv_func__frexpf_use=no
22825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22826 ac_ext=c
22827 ac_cpp='$CPP $CPPFLAGS'
22828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22837 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22839 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22840 for ac_func in _frexpf
22841 do :
22842 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22843 if test "x$ac_cv_func__frexpf" = x""yes; then :
22844 cat >>confdefs.h <<_ACEOF
22845 #define HAVE__FREXPF 1
22846 _ACEOF
22849 done
22858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22859 $as_echo_n "checking for hypotf declaration... " >&6; }
22860 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22861 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22862 $as_echo_n "(cached) " >&6
22863 else
22866 ac_ext=cpp
22867 ac_cpp='$CXXCPP $CPPFLAGS'
22868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22873 /* end confdefs.h. */
22874 #include <math.h>
22876 main ()
22878 hypotf(0, 0);
22880 return 0;
22882 _ACEOF
22883 if ac_fn_cxx_try_compile "$LINENO"; then :
22884 glibcxx_cv_func_hypotf_use=yes
22885 else
22886 glibcxx_cv_func_hypotf_use=no
22888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22889 ac_ext=c
22890 ac_cpp='$CPP $CPPFLAGS'
22891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22900 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22902 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22903 for ac_func in hypotf
22904 do :
22905 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22906 if test "x$ac_cv_func_hypotf" = x""yes; then :
22907 cat >>confdefs.h <<_ACEOF
22908 #define HAVE_HYPOTF 1
22909 _ACEOF
22912 done
22914 else
22916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22917 $as_echo_n "checking for _hypotf declaration... " >&6; }
22918 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22919 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22920 $as_echo_n "(cached) " >&6
22921 else
22924 ac_ext=cpp
22925 ac_cpp='$CXXCPP $CPPFLAGS'
22926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22931 /* end confdefs.h. */
22932 #include <math.h>
22934 main ()
22936 _hypotf(0, 0);
22938 return 0;
22940 _ACEOF
22941 if ac_fn_cxx_try_compile "$LINENO"; then :
22942 glibcxx_cv_func__hypotf_use=yes
22943 else
22944 glibcxx_cv_func__hypotf_use=no
22946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22947 ac_ext=c
22948 ac_cpp='$CPP $CPPFLAGS'
22949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22958 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22960 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22961 for ac_func in _hypotf
22962 do :
22963 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22964 if test "x$ac_cv_func__hypotf" = x""yes; then :
22965 cat >>confdefs.h <<_ACEOF
22966 #define HAVE__HYPOTF 1
22967 _ACEOF
22970 done
22979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22980 $as_echo_n "checking for ldexpf declaration... " >&6; }
22981 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22982 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22983 $as_echo_n "(cached) " >&6
22984 else
22987 ac_ext=cpp
22988 ac_cpp='$CXXCPP $CPPFLAGS'
22989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22994 /* end confdefs.h. */
22995 #include <math.h>
22997 main ()
22999 ldexpf(0, 0);
23001 return 0;
23003 _ACEOF
23004 if ac_fn_cxx_try_compile "$LINENO"; then :
23005 glibcxx_cv_func_ldexpf_use=yes
23006 else
23007 glibcxx_cv_func_ldexpf_use=no
23009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23010 ac_ext=c
23011 ac_cpp='$CPP $CPPFLAGS'
23012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23021 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23023 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23024 for ac_func in ldexpf
23025 do :
23026 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23027 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23028 cat >>confdefs.h <<_ACEOF
23029 #define HAVE_LDEXPF 1
23030 _ACEOF
23033 done
23035 else
23037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23038 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23039 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23040 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23041 $as_echo_n "(cached) " >&6
23042 else
23045 ac_ext=cpp
23046 ac_cpp='$CXXCPP $CPPFLAGS'
23047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23052 /* end confdefs.h. */
23053 #include <math.h>
23055 main ()
23057 _ldexpf(0, 0);
23059 return 0;
23061 _ACEOF
23062 if ac_fn_cxx_try_compile "$LINENO"; then :
23063 glibcxx_cv_func__ldexpf_use=yes
23064 else
23065 glibcxx_cv_func__ldexpf_use=no
23067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23068 ac_ext=c
23069 ac_cpp='$CPP $CPPFLAGS'
23070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23079 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23081 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23082 for ac_func in _ldexpf
23083 do :
23084 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23085 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23086 cat >>confdefs.h <<_ACEOF
23087 #define HAVE__LDEXPF 1
23088 _ACEOF
23091 done
23100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23101 $as_echo_n "checking for logf declaration... " >&6; }
23102 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23103 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23104 $as_echo_n "(cached) " >&6
23105 else
23108 ac_ext=cpp
23109 ac_cpp='$CXXCPP $CPPFLAGS'
23110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23115 /* end confdefs.h. */
23116 #include <math.h>
23117 #ifdef HAVE_IEEEFP_H
23118 #include <ieeefp.h>
23119 #endif
23122 main ()
23124 logf(0);
23126 return 0;
23128 _ACEOF
23129 if ac_fn_cxx_try_compile "$LINENO"; then :
23130 glibcxx_cv_func_logf_use=yes
23131 else
23132 glibcxx_cv_func_logf_use=no
23134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23135 ac_ext=c
23136 ac_cpp='$CPP $CPPFLAGS'
23137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23146 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23148 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23149 for ac_func in logf
23150 do :
23151 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23152 if test "x$ac_cv_func_logf" = x""yes; then :
23153 cat >>confdefs.h <<_ACEOF
23154 #define HAVE_LOGF 1
23155 _ACEOF
23158 done
23160 else
23162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23163 $as_echo_n "checking for _logf declaration... " >&6; }
23164 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23165 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23166 $as_echo_n "(cached) " >&6
23167 else
23170 ac_ext=cpp
23171 ac_cpp='$CXXCPP $CPPFLAGS'
23172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23177 /* end confdefs.h. */
23178 #include <math.h>
23179 #ifdef HAVE_IEEEFP_H
23180 #include <ieeefp.h>
23181 #endif
23184 main ()
23186 _logf(0);
23188 return 0;
23190 _ACEOF
23191 if ac_fn_cxx_try_compile "$LINENO"; then :
23192 glibcxx_cv_func__logf_use=yes
23193 else
23194 glibcxx_cv_func__logf_use=no
23196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23197 ac_ext=c
23198 ac_cpp='$CPP $CPPFLAGS'
23199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23208 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23210 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23211 for ac_func in _logf
23212 do :
23213 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23214 if test "x$ac_cv_func__logf" = x""yes; then :
23215 cat >>confdefs.h <<_ACEOF
23216 #define HAVE__LOGF 1
23217 _ACEOF
23220 done
23229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23230 $as_echo_n "checking for log10f declaration... " >&6; }
23231 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23232 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23233 $as_echo_n "(cached) " >&6
23234 else
23237 ac_ext=cpp
23238 ac_cpp='$CXXCPP $CPPFLAGS'
23239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23244 /* end confdefs.h. */
23245 #include <math.h>
23246 #ifdef HAVE_IEEEFP_H
23247 #include <ieeefp.h>
23248 #endif
23251 main ()
23253 log10f(0);
23255 return 0;
23257 _ACEOF
23258 if ac_fn_cxx_try_compile "$LINENO"; then :
23259 glibcxx_cv_func_log10f_use=yes
23260 else
23261 glibcxx_cv_func_log10f_use=no
23263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23264 ac_ext=c
23265 ac_cpp='$CPP $CPPFLAGS'
23266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23275 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23277 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23278 for ac_func in log10f
23279 do :
23280 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23281 if test "x$ac_cv_func_log10f" = x""yes; then :
23282 cat >>confdefs.h <<_ACEOF
23283 #define HAVE_LOG10F 1
23284 _ACEOF
23287 done
23289 else
23291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23292 $as_echo_n "checking for _log10f declaration... " >&6; }
23293 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23294 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23295 $as_echo_n "(cached) " >&6
23296 else
23299 ac_ext=cpp
23300 ac_cpp='$CXXCPP $CPPFLAGS'
23301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23306 /* end confdefs.h. */
23307 #include <math.h>
23308 #ifdef HAVE_IEEEFP_H
23309 #include <ieeefp.h>
23310 #endif
23313 main ()
23315 _log10f(0);
23317 return 0;
23319 _ACEOF
23320 if ac_fn_cxx_try_compile "$LINENO"; then :
23321 glibcxx_cv_func__log10f_use=yes
23322 else
23323 glibcxx_cv_func__log10f_use=no
23325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23326 ac_ext=c
23327 ac_cpp='$CPP $CPPFLAGS'
23328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23337 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23339 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23340 for ac_func in _log10f
23341 do :
23342 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23343 if test "x$ac_cv_func__log10f" = x""yes; then :
23344 cat >>confdefs.h <<_ACEOF
23345 #define HAVE__LOG10F 1
23346 _ACEOF
23349 done
23358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23359 $as_echo_n "checking for modff declaration... " >&6; }
23360 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23361 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23362 $as_echo_n "(cached) " >&6
23363 else
23366 ac_ext=cpp
23367 ac_cpp='$CXXCPP $CPPFLAGS'
23368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23373 /* end confdefs.h. */
23374 #include <math.h>
23376 main ()
23378 modff(0, 0);
23380 return 0;
23382 _ACEOF
23383 if ac_fn_cxx_try_compile "$LINENO"; then :
23384 glibcxx_cv_func_modff_use=yes
23385 else
23386 glibcxx_cv_func_modff_use=no
23388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23389 ac_ext=c
23390 ac_cpp='$CPP $CPPFLAGS'
23391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23400 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23402 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23403 for ac_func in modff
23404 do :
23405 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23406 if test "x$ac_cv_func_modff" = x""yes; then :
23407 cat >>confdefs.h <<_ACEOF
23408 #define HAVE_MODFF 1
23409 _ACEOF
23412 done
23414 else
23416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23417 $as_echo_n "checking for _modff declaration... " >&6; }
23418 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23419 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23420 $as_echo_n "(cached) " >&6
23421 else
23424 ac_ext=cpp
23425 ac_cpp='$CXXCPP $CPPFLAGS'
23426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23431 /* end confdefs.h. */
23432 #include <math.h>
23434 main ()
23436 _modff(0, 0);
23438 return 0;
23440 _ACEOF
23441 if ac_fn_cxx_try_compile "$LINENO"; then :
23442 glibcxx_cv_func__modff_use=yes
23443 else
23444 glibcxx_cv_func__modff_use=no
23446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23447 ac_ext=c
23448 ac_cpp='$CPP $CPPFLAGS'
23449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23458 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23460 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23461 for ac_func in _modff
23462 do :
23463 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23464 if test "x$ac_cv_func__modff" = x""yes; then :
23465 cat >>confdefs.h <<_ACEOF
23466 #define HAVE__MODFF 1
23467 _ACEOF
23470 done
23479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23480 $as_echo_n "checking for modf declaration... " >&6; }
23481 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23482 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23483 $as_echo_n "(cached) " >&6
23484 else
23487 ac_ext=cpp
23488 ac_cpp='$CXXCPP $CPPFLAGS'
23489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23494 /* end confdefs.h. */
23495 #include <math.h>
23497 main ()
23499 modf(0, 0);
23501 return 0;
23503 _ACEOF
23504 if ac_fn_cxx_try_compile "$LINENO"; then :
23505 glibcxx_cv_func_modf_use=yes
23506 else
23507 glibcxx_cv_func_modf_use=no
23509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23510 ac_ext=c
23511 ac_cpp='$CPP $CPPFLAGS'
23512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23521 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23523 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23524 for ac_func in modf
23525 do :
23526 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23527 if test "x$ac_cv_func_modf" = x""yes; then :
23528 cat >>confdefs.h <<_ACEOF
23529 #define HAVE_MODF 1
23530 _ACEOF
23533 done
23535 else
23537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23538 $as_echo_n "checking for _modf declaration... " >&6; }
23539 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23540 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23541 $as_echo_n "(cached) " >&6
23542 else
23545 ac_ext=cpp
23546 ac_cpp='$CXXCPP $CPPFLAGS'
23547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23552 /* end confdefs.h. */
23553 #include <math.h>
23555 main ()
23557 _modf(0, 0);
23559 return 0;
23561 _ACEOF
23562 if ac_fn_cxx_try_compile "$LINENO"; then :
23563 glibcxx_cv_func__modf_use=yes
23564 else
23565 glibcxx_cv_func__modf_use=no
23567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23568 ac_ext=c
23569 ac_cpp='$CPP $CPPFLAGS'
23570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23579 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23581 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23582 for ac_func in _modf
23583 do :
23584 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23585 if test "x$ac_cv_func__modf" = x""yes; then :
23586 cat >>confdefs.h <<_ACEOF
23587 #define HAVE__MODF 1
23588 _ACEOF
23591 done
23600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23601 $as_echo_n "checking for powf declaration... " >&6; }
23602 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23603 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23604 $as_echo_n "(cached) " >&6
23605 else
23608 ac_ext=cpp
23609 ac_cpp='$CXXCPP $CPPFLAGS'
23610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23615 /* end confdefs.h. */
23616 #include <math.h>
23618 main ()
23620 powf(0, 0);
23622 return 0;
23624 _ACEOF
23625 if ac_fn_cxx_try_compile "$LINENO"; then :
23626 glibcxx_cv_func_powf_use=yes
23627 else
23628 glibcxx_cv_func_powf_use=no
23630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23631 ac_ext=c
23632 ac_cpp='$CPP $CPPFLAGS'
23633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23642 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23644 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23645 for ac_func in powf
23646 do :
23647 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23648 if test "x$ac_cv_func_powf" = x""yes; then :
23649 cat >>confdefs.h <<_ACEOF
23650 #define HAVE_POWF 1
23651 _ACEOF
23654 done
23656 else
23658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23659 $as_echo_n "checking for _powf declaration... " >&6; }
23660 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23661 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23662 $as_echo_n "(cached) " >&6
23663 else
23666 ac_ext=cpp
23667 ac_cpp='$CXXCPP $CPPFLAGS'
23668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23673 /* end confdefs.h. */
23674 #include <math.h>
23676 main ()
23678 _powf(0, 0);
23680 return 0;
23682 _ACEOF
23683 if ac_fn_cxx_try_compile "$LINENO"; then :
23684 glibcxx_cv_func__powf_use=yes
23685 else
23686 glibcxx_cv_func__powf_use=no
23688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23689 ac_ext=c
23690 ac_cpp='$CPP $CPPFLAGS'
23691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23700 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23702 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23703 for ac_func in _powf
23704 do :
23705 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23706 if test "x$ac_cv_func__powf" = x""yes; then :
23707 cat >>confdefs.h <<_ACEOF
23708 #define HAVE__POWF 1
23709 _ACEOF
23712 done
23721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23722 $as_echo_n "checking for sqrtf declaration... " >&6; }
23723 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23724 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23725 $as_echo_n "(cached) " >&6
23726 else
23729 ac_ext=cpp
23730 ac_cpp='$CXXCPP $CPPFLAGS'
23731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23736 /* end confdefs.h. */
23737 #include <math.h>
23738 #ifdef HAVE_IEEEFP_H
23739 #include <ieeefp.h>
23740 #endif
23743 main ()
23745 sqrtf(0);
23747 return 0;
23749 _ACEOF
23750 if ac_fn_cxx_try_compile "$LINENO"; then :
23751 glibcxx_cv_func_sqrtf_use=yes
23752 else
23753 glibcxx_cv_func_sqrtf_use=no
23755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23756 ac_ext=c
23757 ac_cpp='$CPP $CPPFLAGS'
23758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23767 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23769 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23770 for ac_func in sqrtf
23771 do :
23772 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23773 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23774 cat >>confdefs.h <<_ACEOF
23775 #define HAVE_SQRTF 1
23776 _ACEOF
23779 done
23781 else
23783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23784 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23785 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23786 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23787 $as_echo_n "(cached) " >&6
23788 else
23791 ac_ext=cpp
23792 ac_cpp='$CXXCPP $CPPFLAGS'
23793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23798 /* end confdefs.h. */
23799 #include <math.h>
23800 #ifdef HAVE_IEEEFP_H
23801 #include <ieeefp.h>
23802 #endif
23805 main ()
23807 _sqrtf(0);
23809 return 0;
23811 _ACEOF
23812 if ac_fn_cxx_try_compile "$LINENO"; then :
23813 glibcxx_cv_func__sqrtf_use=yes
23814 else
23815 glibcxx_cv_func__sqrtf_use=no
23817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23818 ac_ext=c
23819 ac_cpp='$CPP $CPPFLAGS'
23820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23829 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23831 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23832 for ac_func in _sqrtf
23833 do :
23834 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23835 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23836 cat >>confdefs.h <<_ACEOF
23837 #define HAVE__SQRTF 1
23838 _ACEOF
23841 done
23850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23851 $as_echo_n "checking for sincosf declaration... " >&6; }
23852 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23853 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23854 $as_echo_n "(cached) " >&6
23855 else
23858 ac_ext=cpp
23859 ac_cpp='$CXXCPP $CPPFLAGS'
23860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23865 /* end confdefs.h. */
23866 #include <math.h>
23868 main ()
23870 sincosf(0, 0, 0);
23872 return 0;
23874 _ACEOF
23875 if ac_fn_cxx_try_compile "$LINENO"; then :
23876 glibcxx_cv_func_sincosf_use=yes
23877 else
23878 glibcxx_cv_func_sincosf_use=no
23880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23881 ac_ext=c
23882 ac_cpp='$CPP $CPPFLAGS'
23883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23892 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23894 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23895 for ac_func in sincosf
23896 do :
23897 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23898 if test "x$ac_cv_func_sincosf" = x""yes; then :
23899 cat >>confdefs.h <<_ACEOF
23900 #define HAVE_SINCOSF 1
23901 _ACEOF
23904 done
23906 else
23908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23909 $as_echo_n "checking for _sincosf declaration... " >&6; }
23910 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23911 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23912 $as_echo_n "(cached) " >&6
23913 else
23916 ac_ext=cpp
23917 ac_cpp='$CXXCPP $CPPFLAGS'
23918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23923 /* end confdefs.h. */
23924 #include <math.h>
23926 main ()
23928 _sincosf(0, 0, 0);
23930 return 0;
23932 _ACEOF
23933 if ac_fn_cxx_try_compile "$LINENO"; then :
23934 glibcxx_cv_func__sincosf_use=yes
23935 else
23936 glibcxx_cv_func__sincosf_use=no
23938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23939 ac_ext=c
23940 ac_cpp='$CPP $CPPFLAGS'
23941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23950 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23952 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23953 for ac_func in _sincosf
23954 do :
23955 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23956 if test "x$ac_cv_func__sincosf" = x""yes; then :
23957 cat >>confdefs.h <<_ACEOF
23958 #define HAVE__SINCOSF 1
23959 _ACEOF
23962 done
23971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23972 $as_echo_n "checking for finitef declaration... " >&6; }
23973 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23974 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23975 $as_echo_n "(cached) " >&6
23976 else
23979 ac_ext=cpp
23980 ac_cpp='$CXXCPP $CPPFLAGS'
23981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23986 /* end confdefs.h. */
23987 #include <math.h>
23988 #ifdef HAVE_IEEEFP_H
23989 #include <ieeefp.h>
23990 #endif
23993 main ()
23995 finitef(0);
23997 return 0;
23999 _ACEOF
24000 if ac_fn_cxx_try_compile "$LINENO"; then :
24001 glibcxx_cv_func_finitef_use=yes
24002 else
24003 glibcxx_cv_func_finitef_use=no
24005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24006 ac_ext=c
24007 ac_cpp='$CPP $CPPFLAGS'
24008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24017 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24019 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24020 for ac_func in finitef
24021 do :
24022 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24023 if test "x$ac_cv_func_finitef" = x""yes; then :
24024 cat >>confdefs.h <<_ACEOF
24025 #define HAVE_FINITEF 1
24026 _ACEOF
24029 done
24031 else
24033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24034 $as_echo_n "checking for _finitef declaration... " >&6; }
24035 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24036 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24037 $as_echo_n "(cached) " >&6
24038 else
24041 ac_ext=cpp
24042 ac_cpp='$CXXCPP $CPPFLAGS'
24043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24048 /* end confdefs.h. */
24049 #include <math.h>
24050 #ifdef HAVE_IEEEFP_H
24051 #include <ieeefp.h>
24052 #endif
24055 main ()
24057 _finitef(0);
24059 return 0;
24061 _ACEOF
24062 if ac_fn_cxx_try_compile "$LINENO"; then :
24063 glibcxx_cv_func__finitef_use=yes
24064 else
24065 glibcxx_cv_func__finitef_use=no
24067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24068 ac_ext=c
24069 ac_cpp='$CPP $CPPFLAGS'
24070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24079 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24081 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24082 for ac_func in _finitef
24083 do :
24084 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24085 if test "x$ac_cv_func__finitef" = x""yes; then :
24086 cat >>confdefs.h <<_ACEOF
24087 #define HAVE__FINITEF 1
24088 _ACEOF
24091 done
24100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24101 $as_echo_n "checking for long double trig functions... " >&6; }
24102 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24103 $as_echo_n "(cached) " >&6
24104 else
24107 ac_ext=cpp
24108 ac_cpp='$CXXCPP $CPPFLAGS'
24109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24114 /* end confdefs.h. */
24115 #include <math.h>
24117 main ()
24119 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24121 return 0;
24123 _ACEOF
24124 if ac_fn_cxx_try_compile "$LINENO"; then :
24125 glibcxx_cv_func_long_double_trig_use=yes
24126 else
24127 glibcxx_cv_func_long_double_trig_use=no
24129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24130 ac_ext=c
24131 ac_cpp='$CPP $CPPFLAGS'
24132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24139 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24140 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24141 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24142 do :
24143 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24144 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24145 eval as_val=\$$as_ac_var
24146 if test "x$as_val" = x""yes; then :
24147 cat >>confdefs.h <<_ACEOF
24148 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24149 _ACEOF
24152 done
24154 else
24155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24156 $as_echo_n "checking for _long double trig functions... " >&6; }
24157 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24158 $as_echo_n "(cached) " >&6
24159 else
24162 ac_ext=cpp
24163 ac_cpp='$CXXCPP $CPPFLAGS'
24164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24169 /* end confdefs.h. */
24170 #include <math.h>
24172 main ()
24174 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24176 return 0;
24178 _ACEOF
24179 if ac_fn_cxx_try_compile "$LINENO"; then :
24180 glibcxx_cv_func__long_double_trig_use=yes
24181 else
24182 glibcxx_cv_func__long_double_trig_use=no
24184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24185 ac_ext=c
24186 ac_cpp='$CPP $CPPFLAGS'
24187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24194 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24195 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24196 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24197 do :
24198 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24199 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24200 eval as_val=\$$as_ac_var
24201 if test "x$as_val" = x""yes; then :
24202 cat >>confdefs.h <<_ACEOF
24203 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24204 _ACEOF
24207 done
24216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24217 $as_echo_n "checking for long double round functions... " >&6; }
24218 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24219 $as_echo_n "(cached) " >&6
24220 else
24223 ac_ext=cpp
24224 ac_cpp='$CXXCPP $CPPFLAGS'
24225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24230 /* end confdefs.h. */
24231 #include <math.h>
24233 main ()
24235 ceill (0); floorl (0);
24237 return 0;
24239 _ACEOF
24240 if ac_fn_cxx_try_compile "$LINENO"; then :
24241 glibcxx_cv_func_long_double_round_use=yes
24242 else
24243 glibcxx_cv_func_long_double_round_use=no
24245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24246 ac_ext=c
24247 ac_cpp='$CPP $CPPFLAGS'
24248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24255 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24256 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24257 for ac_func in ceill floorl
24258 do :
24259 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24260 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24261 eval as_val=\$$as_ac_var
24262 if test "x$as_val" = x""yes; then :
24263 cat >>confdefs.h <<_ACEOF
24264 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24265 _ACEOF
24268 done
24270 else
24271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24272 $as_echo_n "checking for _long double round functions... " >&6; }
24273 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24274 $as_echo_n "(cached) " >&6
24275 else
24278 ac_ext=cpp
24279 ac_cpp='$CXXCPP $CPPFLAGS'
24280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24285 /* end confdefs.h. */
24286 #include <math.h>
24288 main ()
24290 _ceill (0); _floorl (0);
24292 return 0;
24294 _ACEOF
24295 if ac_fn_cxx_try_compile "$LINENO"; then :
24296 glibcxx_cv_func__long_double_round_use=yes
24297 else
24298 glibcxx_cv_func__long_double_round_use=no
24300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24301 ac_ext=c
24302 ac_cpp='$CPP $CPPFLAGS'
24303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24310 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24311 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24312 for ac_func in _ceill _floorl
24313 do :
24314 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24315 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24316 eval as_val=\$$as_ac_var
24317 if test "x$as_val" = x""yes; then :
24318 cat >>confdefs.h <<_ACEOF
24319 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24320 _ACEOF
24323 done
24333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24334 $as_echo_n "checking for isnanl declaration... " >&6; }
24335 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24336 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24337 $as_echo_n "(cached) " >&6
24338 else
24341 ac_ext=cpp
24342 ac_cpp='$CXXCPP $CPPFLAGS'
24343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24348 /* end confdefs.h. */
24349 #include <math.h>
24350 #ifdef HAVE_IEEEFP_H
24351 #include <ieeefp.h>
24352 #endif
24355 main ()
24357 isnanl(0);
24359 return 0;
24361 _ACEOF
24362 if ac_fn_cxx_try_compile "$LINENO"; then :
24363 glibcxx_cv_func_isnanl_use=yes
24364 else
24365 glibcxx_cv_func_isnanl_use=no
24367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24368 ac_ext=c
24369 ac_cpp='$CPP $CPPFLAGS'
24370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24379 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24381 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24382 for ac_func in isnanl
24383 do :
24384 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24385 if test "x$ac_cv_func_isnanl" = x""yes; then :
24386 cat >>confdefs.h <<_ACEOF
24387 #define HAVE_ISNANL 1
24388 _ACEOF
24391 done
24393 else
24395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24396 $as_echo_n "checking for _isnanl declaration... " >&6; }
24397 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24398 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24399 $as_echo_n "(cached) " >&6
24400 else
24403 ac_ext=cpp
24404 ac_cpp='$CXXCPP $CPPFLAGS'
24405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24410 /* end confdefs.h. */
24411 #include <math.h>
24412 #ifdef HAVE_IEEEFP_H
24413 #include <ieeefp.h>
24414 #endif
24417 main ()
24419 _isnanl(0);
24421 return 0;
24423 _ACEOF
24424 if ac_fn_cxx_try_compile "$LINENO"; then :
24425 glibcxx_cv_func__isnanl_use=yes
24426 else
24427 glibcxx_cv_func__isnanl_use=no
24429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24430 ac_ext=c
24431 ac_cpp='$CPP $CPPFLAGS'
24432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24441 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24443 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24444 for ac_func in _isnanl
24445 do :
24446 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24447 if test "x$ac_cv_func__isnanl" = x""yes; then :
24448 cat >>confdefs.h <<_ACEOF
24449 #define HAVE__ISNANL 1
24450 _ACEOF
24453 done
24462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24463 $as_echo_n "checking for isinfl declaration... " >&6; }
24464 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24465 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24466 $as_echo_n "(cached) " >&6
24467 else
24470 ac_ext=cpp
24471 ac_cpp='$CXXCPP $CPPFLAGS'
24472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24477 /* end confdefs.h. */
24478 #include <math.h>
24479 #ifdef HAVE_IEEEFP_H
24480 #include <ieeefp.h>
24481 #endif
24484 main ()
24486 isinfl(0);
24488 return 0;
24490 _ACEOF
24491 if ac_fn_cxx_try_compile "$LINENO"; then :
24492 glibcxx_cv_func_isinfl_use=yes
24493 else
24494 glibcxx_cv_func_isinfl_use=no
24496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24497 ac_ext=c
24498 ac_cpp='$CPP $CPPFLAGS'
24499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24508 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24510 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24511 for ac_func in isinfl
24512 do :
24513 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24514 if test "x$ac_cv_func_isinfl" = x""yes; then :
24515 cat >>confdefs.h <<_ACEOF
24516 #define HAVE_ISINFL 1
24517 _ACEOF
24520 done
24522 else
24524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24525 $as_echo_n "checking for _isinfl declaration... " >&6; }
24526 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24527 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24528 $as_echo_n "(cached) " >&6
24529 else
24532 ac_ext=cpp
24533 ac_cpp='$CXXCPP $CPPFLAGS'
24534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24539 /* end confdefs.h. */
24540 #include <math.h>
24541 #ifdef HAVE_IEEEFP_H
24542 #include <ieeefp.h>
24543 #endif
24546 main ()
24548 _isinfl(0);
24550 return 0;
24552 _ACEOF
24553 if ac_fn_cxx_try_compile "$LINENO"; then :
24554 glibcxx_cv_func__isinfl_use=yes
24555 else
24556 glibcxx_cv_func__isinfl_use=no
24558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24559 ac_ext=c
24560 ac_cpp='$CPP $CPPFLAGS'
24561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24570 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24572 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24573 for ac_func in _isinfl
24574 do :
24575 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24576 if test "x$ac_cv_func__isinfl" = x""yes; then :
24577 cat >>confdefs.h <<_ACEOF
24578 #define HAVE__ISINFL 1
24579 _ACEOF
24582 done
24591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24592 $as_echo_n "checking for atan2l declaration... " >&6; }
24593 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24594 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24595 $as_echo_n "(cached) " >&6
24596 else
24599 ac_ext=cpp
24600 ac_cpp='$CXXCPP $CPPFLAGS'
24601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24606 /* end confdefs.h. */
24607 #include <math.h>
24609 main ()
24611 atan2l(0, 0);
24613 return 0;
24615 _ACEOF
24616 if ac_fn_cxx_try_compile "$LINENO"; then :
24617 glibcxx_cv_func_atan2l_use=yes
24618 else
24619 glibcxx_cv_func_atan2l_use=no
24621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24622 ac_ext=c
24623 ac_cpp='$CPP $CPPFLAGS'
24624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24633 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24635 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24636 for ac_func in atan2l
24637 do :
24638 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24639 if test "x$ac_cv_func_atan2l" = x""yes; then :
24640 cat >>confdefs.h <<_ACEOF
24641 #define HAVE_ATAN2L 1
24642 _ACEOF
24645 done
24647 else
24649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24650 $as_echo_n "checking for _atan2l declaration... " >&6; }
24651 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24652 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24653 $as_echo_n "(cached) " >&6
24654 else
24657 ac_ext=cpp
24658 ac_cpp='$CXXCPP $CPPFLAGS'
24659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24664 /* end confdefs.h. */
24665 #include <math.h>
24667 main ()
24669 _atan2l(0, 0);
24671 return 0;
24673 _ACEOF
24674 if ac_fn_cxx_try_compile "$LINENO"; then :
24675 glibcxx_cv_func__atan2l_use=yes
24676 else
24677 glibcxx_cv_func__atan2l_use=no
24679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24680 ac_ext=c
24681 ac_cpp='$CPP $CPPFLAGS'
24682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24691 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24693 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24694 for ac_func in _atan2l
24695 do :
24696 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24697 if test "x$ac_cv_func__atan2l" = x""yes; then :
24698 cat >>confdefs.h <<_ACEOF
24699 #define HAVE__ATAN2L 1
24700 _ACEOF
24703 done
24712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24713 $as_echo_n "checking for expl declaration... " >&6; }
24714 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24715 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24716 $as_echo_n "(cached) " >&6
24717 else
24720 ac_ext=cpp
24721 ac_cpp='$CXXCPP $CPPFLAGS'
24722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24727 /* end confdefs.h. */
24728 #include <math.h>
24729 #ifdef HAVE_IEEEFP_H
24730 #include <ieeefp.h>
24731 #endif
24734 main ()
24736 expl(0);
24738 return 0;
24740 _ACEOF
24741 if ac_fn_cxx_try_compile "$LINENO"; then :
24742 glibcxx_cv_func_expl_use=yes
24743 else
24744 glibcxx_cv_func_expl_use=no
24746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24747 ac_ext=c
24748 ac_cpp='$CPP $CPPFLAGS'
24749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24758 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24760 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24761 for ac_func in expl
24762 do :
24763 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24764 if test "x$ac_cv_func_expl" = x""yes; then :
24765 cat >>confdefs.h <<_ACEOF
24766 #define HAVE_EXPL 1
24767 _ACEOF
24770 done
24772 else
24774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24775 $as_echo_n "checking for _expl declaration... " >&6; }
24776 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24777 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24778 $as_echo_n "(cached) " >&6
24779 else
24782 ac_ext=cpp
24783 ac_cpp='$CXXCPP $CPPFLAGS'
24784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24789 /* end confdefs.h. */
24790 #include <math.h>
24791 #ifdef HAVE_IEEEFP_H
24792 #include <ieeefp.h>
24793 #endif
24796 main ()
24798 _expl(0);
24800 return 0;
24802 _ACEOF
24803 if ac_fn_cxx_try_compile "$LINENO"; then :
24804 glibcxx_cv_func__expl_use=yes
24805 else
24806 glibcxx_cv_func__expl_use=no
24808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24809 ac_ext=c
24810 ac_cpp='$CPP $CPPFLAGS'
24811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24820 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24822 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24823 for ac_func in _expl
24824 do :
24825 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24826 if test "x$ac_cv_func__expl" = x""yes; then :
24827 cat >>confdefs.h <<_ACEOF
24828 #define HAVE__EXPL 1
24829 _ACEOF
24832 done
24841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24842 $as_echo_n "checking for fabsl declaration... " >&6; }
24843 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24844 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24845 $as_echo_n "(cached) " >&6
24846 else
24849 ac_ext=cpp
24850 ac_cpp='$CXXCPP $CPPFLAGS'
24851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24856 /* end confdefs.h. */
24857 #include <math.h>
24858 #ifdef HAVE_IEEEFP_H
24859 #include <ieeefp.h>
24860 #endif
24863 main ()
24865 fabsl(0);
24867 return 0;
24869 _ACEOF
24870 if ac_fn_cxx_try_compile "$LINENO"; then :
24871 glibcxx_cv_func_fabsl_use=yes
24872 else
24873 glibcxx_cv_func_fabsl_use=no
24875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24876 ac_ext=c
24877 ac_cpp='$CPP $CPPFLAGS'
24878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24887 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24889 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24890 for ac_func in fabsl
24891 do :
24892 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24893 if test "x$ac_cv_func_fabsl" = x""yes; then :
24894 cat >>confdefs.h <<_ACEOF
24895 #define HAVE_FABSL 1
24896 _ACEOF
24899 done
24901 else
24903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24904 $as_echo_n "checking for _fabsl declaration... " >&6; }
24905 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24906 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24907 $as_echo_n "(cached) " >&6
24908 else
24911 ac_ext=cpp
24912 ac_cpp='$CXXCPP $CPPFLAGS'
24913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24918 /* end confdefs.h. */
24919 #include <math.h>
24920 #ifdef HAVE_IEEEFP_H
24921 #include <ieeefp.h>
24922 #endif
24925 main ()
24927 _fabsl(0);
24929 return 0;
24931 _ACEOF
24932 if ac_fn_cxx_try_compile "$LINENO"; then :
24933 glibcxx_cv_func__fabsl_use=yes
24934 else
24935 glibcxx_cv_func__fabsl_use=no
24937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24938 ac_ext=c
24939 ac_cpp='$CPP $CPPFLAGS'
24940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24949 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24951 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24952 for ac_func in _fabsl
24953 do :
24954 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24955 if test "x$ac_cv_func__fabsl" = x""yes; then :
24956 cat >>confdefs.h <<_ACEOF
24957 #define HAVE__FABSL 1
24958 _ACEOF
24961 done
24970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24971 $as_echo_n "checking for fmodl declaration... " >&6; }
24972 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24973 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24974 $as_echo_n "(cached) " >&6
24975 else
24978 ac_ext=cpp
24979 ac_cpp='$CXXCPP $CPPFLAGS'
24980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24985 /* end confdefs.h. */
24986 #include <math.h>
24988 main ()
24990 fmodl(0, 0);
24992 return 0;
24994 _ACEOF
24995 if ac_fn_cxx_try_compile "$LINENO"; then :
24996 glibcxx_cv_func_fmodl_use=yes
24997 else
24998 glibcxx_cv_func_fmodl_use=no
25000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25001 ac_ext=c
25002 ac_cpp='$CPP $CPPFLAGS'
25003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25012 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25014 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25015 for ac_func in fmodl
25016 do :
25017 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25018 if test "x$ac_cv_func_fmodl" = x""yes; then :
25019 cat >>confdefs.h <<_ACEOF
25020 #define HAVE_FMODL 1
25021 _ACEOF
25024 done
25026 else
25028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25029 $as_echo_n "checking for _fmodl declaration... " >&6; }
25030 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25031 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25032 $as_echo_n "(cached) " >&6
25033 else
25036 ac_ext=cpp
25037 ac_cpp='$CXXCPP $CPPFLAGS'
25038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25043 /* end confdefs.h. */
25044 #include <math.h>
25046 main ()
25048 _fmodl(0, 0);
25050 return 0;
25052 _ACEOF
25053 if ac_fn_cxx_try_compile "$LINENO"; then :
25054 glibcxx_cv_func__fmodl_use=yes
25055 else
25056 glibcxx_cv_func__fmodl_use=no
25058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25059 ac_ext=c
25060 ac_cpp='$CPP $CPPFLAGS'
25061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25070 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25072 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25073 for ac_func in _fmodl
25074 do :
25075 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25076 if test "x$ac_cv_func__fmodl" = x""yes; then :
25077 cat >>confdefs.h <<_ACEOF
25078 #define HAVE__FMODL 1
25079 _ACEOF
25082 done
25091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25092 $as_echo_n "checking for frexpl declaration... " >&6; }
25093 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25094 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25095 $as_echo_n "(cached) " >&6
25096 else
25099 ac_ext=cpp
25100 ac_cpp='$CXXCPP $CPPFLAGS'
25101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25106 /* end confdefs.h. */
25107 #include <math.h>
25109 main ()
25111 frexpl(0, 0);
25113 return 0;
25115 _ACEOF
25116 if ac_fn_cxx_try_compile "$LINENO"; then :
25117 glibcxx_cv_func_frexpl_use=yes
25118 else
25119 glibcxx_cv_func_frexpl_use=no
25121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25122 ac_ext=c
25123 ac_cpp='$CPP $CPPFLAGS'
25124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25133 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25135 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25136 for ac_func in frexpl
25137 do :
25138 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25139 if test "x$ac_cv_func_frexpl" = x""yes; then :
25140 cat >>confdefs.h <<_ACEOF
25141 #define HAVE_FREXPL 1
25142 _ACEOF
25145 done
25147 else
25149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25150 $as_echo_n "checking for _frexpl declaration... " >&6; }
25151 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25152 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25153 $as_echo_n "(cached) " >&6
25154 else
25157 ac_ext=cpp
25158 ac_cpp='$CXXCPP $CPPFLAGS'
25159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25164 /* end confdefs.h. */
25165 #include <math.h>
25167 main ()
25169 _frexpl(0, 0);
25171 return 0;
25173 _ACEOF
25174 if ac_fn_cxx_try_compile "$LINENO"; then :
25175 glibcxx_cv_func__frexpl_use=yes
25176 else
25177 glibcxx_cv_func__frexpl_use=no
25179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25180 ac_ext=c
25181 ac_cpp='$CPP $CPPFLAGS'
25182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25191 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25193 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25194 for ac_func in _frexpl
25195 do :
25196 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25197 if test "x$ac_cv_func__frexpl" = x""yes; then :
25198 cat >>confdefs.h <<_ACEOF
25199 #define HAVE__FREXPL 1
25200 _ACEOF
25203 done
25212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25213 $as_echo_n "checking for hypotl declaration... " >&6; }
25214 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25215 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25216 $as_echo_n "(cached) " >&6
25217 else
25220 ac_ext=cpp
25221 ac_cpp='$CXXCPP $CPPFLAGS'
25222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25227 /* end confdefs.h. */
25228 #include <math.h>
25230 main ()
25232 hypotl(0, 0);
25234 return 0;
25236 _ACEOF
25237 if ac_fn_cxx_try_compile "$LINENO"; then :
25238 glibcxx_cv_func_hypotl_use=yes
25239 else
25240 glibcxx_cv_func_hypotl_use=no
25242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25243 ac_ext=c
25244 ac_cpp='$CPP $CPPFLAGS'
25245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25254 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25256 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25257 for ac_func in hypotl
25258 do :
25259 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25260 if test "x$ac_cv_func_hypotl" = x""yes; then :
25261 cat >>confdefs.h <<_ACEOF
25262 #define HAVE_HYPOTL 1
25263 _ACEOF
25266 done
25268 else
25270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25271 $as_echo_n "checking for _hypotl declaration... " >&6; }
25272 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25273 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25274 $as_echo_n "(cached) " >&6
25275 else
25278 ac_ext=cpp
25279 ac_cpp='$CXXCPP $CPPFLAGS'
25280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25285 /* end confdefs.h. */
25286 #include <math.h>
25288 main ()
25290 _hypotl(0, 0);
25292 return 0;
25294 _ACEOF
25295 if ac_fn_cxx_try_compile "$LINENO"; then :
25296 glibcxx_cv_func__hypotl_use=yes
25297 else
25298 glibcxx_cv_func__hypotl_use=no
25300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25301 ac_ext=c
25302 ac_cpp='$CPP $CPPFLAGS'
25303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25312 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25314 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25315 for ac_func in _hypotl
25316 do :
25317 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25318 if test "x$ac_cv_func__hypotl" = x""yes; then :
25319 cat >>confdefs.h <<_ACEOF
25320 #define HAVE__HYPOTL 1
25321 _ACEOF
25324 done
25333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25334 $as_echo_n "checking for ldexpl declaration... " >&6; }
25335 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25336 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25337 $as_echo_n "(cached) " >&6
25338 else
25341 ac_ext=cpp
25342 ac_cpp='$CXXCPP $CPPFLAGS'
25343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25348 /* end confdefs.h. */
25349 #include <math.h>
25351 main ()
25353 ldexpl(0, 0);
25355 return 0;
25357 _ACEOF
25358 if ac_fn_cxx_try_compile "$LINENO"; then :
25359 glibcxx_cv_func_ldexpl_use=yes
25360 else
25361 glibcxx_cv_func_ldexpl_use=no
25363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25364 ac_ext=c
25365 ac_cpp='$CPP $CPPFLAGS'
25366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25375 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25377 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25378 for ac_func in ldexpl
25379 do :
25380 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25381 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25382 cat >>confdefs.h <<_ACEOF
25383 #define HAVE_LDEXPL 1
25384 _ACEOF
25387 done
25389 else
25391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25392 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25393 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25394 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25395 $as_echo_n "(cached) " >&6
25396 else
25399 ac_ext=cpp
25400 ac_cpp='$CXXCPP $CPPFLAGS'
25401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25406 /* end confdefs.h. */
25407 #include <math.h>
25409 main ()
25411 _ldexpl(0, 0);
25413 return 0;
25415 _ACEOF
25416 if ac_fn_cxx_try_compile "$LINENO"; then :
25417 glibcxx_cv_func__ldexpl_use=yes
25418 else
25419 glibcxx_cv_func__ldexpl_use=no
25421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25422 ac_ext=c
25423 ac_cpp='$CPP $CPPFLAGS'
25424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25433 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25435 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25436 for ac_func in _ldexpl
25437 do :
25438 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25439 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25440 cat >>confdefs.h <<_ACEOF
25441 #define HAVE__LDEXPL 1
25442 _ACEOF
25445 done
25454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25455 $as_echo_n "checking for logl declaration... " >&6; }
25456 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25457 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25458 $as_echo_n "(cached) " >&6
25459 else
25462 ac_ext=cpp
25463 ac_cpp='$CXXCPP $CPPFLAGS'
25464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25469 /* end confdefs.h. */
25470 #include <math.h>
25471 #ifdef HAVE_IEEEFP_H
25472 #include <ieeefp.h>
25473 #endif
25476 main ()
25478 logl(0);
25480 return 0;
25482 _ACEOF
25483 if ac_fn_cxx_try_compile "$LINENO"; then :
25484 glibcxx_cv_func_logl_use=yes
25485 else
25486 glibcxx_cv_func_logl_use=no
25488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25489 ac_ext=c
25490 ac_cpp='$CPP $CPPFLAGS'
25491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25500 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25502 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25503 for ac_func in logl
25504 do :
25505 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25506 if test "x$ac_cv_func_logl" = x""yes; then :
25507 cat >>confdefs.h <<_ACEOF
25508 #define HAVE_LOGL 1
25509 _ACEOF
25512 done
25514 else
25516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25517 $as_echo_n "checking for _logl declaration... " >&6; }
25518 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25519 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25520 $as_echo_n "(cached) " >&6
25521 else
25524 ac_ext=cpp
25525 ac_cpp='$CXXCPP $CPPFLAGS'
25526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25531 /* end confdefs.h. */
25532 #include <math.h>
25533 #ifdef HAVE_IEEEFP_H
25534 #include <ieeefp.h>
25535 #endif
25538 main ()
25540 _logl(0);
25542 return 0;
25544 _ACEOF
25545 if ac_fn_cxx_try_compile "$LINENO"; then :
25546 glibcxx_cv_func__logl_use=yes
25547 else
25548 glibcxx_cv_func__logl_use=no
25550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25551 ac_ext=c
25552 ac_cpp='$CPP $CPPFLAGS'
25553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25562 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25564 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25565 for ac_func in _logl
25566 do :
25567 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25568 if test "x$ac_cv_func__logl" = x""yes; then :
25569 cat >>confdefs.h <<_ACEOF
25570 #define HAVE__LOGL 1
25571 _ACEOF
25574 done
25583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25584 $as_echo_n "checking for log10l declaration... " >&6; }
25585 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25586 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25587 $as_echo_n "(cached) " >&6
25588 else
25591 ac_ext=cpp
25592 ac_cpp='$CXXCPP $CPPFLAGS'
25593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25598 /* end confdefs.h. */
25599 #include <math.h>
25600 #ifdef HAVE_IEEEFP_H
25601 #include <ieeefp.h>
25602 #endif
25605 main ()
25607 log10l(0);
25609 return 0;
25611 _ACEOF
25612 if ac_fn_cxx_try_compile "$LINENO"; then :
25613 glibcxx_cv_func_log10l_use=yes
25614 else
25615 glibcxx_cv_func_log10l_use=no
25617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25618 ac_ext=c
25619 ac_cpp='$CPP $CPPFLAGS'
25620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25629 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25631 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25632 for ac_func in log10l
25633 do :
25634 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25635 if test "x$ac_cv_func_log10l" = x""yes; then :
25636 cat >>confdefs.h <<_ACEOF
25637 #define HAVE_LOG10L 1
25638 _ACEOF
25641 done
25643 else
25645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25646 $as_echo_n "checking for _log10l declaration... " >&6; }
25647 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25648 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25649 $as_echo_n "(cached) " >&6
25650 else
25653 ac_ext=cpp
25654 ac_cpp='$CXXCPP $CPPFLAGS'
25655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25660 /* end confdefs.h. */
25661 #include <math.h>
25662 #ifdef HAVE_IEEEFP_H
25663 #include <ieeefp.h>
25664 #endif
25667 main ()
25669 _log10l(0);
25671 return 0;
25673 _ACEOF
25674 if ac_fn_cxx_try_compile "$LINENO"; then :
25675 glibcxx_cv_func__log10l_use=yes
25676 else
25677 glibcxx_cv_func__log10l_use=no
25679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25680 ac_ext=c
25681 ac_cpp='$CPP $CPPFLAGS'
25682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25691 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25693 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25694 for ac_func in _log10l
25695 do :
25696 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25697 if test "x$ac_cv_func__log10l" = x""yes; then :
25698 cat >>confdefs.h <<_ACEOF
25699 #define HAVE__LOG10L 1
25700 _ACEOF
25703 done
25712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25713 $as_echo_n "checking for modfl declaration... " >&6; }
25714 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25715 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25716 $as_echo_n "(cached) " >&6
25717 else
25720 ac_ext=cpp
25721 ac_cpp='$CXXCPP $CPPFLAGS'
25722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25727 /* end confdefs.h. */
25728 #include <math.h>
25730 main ()
25732 modfl(0, 0);
25734 return 0;
25736 _ACEOF
25737 if ac_fn_cxx_try_compile "$LINENO"; then :
25738 glibcxx_cv_func_modfl_use=yes
25739 else
25740 glibcxx_cv_func_modfl_use=no
25742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25743 ac_ext=c
25744 ac_cpp='$CPP $CPPFLAGS'
25745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25754 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25756 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25757 for ac_func in modfl
25758 do :
25759 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25760 if test "x$ac_cv_func_modfl" = x""yes; then :
25761 cat >>confdefs.h <<_ACEOF
25762 #define HAVE_MODFL 1
25763 _ACEOF
25766 done
25768 else
25770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25771 $as_echo_n "checking for _modfl declaration... " >&6; }
25772 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25773 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25774 $as_echo_n "(cached) " >&6
25775 else
25778 ac_ext=cpp
25779 ac_cpp='$CXXCPP $CPPFLAGS'
25780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25785 /* end confdefs.h. */
25786 #include <math.h>
25788 main ()
25790 _modfl(0, 0);
25792 return 0;
25794 _ACEOF
25795 if ac_fn_cxx_try_compile "$LINENO"; then :
25796 glibcxx_cv_func__modfl_use=yes
25797 else
25798 glibcxx_cv_func__modfl_use=no
25800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25801 ac_ext=c
25802 ac_cpp='$CPP $CPPFLAGS'
25803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25812 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25814 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25815 for ac_func in _modfl
25816 do :
25817 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25818 if test "x$ac_cv_func__modfl" = x""yes; then :
25819 cat >>confdefs.h <<_ACEOF
25820 #define HAVE__MODFL 1
25821 _ACEOF
25824 done
25833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25834 $as_echo_n "checking for powl declaration... " >&6; }
25835 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25836 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25837 $as_echo_n "(cached) " >&6
25838 else
25841 ac_ext=cpp
25842 ac_cpp='$CXXCPP $CPPFLAGS'
25843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25848 /* end confdefs.h. */
25849 #include <math.h>
25851 main ()
25853 powl(0, 0);
25855 return 0;
25857 _ACEOF
25858 if ac_fn_cxx_try_compile "$LINENO"; then :
25859 glibcxx_cv_func_powl_use=yes
25860 else
25861 glibcxx_cv_func_powl_use=no
25863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25864 ac_ext=c
25865 ac_cpp='$CPP $CPPFLAGS'
25866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25875 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25877 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25878 for ac_func in powl
25879 do :
25880 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25881 if test "x$ac_cv_func_powl" = x""yes; then :
25882 cat >>confdefs.h <<_ACEOF
25883 #define HAVE_POWL 1
25884 _ACEOF
25887 done
25889 else
25891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25892 $as_echo_n "checking for _powl declaration... " >&6; }
25893 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25894 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25895 $as_echo_n "(cached) " >&6
25896 else
25899 ac_ext=cpp
25900 ac_cpp='$CXXCPP $CPPFLAGS'
25901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25906 /* end confdefs.h. */
25907 #include <math.h>
25909 main ()
25911 _powl(0, 0);
25913 return 0;
25915 _ACEOF
25916 if ac_fn_cxx_try_compile "$LINENO"; then :
25917 glibcxx_cv_func__powl_use=yes
25918 else
25919 glibcxx_cv_func__powl_use=no
25921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25922 ac_ext=c
25923 ac_cpp='$CPP $CPPFLAGS'
25924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25933 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25935 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25936 for ac_func in _powl
25937 do :
25938 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25939 if test "x$ac_cv_func__powl" = x""yes; then :
25940 cat >>confdefs.h <<_ACEOF
25941 #define HAVE__POWL 1
25942 _ACEOF
25945 done
25954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25955 $as_echo_n "checking for sqrtl declaration... " >&6; }
25956 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25957 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25958 $as_echo_n "(cached) " >&6
25959 else
25962 ac_ext=cpp
25963 ac_cpp='$CXXCPP $CPPFLAGS'
25964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25969 /* end confdefs.h. */
25970 #include <math.h>
25971 #ifdef HAVE_IEEEFP_H
25972 #include <ieeefp.h>
25973 #endif
25976 main ()
25978 sqrtl(0);
25980 return 0;
25982 _ACEOF
25983 if ac_fn_cxx_try_compile "$LINENO"; then :
25984 glibcxx_cv_func_sqrtl_use=yes
25985 else
25986 glibcxx_cv_func_sqrtl_use=no
25988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25989 ac_ext=c
25990 ac_cpp='$CPP $CPPFLAGS'
25991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26000 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26002 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26003 for ac_func in sqrtl
26004 do :
26005 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26006 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26007 cat >>confdefs.h <<_ACEOF
26008 #define HAVE_SQRTL 1
26009 _ACEOF
26012 done
26014 else
26016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26017 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26018 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26019 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26020 $as_echo_n "(cached) " >&6
26021 else
26024 ac_ext=cpp
26025 ac_cpp='$CXXCPP $CPPFLAGS'
26026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26031 /* end confdefs.h. */
26032 #include <math.h>
26033 #ifdef HAVE_IEEEFP_H
26034 #include <ieeefp.h>
26035 #endif
26038 main ()
26040 _sqrtl(0);
26042 return 0;
26044 _ACEOF
26045 if ac_fn_cxx_try_compile "$LINENO"; then :
26046 glibcxx_cv_func__sqrtl_use=yes
26047 else
26048 glibcxx_cv_func__sqrtl_use=no
26050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26051 ac_ext=c
26052 ac_cpp='$CPP $CPPFLAGS'
26053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26062 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26064 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26065 for ac_func in _sqrtl
26066 do :
26067 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26068 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26069 cat >>confdefs.h <<_ACEOF
26070 #define HAVE__SQRTL 1
26071 _ACEOF
26074 done
26083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26084 $as_echo_n "checking for sincosl declaration... " >&6; }
26085 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26086 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26087 $as_echo_n "(cached) " >&6
26088 else
26091 ac_ext=cpp
26092 ac_cpp='$CXXCPP $CPPFLAGS'
26093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26098 /* end confdefs.h. */
26099 #include <math.h>
26101 main ()
26103 sincosl(0, 0, 0);
26105 return 0;
26107 _ACEOF
26108 if ac_fn_cxx_try_compile "$LINENO"; then :
26109 glibcxx_cv_func_sincosl_use=yes
26110 else
26111 glibcxx_cv_func_sincosl_use=no
26113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26114 ac_ext=c
26115 ac_cpp='$CPP $CPPFLAGS'
26116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26125 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26127 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26128 for ac_func in sincosl
26129 do :
26130 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26131 if test "x$ac_cv_func_sincosl" = x""yes; then :
26132 cat >>confdefs.h <<_ACEOF
26133 #define HAVE_SINCOSL 1
26134 _ACEOF
26137 done
26139 else
26141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26142 $as_echo_n "checking for _sincosl declaration... " >&6; }
26143 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26144 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26145 $as_echo_n "(cached) " >&6
26146 else
26149 ac_ext=cpp
26150 ac_cpp='$CXXCPP $CPPFLAGS'
26151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26156 /* end confdefs.h. */
26157 #include <math.h>
26159 main ()
26161 _sincosl(0, 0, 0);
26163 return 0;
26165 _ACEOF
26166 if ac_fn_cxx_try_compile "$LINENO"; then :
26167 glibcxx_cv_func__sincosl_use=yes
26168 else
26169 glibcxx_cv_func__sincosl_use=no
26171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26172 ac_ext=c
26173 ac_cpp='$CPP $CPPFLAGS'
26174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26183 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26185 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26186 for ac_func in _sincosl
26187 do :
26188 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26189 if test "x$ac_cv_func__sincosl" = x""yes; then :
26190 cat >>confdefs.h <<_ACEOF
26191 #define HAVE__SINCOSL 1
26192 _ACEOF
26195 done
26204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26205 $as_echo_n "checking for finitel declaration... " >&6; }
26206 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26207 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26208 $as_echo_n "(cached) " >&6
26209 else
26212 ac_ext=cpp
26213 ac_cpp='$CXXCPP $CPPFLAGS'
26214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26219 /* end confdefs.h. */
26220 #include <math.h>
26221 #ifdef HAVE_IEEEFP_H
26222 #include <ieeefp.h>
26223 #endif
26226 main ()
26228 finitel(0);
26230 return 0;
26232 _ACEOF
26233 if ac_fn_cxx_try_compile "$LINENO"; then :
26234 glibcxx_cv_func_finitel_use=yes
26235 else
26236 glibcxx_cv_func_finitel_use=no
26238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26239 ac_ext=c
26240 ac_cpp='$CPP $CPPFLAGS'
26241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26250 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26252 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26253 for ac_func in finitel
26254 do :
26255 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26256 if test "x$ac_cv_func_finitel" = x""yes; then :
26257 cat >>confdefs.h <<_ACEOF
26258 #define HAVE_FINITEL 1
26259 _ACEOF
26262 done
26264 else
26266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26267 $as_echo_n "checking for _finitel declaration... " >&6; }
26268 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26269 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26270 $as_echo_n "(cached) " >&6
26271 else
26274 ac_ext=cpp
26275 ac_cpp='$CXXCPP $CPPFLAGS'
26276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26281 /* end confdefs.h. */
26282 #include <math.h>
26283 #ifdef HAVE_IEEEFP_H
26284 #include <ieeefp.h>
26285 #endif
26288 main ()
26290 _finitel(0);
26292 return 0;
26294 _ACEOF
26295 if ac_fn_cxx_try_compile "$LINENO"; then :
26296 glibcxx_cv_func__finitel_use=yes
26297 else
26298 glibcxx_cv_func__finitel_use=no
26300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26301 ac_ext=c
26302 ac_cpp='$CPP $CPPFLAGS'
26303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26312 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26314 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26315 for ac_func in _finitel
26316 do :
26317 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26318 if test "x$ac_cv_func__finitel" = x""yes; then :
26319 cat >>confdefs.h <<_ACEOF
26320 #define HAVE__FINITEL 1
26321 _ACEOF
26324 done
26332 LIBS="$ac_save_LIBS"
26333 CXXFLAGS="$ac_save_CXXFLAGS"
26336 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26337 ac_save_CXXFLAGS="$CXXFLAGS"
26338 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26342 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26343 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26344 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26345 $as_echo_n "(cached) " >&6
26346 else
26349 ac_ext=cpp
26350 ac_cpp='$CXXCPP $CPPFLAGS'
26351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26356 /* end confdefs.h. */
26357 #include <stdlib.h>
26359 main ()
26361 at_quick_exit(0);
26363 return 0;
26365 _ACEOF
26366 if ac_fn_cxx_try_compile "$LINENO"; then :
26367 glibcxx_cv_func_at_quick_exit_use=yes
26368 else
26369 glibcxx_cv_func_at_quick_exit_use=no
26371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26372 ac_ext=c
26373 ac_cpp='$CPP $CPPFLAGS'
26374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26383 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26384 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26385 for ac_func in at_quick_exit
26386 do :
26387 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26388 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26389 cat >>confdefs.h <<_ACEOF
26390 #define HAVE_AT_QUICK_EXIT 1
26391 _ACEOF
26394 done
26399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26400 $as_echo_n "checking for quick_exit declaration... " >&6; }
26401 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26402 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26403 $as_echo_n "(cached) " >&6
26404 else
26407 ac_ext=cpp
26408 ac_cpp='$CXXCPP $CPPFLAGS'
26409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26414 /* end confdefs.h. */
26415 #include <stdlib.h>
26417 main ()
26419 quick_exit(0);
26421 return 0;
26423 _ACEOF
26424 if ac_fn_cxx_try_compile "$LINENO"; then :
26425 glibcxx_cv_func_quick_exit_use=yes
26426 else
26427 glibcxx_cv_func_quick_exit_use=no
26429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26430 ac_ext=c
26431 ac_cpp='$CPP $CPPFLAGS'
26432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26441 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26442 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26443 for ac_func in quick_exit
26444 do :
26445 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26446 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26447 cat >>confdefs.h <<_ACEOF
26448 #define HAVE_QUICK_EXIT 1
26449 _ACEOF
26452 done
26457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26458 $as_echo_n "checking for strtold declaration... " >&6; }
26459 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26460 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26461 $as_echo_n "(cached) " >&6
26462 else
26465 ac_ext=cpp
26466 ac_cpp='$CXXCPP $CPPFLAGS'
26467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26472 /* end confdefs.h. */
26473 #include <stdlib.h>
26475 main ()
26477 strtold(0, 0);
26479 return 0;
26481 _ACEOF
26482 if ac_fn_cxx_try_compile "$LINENO"; then :
26483 glibcxx_cv_func_strtold_use=yes
26484 else
26485 glibcxx_cv_func_strtold_use=no
26487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26488 ac_ext=c
26489 ac_cpp='$CPP $CPPFLAGS'
26490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26499 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26500 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26501 for ac_func in strtold
26502 do :
26503 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26504 if test "x$ac_cv_func_strtold" = x""yes; then :
26505 cat >>confdefs.h <<_ACEOF
26506 #define HAVE_STRTOLD 1
26507 _ACEOF
26510 done
26517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26518 $as_echo_n "checking for strtof declaration... " >&6; }
26519 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26520 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26521 $as_echo_n "(cached) " >&6
26522 else
26525 ac_ext=cpp
26526 ac_cpp='$CXXCPP $CPPFLAGS'
26527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26532 /* end confdefs.h. */
26533 #include <stdlib.h>
26535 main ()
26537 strtof(0, 0);
26539 return 0;
26541 _ACEOF
26542 if ac_fn_cxx_try_compile "$LINENO"; then :
26543 glibcxx_cv_func_strtof_use=yes
26544 else
26545 glibcxx_cv_func_strtof_use=no
26547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26548 ac_ext=c
26549 ac_cpp='$CPP $CPPFLAGS'
26550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26559 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26560 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26561 for ac_func in strtof
26562 do :
26563 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26564 if test "x$ac_cv_func_strtof" = x""yes; then :
26565 cat >>confdefs.h <<_ACEOF
26566 #define HAVE_STRTOF 1
26567 _ACEOF
26570 done
26577 CXXFLAGS="$ac_save_CXXFLAGS"
26580 # For /dev/random and /dev/urandom for TR1.
26583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26584 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26585 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26586 $as_echo_n "(cached) " >&6
26587 else
26589 if test -r /dev/random && test -r /dev/urandom; then
26590 ## For MSys environment the test above is detect as false-positive
26591 ## on mingw-targets. So disable it explicit for them.
26592 case ${target_os} in
26593 *mingw*) glibcxx_cv_random_tr1=no ;;
26594 *) glibcxx_cv_random_tr1=yes ;;
26595 esac
26596 else
26597 glibcxx_cv_random_tr1=no;
26602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26603 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26605 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26607 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26613 # For TLS support.
26616 # Check whether --enable-tls was given.
26617 if test "${enable_tls+set}" = set; then :
26618 enableval=$enable_tls;
26619 case "$enableval" in
26620 yes|no) ;;
26621 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26622 esac
26624 else
26625 enable_tls=yes
26629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26630 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26631 if test "${gcc_cv_have_tls+set}" = set; then :
26632 $as_echo_n "(cached) " >&6
26633 else
26635 if test "$cross_compiling" = yes; then :
26636 if test x$gcc_no_link = xyes; then
26637 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26640 /* end confdefs.h. */
26641 __thread int a; int b; int main() { return a = b; }
26642 _ACEOF
26643 if ac_fn_c_try_link "$LINENO"; then :
26644 chktls_save_LDFLAGS="$LDFLAGS"
26645 case $host in
26646 *-*-linux*)
26647 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26649 esac
26650 chktls_save_CFLAGS="$CFLAGS"
26651 CFLAGS="-fPIC $CFLAGS"
26652 if test x$gcc_no_link = xyes; then
26653 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26656 /* end confdefs.h. */
26657 int f() { return 0; }
26658 _ACEOF
26659 if ac_fn_c_try_link "$LINENO"; then :
26660 if test x$gcc_no_link = xyes; then
26661 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26664 /* end confdefs.h. */
26665 __thread int a; int b; int f() { return a = b; }
26666 _ACEOF
26667 if ac_fn_c_try_link "$LINENO"; then :
26668 gcc_cv_have_tls=yes
26669 else
26670 gcc_cv_have_tls=no
26672 rm -f core conftest.err conftest.$ac_objext \
26673 conftest$ac_exeext conftest.$ac_ext
26674 else
26675 gcc_cv_have_tls=yes
26677 rm -f core conftest.err conftest.$ac_objext \
26678 conftest$ac_exeext conftest.$ac_ext
26679 CFLAGS="$chktls_save_CFLAGS"
26680 LDFLAGS="$chktls_save_LDFLAGS"
26681 else
26682 gcc_cv_have_tls=no
26684 rm -f core conftest.err conftest.$ac_objext \
26685 conftest$ac_exeext conftest.$ac_ext
26688 else
26689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26690 /* end confdefs.h. */
26691 __thread int a; int b; int main() { return a = b; }
26692 _ACEOF
26693 if ac_fn_c_try_run "$LINENO"; then :
26694 chktls_save_LDFLAGS="$LDFLAGS"
26695 LDFLAGS="-static $LDFLAGS"
26696 if test x$gcc_no_link = xyes; then
26697 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26700 /* end confdefs.h. */
26701 int main() { return 0; }
26702 _ACEOF
26703 if ac_fn_c_try_link "$LINENO"; then :
26704 if test "$cross_compiling" = yes; then :
26705 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26707 as_fn_error "cannot run test program while cross compiling
26708 See \`config.log' for more details." "$LINENO" 5; }
26709 else
26710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26711 /* end confdefs.h. */
26712 __thread int a; int b; int main() { return a = b; }
26713 _ACEOF
26714 if ac_fn_c_try_run "$LINENO"; then :
26715 gcc_cv_have_tls=yes
26716 else
26717 gcc_cv_have_tls=no
26719 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26720 conftest.$ac_objext conftest.beam conftest.$ac_ext
26723 else
26724 gcc_cv_have_tls=yes
26726 rm -f core conftest.err conftest.$ac_objext \
26727 conftest$ac_exeext conftest.$ac_ext
26728 LDFLAGS="$chktls_save_LDFLAGS"
26729 if test $gcc_cv_have_tls = yes; then
26730 chktls_save_CFLAGS="$CFLAGS"
26731 thread_CFLAGS=failed
26732 for flag in '' '-pthread' '-lpthread'; do
26733 CFLAGS="$flag $chktls_save_CFLAGS"
26734 if test x$gcc_no_link = xyes; then
26735 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26738 /* end confdefs.h. */
26739 #include <pthread.h>
26740 void *g(void *d) { return NULL; }
26742 main ()
26744 pthread_t t; pthread_create(&t,NULL,g,NULL);
26746 return 0;
26748 _ACEOF
26749 if ac_fn_c_try_link "$LINENO"; then :
26750 thread_CFLAGS="$flag"
26752 rm -f core conftest.err conftest.$ac_objext \
26753 conftest$ac_exeext conftest.$ac_ext
26754 if test "X$thread_CFLAGS" != Xfailed; then
26755 break
26757 done
26758 CFLAGS="$chktls_save_CFLAGS"
26759 if test "X$thread_CFLAGS" != Xfailed; then
26760 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26761 if test "$cross_compiling" = yes; then :
26762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26764 as_fn_error "cannot run test program while cross compiling
26765 See \`config.log' for more details." "$LINENO" 5; }
26766 else
26767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26768 /* end confdefs.h. */
26769 #include <pthread.h>
26770 __thread int a;
26771 static int *volatile a_in_other_thread;
26772 static void *
26773 thread_func (void *arg)
26775 a_in_other_thread = &a;
26776 return (void *)0;
26779 main ()
26781 pthread_t thread;
26782 void *thread_retval;
26783 int *volatile a_in_main_thread;
26784 a_in_main_thread = &a;
26785 if (pthread_create (&thread, (pthread_attr_t *)0,
26786 thread_func, (void *)0))
26787 return 0;
26788 if (pthread_join (thread, &thread_retval))
26789 return 0;
26790 return (a_in_other_thread == a_in_main_thread);
26792 return 0;
26794 _ACEOF
26795 if ac_fn_c_try_run "$LINENO"; then :
26796 gcc_cv_have_tls=yes
26797 else
26798 gcc_cv_have_tls=no
26800 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26801 conftest.$ac_objext conftest.beam conftest.$ac_ext
26804 CFLAGS="$chktls_save_CFLAGS"
26807 else
26808 gcc_cv_have_tls=no
26810 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26811 conftest.$ac_objext conftest.beam conftest.$ac_ext
26815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26816 $as_echo "$gcc_cv_have_tls" >&6; }
26817 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26819 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26823 for ac_func in __cxa_thread_atexit_impl
26824 do :
26825 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
26826 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
26827 cat >>confdefs.h <<_ACEOF
26828 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
26829 _ACEOF
26832 done
26835 # For iconv support.
26837 if test "X$prefix" = "XNONE"; then
26838 acl_final_prefix="$ac_default_prefix"
26839 else
26840 acl_final_prefix="$prefix"
26842 if test "X$exec_prefix" = "XNONE"; then
26843 acl_final_exec_prefix='${prefix}'
26844 else
26845 acl_final_exec_prefix="$exec_prefix"
26847 acl_save_prefix="$prefix"
26848 prefix="$acl_final_prefix"
26849 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26850 prefix="$acl_save_prefix"
26853 # Check whether --with-gnu-ld was given.
26854 if test "${with_gnu_ld+set}" = set; then :
26855 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26856 else
26857 with_gnu_ld=no
26860 # Prepare PATH_SEPARATOR.
26861 # The user is always right.
26862 if test "${PATH_SEPARATOR+set}" != set; then
26863 echo "#! /bin/sh" >conf$$.sh
26864 echo "exit 0" >>conf$$.sh
26865 chmod +x conf$$.sh
26866 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26867 PATH_SEPARATOR=';'
26868 else
26869 PATH_SEPARATOR=:
26871 rm -f conf$$.sh
26873 ac_prog=ld
26874 if test "$GCC" = yes; then
26875 # Check if gcc -print-prog-name=ld gives a path.
26876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26877 $as_echo_n "checking for ld used by GCC... " >&6; }
26878 case $host in
26879 *-*-mingw*)
26880 # gcc leaves a trailing carriage return which upsets mingw
26881 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26883 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26884 esac
26885 case $ac_prog in
26886 # Accept absolute paths.
26887 [\\/]* | [A-Za-z]:[\\/]*)
26888 re_direlt='/[^/][^/]*/\.\./'
26889 # Canonicalize the path of ld
26890 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26891 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26892 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26893 done
26894 test -z "$LD" && LD="$ac_prog"
26897 # If it fails, then pretend we aren't using GCC.
26898 ac_prog=ld
26901 # If it is relative, then search for the first ld in PATH.
26902 with_gnu_ld=unknown
26904 esac
26905 elif test "$with_gnu_ld" = yes; then
26906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26907 $as_echo_n "checking for GNU ld... " >&6; }
26908 else
26909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26910 $as_echo_n "checking for non-GNU ld... " >&6; }
26912 if test "${acl_cv_path_LD+set}" = set; then :
26913 $as_echo_n "(cached) " >&6
26914 else
26915 if test -z "$LD"; then
26916 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26917 for ac_dir in $PATH; do
26918 test -z "$ac_dir" && ac_dir=.
26919 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26920 acl_cv_path_LD="$ac_dir/$ac_prog"
26921 # Check to see if the program is GNU ld. I'd rather use --version,
26922 # but apparently some GNU ld's only accept -v.
26923 # Break only if it was the GNU/non-GNU ld that we prefer.
26924 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26925 test "$with_gnu_ld" != no && break
26926 else
26927 test "$with_gnu_ld" != yes && break
26930 done
26931 IFS="$ac_save_ifs"
26932 else
26933 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26937 LD="$acl_cv_path_LD"
26938 if test -n "$LD"; then
26939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26940 $as_echo "$LD" >&6; }
26941 else
26942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26943 $as_echo "no" >&6; }
26945 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26947 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26948 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26949 $as_echo_n "(cached) " >&6
26950 else
26951 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26952 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26953 acl_cv_prog_gnu_ld=yes
26954 else
26955 acl_cv_prog_gnu_ld=no
26958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26959 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26960 with_gnu_ld=$acl_cv_prog_gnu_ld
26964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26965 $as_echo_n "checking for shared library run path origin... " >&6; }
26966 if test "${acl_cv_rpath+set}" = set; then :
26967 $as_echo_n "(cached) " >&6
26968 else
26970 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26971 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26972 . ./conftest.sh
26973 rm -f ./conftest.sh
26974 acl_cv_rpath=done
26977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26978 $as_echo "$acl_cv_rpath" >&6; }
26979 wl="$acl_cv_wl"
26980 libext="$acl_cv_libext"
26981 shlibext="$acl_cv_shlibext"
26982 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26983 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26984 hardcode_direct="$acl_cv_hardcode_direct"
26985 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26986 # Check whether --enable-rpath was given.
26987 if test "${enable_rpath+set}" = set; then :
26988 enableval=$enable_rpath; :
26989 else
26990 enable_rpath=yes
27000 use_additional=yes
27002 acl_save_prefix="$prefix"
27003 prefix="$acl_final_prefix"
27004 acl_save_exec_prefix="$exec_prefix"
27005 exec_prefix="$acl_final_exec_prefix"
27007 eval additional_includedir=\"$includedir\"
27008 eval additional_libdir=\"$libdir\"
27010 exec_prefix="$acl_save_exec_prefix"
27011 prefix="$acl_save_prefix"
27014 # Check whether --with-libiconv-prefix was given.
27015 if test "${with_libiconv_prefix+set}" = set; then :
27016 withval=$with_libiconv_prefix;
27017 if test "X$withval" = "Xno"; then
27018 use_additional=no
27019 else
27020 if test "X$withval" = "X"; then
27022 acl_save_prefix="$prefix"
27023 prefix="$acl_final_prefix"
27024 acl_save_exec_prefix="$exec_prefix"
27025 exec_prefix="$acl_final_exec_prefix"
27027 eval additional_includedir=\"$includedir\"
27028 eval additional_libdir=\"$libdir\"
27030 exec_prefix="$acl_save_exec_prefix"
27031 prefix="$acl_save_prefix"
27033 else
27034 additional_includedir="$withval/include"
27035 additional_libdir="$withval/lib"
27041 LIBICONV=
27042 LTLIBICONV=
27043 INCICONV=
27044 rpathdirs=
27045 ltrpathdirs=
27046 names_already_handled=
27047 names_next_round='iconv '
27048 while test -n "$names_next_round"; do
27049 names_this_round="$names_next_round"
27050 names_next_round=
27051 for name in $names_this_round; do
27052 already_handled=
27053 for n in $names_already_handled; do
27054 if test "$n" = "$name"; then
27055 already_handled=yes
27056 break
27058 done
27059 if test -z "$already_handled"; then
27060 names_already_handled="$names_already_handled $name"
27061 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27062 eval value=\"\$HAVE_LIB$uppername\"
27063 if test -n "$value"; then
27064 if test "$value" = yes; then
27065 eval value=\"\$LIB$uppername\"
27066 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27067 eval value=\"\$LTLIB$uppername\"
27068 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27069 else
27072 else
27073 found_dir=
27074 found_la=
27075 found_so=
27076 found_a=
27077 if test $use_additional = yes; then
27078 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27079 found_dir="$additional_libdir"
27080 found_so="$additional_libdir/lib$name.$shlibext"
27081 if test -f "$additional_libdir/lib$name.la"; then
27082 found_la="$additional_libdir/lib$name.la"
27084 else
27085 if test -f "$additional_libdir/lib$name.$libext"; then
27086 found_dir="$additional_libdir"
27087 found_a="$additional_libdir/lib$name.$libext"
27088 if test -f "$additional_libdir/lib$name.la"; then
27089 found_la="$additional_libdir/lib$name.la"
27094 if test "X$found_dir" = "X"; then
27095 for x in $LDFLAGS $LTLIBICONV; do
27097 acl_save_prefix="$prefix"
27098 prefix="$acl_final_prefix"
27099 acl_save_exec_prefix="$exec_prefix"
27100 exec_prefix="$acl_final_exec_prefix"
27101 eval x=\"$x\"
27102 exec_prefix="$acl_save_exec_prefix"
27103 prefix="$acl_save_prefix"
27105 case "$x" in
27106 -L*)
27107 dir=`echo "X$x" | sed -e 's/^X-L//'`
27108 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27109 found_dir="$dir"
27110 found_so="$dir/lib$name.$shlibext"
27111 if test -f "$dir/lib$name.la"; then
27112 found_la="$dir/lib$name.la"
27114 else
27115 if test -f "$dir/lib$name.$libext"; then
27116 found_dir="$dir"
27117 found_a="$dir/lib$name.$libext"
27118 if test -f "$dir/lib$name.la"; then
27119 found_la="$dir/lib$name.la"
27124 esac
27125 if test "X$found_dir" != "X"; then
27126 break
27128 done
27130 if test "X$found_dir" != "X"; then
27131 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27132 if test "X$found_so" != "X"; then
27133 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27134 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27135 else
27136 haveit=
27137 for x in $ltrpathdirs; do
27138 if test "X$x" = "X$found_dir"; then
27139 haveit=yes
27140 break
27142 done
27143 if test -z "$haveit"; then
27144 ltrpathdirs="$ltrpathdirs $found_dir"
27146 if test "$hardcode_direct" = yes; then
27147 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27148 else
27149 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27150 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27151 haveit=
27152 for x in $rpathdirs; do
27153 if test "X$x" = "X$found_dir"; then
27154 haveit=yes
27155 break
27157 done
27158 if test -z "$haveit"; then
27159 rpathdirs="$rpathdirs $found_dir"
27161 else
27162 haveit=
27163 for x in $LDFLAGS $LIBICONV; do
27165 acl_save_prefix="$prefix"
27166 prefix="$acl_final_prefix"
27167 acl_save_exec_prefix="$exec_prefix"
27168 exec_prefix="$acl_final_exec_prefix"
27169 eval x=\"$x\"
27170 exec_prefix="$acl_save_exec_prefix"
27171 prefix="$acl_save_prefix"
27173 if test "X$x" = "X-L$found_dir"; then
27174 haveit=yes
27175 break
27177 done
27178 if test -z "$haveit"; then
27179 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27181 if test "$hardcode_minus_L" != no; then
27182 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27183 else
27184 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27189 else
27190 if test "X$found_a" != "X"; then
27191 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27192 else
27193 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27196 additional_includedir=
27197 case "$found_dir" in
27198 */lib | */lib/)
27199 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27200 additional_includedir="$basedir/include"
27202 esac
27203 if test "X$additional_includedir" != "X"; then
27204 if test "X$additional_includedir" != "X/usr/include"; then
27205 haveit=
27206 if test "X$additional_includedir" = "X/usr/local/include"; then
27207 if test -n "$GCC"; then
27208 case $host_os in
27209 linux*) haveit=yes;;
27210 esac
27213 if test -z "$haveit"; then
27214 for x in $CPPFLAGS $INCICONV; do
27216 acl_save_prefix="$prefix"
27217 prefix="$acl_final_prefix"
27218 acl_save_exec_prefix="$exec_prefix"
27219 exec_prefix="$acl_final_exec_prefix"
27220 eval x=\"$x\"
27221 exec_prefix="$acl_save_exec_prefix"
27222 prefix="$acl_save_prefix"
27224 if test "X$x" = "X-I$additional_includedir"; then
27225 haveit=yes
27226 break
27228 done
27229 if test -z "$haveit"; then
27230 if test -d "$additional_includedir"; then
27231 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27237 if test -n "$found_la"; then
27238 save_libdir="$libdir"
27239 case "$found_la" in
27240 */* | *\\*) . "$found_la" ;;
27241 *) . "./$found_la" ;;
27242 esac
27243 libdir="$save_libdir"
27244 for dep in $dependency_libs; do
27245 case "$dep" in
27246 -L*)
27247 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27248 if test "X$additional_libdir" != "X/usr/lib"; then
27249 haveit=
27250 if test "X$additional_libdir" = "X/usr/local/lib"; then
27251 if test -n "$GCC"; then
27252 case $host_os in
27253 linux*) haveit=yes;;
27254 esac
27257 if test -z "$haveit"; then
27258 haveit=
27259 for x in $LDFLAGS $LIBICONV; do
27261 acl_save_prefix="$prefix"
27262 prefix="$acl_final_prefix"
27263 acl_save_exec_prefix="$exec_prefix"
27264 exec_prefix="$acl_final_exec_prefix"
27265 eval x=\"$x\"
27266 exec_prefix="$acl_save_exec_prefix"
27267 prefix="$acl_save_prefix"
27269 if test "X$x" = "X-L$additional_libdir"; then
27270 haveit=yes
27271 break
27273 done
27274 if test -z "$haveit"; then
27275 if test -d "$additional_libdir"; then
27276 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27279 haveit=
27280 for x in $LDFLAGS $LTLIBICONV; do
27282 acl_save_prefix="$prefix"
27283 prefix="$acl_final_prefix"
27284 acl_save_exec_prefix="$exec_prefix"
27285 exec_prefix="$acl_final_exec_prefix"
27286 eval x=\"$x\"
27287 exec_prefix="$acl_save_exec_prefix"
27288 prefix="$acl_save_prefix"
27290 if test "X$x" = "X-L$additional_libdir"; then
27291 haveit=yes
27292 break
27294 done
27295 if test -z "$haveit"; then
27296 if test -d "$additional_libdir"; then
27297 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27303 -R*)
27304 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27305 if test "$enable_rpath" != no; then
27306 haveit=
27307 for x in $rpathdirs; do
27308 if test "X$x" = "X$dir"; then
27309 haveit=yes
27310 break
27312 done
27313 if test -z "$haveit"; then
27314 rpathdirs="$rpathdirs $dir"
27316 haveit=
27317 for x in $ltrpathdirs; do
27318 if test "X$x" = "X$dir"; then
27319 haveit=yes
27320 break
27322 done
27323 if test -z "$haveit"; then
27324 ltrpathdirs="$ltrpathdirs $dir"
27328 -l*)
27329 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27331 *.la)
27332 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27335 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27336 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27338 esac
27339 done
27341 else
27342 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27343 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27347 done
27348 done
27349 if test "X$rpathdirs" != "X"; then
27350 if test -n "$hardcode_libdir_separator"; then
27351 alldirs=
27352 for found_dir in $rpathdirs; do
27353 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27354 done
27355 acl_save_libdir="$libdir"
27356 libdir="$alldirs"
27357 eval flag=\"$hardcode_libdir_flag_spec\"
27358 libdir="$acl_save_libdir"
27359 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27360 else
27361 for found_dir in $rpathdirs; do
27362 acl_save_libdir="$libdir"
27363 libdir="$found_dir"
27364 eval flag=\"$hardcode_libdir_flag_spec\"
27365 libdir="$acl_save_libdir"
27366 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27367 done
27370 if test "X$ltrpathdirs" != "X"; then
27371 for found_dir in $ltrpathdirs; do
27372 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27373 done
27382 am_save_CPPFLAGS="$CPPFLAGS"
27384 for element in $INCICONV; do
27385 haveit=
27386 for x in $CPPFLAGS; do
27388 acl_save_prefix="$prefix"
27389 prefix="$acl_final_prefix"
27390 acl_save_exec_prefix="$exec_prefix"
27391 exec_prefix="$acl_final_exec_prefix"
27392 eval x=\"$x\"
27393 exec_prefix="$acl_save_exec_prefix"
27394 prefix="$acl_save_prefix"
27396 if test "X$x" = "X$element"; then
27397 haveit=yes
27398 break
27400 done
27401 if test -z "$haveit"; then
27402 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27404 done
27407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27408 $as_echo_n "checking for iconv... " >&6; }
27409 if test "${am_cv_func_iconv+set}" = set; then :
27410 $as_echo_n "(cached) " >&6
27411 else
27413 am_cv_func_iconv="no, consider installing GNU libiconv"
27414 am_cv_lib_iconv=no
27415 if test x$gcc_no_link = xyes; then
27416 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27419 /* end confdefs.h. */
27420 #include <stdlib.h>
27421 #include <iconv.h>
27423 main ()
27425 iconv_t cd = iconv_open("","");
27426 iconv(cd,NULL,NULL,NULL,NULL);
27427 iconv_close(cd);
27429 return 0;
27431 _ACEOF
27432 if ac_fn_c_try_link "$LINENO"; then :
27433 am_cv_func_iconv=yes
27435 rm -f core conftest.err conftest.$ac_objext \
27436 conftest$ac_exeext conftest.$ac_ext
27437 if test "$am_cv_func_iconv" != yes; then
27438 am_save_LIBS="$LIBS"
27439 LIBS="$LIBS $LIBICONV"
27440 if test x$gcc_no_link = xyes; then
27441 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27444 /* end confdefs.h. */
27445 #include <stdlib.h>
27446 #include <iconv.h>
27448 main ()
27450 iconv_t cd = iconv_open("","");
27451 iconv(cd,NULL,NULL,NULL,NULL);
27452 iconv_close(cd);
27454 return 0;
27456 _ACEOF
27457 if ac_fn_c_try_link "$LINENO"; then :
27458 am_cv_lib_iconv=yes
27459 am_cv_func_iconv=yes
27461 rm -f core conftest.err conftest.$ac_objext \
27462 conftest$ac_exeext conftest.$ac_ext
27463 LIBS="$am_save_LIBS"
27467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27468 $as_echo "$am_cv_func_iconv" >&6; }
27469 if test "$am_cv_func_iconv" = yes; then
27471 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27474 if test "$am_cv_lib_iconv" = yes; then
27475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27476 $as_echo_n "checking how to link with libiconv... " >&6; }
27477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27478 $as_echo "$LIBICONV" >&6; }
27479 else
27480 CPPFLAGS="$am_save_CPPFLAGS"
27481 LIBICONV=
27482 LTLIBICONV=
27487 if test "$am_cv_func_iconv" = yes; then
27488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27489 $as_echo_n "checking for iconv declaration... " >&6; }
27490 if test "${am_cv_proto_iconv+set}" = set; then :
27491 $as_echo_n "(cached) " >&6
27492 else
27494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27495 /* end confdefs.h. */
27497 #include <stdlib.h>
27498 #include <iconv.h>
27499 extern
27500 #ifdef __cplusplus
27502 #endif
27503 #if defined(__STDC__) || defined(__cplusplus)
27504 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27505 #else
27506 size_t iconv();
27507 #endif
27510 main ()
27514 return 0;
27516 _ACEOF
27517 if ac_fn_c_try_compile "$LINENO"; then :
27518 am_cv_proto_iconv_arg1=""
27519 else
27520 am_cv_proto_iconv_arg1="const"
27522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27523 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);"
27526 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27528 }$am_cv_proto_iconv" >&5
27529 $as_echo "${ac_t:-
27530 }$am_cv_proto_iconv" >&6; }
27532 cat >>confdefs.h <<_ACEOF
27533 #define ICONV_CONST $am_cv_proto_iconv_arg1
27534 _ACEOF
27539 else
27541 # This lets us hard-code the functionality we know we'll have in the cross
27542 # target environment. "Let" is a sugar-coated word placed on an especially
27543 # dull and tedious hack, actually.
27545 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27546 # that involve linking, can't be used:
27547 # "cannot open sim-crt0.o"
27548 # "cannot open crt0.o"
27549 # etc. All this is because there currently exists no unified, consistent
27550 # way for top level CC information to be passed down to target directories:
27551 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27552 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27553 # crosses can be removed.
27555 # If Canadian cross, then don't pick up tools from the build directory.
27556 # Used only in GLIBCXX_EXPORT_INCLUDES.
27557 if test -n "$with_cross_host" &&
27558 test x"$build_alias" != x"$with_cross_host" &&
27559 test x"$build" != x"$target";
27560 then
27561 CANADIAN=yes
27562 else
27563 CANADIAN=no
27566 # Construct crosses by hand, eliminating bits that need ld...
27567 # GLIBCXX_CHECK_MATH_SUPPORT
27569 # First, test for "known" system libraries. We may be using newlib even
27570 # on a hosted environment.
27571 if test "x${with_newlib}" = "xyes"; then
27572 os_include_dir="os/newlib"
27573 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27576 # GLIBCXX_CHECK_STDLIB_SUPPORT
27577 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27580 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27582 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27584 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27586 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27588 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27590 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27592 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27594 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27596 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27598 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27600 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27602 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27604 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27606 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27608 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27610 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27612 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27614 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27616 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27618 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27620 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27622 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27625 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27627 else
27629 # Base decisions on target environment.
27630 case "${host}" in
27631 arm*-*-symbianelf*)
27632 # This is a freestanding configuration; there is nothing to do here.
27635 mips*-sde-elf*)
27636 # These definitions are for the SDE C library rather than newlib.
27637 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27640 # All these tests are for C++; save the language and the compiler flags.
27641 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27642 # found in GLIBCXX_CONFIGURE.
27644 ac_ext=cpp
27645 ac_cpp='$CXXCPP $CPPFLAGS'
27646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27650 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27651 ac_save_CXXFLAGS="$CXXFLAGS"
27653 # Check for maintainer-mode bits.
27654 if test x"$USE_MAINTAINER_MODE" = xno; then
27655 WERROR=''
27656 else
27657 WERROR='-Werror'
27660 # Check for -ffunction-sections -fdata-sections
27661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27662 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27663 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27665 /* end confdefs.h. */
27666 int foo; void bar() { };
27668 main ()
27672 return 0;
27674 _ACEOF
27675 if ac_fn_cxx_try_compile "$LINENO"; then :
27676 ac_fdsections=yes
27677 else
27678 ac_fdsections=no
27680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27681 if test "$ac_test_CXXFLAGS" = set; then
27682 CXXFLAGS="$ac_save_CXXFLAGS"
27683 else
27684 # this is the suspicious part
27685 CXXFLAGS=''
27687 if test x"$ac_fdsections" = x"yes"; then
27688 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27691 $as_echo "$ac_fdsections" >&6; }
27693 ac_ext=c
27694 ac_cpp='$CPP $CPPFLAGS'
27695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27703 # If we're not using GNU ld, then there's no point in even trying these
27704 # tests. Check for that first. We should have already tested for gld
27705 # by now (in libtool), but require it now just to be safe...
27706 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27707 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27711 # The name set by libtool depends on the version of libtool. Shame on us
27712 # for depending on an impl detail, but c'est la vie. Older versions used
27713 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27714 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27715 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27716 # set (hence we're using an older libtool), then set it.
27717 if test x${with_gnu_ld+set} != xset; then
27718 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27719 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27720 with_gnu_ld=no
27721 else
27722 with_gnu_ld=$ac_cv_prog_gnu_ld
27726 # Start by getting the version number. I think the libtool test already
27727 # does some of this, but throws away the result.
27728 glibcxx_ld_is_gold=no
27729 if test x"$with_gnu_ld" = x"yes"; then
27730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27731 $as_echo_n "checking for ld version... " >&6; }
27733 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27734 glibcxx_ld_is_gold=yes
27736 ldver=`$LD --version 2>/dev/null |
27737 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'`
27739 glibcxx_gnu_ld_version=`echo $ldver | \
27740 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27742 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27745 # Set --gc-sections.
27746 glibcxx_have_gc_sections=no
27747 if test "$glibcxx_ld_is_gold" = "yes"; then
27748 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27749 glibcxx_have_gc_sections=yes
27751 else
27752 glibcxx_gcsections_min_ld=21602
27753 if test x"$with_gnu_ld" = x"yes" &&
27754 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27755 glibcxx_have_gc_sections=yes
27758 if test "$glibcxx_have_gc_sections" = "yes"; then
27759 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27760 # NB: This flag only works reliably after 2.16.1. Configure tests
27761 # for this are difficult, so hard wire a value that should work.
27763 ac_test_CFLAGS="${CFLAGS+set}"
27764 ac_save_CFLAGS="$CFLAGS"
27765 CFLAGS='-Wl,--gc-sections'
27767 # Check for -Wl,--gc-sections
27768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27769 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27770 if test x$gcc_no_link = xyes; then
27771 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27774 /* end confdefs.h. */
27775 int one(void) { return 1; }
27776 int two(void) { return 2; }
27779 main ()
27781 two();
27783 return 0;
27785 _ACEOF
27786 if ac_fn_c_try_link "$LINENO"; then :
27787 ac_gcsections=yes
27788 else
27789 ac_gcsections=no
27791 rm -f core conftest.err conftest.$ac_objext \
27792 conftest$ac_exeext conftest.$ac_ext
27793 if test "$ac_gcsections" = "yes"; then
27794 rm -f conftest.c
27795 touch conftest.c
27796 if $CC -c conftest.c; then
27797 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27798 grep "Warning: gc-sections option ignored" > /dev/null; then
27799 ac_gcsections=no
27802 rm -f conftest.c conftest.o conftest
27804 if test "$ac_gcsections" = "yes"; then
27805 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27808 $as_echo "$ac_gcsections" >&6; }
27810 if test "$ac_test_CFLAGS" = set; then
27811 CFLAGS="$ac_save_CFLAGS"
27812 else
27813 # this is the suspicious part
27814 CFLAGS=''
27818 # Set -z,relro.
27819 # Note this is only for shared objects.
27820 ac_ld_relro=no
27821 if test x"$with_gnu_ld" = x"yes"; then
27822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27823 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27824 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27825 if test -n "$cxx_z_relo"; then
27826 OPT_LDFLAGS="-Wl,-z,relro"
27827 ac_ld_relro=yes
27829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27830 $as_echo "$ac_ld_relro" >&6; }
27833 # Set linker optimization flags.
27834 if test x"$with_gnu_ld" = x"yes"; then
27835 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27842 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27843 ac_save_CXXFLAGS="$CXXFLAGS"
27844 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27847 $as_echo_n "checking for sin in -lm... " >&6; }
27848 if test "${ac_cv_lib_m_sin+set}" = set; then :
27849 $as_echo_n "(cached) " >&6
27850 else
27851 ac_check_lib_save_LIBS=$LIBS
27852 LIBS="-lm $LIBS"
27853 if test x$gcc_no_link = xyes; then
27854 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27857 /* end confdefs.h. */
27859 /* Override any GCC internal prototype to avoid an error.
27860 Use char because int might match the return type of a GCC
27861 builtin and then its argument prototype would still apply. */
27862 #ifdef __cplusplus
27863 extern "C"
27864 #endif
27865 char sin ();
27867 main ()
27869 return sin ();
27871 return 0;
27873 _ACEOF
27874 if ac_fn_c_try_link "$LINENO"; then :
27875 ac_cv_lib_m_sin=yes
27876 else
27877 ac_cv_lib_m_sin=no
27879 rm -f core conftest.err conftest.$ac_objext \
27880 conftest$ac_exeext conftest.$ac_ext
27881 LIBS=$ac_check_lib_save_LIBS
27883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27884 $as_echo "$ac_cv_lib_m_sin" >&6; }
27885 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27886 libm="-lm"
27889 ac_save_LIBS="$LIBS"
27890 LIBS="$LIBS $libm"
27894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27895 $as_echo_n "checking for isinf declaration... " >&6; }
27896 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27897 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27898 $as_echo_n "(cached) " >&6
27899 else
27902 ac_ext=cpp
27903 ac_cpp='$CXXCPP $CPPFLAGS'
27904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27909 /* end confdefs.h. */
27910 #include <math.h>
27911 #ifdef HAVE_IEEEFP_H
27912 #include <ieeefp.h>
27913 #endif
27916 main ()
27918 isinf(0);
27920 return 0;
27922 _ACEOF
27923 if ac_fn_cxx_try_compile "$LINENO"; then :
27924 glibcxx_cv_func_isinf_use=yes
27925 else
27926 glibcxx_cv_func_isinf_use=no
27928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27929 ac_ext=c
27930 ac_cpp='$CPP $CPPFLAGS'
27931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27940 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27942 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27943 for ac_func in isinf
27944 do :
27945 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27946 if test "x$ac_cv_func_isinf" = x""yes; then :
27947 cat >>confdefs.h <<_ACEOF
27948 #define HAVE_ISINF 1
27949 _ACEOF
27952 done
27954 else
27956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27957 $as_echo_n "checking for _isinf declaration... " >&6; }
27958 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27959 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27960 $as_echo_n "(cached) " >&6
27961 else
27964 ac_ext=cpp
27965 ac_cpp='$CXXCPP $CPPFLAGS'
27966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27971 /* end confdefs.h. */
27972 #include <math.h>
27973 #ifdef HAVE_IEEEFP_H
27974 #include <ieeefp.h>
27975 #endif
27978 main ()
27980 _isinf(0);
27982 return 0;
27984 _ACEOF
27985 if ac_fn_cxx_try_compile "$LINENO"; then :
27986 glibcxx_cv_func__isinf_use=yes
27987 else
27988 glibcxx_cv_func__isinf_use=no
27990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27991 ac_ext=c
27992 ac_cpp='$CPP $CPPFLAGS'
27993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28002 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28004 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28005 for ac_func in _isinf
28006 do :
28007 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28008 if test "x$ac_cv_func__isinf" = x""yes; then :
28009 cat >>confdefs.h <<_ACEOF
28010 #define HAVE__ISINF 1
28011 _ACEOF
28014 done
28023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28024 $as_echo_n "checking for isnan declaration... " >&6; }
28025 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28026 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28027 $as_echo_n "(cached) " >&6
28028 else
28031 ac_ext=cpp
28032 ac_cpp='$CXXCPP $CPPFLAGS'
28033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28038 /* end confdefs.h. */
28039 #include <math.h>
28040 #ifdef HAVE_IEEEFP_H
28041 #include <ieeefp.h>
28042 #endif
28045 main ()
28047 isnan(0);
28049 return 0;
28051 _ACEOF
28052 if ac_fn_cxx_try_compile "$LINENO"; then :
28053 glibcxx_cv_func_isnan_use=yes
28054 else
28055 glibcxx_cv_func_isnan_use=no
28057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28058 ac_ext=c
28059 ac_cpp='$CPP $CPPFLAGS'
28060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28069 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28071 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28072 for ac_func in isnan
28073 do :
28074 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28075 if test "x$ac_cv_func_isnan" = x""yes; then :
28076 cat >>confdefs.h <<_ACEOF
28077 #define HAVE_ISNAN 1
28078 _ACEOF
28081 done
28083 else
28085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28086 $as_echo_n "checking for _isnan declaration... " >&6; }
28087 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28088 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28089 $as_echo_n "(cached) " >&6
28090 else
28093 ac_ext=cpp
28094 ac_cpp='$CXXCPP $CPPFLAGS'
28095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28100 /* end confdefs.h. */
28101 #include <math.h>
28102 #ifdef HAVE_IEEEFP_H
28103 #include <ieeefp.h>
28104 #endif
28107 main ()
28109 _isnan(0);
28111 return 0;
28113 _ACEOF
28114 if ac_fn_cxx_try_compile "$LINENO"; then :
28115 glibcxx_cv_func__isnan_use=yes
28116 else
28117 glibcxx_cv_func__isnan_use=no
28119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28120 ac_ext=c
28121 ac_cpp='$CPP $CPPFLAGS'
28122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28131 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28133 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28134 for ac_func in _isnan
28135 do :
28136 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28137 if test "x$ac_cv_func__isnan" = x""yes; then :
28138 cat >>confdefs.h <<_ACEOF
28139 #define HAVE__ISNAN 1
28140 _ACEOF
28143 done
28152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28153 $as_echo_n "checking for finite declaration... " >&6; }
28154 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28155 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28156 $as_echo_n "(cached) " >&6
28157 else
28160 ac_ext=cpp
28161 ac_cpp='$CXXCPP $CPPFLAGS'
28162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28167 /* end confdefs.h. */
28168 #include <math.h>
28169 #ifdef HAVE_IEEEFP_H
28170 #include <ieeefp.h>
28171 #endif
28174 main ()
28176 finite(0);
28178 return 0;
28180 _ACEOF
28181 if ac_fn_cxx_try_compile "$LINENO"; then :
28182 glibcxx_cv_func_finite_use=yes
28183 else
28184 glibcxx_cv_func_finite_use=no
28186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28187 ac_ext=c
28188 ac_cpp='$CPP $CPPFLAGS'
28189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28198 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28200 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28201 for ac_func in finite
28202 do :
28203 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28204 if test "x$ac_cv_func_finite" = x""yes; then :
28205 cat >>confdefs.h <<_ACEOF
28206 #define HAVE_FINITE 1
28207 _ACEOF
28210 done
28212 else
28214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28215 $as_echo_n "checking for _finite declaration... " >&6; }
28216 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28217 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28218 $as_echo_n "(cached) " >&6
28219 else
28222 ac_ext=cpp
28223 ac_cpp='$CXXCPP $CPPFLAGS'
28224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28229 /* end confdefs.h. */
28230 #include <math.h>
28231 #ifdef HAVE_IEEEFP_H
28232 #include <ieeefp.h>
28233 #endif
28236 main ()
28238 _finite(0);
28240 return 0;
28242 _ACEOF
28243 if ac_fn_cxx_try_compile "$LINENO"; then :
28244 glibcxx_cv_func__finite_use=yes
28245 else
28246 glibcxx_cv_func__finite_use=no
28248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28249 ac_ext=c
28250 ac_cpp='$CPP $CPPFLAGS'
28251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28260 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28262 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28263 for ac_func in _finite
28264 do :
28265 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28266 if test "x$ac_cv_func__finite" = x""yes; then :
28267 cat >>confdefs.h <<_ACEOF
28268 #define HAVE__FINITE 1
28269 _ACEOF
28272 done
28281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28282 $as_echo_n "checking for sincos declaration... " >&6; }
28283 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28284 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28285 $as_echo_n "(cached) " >&6
28286 else
28289 ac_ext=cpp
28290 ac_cpp='$CXXCPP $CPPFLAGS'
28291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28296 /* end confdefs.h. */
28297 #include <math.h>
28299 main ()
28301 sincos(0, 0, 0);
28303 return 0;
28305 _ACEOF
28306 if ac_fn_cxx_try_compile "$LINENO"; then :
28307 glibcxx_cv_func_sincos_use=yes
28308 else
28309 glibcxx_cv_func_sincos_use=no
28311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28312 ac_ext=c
28313 ac_cpp='$CPP $CPPFLAGS'
28314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28323 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28325 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28326 for ac_func in sincos
28327 do :
28328 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28329 if test "x$ac_cv_func_sincos" = x""yes; then :
28330 cat >>confdefs.h <<_ACEOF
28331 #define HAVE_SINCOS 1
28332 _ACEOF
28335 done
28337 else
28339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28340 $as_echo_n "checking for _sincos declaration... " >&6; }
28341 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28342 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28343 $as_echo_n "(cached) " >&6
28344 else
28347 ac_ext=cpp
28348 ac_cpp='$CXXCPP $CPPFLAGS'
28349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28354 /* end confdefs.h. */
28355 #include <math.h>
28357 main ()
28359 _sincos(0, 0, 0);
28361 return 0;
28363 _ACEOF
28364 if ac_fn_cxx_try_compile "$LINENO"; then :
28365 glibcxx_cv_func__sincos_use=yes
28366 else
28367 glibcxx_cv_func__sincos_use=no
28369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28370 ac_ext=c
28371 ac_cpp='$CPP $CPPFLAGS'
28372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28381 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28383 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28384 for ac_func in _sincos
28385 do :
28386 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28387 if test "x$ac_cv_func__sincos" = x""yes; then :
28388 cat >>confdefs.h <<_ACEOF
28389 #define HAVE__SINCOS 1
28390 _ACEOF
28393 done
28402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28403 $as_echo_n "checking for fpclass declaration... " >&6; }
28404 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28405 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28406 $as_echo_n "(cached) " >&6
28407 else
28410 ac_ext=cpp
28411 ac_cpp='$CXXCPP $CPPFLAGS'
28412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28417 /* end confdefs.h. */
28418 #include <math.h>
28419 #ifdef HAVE_IEEEFP_H
28420 #include <ieeefp.h>
28421 #endif
28424 main ()
28426 fpclass(0);
28428 return 0;
28430 _ACEOF
28431 if ac_fn_cxx_try_compile "$LINENO"; then :
28432 glibcxx_cv_func_fpclass_use=yes
28433 else
28434 glibcxx_cv_func_fpclass_use=no
28436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28437 ac_ext=c
28438 ac_cpp='$CPP $CPPFLAGS'
28439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28448 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28450 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28451 for ac_func in fpclass
28452 do :
28453 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28454 if test "x$ac_cv_func_fpclass" = x""yes; then :
28455 cat >>confdefs.h <<_ACEOF
28456 #define HAVE_FPCLASS 1
28457 _ACEOF
28460 done
28462 else
28464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28465 $as_echo_n "checking for _fpclass declaration... " >&6; }
28466 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28467 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28468 $as_echo_n "(cached) " >&6
28469 else
28472 ac_ext=cpp
28473 ac_cpp='$CXXCPP $CPPFLAGS'
28474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28479 /* end confdefs.h. */
28480 #include <math.h>
28481 #ifdef HAVE_IEEEFP_H
28482 #include <ieeefp.h>
28483 #endif
28486 main ()
28488 _fpclass(0);
28490 return 0;
28492 _ACEOF
28493 if ac_fn_cxx_try_compile "$LINENO"; then :
28494 glibcxx_cv_func__fpclass_use=yes
28495 else
28496 glibcxx_cv_func__fpclass_use=no
28498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28499 ac_ext=c
28500 ac_cpp='$CPP $CPPFLAGS'
28501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28510 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28512 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28513 for ac_func in _fpclass
28514 do :
28515 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28516 if test "x$ac_cv_func__fpclass" = x""yes; then :
28517 cat >>confdefs.h <<_ACEOF
28518 #define HAVE__FPCLASS 1
28519 _ACEOF
28522 done
28531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28532 $as_echo_n "checking for qfpclass declaration... " >&6; }
28533 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28534 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28535 $as_echo_n "(cached) " >&6
28536 else
28539 ac_ext=cpp
28540 ac_cpp='$CXXCPP $CPPFLAGS'
28541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28546 /* end confdefs.h. */
28547 #include <math.h>
28548 #ifdef HAVE_IEEEFP_H
28549 #include <ieeefp.h>
28550 #endif
28553 main ()
28555 qfpclass(0);
28557 return 0;
28559 _ACEOF
28560 if ac_fn_cxx_try_compile "$LINENO"; then :
28561 glibcxx_cv_func_qfpclass_use=yes
28562 else
28563 glibcxx_cv_func_qfpclass_use=no
28565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28566 ac_ext=c
28567 ac_cpp='$CPP $CPPFLAGS'
28568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28577 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28579 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28580 for ac_func in qfpclass
28581 do :
28582 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28583 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28584 cat >>confdefs.h <<_ACEOF
28585 #define HAVE_QFPCLASS 1
28586 _ACEOF
28589 done
28591 else
28593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28594 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28595 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28596 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28597 $as_echo_n "(cached) " >&6
28598 else
28601 ac_ext=cpp
28602 ac_cpp='$CXXCPP $CPPFLAGS'
28603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28608 /* end confdefs.h. */
28609 #include <math.h>
28610 #ifdef HAVE_IEEEFP_H
28611 #include <ieeefp.h>
28612 #endif
28615 main ()
28617 _qfpclass(0);
28619 return 0;
28621 _ACEOF
28622 if ac_fn_cxx_try_compile "$LINENO"; then :
28623 glibcxx_cv_func__qfpclass_use=yes
28624 else
28625 glibcxx_cv_func__qfpclass_use=no
28627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28628 ac_ext=c
28629 ac_cpp='$CPP $CPPFLAGS'
28630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28639 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28641 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28642 for ac_func in _qfpclass
28643 do :
28644 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28645 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28646 cat >>confdefs.h <<_ACEOF
28647 #define HAVE__QFPCLASS 1
28648 _ACEOF
28651 done
28660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28661 $as_echo_n "checking for hypot declaration... " >&6; }
28662 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28663 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28664 $as_echo_n "(cached) " >&6
28665 else
28668 ac_ext=cpp
28669 ac_cpp='$CXXCPP $CPPFLAGS'
28670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28675 /* end confdefs.h. */
28676 #include <math.h>
28678 main ()
28680 hypot(0, 0);
28682 return 0;
28684 _ACEOF
28685 if ac_fn_cxx_try_compile "$LINENO"; then :
28686 glibcxx_cv_func_hypot_use=yes
28687 else
28688 glibcxx_cv_func_hypot_use=no
28690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28691 ac_ext=c
28692 ac_cpp='$CPP $CPPFLAGS'
28693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28702 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28704 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28705 for ac_func in hypot
28706 do :
28707 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28708 if test "x$ac_cv_func_hypot" = x""yes; then :
28709 cat >>confdefs.h <<_ACEOF
28710 #define HAVE_HYPOT 1
28711 _ACEOF
28714 done
28716 else
28718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28719 $as_echo_n "checking for _hypot declaration... " >&6; }
28720 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28721 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28722 $as_echo_n "(cached) " >&6
28723 else
28726 ac_ext=cpp
28727 ac_cpp='$CXXCPP $CPPFLAGS'
28728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28733 /* end confdefs.h. */
28734 #include <math.h>
28736 main ()
28738 _hypot(0, 0);
28740 return 0;
28742 _ACEOF
28743 if ac_fn_cxx_try_compile "$LINENO"; then :
28744 glibcxx_cv_func__hypot_use=yes
28745 else
28746 glibcxx_cv_func__hypot_use=no
28748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28749 ac_ext=c
28750 ac_cpp='$CPP $CPPFLAGS'
28751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28760 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28762 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28763 for ac_func in _hypot
28764 do :
28765 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28766 if test "x$ac_cv_func__hypot" = x""yes; then :
28767 cat >>confdefs.h <<_ACEOF
28768 #define HAVE__HYPOT 1
28769 _ACEOF
28772 done
28781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28782 $as_echo_n "checking for float trig functions... " >&6; }
28783 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28784 $as_echo_n "(cached) " >&6
28785 else
28788 ac_ext=cpp
28789 ac_cpp='$CXXCPP $CPPFLAGS'
28790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28795 /* end confdefs.h. */
28796 #include <math.h>
28798 main ()
28800 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28802 return 0;
28804 _ACEOF
28805 if ac_fn_cxx_try_compile "$LINENO"; then :
28806 glibcxx_cv_func_float_trig_use=yes
28807 else
28808 glibcxx_cv_func_float_trig_use=no
28810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28811 ac_ext=c
28812 ac_cpp='$CPP $CPPFLAGS'
28813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28820 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28821 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28822 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28823 do :
28824 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28825 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28826 eval as_val=\$$as_ac_var
28827 if test "x$as_val" = x""yes; then :
28828 cat >>confdefs.h <<_ACEOF
28829 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28830 _ACEOF
28833 done
28835 else
28836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28837 $as_echo_n "checking for _float trig functions... " >&6; }
28838 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28839 $as_echo_n "(cached) " >&6
28840 else
28843 ac_ext=cpp
28844 ac_cpp='$CXXCPP $CPPFLAGS'
28845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28850 /* end confdefs.h. */
28851 #include <math.h>
28853 main ()
28855 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28857 return 0;
28859 _ACEOF
28860 if ac_fn_cxx_try_compile "$LINENO"; then :
28861 glibcxx_cv_func__float_trig_use=yes
28862 else
28863 glibcxx_cv_func__float_trig_use=no
28865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28866 ac_ext=c
28867 ac_cpp='$CPP $CPPFLAGS'
28868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28875 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28876 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28877 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28878 do :
28879 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28880 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28881 eval as_val=\$$as_ac_var
28882 if test "x$as_val" = x""yes; then :
28883 cat >>confdefs.h <<_ACEOF
28884 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28885 _ACEOF
28888 done
28897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28898 $as_echo_n "checking for float round functions... " >&6; }
28899 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28900 $as_echo_n "(cached) " >&6
28901 else
28904 ac_ext=cpp
28905 ac_cpp='$CXXCPP $CPPFLAGS'
28906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28911 /* end confdefs.h. */
28912 #include <math.h>
28914 main ()
28916 ceilf (0); floorf (0);
28918 return 0;
28920 _ACEOF
28921 if ac_fn_cxx_try_compile "$LINENO"; then :
28922 glibcxx_cv_func_float_round_use=yes
28923 else
28924 glibcxx_cv_func_float_round_use=no
28926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28927 ac_ext=c
28928 ac_cpp='$CPP $CPPFLAGS'
28929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28936 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28937 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28938 for ac_func in ceilf floorf
28939 do :
28940 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28941 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28942 eval as_val=\$$as_ac_var
28943 if test "x$as_val" = x""yes; then :
28944 cat >>confdefs.h <<_ACEOF
28945 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28946 _ACEOF
28949 done
28951 else
28952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28953 $as_echo_n "checking for _float round functions... " >&6; }
28954 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28955 $as_echo_n "(cached) " >&6
28956 else
28959 ac_ext=cpp
28960 ac_cpp='$CXXCPP $CPPFLAGS'
28961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28966 /* end confdefs.h. */
28967 #include <math.h>
28969 main ()
28971 _ceilf (0); _floorf (0);
28973 return 0;
28975 _ACEOF
28976 if ac_fn_cxx_try_compile "$LINENO"; then :
28977 glibcxx_cv_func__float_round_use=yes
28978 else
28979 glibcxx_cv_func__float_round_use=no
28981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28982 ac_ext=c
28983 ac_cpp='$CPP $CPPFLAGS'
28984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28991 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28992 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28993 for ac_func in _ceilf _floorf
28994 do :
28995 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28996 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28997 eval as_val=\$$as_ac_var
28998 if test "x$as_val" = x""yes; then :
28999 cat >>confdefs.h <<_ACEOF
29000 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29001 _ACEOF
29004 done
29014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29015 $as_echo_n "checking for expf declaration... " >&6; }
29016 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29017 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29018 $as_echo_n "(cached) " >&6
29019 else
29022 ac_ext=cpp
29023 ac_cpp='$CXXCPP $CPPFLAGS'
29024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29029 /* end confdefs.h. */
29030 #include <math.h>
29031 #ifdef HAVE_IEEEFP_H
29032 #include <ieeefp.h>
29033 #endif
29036 main ()
29038 expf(0);
29040 return 0;
29042 _ACEOF
29043 if ac_fn_cxx_try_compile "$LINENO"; then :
29044 glibcxx_cv_func_expf_use=yes
29045 else
29046 glibcxx_cv_func_expf_use=no
29048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29049 ac_ext=c
29050 ac_cpp='$CPP $CPPFLAGS'
29051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29060 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29062 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29063 for ac_func in expf
29064 do :
29065 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29066 if test "x$ac_cv_func_expf" = x""yes; then :
29067 cat >>confdefs.h <<_ACEOF
29068 #define HAVE_EXPF 1
29069 _ACEOF
29072 done
29074 else
29076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29077 $as_echo_n "checking for _expf declaration... " >&6; }
29078 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29079 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29080 $as_echo_n "(cached) " >&6
29081 else
29084 ac_ext=cpp
29085 ac_cpp='$CXXCPP $CPPFLAGS'
29086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29091 /* end confdefs.h. */
29092 #include <math.h>
29093 #ifdef HAVE_IEEEFP_H
29094 #include <ieeefp.h>
29095 #endif
29098 main ()
29100 _expf(0);
29102 return 0;
29104 _ACEOF
29105 if ac_fn_cxx_try_compile "$LINENO"; then :
29106 glibcxx_cv_func__expf_use=yes
29107 else
29108 glibcxx_cv_func__expf_use=no
29110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29111 ac_ext=c
29112 ac_cpp='$CPP $CPPFLAGS'
29113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29122 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29124 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29125 for ac_func in _expf
29126 do :
29127 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29128 if test "x$ac_cv_func__expf" = x""yes; then :
29129 cat >>confdefs.h <<_ACEOF
29130 #define HAVE__EXPF 1
29131 _ACEOF
29134 done
29143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29144 $as_echo_n "checking for isnanf declaration... " >&6; }
29145 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29146 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29147 $as_echo_n "(cached) " >&6
29148 else
29151 ac_ext=cpp
29152 ac_cpp='$CXXCPP $CPPFLAGS'
29153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29158 /* end confdefs.h. */
29159 #include <math.h>
29160 #ifdef HAVE_IEEEFP_H
29161 #include <ieeefp.h>
29162 #endif
29165 main ()
29167 isnanf(0);
29169 return 0;
29171 _ACEOF
29172 if ac_fn_cxx_try_compile "$LINENO"; then :
29173 glibcxx_cv_func_isnanf_use=yes
29174 else
29175 glibcxx_cv_func_isnanf_use=no
29177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29178 ac_ext=c
29179 ac_cpp='$CPP $CPPFLAGS'
29180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29189 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29191 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29192 for ac_func in isnanf
29193 do :
29194 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29195 if test "x$ac_cv_func_isnanf" = x""yes; then :
29196 cat >>confdefs.h <<_ACEOF
29197 #define HAVE_ISNANF 1
29198 _ACEOF
29201 done
29203 else
29205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29206 $as_echo_n "checking for _isnanf declaration... " >&6; }
29207 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29208 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29209 $as_echo_n "(cached) " >&6
29210 else
29213 ac_ext=cpp
29214 ac_cpp='$CXXCPP $CPPFLAGS'
29215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29220 /* end confdefs.h. */
29221 #include <math.h>
29222 #ifdef HAVE_IEEEFP_H
29223 #include <ieeefp.h>
29224 #endif
29227 main ()
29229 _isnanf(0);
29231 return 0;
29233 _ACEOF
29234 if ac_fn_cxx_try_compile "$LINENO"; then :
29235 glibcxx_cv_func__isnanf_use=yes
29236 else
29237 glibcxx_cv_func__isnanf_use=no
29239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29240 ac_ext=c
29241 ac_cpp='$CPP $CPPFLAGS'
29242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29251 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29253 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29254 for ac_func in _isnanf
29255 do :
29256 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29257 if test "x$ac_cv_func__isnanf" = x""yes; then :
29258 cat >>confdefs.h <<_ACEOF
29259 #define HAVE__ISNANF 1
29260 _ACEOF
29263 done
29272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29273 $as_echo_n "checking for isinff declaration... " >&6; }
29274 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29275 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29276 $as_echo_n "(cached) " >&6
29277 else
29280 ac_ext=cpp
29281 ac_cpp='$CXXCPP $CPPFLAGS'
29282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29287 /* end confdefs.h. */
29288 #include <math.h>
29289 #ifdef HAVE_IEEEFP_H
29290 #include <ieeefp.h>
29291 #endif
29294 main ()
29296 isinff(0);
29298 return 0;
29300 _ACEOF
29301 if ac_fn_cxx_try_compile "$LINENO"; then :
29302 glibcxx_cv_func_isinff_use=yes
29303 else
29304 glibcxx_cv_func_isinff_use=no
29306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29307 ac_ext=c
29308 ac_cpp='$CPP $CPPFLAGS'
29309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29318 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29320 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29321 for ac_func in isinff
29322 do :
29323 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29324 if test "x$ac_cv_func_isinff" = x""yes; then :
29325 cat >>confdefs.h <<_ACEOF
29326 #define HAVE_ISINFF 1
29327 _ACEOF
29330 done
29332 else
29334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29335 $as_echo_n "checking for _isinff declaration... " >&6; }
29336 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29337 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29338 $as_echo_n "(cached) " >&6
29339 else
29342 ac_ext=cpp
29343 ac_cpp='$CXXCPP $CPPFLAGS'
29344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29349 /* end confdefs.h. */
29350 #include <math.h>
29351 #ifdef HAVE_IEEEFP_H
29352 #include <ieeefp.h>
29353 #endif
29356 main ()
29358 _isinff(0);
29360 return 0;
29362 _ACEOF
29363 if ac_fn_cxx_try_compile "$LINENO"; then :
29364 glibcxx_cv_func__isinff_use=yes
29365 else
29366 glibcxx_cv_func__isinff_use=no
29368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29369 ac_ext=c
29370 ac_cpp='$CPP $CPPFLAGS'
29371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29380 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29382 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29383 for ac_func in _isinff
29384 do :
29385 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29386 if test "x$ac_cv_func__isinff" = x""yes; then :
29387 cat >>confdefs.h <<_ACEOF
29388 #define HAVE__ISINFF 1
29389 _ACEOF
29392 done
29401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29402 $as_echo_n "checking for atan2f declaration... " >&6; }
29403 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29404 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29405 $as_echo_n "(cached) " >&6
29406 else
29409 ac_ext=cpp
29410 ac_cpp='$CXXCPP $CPPFLAGS'
29411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29416 /* end confdefs.h. */
29417 #include <math.h>
29419 main ()
29421 atan2f(0, 0);
29423 return 0;
29425 _ACEOF
29426 if ac_fn_cxx_try_compile "$LINENO"; then :
29427 glibcxx_cv_func_atan2f_use=yes
29428 else
29429 glibcxx_cv_func_atan2f_use=no
29431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29432 ac_ext=c
29433 ac_cpp='$CPP $CPPFLAGS'
29434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29443 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29445 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29446 for ac_func in atan2f
29447 do :
29448 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29449 if test "x$ac_cv_func_atan2f" = x""yes; then :
29450 cat >>confdefs.h <<_ACEOF
29451 #define HAVE_ATAN2F 1
29452 _ACEOF
29455 done
29457 else
29459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29460 $as_echo_n "checking for _atan2f declaration... " >&6; }
29461 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29462 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29463 $as_echo_n "(cached) " >&6
29464 else
29467 ac_ext=cpp
29468 ac_cpp='$CXXCPP $CPPFLAGS'
29469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29474 /* end confdefs.h. */
29475 #include <math.h>
29477 main ()
29479 _atan2f(0, 0);
29481 return 0;
29483 _ACEOF
29484 if ac_fn_cxx_try_compile "$LINENO"; then :
29485 glibcxx_cv_func__atan2f_use=yes
29486 else
29487 glibcxx_cv_func__atan2f_use=no
29489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29490 ac_ext=c
29491 ac_cpp='$CPP $CPPFLAGS'
29492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29501 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29503 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29504 for ac_func in _atan2f
29505 do :
29506 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29507 if test "x$ac_cv_func__atan2f" = x""yes; then :
29508 cat >>confdefs.h <<_ACEOF
29509 #define HAVE__ATAN2F 1
29510 _ACEOF
29513 done
29522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29523 $as_echo_n "checking for fabsf declaration... " >&6; }
29524 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29525 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29526 $as_echo_n "(cached) " >&6
29527 else
29530 ac_ext=cpp
29531 ac_cpp='$CXXCPP $CPPFLAGS'
29532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29537 /* end confdefs.h. */
29538 #include <math.h>
29539 #ifdef HAVE_IEEEFP_H
29540 #include <ieeefp.h>
29541 #endif
29544 main ()
29546 fabsf(0);
29548 return 0;
29550 _ACEOF
29551 if ac_fn_cxx_try_compile "$LINENO"; then :
29552 glibcxx_cv_func_fabsf_use=yes
29553 else
29554 glibcxx_cv_func_fabsf_use=no
29556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29557 ac_ext=c
29558 ac_cpp='$CPP $CPPFLAGS'
29559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29568 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29570 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29571 for ac_func in fabsf
29572 do :
29573 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29574 if test "x$ac_cv_func_fabsf" = x""yes; then :
29575 cat >>confdefs.h <<_ACEOF
29576 #define HAVE_FABSF 1
29577 _ACEOF
29580 done
29582 else
29584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29585 $as_echo_n "checking for _fabsf declaration... " >&6; }
29586 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29587 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29588 $as_echo_n "(cached) " >&6
29589 else
29592 ac_ext=cpp
29593 ac_cpp='$CXXCPP $CPPFLAGS'
29594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29599 /* end confdefs.h. */
29600 #include <math.h>
29601 #ifdef HAVE_IEEEFP_H
29602 #include <ieeefp.h>
29603 #endif
29606 main ()
29608 _fabsf(0);
29610 return 0;
29612 _ACEOF
29613 if ac_fn_cxx_try_compile "$LINENO"; then :
29614 glibcxx_cv_func__fabsf_use=yes
29615 else
29616 glibcxx_cv_func__fabsf_use=no
29618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29619 ac_ext=c
29620 ac_cpp='$CPP $CPPFLAGS'
29621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29630 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29632 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29633 for ac_func in _fabsf
29634 do :
29635 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29636 if test "x$ac_cv_func__fabsf" = x""yes; then :
29637 cat >>confdefs.h <<_ACEOF
29638 #define HAVE__FABSF 1
29639 _ACEOF
29642 done
29651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29652 $as_echo_n "checking for fmodf declaration... " >&6; }
29653 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29654 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29655 $as_echo_n "(cached) " >&6
29656 else
29659 ac_ext=cpp
29660 ac_cpp='$CXXCPP $CPPFLAGS'
29661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29666 /* end confdefs.h. */
29667 #include <math.h>
29669 main ()
29671 fmodf(0, 0);
29673 return 0;
29675 _ACEOF
29676 if ac_fn_cxx_try_compile "$LINENO"; then :
29677 glibcxx_cv_func_fmodf_use=yes
29678 else
29679 glibcxx_cv_func_fmodf_use=no
29681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29682 ac_ext=c
29683 ac_cpp='$CPP $CPPFLAGS'
29684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29693 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29695 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29696 for ac_func in fmodf
29697 do :
29698 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29699 if test "x$ac_cv_func_fmodf" = x""yes; then :
29700 cat >>confdefs.h <<_ACEOF
29701 #define HAVE_FMODF 1
29702 _ACEOF
29705 done
29707 else
29709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29710 $as_echo_n "checking for _fmodf declaration... " >&6; }
29711 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29712 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29713 $as_echo_n "(cached) " >&6
29714 else
29717 ac_ext=cpp
29718 ac_cpp='$CXXCPP $CPPFLAGS'
29719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29724 /* end confdefs.h. */
29725 #include <math.h>
29727 main ()
29729 _fmodf(0, 0);
29731 return 0;
29733 _ACEOF
29734 if ac_fn_cxx_try_compile "$LINENO"; then :
29735 glibcxx_cv_func__fmodf_use=yes
29736 else
29737 glibcxx_cv_func__fmodf_use=no
29739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29740 ac_ext=c
29741 ac_cpp='$CPP $CPPFLAGS'
29742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29751 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29753 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29754 for ac_func in _fmodf
29755 do :
29756 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29757 if test "x$ac_cv_func__fmodf" = x""yes; then :
29758 cat >>confdefs.h <<_ACEOF
29759 #define HAVE__FMODF 1
29760 _ACEOF
29763 done
29772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29773 $as_echo_n "checking for frexpf declaration... " >&6; }
29774 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29775 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29776 $as_echo_n "(cached) " >&6
29777 else
29780 ac_ext=cpp
29781 ac_cpp='$CXXCPP $CPPFLAGS'
29782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29787 /* end confdefs.h. */
29788 #include <math.h>
29790 main ()
29792 frexpf(0, 0);
29794 return 0;
29796 _ACEOF
29797 if ac_fn_cxx_try_compile "$LINENO"; then :
29798 glibcxx_cv_func_frexpf_use=yes
29799 else
29800 glibcxx_cv_func_frexpf_use=no
29802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29803 ac_ext=c
29804 ac_cpp='$CPP $CPPFLAGS'
29805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29814 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29816 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29817 for ac_func in frexpf
29818 do :
29819 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29820 if test "x$ac_cv_func_frexpf" = x""yes; then :
29821 cat >>confdefs.h <<_ACEOF
29822 #define HAVE_FREXPF 1
29823 _ACEOF
29826 done
29828 else
29830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29831 $as_echo_n "checking for _frexpf declaration... " >&6; }
29832 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29833 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29834 $as_echo_n "(cached) " >&6
29835 else
29838 ac_ext=cpp
29839 ac_cpp='$CXXCPP $CPPFLAGS'
29840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29845 /* end confdefs.h. */
29846 #include <math.h>
29848 main ()
29850 _frexpf(0, 0);
29852 return 0;
29854 _ACEOF
29855 if ac_fn_cxx_try_compile "$LINENO"; then :
29856 glibcxx_cv_func__frexpf_use=yes
29857 else
29858 glibcxx_cv_func__frexpf_use=no
29860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29861 ac_ext=c
29862 ac_cpp='$CPP $CPPFLAGS'
29863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29872 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29874 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29875 for ac_func in _frexpf
29876 do :
29877 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29878 if test "x$ac_cv_func__frexpf" = x""yes; then :
29879 cat >>confdefs.h <<_ACEOF
29880 #define HAVE__FREXPF 1
29881 _ACEOF
29884 done
29893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29894 $as_echo_n "checking for hypotf declaration... " >&6; }
29895 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29896 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29897 $as_echo_n "(cached) " >&6
29898 else
29901 ac_ext=cpp
29902 ac_cpp='$CXXCPP $CPPFLAGS'
29903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29908 /* end confdefs.h. */
29909 #include <math.h>
29911 main ()
29913 hypotf(0, 0);
29915 return 0;
29917 _ACEOF
29918 if ac_fn_cxx_try_compile "$LINENO"; then :
29919 glibcxx_cv_func_hypotf_use=yes
29920 else
29921 glibcxx_cv_func_hypotf_use=no
29923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29924 ac_ext=c
29925 ac_cpp='$CPP $CPPFLAGS'
29926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29935 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29937 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29938 for ac_func in hypotf
29939 do :
29940 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29941 if test "x$ac_cv_func_hypotf" = x""yes; then :
29942 cat >>confdefs.h <<_ACEOF
29943 #define HAVE_HYPOTF 1
29944 _ACEOF
29947 done
29949 else
29951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29952 $as_echo_n "checking for _hypotf declaration... " >&6; }
29953 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29954 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29955 $as_echo_n "(cached) " >&6
29956 else
29959 ac_ext=cpp
29960 ac_cpp='$CXXCPP $CPPFLAGS'
29961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29966 /* end confdefs.h. */
29967 #include <math.h>
29969 main ()
29971 _hypotf(0, 0);
29973 return 0;
29975 _ACEOF
29976 if ac_fn_cxx_try_compile "$LINENO"; then :
29977 glibcxx_cv_func__hypotf_use=yes
29978 else
29979 glibcxx_cv_func__hypotf_use=no
29981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29982 ac_ext=c
29983 ac_cpp='$CPP $CPPFLAGS'
29984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29993 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29995 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29996 for ac_func in _hypotf
29997 do :
29998 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29999 if test "x$ac_cv_func__hypotf" = x""yes; then :
30000 cat >>confdefs.h <<_ACEOF
30001 #define HAVE__HYPOTF 1
30002 _ACEOF
30005 done
30014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30015 $as_echo_n "checking for ldexpf declaration... " >&6; }
30016 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30017 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30018 $as_echo_n "(cached) " >&6
30019 else
30022 ac_ext=cpp
30023 ac_cpp='$CXXCPP $CPPFLAGS'
30024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30029 /* end confdefs.h. */
30030 #include <math.h>
30032 main ()
30034 ldexpf(0, 0);
30036 return 0;
30038 _ACEOF
30039 if ac_fn_cxx_try_compile "$LINENO"; then :
30040 glibcxx_cv_func_ldexpf_use=yes
30041 else
30042 glibcxx_cv_func_ldexpf_use=no
30044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30045 ac_ext=c
30046 ac_cpp='$CPP $CPPFLAGS'
30047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30056 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30058 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30059 for ac_func in ldexpf
30060 do :
30061 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30062 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30063 cat >>confdefs.h <<_ACEOF
30064 #define HAVE_LDEXPF 1
30065 _ACEOF
30068 done
30070 else
30072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30073 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30074 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30075 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30076 $as_echo_n "(cached) " >&6
30077 else
30080 ac_ext=cpp
30081 ac_cpp='$CXXCPP $CPPFLAGS'
30082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30087 /* end confdefs.h. */
30088 #include <math.h>
30090 main ()
30092 _ldexpf(0, 0);
30094 return 0;
30096 _ACEOF
30097 if ac_fn_cxx_try_compile "$LINENO"; then :
30098 glibcxx_cv_func__ldexpf_use=yes
30099 else
30100 glibcxx_cv_func__ldexpf_use=no
30102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30103 ac_ext=c
30104 ac_cpp='$CPP $CPPFLAGS'
30105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30114 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30116 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30117 for ac_func in _ldexpf
30118 do :
30119 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30120 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30121 cat >>confdefs.h <<_ACEOF
30122 #define HAVE__LDEXPF 1
30123 _ACEOF
30126 done
30135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30136 $as_echo_n "checking for logf declaration... " >&6; }
30137 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30138 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30139 $as_echo_n "(cached) " >&6
30140 else
30143 ac_ext=cpp
30144 ac_cpp='$CXXCPP $CPPFLAGS'
30145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30150 /* end confdefs.h. */
30151 #include <math.h>
30152 #ifdef HAVE_IEEEFP_H
30153 #include <ieeefp.h>
30154 #endif
30157 main ()
30159 logf(0);
30161 return 0;
30163 _ACEOF
30164 if ac_fn_cxx_try_compile "$LINENO"; then :
30165 glibcxx_cv_func_logf_use=yes
30166 else
30167 glibcxx_cv_func_logf_use=no
30169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30170 ac_ext=c
30171 ac_cpp='$CPP $CPPFLAGS'
30172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30181 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30183 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30184 for ac_func in logf
30185 do :
30186 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30187 if test "x$ac_cv_func_logf" = x""yes; then :
30188 cat >>confdefs.h <<_ACEOF
30189 #define HAVE_LOGF 1
30190 _ACEOF
30193 done
30195 else
30197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30198 $as_echo_n "checking for _logf declaration... " >&6; }
30199 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30200 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30201 $as_echo_n "(cached) " >&6
30202 else
30205 ac_ext=cpp
30206 ac_cpp='$CXXCPP $CPPFLAGS'
30207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30212 /* end confdefs.h. */
30213 #include <math.h>
30214 #ifdef HAVE_IEEEFP_H
30215 #include <ieeefp.h>
30216 #endif
30219 main ()
30221 _logf(0);
30223 return 0;
30225 _ACEOF
30226 if ac_fn_cxx_try_compile "$LINENO"; then :
30227 glibcxx_cv_func__logf_use=yes
30228 else
30229 glibcxx_cv_func__logf_use=no
30231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30232 ac_ext=c
30233 ac_cpp='$CPP $CPPFLAGS'
30234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30243 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30245 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30246 for ac_func in _logf
30247 do :
30248 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30249 if test "x$ac_cv_func__logf" = x""yes; then :
30250 cat >>confdefs.h <<_ACEOF
30251 #define HAVE__LOGF 1
30252 _ACEOF
30255 done
30264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30265 $as_echo_n "checking for log10f declaration... " >&6; }
30266 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30267 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30268 $as_echo_n "(cached) " >&6
30269 else
30272 ac_ext=cpp
30273 ac_cpp='$CXXCPP $CPPFLAGS'
30274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30279 /* end confdefs.h. */
30280 #include <math.h>
30281 #ifdef HAVE_IEEEFP_H
30282 #include <ieeefp.h>
30283 #endif
30286 main ()
30288 log10f(0);
30290 return 0;
30292 _ACEOF
30293 if ac_fn_cxx_try_compile "$LINENO"; then :
30294 glibcxx_cv_func_log10f_use=yes
30295 else
30296 glibcxx_cv_func_log10f_use=no
30298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30299 ac_ext=c
30300 ac_cpp='$CPP $CPPFLAGS'
30301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30310 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30312 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30313 for ac_func in log10f
30314 do :
30315 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30316 if test "x$ac_cv_func_log10f" = x""yes; then :
30317 cat >>confdefs.h <<_ACEOF
30318 #define HAVE_LOG10F 1
30319 _ACEOF
30322 done
30324 else
30326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30327 $as_echo_n "checking for _log10f declaration... " >&6; }
30328 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30329 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30330 $as_echo_n "(cached) " >&6
30331 else
30334 ac_ext=cpp
30335 ac_cpp='$CXXCPP $CPPFLAGS'
30336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30341 /* end confdefs.h. */
30342 #include <math.h>
30343 #ifdef HAVE_IEEEFP_H
30344 #include <ieeefp.h>
30345 #endif
30348 main ()
30350 _log10f(0);
30352 return 0;
30354 _ACEOF
30355 if ac_fn_cxx_try_compile "$LINENO"; then :
30356 glibcxx_cv_func__log10f_use=yes
30357 else
30358 glibcxx_cv_func__log10f_use=no
30360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30361 ac_ext=c
30362 ac_cpp='$CPP $CPPFLAGS'
30363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30372 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30374 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30375 for ac_func in _log10f
30376 do :
30377 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30378 if test "x$ac_cv_func__log10f" = x""yes; then :
30379 cat >>confdefs.h <<_ACEOF
30380 #define HAVE__LOG10F 1
30381 _ACEOF
30384 done
30393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30394 $as_echo_n "checking for modff declaration... " >&6; }
30395 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30396 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30397 $as_echo_n "(cached) " >&6
30398 else
30401 ac_ext=cpp
30402 ac_cpp='$CXXCPP $CPPFLAGS'
30403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30408 /* end confdefs.h. */
30409 #include <math.h>
30411 main ()
30413 modff(0, 0);
30415 return 0;
30417 _ACEOF
30418 if ac_fn_cxx_try_compile "$LINENO"; then :
30419 glibcxx_cv_func_modff_use=yes
30420 else
30421 glibcxx_cv_func_modff_use=no
30423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30424 ac_ext=c
30425 ac_cpp='$CPP $CPPFLAGS'
30426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30435 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30437 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30438 for ac_func in modff
30439 do :
30440 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30441 if test "x$ac_cv_func_modff" = x""yes; then :
30442 cat >>confdefs.h <<_ACEOF
30443 #define HAVE_MODFF 1
30444 _ACEOF
30447 done
30449 else
30451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30452 $as_echo_n "checking for _modff declaration... " >&6; }
30453 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30454 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30455 $as_echo_n "(cached) " >&6
30456 else
30459 ac_ext=cpp
30460 ac_cpp='$CXXCPP $CPPFLAGS'
30461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30466 /* end confdefs.h. */
30467 #include <math.h>
30469 main ()
30471 _modff(0, 0);
30473 return 0;
30475 _ACEOF
30476 if ac_fn_cxx_try_compile "$LINENO"; then :
30477 glibcxx_cv_func__modff_use=yes
30478 else
30479 glibcxx_cv_func__modff_use=no
30481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30482 ac_ext=c
30483 ac_cpp='$CPP $CPPFLAGS'
30484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30493 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30495 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30496 for ac_func in _modff
30497 do :
30498 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30499 if test "x$ac_cv_func__modff" = x""yes; then :
30500 cat >>confdefs.h <<_ACEOF
30501 #define HAVE__MODFF 1
30502 _ACEOF
30505 done
30514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30515 $as_echo_n "checking for modf declaration... " >&6; }
30516 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30517 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30518 $as_echo_n "(cached) " >&6
30519 else
30522 ac_ext=cpp
30523 ac_cpp='$CXXCPP $CPPFLAGS'
30524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30529 /* end confdefs.h. */
30530 #include <math.h>
30532 main ()
30534 modf(0, 0);
30536 return 0;
30538 _ACEOF
30539 if ac_fn_cxx_try_compile "$LINENO"; then :
30540 glibcxx_cv_func_modf_use=yes
30541 else
30542 glibcxx_cv_func_modf_use=no
30544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30545 ac_ext=c
30546 ac_cpp='$CPP $CPPFLAGS'
30547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30556 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30558 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30559 for ac_func in modf
30560 do :
30561 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30562 if test "x$ac_cv_func_modf" = x""yes; then :
30563 cat >>confdefs.h <<_ACEOF
30564 #define HAVE_MODF 1
30565 _ACEOF
30568 done
30570 else
30572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30573 $as_echo_n "checking for _modf declaration... " >&6; }
30574 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30575 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30576 $as_echo_n "(cached) " >&6
30577 else
30580 ac_ext=cpp
30581 ac_cpp='$CXXCPP $CPPFLAGS'
30582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30587 /* end confdefs.h. */
30588 #include <math.h>
30590 main ()
30592 _modf(0, 0);
30594 return 0;
30596 _ACEOF
30597 if ac_fn_cxx_try_compile "$LINENO"; then :
30598 glibcxx_cv_func__modf_use=yes
30599 else
30600 glibcxx_cv_func__modf_use=no
30602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30603 ac_ext=c
30604 ac_cpp='$CPP $CPPFLAGS'
30605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30614 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30616 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30617 for ac_func in _modf
30618 do :
30619 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30620 if test "x$ac_cv_func__modf" = x""yes; then :
30621 cat >>confdefs.h <<_ACEOF
30622 #define HAVE__MODF 1
30623 _ACEOF
30626 done
30635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30636 $as_echo_n "checking for powf declaration... " >&6; }
30637 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30638 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30639 $as_echo_n "(cached) " >&6
30640 else
30643 ac_ext=cpp
30644 ac_cpp='$CXXCPP $CPPFLAGS'
30645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30650 /* end confdefs.h. */
30651 #include <math.h>
30653 main ()
30655 powf(0, 0);
30657 return 0;
30659 _ACEOF
30660 if ac_fn_cxx_try_compile "$LINENO"; then :
30661 glibcxx_cv_func_powf_use=yes
30662 else
30663 glibcxx_cv_func_powf_use=no
30665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30666 ac_ext=c
30667 ac_cpp='$CPP $CPPFLAGS'
30668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30677 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30679 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30680 for ac_func in powf
30681 do :
30682 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30683 if test "x$ac_cv_func_powf" = x""yes; then :
30684 cat >>confdefs.h <<_ACEOF
30685 #define HAVE_POWF 1
30686 _ACEOF
30689 done
30691 else
30693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30694 $as_echo_n "checking for _powf declaration... " >&6; }
30695 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30696 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30697 $as_echo_n "(cached) " >&6
30698 else
30701 ac_ext=cpp
30702 ac_cpp='$CXXCPP $CPPFLAGS'
30703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30708 /* end confdefs.h. */
30709 #include <math.h>
30711 main ()
30713 _powf(0, 0);
30715 return 0;
30717 _ACEOF
30718 if ac_fn_cxx_try_compile "$LINENO"; then :
30719 glibcxx_cv_func__powf_use=yes
30720 else
30721 glibcxx_cv_func__powf_use=no
30723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30724 ac_ext=c
30725 ac_cpp='$CPP $CPPFLAGS'
30726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30735 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30737 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30738 for ac_func in _powf
30739 do :
30740 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30741 if test "x$ac_cv_func__powf" = x""yes; then :
30742 cat >>confdefs.h <<_ACEOF
30743 #define HAVE__POWF 1
30744 _ACEOF
30747 done
30756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30757 $as_echo_n "checking for sqrtf declaration... " >&6; }
30758 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30759 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30760 $as_echo_n "(cached) " >&6
30761 else
30764 ac_ext=cpp
30765 ac_cpp='$CXXCPP $CPPFLAGS'
30766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30771 /* end confdefs.h. */
30772 #include <math.h>
30773 #ifdef HAVE_IEEEFP_H
30774 #include <ieeefp.h>
30775 #endif
30778 main ()
30780 sqrtf(0);
30782 return 0;
30784 _ACEOF
30785 if ac_fn_cxx_try_compile "$LINENO"; then :
30786 glibcxx_cv_func_sqrtf_use=yes
30787 else
30788 glibcxx_cv_func_sqrtf_use=no
30790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30791 ac_ext=c
30792 ac_cpp='$CPP $CPPFLAGS'
30793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30802 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30804 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30805 for ac_func in sqrtf
30806 do :
30807 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30808 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30809 cat >>confdefs.h <<_ACEOF
30810 #define HAVE_SQRTF 1
30811 _ACEOF
30814 done
30816 else
30818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30819 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30820 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30821 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30822 $as_echo_n "(cached) " >&6
30823 else
30826 ac_ext=cpp
30827 ac_cpp='$CXXCPP $CPPFLAGS'
30828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30833 /* end confdefs.h. */
30834 #include <math.h>
30835 #ifdef HAVE_IEEEFP_H
30836 #include <ieeefp.h>
30837 #endif
30840 main ()
30842 _sqrtf(0);
30844 return 0;
30846 _ACEOF
30847 if ac_fn_cxx_try_compile "$LINENO"; then :
30848 glibcxx_cv_func__sqrtf_use=yes
30849 else
30850 glibcxx_cv_func__sqrtf_use=no
30852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30853 ac_ext=c
30854 ac_cpp='$CPP $CPPFLAGS'
30855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30864 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30866 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30867 for ac_func in _sqrtf
30868 do :
30869 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30870 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30871 cat >>confdefs.h <<_ACEOF
30872 #define HAVE__SQRTF 1
30873 _ACEOF
30876 done
30885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30886 $as_echo_n "checking for sincosf declaration... " >&6; }
30887 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30888 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30889 $as_echo_n "(cached) " >&6
30890 else
30893 ac_ext=cpp
30894 ac_cpp='$CXXCPP $CPPFLAGS'
30895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30900 /* end confdefs.h. */
30901 #include <math.h>
30903 main ()
30905 sincosf(0, 0, 0);
30907 return 0;
30909 _ACEOF
30910 if ac_fn_cxx_try_compile "$LINENO"; then :
30911 glibcxx_cv_func_sincosf_use=yes
30912 else
30913 glibcxx_cv_func_sincosf_use=no
30915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30916 ac_ext=c
30917 ac_cpp='$CPP $CPPFLAGS'
30918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30927 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30929 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30930 for ac_func in sincosf
30931 do :
30932 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30933 if test "x$ac_cv_func_sincosf" = x""yes; then :
30934 cat >>confdefs.h <<_ACEOF
30935 #define HAVE_SINCOSF 1
30936 _ACEOF
30939 done
30941 else
30943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30944 $as_echo_n "checking for _sincosf declaration... " >&6; }
30945 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30946 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30947 $as_echo_n "(cached) " >&6
30948 else
30951 ac_ext=cpp
30952 ac_cpp='$CXXCPP $CPPFLAGS'
30953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30958 /* end confdefs.h. */
30959 #include <math.h>
30961 main ()
30963 _sincosf(0, 0, 0);
30965 return 0;
30967 _ACEOF
30968 if ac_fn_cxx_try_compile "$LINENO"; then :
30969 glibcxx_cv_func__sincosf_use=yes
30970 else
30971 glibcxx_cv_func__sincosf_use=no
30973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30974 ac_ext=c
30975 ac_cpp='$CPP $CPPFLAGS'
30976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30985 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30987 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30988 for ac_func in _sincosf
30989 do :
30990 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30991 if test "x$ac_cv_func__sincosf" = x""yes; then :
30992 cat >>confdefs.h <<_ACEOF
30993 #define HAVE__SINCOSF 1
30994 _ACEOF
30997 done
31006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31007 $as_echo_n "checking for finitef declaration... " >&6; }
31008 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31009 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31010 $as_echo_n "(cached) " >&6
31011 else
31014 ac_ext=cpp
31015 ac_cpp='$CXXCPP $CPPFLAGS'
31016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31021 /* end confdefs.h. */
31022 #include <math.h>
31023 #ifdef HAVE_IEEEFP_H
31024 #include <ieeefp.h>
31025 #endif
31028 main ()
31030 finitef(0);
31032 return 0;
31034 _ACEOF
31035 if ac_fn_cxx_try_compile "$LINENO"; then :
31036 glibcxx_cv_func_finitef_use=yes
31037 else
31038 glibcxx_cv_func_finitef_use=no
31040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31041 ac_ext=c
31042 ac_cpp='$CPP $CPPFLAGS'
31043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31052 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31054 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31055 for ac_func in finitef
31056 do :
31057 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31058 if test "x$ac_cv_func_finitef" = x""yes; then :
31059 cat >>confdefs.h <<_ACEOF
31060 #define HAVE_FINITEF 1
31061 _ACEOF
31064 done
31066 else
31068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31069 $as_echo_n "checking for _finitef declaration... " >&6; }
31070 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31071 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31072 $as_echo_n "(cached) " >&6
31073 else
31076 ac_ext=cpp
31077 ac_cpp='$CXXCPP $CPPFLAGS'
31078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31083 /* end confdefs.h. */
31084 #include <math.h>
31085 #ifdef HAVE_IEEEFP_H
31086 #include <ieeefp.h>
31087 #endif
31090 main ()
31092 _finitef(0);
31094 return 0;
31096 _ACEOF
31097 if ac_fn_cxx_try_compile "$LINENO"; then :
31098 glibcxx_cv_func__finitef_use=yes
31099 else
31100 glibcxx_cv_func__finitef_use=no
31102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31103 ac_ext=c
31104 ac_cpp='$CPP $CPPFLAGS'
31105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31114 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31116 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31117 for ac_func in _finitef
31118 do :
31119 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31120 if test "x$ac_cv_func__finitef" = x""yes; then :
31121 cat >>confdefs.h <<_ACEOF
31122 #define HAVE__FINITEF 1
31123 _ACEOF
31126 done
31135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31136 $as_echo_n "checking for long double trig functions... " >&6; }
31137 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31138 $as_echo_n "(cached) " >&6
31139 else
31142 ac_ext=cpp
31143 ac_cpp='$CXXCPP $CPPFLAGS'
31144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31149 /* end confdefs.h. */
31150 #include <math.h>
31152 main ()
31154 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31156 return 0;
31158 _ACEOF
31159 if ac_fn_cxx_try_compile "$LINENO"; then :
31160 glibcxx_cv_func_long_double_trig_use=yes
31161 else
31162 glibcxx_cv_func_long_double_trig_use=no
31164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31165 ac_ext=c
31166 ac_cpp='$CPP $CPPFLAGS'
31167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31174 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31175 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31176 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31177 do :
31178 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31179 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31180 eval as_val=\$$as_ac_var
31181 if test "x$as_val" = x""yes; then :
31182 cat >>confdefs.h <<_ACEOF
31183 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31184 _ACEOF
31187 done
31189 else
31190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31191 $as_echo_n "checking for _long double trig functions... " >&6; }
31192 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31193 $as_echo_n "(cached) " >&6
31194 else
31197 ac_ext=cpp
31198 ac_cpp='$CXXCPP $CPPFLAGS'
31199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31204 /* end confdefs.h. */
31205 #include <math.h>
31207 main ()
31209 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31211 return 0;
31213 _ACEOF
31214 if ac_fn_cxx_try_compile "$LINENO"; then :
31215 glibcxx_cv_func__long_double_trig_use=yes
31216 else
31217 glibcxx_cv_func__long_double_trig_use=no
31219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31220 ac_ext=c
31221 ac_cpp='$CPP $CPPFLAGS'
31222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31229 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31230 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31231 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31232 do :
31233 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31234 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31235 eval as_val=\$$as_ac_var
31236 if test "x$as_val" = x""yes; then :
31237 cat >>confdefs.h <<_ACEOF
31238 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31239 _ACEOF
31242 done
31251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31252 $as_echo_n "checking for long double round functions... " >&6; }
31253 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31254 $as_echo_n "(cached) " >&6
31255 else
31258 ac_ext=cpp
31259 ac_cpp='$CXXCPP $CPPFLAGS'
31260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31265 /* end confdefs.h. */
31266 #include <math.h>
31268 main ()
31270 ceill (0); floorl (0);
31272 return 0;
31274 _ACEOF
31275 if ac_fn_cxx_try_compile "$LINENO"; then :
31276 glibcxx_cv_func_long_double_round_use=yes
31277 else
31278 glibcxx_cv_func_long_double_round_use=no
31280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31281 ac_ext=c
31282 ac_cpp='$CPP $CPPFLAGS'
31283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31290 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31291 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31292 for ac_func in ceill floorl
31293 do :
31294 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31295 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31296 eval as_val=\$$as_ac_var
31297 if test "x$as_val" = x""yes; then :
31298 cat >>confdefs.h <<_ACEOF
31299 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31300 _ACEOF
31303 done
31305 else
31306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31307 $as_echo_n "checking for _long double round functions... " >&6; }
31308 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31309 $as_echo_n "(cached) " >&6
31310 else
31313 ac_ext=cpp
31314 ac_cpp='$CXXCPP $CPPFLAGS'
31315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31320 /* end confdefs.h. */
31321 #include <math.h>
31323 main ()
31325 _ceill (0); _floorl (0);
31327 return 0;
31329 _ACEOF
31330 if ac_fn_cxx_try_compile "$LINENO"; then :
31331 glibcxx_cv_func__long_double_round_use=yes
31332 else
31333 glibcxx_cv_func__long_double_round_use=no
31335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31336 ac_ext=c
31337 ac_cpp='$CPP $CPPFLAGS'
31338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31345 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31346 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31347 for ac_func in _ceill _floorl
31348 do :
31349 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31350 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31351 eval as_val=\$$as_ac_var
31352 if test "x$as_val" = x""yes; then :
31353 cat >>confdefs.h <<_ACEOF
31354 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31355 _ACEOF
31358 done
31368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31369 $as_echo_n "checking for isnanl declaration... " >&6; }
31370 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31371 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31372 $as_echo_n "(cached) " >&6
31373 else
31376 ac_ext=cpp
31377 ac_cpp='$CXXCPP $CPPFLAGS'
31378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31383 /* end confdefs.h. */
31384 #include <math.h>
31385 #ifdef HAVE_IEEEFP_H
31386 #include <ieeefp.h>
31387 #endif
31390 main ()
31392 isnanl(0);
31394 return 0;
31396 _ACEOF
31397 if ac_fn_cxx_try_compile "$LINENO"; then :
31398 glibcxx_cv_func_isnanl_use=yes
31399 else
31400 glibcxx_cv_func_isnanl_use=no
31402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31403 ac_ext=c
31404 ac_cpp='$CPP $CPPFLAGS'
31405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31414 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31416 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31417 for ac_func in isnanl
31418 do :
31419 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31420 if test "x$ac_cv_func_isnanl" = x""yes; then :
31421 cat >>confdefs.h <<_ACEOF
31422 #define HAVE_ISNANL 1
31423 _ACEOF
31426 done
31428 else
31430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31431 $as_echo_n "checking for _isnanl declaration... " >&6; }
31432 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31433 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31434 $as_echo_n "(cached) " >&6
31435 else
31438 ac_ext=cpp
31439 ac_cpp='$CXXCPP $CPPFLAGS'
31440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31445 /* end confdefs.h. */
31446 #include <math.h>
31447 #ifdef HAVE_IEEEFP_H
31448 #include <ieeefp.h>
31449 #endif
31452 main ()
31454 _isnanl(0);
31456 return 0;
31458 _ACEOF
31459 if ac_fn_cxx_try_compile "$LINENO"; then :
31460 glibcxx_cv_func__isnanl_use=yes
31461 else
31462 glibcxx_cv_func__isnanl_use=no
31464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31465 ac_ext=c
31466 ac_cpp='$CPP $CPPFLAGS'
31467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31476 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31478 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31479 for ac_func in _isnanl
31480 do :
31481 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31482 if test "x$ac_cv_func__isnanl" = x""yes; then :
31483 cat >>confdefs.h <<_ACEOF
31484 #define HAVE__ISNANL 1
31485 _ACEOF
31488 done
31497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31498 $as_echo_n "checking for isinfl declaration... " >&6; }
31499 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31500 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31501 $as_echo_n "(cached) " >&6
31502 else
31505 ac_ext=cpp
31506 ac_cpp='$CXXCPP $CPPFLAGS'
31507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31512 /* end confdefs.h. */
31513 #include <math.h>
31514 #ifdef HAVE_IEEEFP_H
31515 #include <ieeefp.h>
31516 #endif
31519 main ()
31521 isinfl(0);
31523 return 0;
31525 _ACEOF
31526 if ac_fn_cxx_try_compile "$LINENO"; then :
31527 glibcxx_cv_func_isinfl_use=yes
31528 else
31529 glibcxx_cv_func_isinfl_use=no
31531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31532 ac_ext=c
31533 ac_cpp='$CPP $CPPFLAGS'
31534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31543 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31545 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31546 for ac_func in isinfl
31547 do :
31548 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31549 if test "x$ac_cv_func_isinfl" = x""yes; then :
31550 cat >>confdefs.h <<_ACEOF
31551 #define HAVE_ISINFL 1
31552 _ACEOF
31555 done
31557 else
31559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31560 $as_echo_n "checking for _isinfl declaration... " >&6; }
31561 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31562 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31563 $as_echo_n "(cached) " >&6
31564 else
31567 ac_ext=cpp
31568 ac_cpp='$CXXCPP $CPPFLAGS'
31569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31574 /* end confdefs.h. */
31575 #include <math.h>
31576 #ifdef HAVE_IEEEFP_H
31577 #include <ieeefp.h>
31578 #endif
31581 main ()
31583 _isinfl(0);
31585 return 0;
31587 _ACEOF
31588 if ac_fn_cxx_try_compile "$LINENO"; then :
31589 glibcxx_cv_func__isinfl_use=yes
31590 else
31591 glibcxx_cv_func__isinfl_use=no
31593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31594 ac_ext=c
31595 ac_cpp='$CPP $CPPFLAGS'
31596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31605 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31607 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31608 for ac_func in _isinfl
31609 do :
31610 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31611 if test "x$ac_cv_func__isinfl" = x""yes; then :
31612 cat >>confdefs.h <<_ACEOF
31613 #define HAVE__ISINFL 1
31614 _ACEOF
31617 done
31626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31627 $as_echo_n "checking for atan2l declaration... " >&6; }
31628 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31629 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31630 $as_echo_n "(cached) " >&6
31631 else
31634 ac_ext=cpp
31635 ac_cpp='$CXXCPP $CPPFLAGS'
31636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31641 /* end confdefs.h. */
31642 #include <math.h>
31644 main ()
31646 atan2l(0, 0);
31648 return 0;
31650 _ACEOF
31651 if ac_fn_cxx_try_compile "$LINENO"; then :
31652 glibcxx_cv_func_atan2l_use=yes
31653 else
31654 glibcxx_cv_func_atan2l_use=no
31656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31657 ac_ext=c
31658 ac_cpp='$CPP $CPPFLAGS'
31659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31668 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31670 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31671 for ac_func in atan2l
31672 do :
31673 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31674 if test "x$ac_cv_func_atan2l" = x""yes; then :
31675 cat >>confdefs.h <<_ACEOF
31676 #define HAVE_ATAN2L 1
31677 _ACEOF
31680 done
31682 else
31684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31685 $as_echo_n "checking for _atan2l declaration... " >&6; }
31686 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31687 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31688 $as_echo_n "(cached) " >&6
31689 else
31692 ac_ext=cpp
31693 ac_cpp='$CXXCPP $CPPFLAGS'
31694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31699 /* end confdefs.h. */
31700 #include <math.h>
31702 main ()
31704 _atan2l(0, 0);
31706 return 0;
31708 _ACEOF
31709 if ac_fn_cxx_try_compile "$LINENO"; then :
31710 glibcxx_cv_func__atan2l_use=yes
31711 else
31712 glibcxx_cv_func__atan2l_use=no
31714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31715 ac_ext=c
31716 ac_cpp='$CPP $CPPFLAGS'
31717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31726 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31728 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31729 for ac_func in _atan2l
31730 do :
31731 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31732 if test "x$ac_cv_func__atan2l" = x""yes; then :
31733 cat >>confdefs.h <<_ACEOF
31734 #define HAVE__ATAN2L 1
31735 _ACEOF
31738 done
31747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31748 $as_echo_n "checking for expl declaration... " >&6; }
31749 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31750 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31751 $as_echo_n "(cached) " >&6
31752 else
31755 ac_ext=cpp
31756 ac_cpp='$CXXCPP $CPPFLAGS'
31757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31762 /* end confdefs.h. */
31763 #include <math.h>
31764 #ifdef HAVE_IEEEFP_H
31765 #include <ieeefp.h>
31766 #endif
31769 main ()
31771 expl(0);
31773 return 0;
31775 _ACEOF
31776 if ac_fn_cxx_try_compile "$LINENO"; then :
31777 glibcxx_cv_func_expl_use=yes
31778 else
31779 glibcxx_cv_func_expl_use=no
31781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31782 ac_ext=c
31783 ac_cpp='$CPP $CPPFLAGS'
31784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31793 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31795 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31796 for ac_func in expl
31797 do :
31798 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31799 if test "x$ac_cv_func_expl" = x""yes; then :
31800 cat >>confdefs.h <<_ACEOF
31801 #define HAVE_EXPL 1
31802 _ACEOF
31805 done
31807 else
31809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31810 $as_echo_n "checking for _expl declaration... " >&6; }
31811 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31812 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31813 $as_echo_n "(cached) " >&6
31814 else
31817 ac_ext=cpp
31818 ac_cpp='$CXXCPP $CPPFLAGS'
31819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31824 /* end confdefs.h. */
31825 #include <math.h>
31826 #ifdef HAVE_IEEEFP_H
31827 #include <ieeefp.h>
31828 #endif
31831 main ()
31833 _expl(0);
31835 return 0;
31837 _ACEOF
31838 if ac_fn_cxx_try_compile "$LINENO"; then :
31839 glibcxx_cv_func__expl_use=yes
31840 else
31841 glibcxx_cv_func__expl_use=no
31843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31844 ac_ext=c
31845 ac_cpp='$CPP $CPPFLAGS'
31846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31855 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31857 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31858 for ac_func in _expl
31859 do :
31860 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31861 if test "x$ac_cv_func__expl" = x""yes; then :
31862 cat >>confdefs.h <<_ACEOF
31863 #define HAVE__EXPL 1
31864 _ACEOF
31867 done
31876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31877 $as_echo_n "checking for fabsl declaration... " >&6; }
31878 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31879 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31880 $as_echo_n "(cached) " >&6
31881 else
31884 ac_ext=cpp
31885 ac_cpp='$CXXCPP $CPPFLAGS'
31886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31891 /* end confdefs.h. */
31892 #include <math.h>
31893 #ifdef HAVE_IEEEFP_H
31894 #include <ieeefp.h>
31895 #endif
31898 main ()
31900 fabsl(0);
31902 return 0;
31904 _ACEOF
31905 if ac_fn_cxx_try_compile "$LINENO"; then :
31906 glibcxx_cv_func_fabsl_use=yes
31907 else
31908 glibcxx_cv_func_fabsl_use=no
31910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31911 ac_ext=c
31912 ac_cpp='$CPP $CPPFLAGS'
31913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31922 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31924 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31925 for ac_func in fabsl
31926 do :
31927 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31928 if test "x$ac_cv_func_fabsl" = x""yes; then :
31929 cat >>confdefs.h <<_ACEOF
31930 #define HAVE_FABSL 1
31931 _ACEOF
31934 done
31936 else
31938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31939 $as_echo_n "checking for _fabsl declaration... " >&6; }
31940 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31941 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31942 $as_echo_n "(cached) " >&6
31943 else
31946 ac_ext=cpp
31947 ac_cpp='$CXXCPP $CPPFLAGS'
31948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31953 /* end confdefs.h. */
31954 #include <math.h>
31955 #ifdef HAVE_IEEEFP_H
31956 #include <ieeefp.h>
31957 #endif
31960 main ()
31962 _fabsl(0);
31964 return 0;
31966 _ACEOF
31967 if ac_fn_cxx_try_compile "$LINENO"; then :
31968 glibcxx_cv_func__fabsl_use=yes
31969 else
31970 glibcxx_cv_func__fabsl_use=no
31972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31973 ac_ext=c
31974 ac_cpp='$CPP $CPPFLAGS'
31975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31984 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31986 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31987 for ac_func in _fabsl
31988 do :
31989 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31990 if test "x$ac_cv_func__fabsl" = x""yes; then :
31991 cat >>confdefs.h <<_ACEOF
31992 #define HAVE__FABSL 1
31993 _ACEOF
31996 done
32005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32006 $as_echo_n "checking for fmodl declaration... " >&6; }
32007 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32008 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32009 $as_echo_n "(cached) " >&6
32010 else
32013 ac_ext=cpp
32014 ac_cpp='$CXXCPP $CPPFLAGS'
32015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32020 /* end confdefs.h. */
32021 #include <math.h>
32023 main ()
32025 fmodl(0, 0);
32027 return 0;
32029 _ACEOF
32030 if ac_fn_cxx_try_compile "$LINENO"; then :
32031 glibcxx_cv_func_fmodl_use=yes
32032 else
32033 glibcxx_cv_func_fmodl_use=no
32035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32036 ac_ext=c
32037 ac_cpp='$CPP $CPPFLAGS'
32038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32047 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32049 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32050 for ac_func in fmodl
32051 do :
32052 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32053 if test "x$ac_cv_func_fmodl" = x""yes; then :
32054 cat >>confdefs.h <<_ACEOF
32055 #define HAVE_FMODL 1
32056 _ACEOF
32059 done
32061 else
32063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32064 $as_echo_n "checking for _fmodl declaration... " >&6; }
32065 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32066 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32067 $as_echo_n "(cached) " >&6
32068 else
32071 ac_ext=cpp
32072 ac_cpp='$CXXCPP $CPPFLAGS'
32073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32078 /* end confdefs.h. */
32079 #include <math.h>
32081 main ()
32083 _fmodl(0, 0);
32085 return 0;
32087 _ACEOF
32088 if ac_fn_cxx_try_compile "$LINENO"; then :
32089 glibcxx_cv_func__fmodl_use=yes
32090 else
32091 glibcxx_cv_func__fmodl_use=no
32093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32094 ac_ext=c
32095 ac_cpp='$CPP $CPPFLAGS'
32096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32105 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32107 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32108 for ac_func in _fmodl
32109 do :
32110 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32111 if test "x$ac_cv_func__fmodl" = x""yes; then :
32112 cat >>confdefs.h <<_ACEOF
32113 #define HAVE__FMODL 1
32114 _ACEOF
32117 done
32126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32127 $as_echo_n "checking for frexpl declaration... " >&6; }
32128 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32129 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32130 $as_echo_n "(cached) " >&6
32131 else
32134 ac_ext=cpp
32135 ac_cpp='$CXXCPP $CPPFLAGS'
32136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32141 /* end confdefs.h. */
32142 #include <math.h>
32144 main ()
32146 frexpl(0, 0);
32148 return 0;
32150 _ACEOF
32151 if ac_fn_cxx_try_compile "$LINENO"; then :
32152 glibcxx_cv_func_frexpl_use=yes
32153 else
32154 glibcxx_cv_func_frexpl_use=no
32156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32157 ac_ext=c
32158 ac_cpp='$CPP $CPPFLAGS'
32159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32168 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32170 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32171 for ac_func in frexpl
32172 do :
32173 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32174 if test "x$ac_cv_func_frexpl" = x""yes; then :
32175 cat >>confdefs.h <<_ACEOF
32176 #define HAVE_FREXPL 1
32177 _ACEOF
32180 done
32182 else
32184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32185 $as_echo_n "checking for _frexpl declaration... " >&6; }
32186 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32187 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32188 $as_echo_n "(cached) " >&6
32189 else
32192 ac_ext=cpp
32193 ac_cpp='$CXXCPP $CPPFLAGS'
32194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32199 /* end confdefs.h. */
32200 #include <math.h>
32202 main ()
32204 _frexpl(0, 0);
32206 return 0;
32208 _ACEOF
32209 if ac_fn_cxx_try_compile "$LINENO"; then :
32210 glibcxx_cv_func__frexpl_use=yes
32211 else
32212 glibcxx_cv_func__frexpl_use=no
32214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32215 ac_ext=c
32216 ac_cpp='$CPP $CPPFLAGS'
32217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32226 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32228 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32229 for ac_func in _frexpl
32230 do :
32231 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32232 if test "x$ac_cv_func__frexpl" = x""yes; then :
32233 cat >>confdefs.h <<_ACEOF
32234 #define HAVE__FREXPL 1
32235 _ACEOF
32238 done
32247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32248 $as_echo_n "checking for hypotl declaration... " >&6; }
32249 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32250 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32251 $as_echo_n "(cached) " >&6
32252 else
32255 ac_ext=cpp
32256 ac_cpp='$CXXCPP $CPPFLAGS'
32257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32262 /* end confdefs.h. */
32263 #include <math.h>
32265 main ()
32267 hypotl(0, 0);
32269 return 0;
32271 _ACEOF
32272 if ac_fn_cxx_try_compile "$LINENO"; then :
32273 glibcxx_cv_func_hypotl_use=yes
32274 else
32275 glibcxx_cv_func_hypotl_use=no
32277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32278 ac_ext=c
32279 ac_cpp='$CPP $CPPFLAGS'
32280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32289 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32291 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32292 for ac_func in hypotl
32293 do :
32294 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32295 if test "x$ac_cv_func_hypotl" = x""yes; then :
32296 cat >>confdefs.h <<_ACEOF
32297 #define HAVE_HYPOTL 1
32298 _ACEOF
32301 done
32303 else
32305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32306 $as_echo_n "checking for _hypotl declaration... " >&6; }
32307 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32308 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32309 $as_echo_n "(cached) " >&6
32310 else
32313 ac_ext=cpp
32314 ac_cpp='$CXXCPP $CPPFLAGS'
32315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32320 /* end confdefs.h. */
32321 #include <math.h>
32323 main ()
32325 _hypotl(0, 0);
32327 return 0;
32329 _ACEOF
32330 if ac_fn_cxx_try_compile "$LINENO"; then :
32331 glibcxx_cv_func__hypotl_use=yes
32332 else
32333 glibcxx_cv_func__hypotl_use=no
32335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32336 ac_ext=c
32337 ac_cpp='$CPP $CPPFLAGS'
32338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32347 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32349 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32350 for ac_func in _hypotl
32351 do :
32352 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32353 if test "x$ac_cv_func__hypotl" = x""yes; then :
32354 cat >>confdefs.h <<_ACEOF
32355 #define HAVE__HYPOTL 1
32356 _ACEOF
32359 done
32368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32369 $as_echo_n "checking for ldexpl declaration... " >&6; }
32370 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32371 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32372 $as_echo_n "(cached) " >&6
32373 else
32376 ac_ext=cpp
32377 ac_cpp='$CXXCPP $CPPFLAGS'
32378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32383 /* end confdefs.h. */
32384 #include <math.h>
32386 main ()
32388 ldexpl(0, 0);
32390 return 0;
32392 _ACEOF
32393 if ac_fn_cxx_try_compile "$LINENO"; then :
32394 glibcxx_cv_func_ldexpl_use=yes
32395 else
32396 glibcxx_cv_func_ldexpl_use=no
32398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32399 ac_ext=c
32400 ac_cpp='$CPP $CPPFLAGS'
32401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32410 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32412 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32413 for ac_func in ldexpl
32414 do :
32415 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32416 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32417 cat >>confdefs.h <<_ACEOF
32418 #define HAVE_LDEXPL 1
32419 _ACEOF
32422 done
32424 else
32426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32427 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32428 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32429 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32430 $as_echo_n "(cached) " >&6
32431 else
32434 ac_ext=cpp
32435 ac_cpp='$CXXCPP $CPPFLAGS'
32436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32441 /* end confdefs.h. */
32442 #include <math.h>
32444 main ()
32446 _ldexpl(0, 0);
32448 return 0;
32450 _ACEOF
32451 if ac_fn_cxx_try_compile "$LINENO"; then :
32452 glibcxx_cv_func__ldexpl_use=yes
32453 else
32454 glibcxx_cv_func__ldexpl_use=no
32456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32457 ac_ext=c
32458 ac_cpp='$CPP $CPPFLAGS'
32459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32468 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32470 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32471 for ac_func in _ldexpl
32472 do :
32473 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32474 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32475 cat >>confdefs.h <<_ACEOF
32476 #define HAVE__LDEXPL 1
32477 _ACEOF
32480 done
32489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32490 $as_echo_n "checking for logl declaration... " >&6; }
32491 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32492 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32493 $as_echo_n "(cached) " >&6
32494 else
32497 ac_ext=cpp
32498 ac_cpp='$CXXCPP $CPPFLAGS'
32499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32504 /* end confdefs.h. */
32505 #include <math.h>
32506 #ifdef HAVE_IEEEFP_H
32507 #include <ieeefp.h>
32508 #endif
32511 main ()
32513 logl(0);
32515 return 0;
32517 _ACEOF
32518 if ac_fn_cxx_try_compile "$LINENO"; then :
32519 glibcxx_cv_func_logl_use=yes
32520 else
32521 glibcxx_cv_func_logl_use=no
32523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32524 ac_ext=c
32525 ac_cpp='$CPP $CPPFLAGS'
32526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32535 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32537 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32538 for ac_func in logl
32539 do :
32540 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32541 if test "x$ac_cv_func_logl" = x""yes; then :
32542 cat >>confdefs.h <<_ACEOF
32543 #define HAVE_LOGL 1
32544 _ACEOF
32547 done
32549 else
32551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32552 $as_echo_n "checking for _logl declaration... " >&6; }
32553 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32554 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32555 $as_echo_n "(cached) " >&6
32556 else
32559 ac_ext=cpp
32560 ac_cpp='$CXXCPP $CPPFLAGS'
32561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32566 /* end confdefs.h. */
32567 #include <math.h>
32568 #ifdef HAVE_IEEEFP_H
32569 #include <ieeefp.h>
32570 #endif
32573 main ()
32575 _logl(0);
32577 return 0;
32579 _ACEOF
32580 if ac_fn_cxx_try_compile "$LINENO"; then :
32581 glibcxx_cv_func__logl_use=yes
32582 else
32583 glibcxx_cv_func__logl_use=no
32585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32586 ac_ext=c
32587 ac_cpp='$CPP $CPPFLAGS'
32588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32597 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32599 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32600 for ac_func in _logl
32601 do :
32602 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32603 if test "x$ac_cv_func__logl" = x""yes; then :
32604 cat >>confdefs.h <<_ACEOF
32605 #define HAVE__LOGL 1
32606 _ACEOF
32609 done
32618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32619 $as_echo_n "checking for log10l declaration... " >&6; }
32620 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32621 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32622 $as_echo_n "(cached) " >&6
32623 else
32626 ac_ext=cpp
32627 ac_cpp='$CXXCPP $CPPFLAGS'
32628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32633 /* end confdefs.h. */
32634 #include <math.h>
32635 #ifdef HAVE_IEEEFP_H
32636 #include <ieeefp.h>
32637 #endif
32640 main ()
32642 log10l(0);
32644 return 0;
32646 _ACEOF
32647 if ac_fn_cxx_try_compile "$LINENO"; then :
32648 glibcxx_cv_func_log10l_use=yes
32649 else
32650 glibcxx_cv_func_log10l_use=no
32652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32653 ac_ext=c
32654 ac_cpp='$CPP $CPPFLAGS'
32655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32664 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32666 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32667 for ac_func in log10l
32668 do :
32669 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32670 if test "x$ac_cv_func_log10l" = x""yes; then :
32671 cat >>confdefs.h <<_ACEOF
32672 #define HAVE_LOG10L 1
32673 _ACEOF
32676 done
32678 else
32680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32681 $as_echo_n "checking for _log10l declaration... " >&6; }
32682 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32683 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32684 $as_echo_n "(cached) " >&6
32685 else
32688 ac_ext=cpp
32689 ac_cpp='$CXXCPP $CPPFLAGS'
32690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32695 /* end confdefs.h. */
32696 #include <math.h>
32697 #ifdef HAVE_IEEEFP_H
32698 #include <ieeefp.h>
32699 #endif
32702 main ()
32704 _log10l(0);
32706 return 0;
32708 _ACEOF
32709 if ac_fn_cxx_try_compile "$LINENO"; then :
32710 glibcxx_cv_func__log10l_use=yes
32711 else
32712 glibcxx_cv_func__log10l_use=no
32714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32715 ac_ext=c
32716 ac_cpp='$CPP $CPPFLAGS'
32717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32726 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32728 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32729 for ac_func in _log10l
32730 do :
32731 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32732 if test "x$ac_cv_func__log10l" = x""yes; then :
32733 cat >>confdefs.h <<_ACEOF
32734 #define HAVE__LOG10L 1
32735 _ACEOF
32738 done
32747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32748 $as_echo_n "checking for modfl declaration... " >&6; }
32749 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32750 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32751 $as_echo_n "(cached) " >&6
32752 else
32755 ac_ext=cpp
32756 ac_cpp='$CXXCPP $CPPFLAGS'
32757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32762 /* end confdefs.h. */
32763 #include <math.h>
32765 main ()
32767 modfl(0, 0);
32769 return 0;
32771 _ACEOF
32772 if ac_fn_cxx_try_compile "$LINENO"; then :
32773 glibcxx_cv_func_modfl_use=yes
32774 else
32775 glibcxx_cv_func_modfl_use=no
32777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32778 ac_ext=c
32779 ac_cpp='$CPP $CPPFLAGS'
32780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32789 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32791 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32792 for ac_func in modfl
32793 do :
32794 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32795 if test "x$ac_cv_func_modfl" = x""yes; then :
32796 cat >>confdefs.h <<_ACEOF
32797 #define HAVE_MODFL 1
32798 _ACEOF
32801 done
32803 else
32805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32806 $as_echo_n "checking for _modfl declaration... " >&6; }
32807 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32808 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32809 $as_echo_n "(cached) " >&6
32810 else
32813 ac_ext=cpp
32814 ac_cpp='$CXXCPP $CPPFLAGS'
32815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32820 /* end confdefs.h. */
32821 #include <math.h>
32823 main ()
32825 _modfl(0, 0);
32827 return 0;
32829 _ACEOF
32830 if ac_fn_cxx_try_compile "$LINENO"; then :
32831 glibcxx_cv_func__modfl_use=yes
32832 else
32833 glibcxx_cv_func__modfl_use=no
32835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32836 ac_ext=c
32837 ac_cpp='$CPP $CPPFLAGS'
32838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32847 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32849 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32850 for ac_func in _modfl
32851 do :
32852 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32853 if test "x$ac_cv_func__modfl" = x""yes; then :
32854 cat >>confdefs.h <<_ACEOF
32855 #define HAVE__MODFL 1
32856 _ACEOF
32859 done
32868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32869 $as_echo_n "checking for powl declaration... " >&6; }
32870 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32871 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32872 $as_echo_n "(cached) " >&6
32873 else
32876 ac_ext=cpp
32877 ac_cpp='$CXXCPP $CPPFLAGS'
32878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32883 /* end confdefs.h. */
32884 #include <math.h>
32886 main ()
32888 powl(0, 0);
32890 return 0;
32892 _ACEOF
32893 if ac_fn_cxx_try_compile "$LINENO"; then :
32894 glibcxx_cv_func_powl_use=yes
32895 else
32896 glibcxx_cv_func_powl_use=no
32898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32899 ac_ext=c
32900 ac_cpp='$CPP $CPPFLAGS'
32901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32910 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32912 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32913 for ac_func in powl
32914 do :
32915 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32916 if test "x$ac_cv_func_powl" = x""yes; then :
32917 cat >>confdefs.h <<_ACEOF
32918 #define HAVE_POWL 1
32919 _ACEOF
32922 done
32924 else
32926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32927 $as_echo_n "checking for _powl declaration... " >&6; }
32928 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32929 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32930 $as_echo_n "(cached) " >&6
32931 else
32934 ac_ext=cpp
32935 ac_cpp='$CXXCPP $CPPFLAGS'
32936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32941 /* end confdefs.h. */
32942 #include <math.h>
32944 main ()
32946 _powl(0, 0);
32948 return 0;
32950 _ACEOF
32951 if ac_fn_cxx_try_compile "$LINENO"; then :
32952 glibcxx_cv_func__powl_use=yes
32953 else
32954 glibcxx_cv_func__powl_use=no
32956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32957 ac_ext=c
32958 ac_cpp='$CPP $CPPFLAGS'
32959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32968 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32970 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32971 for ac_func in _powl
32972 do :
32973 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32974 if test "x$ac_cv_func__powl" = x""yes; then :
32975 cat >>confdefs.h <<_ACEOF
32976 #define HAVE__POWL 1
32977 _ACEOF
32980 done
32989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32990 $as_echo_n "checking for sqrtl declaration... " >&6; }
32991 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32992 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32993 $as_echo_n "(cached) " >&6
32994 else
32997 ac_ext=cpp
32998 ac_cpp='$CXXCPP $CPPFLAGS'
32999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33004 /* end confdefs.h. */
33005 #include <math.h>
33006 #ifdef HAVE_IEEEFP_H
33007 #include <ieeefp.h>
33008 #endif
33011 main ()
33013 sqrtl(0);
33015 return 0;
33017 _ACEOF
33018 if ac_fn_cxx_try_compile "$LINENO"; then :
33019 glibcxx_cv_func_sqrtl_use=yes
33020 else
33021 glibcxx_cv_func_sqrtl_use=no
33023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33024 ac_ext=c
33025 ac_cpp='$CPP $CPPFLAGS'
33026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33035 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33037 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33038 for ac_func in sqrtl
33039 do :
33040 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33041 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33042 cat >>confdefs.h <<_ACEOF
33043 #define HAVE_SQRTL 1
33044 _ACEOF
33047 done
33049 else
33051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33052 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33053 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33054 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33055 $as_echo_n "(cached) " >&6
33056 else
33059 ac_ext=cpp
33060 ac_cpp='$CXXCPP $CPPFLAGS'
33061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33066 /* end confdefs.h. */
33067 #include <math.h>
33068 #ifdef HAVE_IEEEFP_H
33069 #include <ieeefp.h>
33070 #endif
33073 main ()
33075 _sqrtl(0);
33077 return 0;
33079 _ACEOF
33080 if ac_fn_cxx_try_compile "$LINENO"; then :
33081 glibcxx_cv_func__sqrtl_use=yes
33082 else
33083 glibcxx_cv_func__sqrtl_use=no
33085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33086 ac_ext=c
33087 ac_cpp='$CPP $CPPFLAGS'
33088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33097 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33099 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33100 for ac_func in _sqrtl
33101 do :
33102 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33103 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33104 cat >>confdefs.h <<_ACEOF
33105 #define HAVE__SQRTL 1
33106 _ACEOF
33109 done
33118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33119 $as_echo_n "checking for sincosl declaration... " >&6; }
33120 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33121 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33122 $as_echo_n "(cached) " >&6
33123 else
33126 ac_ext=cpp
33127 ac_cpp='$CXXCPP $CPPFLAGS'
33128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33133 /* end confdefs.h. */
33134 #include <math.h>
33136 main ()
33138 sincosl(0, 0, 0);
33140 return 0;
33142 _ACEOF
33143 if ac_fn_cxx_try_compile "$LINENO"; then :
33144 glibcxx_cv_func_sincosl_use=yes
33145 else
33146 glibcxx_cv_func_sincosl_use=no
33148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33149 ac_ext=c
33150 ac_cpp='$CPP $CPPFLAGS'
33151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33160 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33162 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33163 for ac_func in sincosl
33164 do :
33165 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33166 if test "x$ac_cv_func_sincosl" = x""yes; then :
33167 cat >>confdefs.h <<_ACEOF
33168 #define HAVE_SINCOSL 1
33169 _ACEOF
33172 done
33174 else
33176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33177 $as_echo_n "checking for _sincosl declaration... " >&6; }
33178 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33179 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33180 $as_echo_n "(cached) " >&6
33181 else
33184 ac_ext=cpp
33185 ac_cpp='$CXXCPP $CPPFLAGS'
33186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33191 /* end confdefs.h. */
33192 #include <math.h>
33194 main ()
33196 _sincosl(0, 0, 0);
33198 return 0;
33200 _ACEOF
33201 if ac_fn_cxx_try_compile "$LINENO"; then :
33202 glibcxx_cv_func__sincosl_use=yes
33203 else
33204 glibcxx_cv_func__sincosl_use=no
33206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33207 ac_ext=c
33208 ac_cpp='$CPP $CPPFLAGS'
33209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33218 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33220 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33221 for ac_func in _sincosl
33222 do :
33223 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33224 if test "x$ac_cv_func__sincosl" = x""yes; then :
33225 cat >>confdefs.h <<_ACEOF
33226 #define HAVE__SINCOSL 1
33227 _ACEOF
33230 done
33239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33240 $as_echo_n "checking for finitel declaration... " >&6; }
33241 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33242 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33243 $as_echo_n "(cached) " >&6
33244 else
33247 ac_ext=cpp
33248 ac_cpp='$CXXCPP $CPPFLAGS'
33249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33254 /* end confdefs.h. */
33255 #include <math.h>
33256 #ifdef HAVE_IEEEFP_H
33257 #include <ieeefp.h>
33258 #endif
33261 main ()
33263 finitel(0);
33265 return 0;
33267 _ACEOF
33268 if ac_fn_cxx_try_compile "$LINENO"; then :
33269 glibcxx_cv_func_finitel_use=yes
33270 else
33271 glibcxx_cv_func_finitel_use=no
33273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33274 ac_ext=c
33275 ac_cpp='$CPP $CPPFLAGS'
33276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33285 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33287 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33288 for ac_func in finitel
33289 do :
33290 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33291 if test "x$ac_cv_func_finitel" = x""yes; then :
33292 cat >>confdefs.h <<_ACEOF
33293 #define HAVE_FINITEL 1
33294 _ACEOF
33297 done
33299 else
33301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33302 $as_echo_n "checking for _finitel declaration... " >&6; }
33303 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33304 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33305 $as_echo_n "(cached) " >&6
33306 else
33309 ac_ext=cpp
33310 ac_cpp='$CXXCPP $CPPFLAGS'
33311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33316 /* end confdefs.h. */
33317 #include <math.h>
33318 #ifdef HAVE_IEEEFP_H
33319 #include <ieeefp.h>
33320 #endif
33323 main ()
33325 _finitel(0);
33327 return 0;
33329 _ACEOF
33330 if ac_fn_cxx_try_compile "$LINENO"; then :
33331 glibcxx_cv_func__finitel_use=yes
33332 else
33333 glibcxx_cv_func__finitel_use=no
33335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33336 ac_ext=c
33337 ac_cpp='$CPP $CPPFLAGS'
33338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33347 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33349 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33350 for ac_func in _finitel
33351 do :
33352 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33353 if test "x$ac_cv_func__finitel" = x""yes; then :
33354 cat >>confdefs.h <<_ACEOF
33355 #define HAVE__FINITEL 1
33356 _ACEOF
33359 done
33367 LIBS="$ac_save_LIBS"
33368 CXXFLAGS="$ac_save_CXXFLAGS"
33371 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33372 ac_save_CXXFLAGS="$CXXFLAGS"
33373 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33377 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33378 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33379 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33380 $as_echo_n "(cached) " >&6
33381 else
33384 ac_ext=cpp
33385 ac_cpp='$CXXCPP $CPPFLAGS'
33386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33391 /* end confdefs.h. */
33392 #include <stdlib.h>
33394 main ()
33396 at_quick_exit(0);
33398 return 0;
33400 _ACEOF
33401 if ac_fn_cxx_try_compile "$LINENO"; then :
33402 glibcxx_cv_func_at_quick_exit_use=yes
33403 else
33404 glibcxx_cv_func_at_quick_exit_use=no
33406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33407 ac_ext=c
33408 ac_cpp='$CPP $CPPFLAGS'
33409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33418 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33419 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33420 for ac_func in at_quick_exit
33421 do :
33422 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33423 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33424 cat >>confdefs.h <<_ACEOF
33425 #define HAVE_AT_QUICK_EXIT 1
33426 _ACEOF
33429 done
33434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33435 $as_echo_n "checking for quick_exit declaration... " >&6; }
33436 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33437 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33438 $as_echo_n "(cached) " >&6
33439 else
33442 ac_ext=cpp
33443 ac_cpp='$CXXCPP $CPPFLAGS'
33444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33449 /* end confdefs.h. */
33450 #include <stdlib.h>
33452 main ()
33454 quick_exit(0);
33456 return 0;
33458 _ACEOF
33459 if ac_fn_cxx_try_compile "$LINENO"; then :
33460 glibcxx_cv_func_quick_exit_use=yes
33461 else
33462 glibcxx_cv_func_quick_exit_use=no
33464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33465 ac_ext=c
33466 ac_cpp='$CPP $CPPFLAGS'
33467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33476 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33477 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33478 for ac_func in quick_exit
33479 do :
33480 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33481 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33482 cat >>confdefs.h <<_ACEOF
33483 #define HAVE_QUICK_EXIT 1
33484 _ACEOF
33487 done
33492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33493 $as_echo_n "checking for strtold declaration... " >&6; }
33494 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33495 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33496 $as_echo_n "(cached) " >&6
33497 else
33500 ac_ext=cpp
33501 ac_cpp='$CXXCPP $CPPFLAGS'
33502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33507 /* end confdefs.h. */
33508 #include <stdlib.h>
33510 main ()
33512 strtold(0, 0);
33514 return 0;
33516 _ACEOF
33517 if ac_fn_cxx_try_compile "$LINENO"; then :
33518 glibcxx_cv_func_strtold_use=yes
33519 else
33520 glibcxx_cv_func_strtold_use=no
33522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33523 ac_ext=c
33524 ac_cpp='$CPP $CPPFLAGS'
33525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33534 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33535 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33536 for ac_func in strtold
33537 do :
33538 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33539 if test "x$ac_cv_func_strtold" = x""yes; then :
33540 cat >>confdefs.h <<_ACEOF
33541 #define HAVE_STRTOLD 1
33542 _ACEOF
33545 done
33552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33553 $as_echo_n "checking for strtof declaration... " >&6; }
33554 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33555 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33556 $as_echo_n "(cached) " >&6
33557 else
33560 ac_ext=cpp
33561 ac_cpp='$CXXCPP $CPPFLAGS'
33562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33567 /* end confdefs.h. */
33568 #include <stdlib.h>
33570 main ()
33572 strtof(0, 0);
33574 return 0;
33576 _ACEOF
33577 if ac_fn_cxx_try_compile "$LINENO"; then :
33578 glibcxx_cv_func_strtof_use=yes
33579 else
33580 glibcxx_cv_func_strtof_use=no
33582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33583 ac_ext=c
33584 ac_cpp='$CPP $CPPFLAGS'
33585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33594 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33595 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33596 for ac_func in strtof
33597 do :
33598 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33599 if test "x$ac_cv_func_strtof" = x""yes; then :
33600 cat >>confdefs.h <<_ACEOF
33601 #define HAVE_STRTOF 1
33602 _ACEOF
33605 done
33612 CXXFLAGS="$ac_save_CXXFLAGS"
33615 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33617 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33619 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33621 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33624 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33626 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33628 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33632 *-aix*)
33634 # If we're not using GNU ld, then there's no point in even trying these
33635 # tests. Check for that first. We should have already tested for gld
33636 # by now (in libtool), but require it now just to be safe...
33637 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33638 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33642 # The name set by libtool depends on the version of libtool. Shame on us
33643 # for depending on an impl detail, but c'est la vie. Older versions used
33644 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33645 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33646 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33647 # set (hence we're using an older libtool), then set it.
33648 if test x${with_gnu_ld+set} != xset; then
33649 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33650 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33651 with_gnu_ld=no
33652 else
33653 with_gnu_ld=$ac_cv_prog_gnu_ld
33657 # Start by getting the version number. I think the libtool test already
33658 # does some of this, but throws away the result.
33659 glibcxx_ld_is_gold=no
33660 if test x"$with_gnu_ld" = x"yes"; then
33661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33662 $as_echo_n "checking for ld version... " >&6; }
33664 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33665 glibcxx_ld_is_gold=yes
33667 ldver=`$LD --version 2>/dev/null |
33668 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'`
33670 glibcxx_gnu_ld_version=`echo $ldver | \
33671 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33673 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33676 # Set --gc-sections.
33677 glibcxx_have_gc_sections=no
33678 if test "$glibcxx_ld_is_gold" = "yes"; then
33679 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33680 glibcxx_have_gc_sections=yes
33682 else
33683 glibcxx_gcsections_min_ld=21602
33684 if test x"$with_gnu_ld" = x"yes" &&
33685 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33686 glibcxx_have_gc_sections=yes
33689 if test "$glibcxx_have_gc_sections" = "yes"; then
33690 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33691 # NB: This flag only works reliably after 2.16.1. Configure tests
33692 # for this are difficult, so hard wire a value that should work.
33694 ac_test_CFLAGS="${CFLAGS+set}"
33695 ac_save_CFLAGS="$CFLAGS"
33696 CFLAGS='-Wl,--gc-sections'
33698 # Check for -Wl,--gc-sections
33699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33700 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33701 if test x$gcc_no_link = xyes; then
33702 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33705 /* end confdefs.h. */
33706 int one(void) { return 1; }
33707 int two(void) { return 2; }
33710 main ()
33712 two();
33714 return 0;
33716 _ACEOF
33717 if ac_fn_c_try_link "$LINENO"; then :
33718 ac_gcsections=yes
33719 else
33720 ac_gcsections=no
33722 rm -f core conftest.err conftest.$ac_objext \
33723 conftest$ac_exeext conftest.$ac_ext
33724 if test "$ac_gcsections" = "yes"; then
33725 rm -f conftest.c
33726 touch conftest.c
33727 if $CC -c conftest.c; then
33728 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33729 grep "Warning: gc-sections option ignored" > /dev/null; then
33730 ac_gcsections=no
33733 rm -f conftest.c conftest.o conftest
33735 if test "$ac_gcsections" = "yes"; then
33736 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33739 $as_echo "$ac_gcsections" >&6; }
33741 if test "$ac_test_CFLAGS" = set; then
33742 CFLAGS="$ac_save_CFLAGS"
33743 else
33744 # this is the suspicious part
33745 CFLAGS=''
33749 # Set -z,relro.
33750 # Note this is only for shared objects.
33751 ac_ld_relro=no
33752 if test x"$with_gnu_ld" = x"yes"; then
33753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33754 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33755 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33756 if test -n "$cxx_z_relo"; then
33757 OPT_LDFLAGS="-Wl,-z,relro"
33758 ac_ld_relro=yes
33760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33761 $as_echo "$ac_ld_relro" >&6; }
33764 # Set linker optimization flags.
33765 if test x"$with_gnu_ld" = x"yes"; then
33766 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33773 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33774 ac_save_CXXFLAGS="$CXXFLAGS"
33775 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33778 $as_echo_n "checking for sin in -lm... " >&6; }
33779 if test "${ac_cv_lib_m_sin+set}" = set; then :
33780 $as_echo_n "(cached) " >&6
33781 else
33782 ac_check_lib_save_LIBS=$LIBS
33783 LIBS="-lm $LIBS"
33784 if test x$gcc_no_link = xyes; then
33785 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33788 /* end confdefs.h. */
33790 /* Override any GCC internal prototype to avoid an error.
33791 Use char because int might match the return type of a GCC
33792 builtin and then its argument prototype would still apply. */
33793 #ifdef __cplusplus
33794 extern "C"
33795 #endif
33796 char sin ();
33798 main ()
33800 return sin ();
33802 return 0;
33804 _ACEOF
33805 if ac_fn_c_try_link "$LINENO"; then :
33806 ac_cv_lib_m_sin=yes
33807 else
33808 ac_cv_lib_m_sin=no
33810 rm -f core conftest.err conftest.$ac_objext \
33811 conftest$ac_exeext conftest.$ac_ext
33812 LIBS=$ac_check_lib_save_LIBS
33814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33815 $as_echo "$ac_cv_lib_m_sin" >&6; }
33816 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33817 libm="-lm"
33820 ac_save_LIBS="$LIBS"
33821 LIBS="$LIBS $libm"
33825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33826 $as_echo_n "checking for isinf declaration... " >&6; }
33827 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33828 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33829 $as_echo_n "(cached) " >&6
33830 else
33833 ac_ext=cpp
33834 ac_cpp='$CXXCPP $CPPFLAGS'
33835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33840 /* end confdefs.h. */
33841 #include <math.h>
33842 #ifdef HAVE_IEEEFP_H
33843 #include <ieeefp.h>
33844 #endif
33847 main ()
33849 isinf(0);
33851 return 0;
33853 _ACEOF
33854 if ac_fn_cxx_try_compile "$LINENO"; then :
33855 glibcxx_cv_func_isinf_use=yes
33856 else
33857 glibcxx_cv_func_isinf_use=no
33859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33860 ac_ext=c
33861 ac_cpp='$CPP $CPPFLAGS'
33862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33871 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33873 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33874 for ac_func in isinf
33875 do :
33876 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33877 if test "x$ac_cv_func_isinf" = x""yes; then :
33878 cat >>confdefs.h <<_ACEOF
33879 #define HAVE_ISINF 1
33880 _ACEOF
33883 done
33885 else
33887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33888 $as_echo_n "checking for _isinf declaration... " >&6; }
33889 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33890 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33891 $as_echo_n "(cached) " >&6
33892 else
33895 ac_ext=cpp
33896 ac_cpp='$CXXCPP $CPPFLAGS'
33897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33902 /* end confdefs.h. */
33903 #include <math.h>
33904 #ifdef HAVE_IEEEFP_H
33905 #include <ieeefp.h>
33906 #endif
33909 main ()
33911 _isinf(0);
33913 return 0;
33915 _ACEOF
33916 if ac_fn_cxx_try_compile "$LINENO"; then :
33917 glibcxx_cv_func__isinf_use=yes
33918 else
33919 glibcxx_cv_func__isinf_use=no
33921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33922 ac_ext=c
33923 ac_cpp='$CPP $CPPFLAGS'
33924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33933 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33935 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33936 for ac_func in _isinf
33937 do :
33938 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33939 if test "x$ac_cv_func__isinf" = x""yes; then :
33940 cat >>confdefs.h <<_ACEOF
33941 #define HAVE__ISINF 1
33942 _ACEOF
33945 done
33954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33955 $as_echo_n "checking for isnan declaration... " >&6; }
33956 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33957 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33958 $as_echo_n "(cached) " >&6
33959 else
33962 ac_ext=cpp
33963 ac_cpp='$CXXCPP $CPPFLAGS'
33964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33969 /* end confdefs.h. */
33970 #include <math.h>
33971 #ifdef HAVE_IEEEFP_H
33972 #include <ieeefp.h>
33973 #endif
33976 main ()
33978 isnan(0);
33980 return 0;
33982 _ACEOF
33983 if ac_fn_cxx_try_compile "$LINENO"; then :
33984 glibcxx_cv_func_isnan_use=yes
33985 else
33986 glibcxx_cv_func_isnan_use=no
33988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33989 ac_ext=c
33990 ac_cpp='$CPP $CPPFLAGS'
33991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34000 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34002 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34003 for ac_func in isnan
34004 do :
34005 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34006 if test "x$ac_cv_func_isnan" = x""yes; then :
34007 cat >>confdefs.h <<_ACEOF
34008 #define HAVE_ISNAN 1
34009 _ACEOF
34012 done
34014 else
34016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34017 $as_echo_n "checking for _isnan declaration... " >&6; }
34018 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34019 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34020 $as_echo_n "(cached) " >&6
34021 else
34024 ac_ext=cpp
34025 ac_cpp='$CXXCPP $CPPFLAGS'
34026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34031 /* end confdefs.h. */
34032 #include <math.h>
34033 #ifdef HAVE_IEEEFP_H
34034 #include <ieeefp.h>
34035 #endif
34038 main ()
34040 _isnan(0);
34042 return 0;
34044 _ACEOF
34045 if ac_fn_cxx_try_compile "$LINENO"; then :
34046 glibcxx_cv_func__isnan_use=yes
34047 else
34048 glibcxx_cv_func__isnan_use=no
34050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34051 ac_ext=c
34052 ac_cpp='$CPP $CPPFLAGS'
34053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34062 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34064 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34065 for ac_func in _isnan
34066 do :
34067 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34068 if test "x$ac_cv_func__isnan" = x""yes; then :
34069 cat >>confdefs.h <<_ACEOF
34070 #define HAVE__ISNAN 1
34071 _ACEOF
34074 done
34083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34084 $as_echo_n "checking for finite declaration... " >&6; }
34085 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34086 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34087 $as_echo_n "(cached) " >&6
34088 else
34091 ac_ext=cpp
34092 ac_cpp='$CXXCPP $CPPFLAGS'
34093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34098 /* end confdefs.h. */
34099 #include <math.h>
34100 #ifdef HAVE_IEEEFP_H
34101 #include <ieeefp.h>
34102 #endif
34105 main ()
34107 finite(0);
34109 return 0;
34111 _ACEOF
34112 if ac_fn_cxx_try_compile "$LINENO"; then :
34113 glibcxx_cv_func_finite_use=yes
34114 else
34115 glibcxx_cv_func_finite_use=no
34117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34118 ac_ext=c
34119 ac_cpp='$CPP $CPPFLAGS'
34120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34129 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34131 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34132 for ac_func in finite
34133 do :
34134 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34135 if test "x$ac_cv_func_finite" = x""yes; then :
34136 cat >>confdefs.h <<_ACEOF
34137 #define HAVE_FINITE 1
34138 _ACEOF
34141 done
34143 else
34145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34146 $as_echo_n "checking for _finite declaration... " >&6; }
34147 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34148 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34149 $as_echo_n "(cached) " >&6
34150 else
34153 ac_ext=cpp
34154 ac_cpp='$CXXCPP $CPPFLAGS'
34155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34160 /* end confdefs.h. */
34161 #include <math.h>
34162 #ifdef HAVE_IEEEFP_H
34163 #include <ieeefp.h>
34164 #endif
34167 main ()
34169 _finite(0);
34171 return 0;
34173 _ACEOF
34174 if ac_fn_cxx_try_compile "$LINENO"; then :
34175 glibcxx_cv_func__finite_use=yes
34176 else
34177 glibcxx_cv_func__finite_use=no
34179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34180 ac_ext=c
34181 ac_cpp='$CPP $CPPFLAGS'
34182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34191 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34193 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34194 for ac_func in _finite
34195 do :
34196 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34197 if test "x$ac_cv_func__finite" = x""yes; then :
34198 cat >>confdefs.h <<_ACEOF
34199 #define HAVE__FINITE 1
34200 _ACEOF
34203 done
34212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34213 $as_echo_n "checking for sincos declaration... " >&6; }
34214 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34215 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34216 $as_echo_n "(cached) " >&6
34217 else
34220 ac_ext=cpp
34221 ac_cpp='$CXXCPP $CPPFLAGS'
34222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34227 /* end confdefs.h. */
34228 #include <math.h>
34230 main ()
34232 sincos(0, 0, 0);
34234 return 0;
34236 _ACEOF
34237 if ac_fn_cxx_try_compile "$LINENO"; then :
34238 glibcxx_cv_func_sincos_use=yes
34239 else
34240 glibcxx_cv_func_sincos_use=no
34242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34243 ac_ext=c
34244 ac_cpp='$CPP $CPPFLAGS'
34245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34254 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34256 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34257 for ac_func in sincos
34258 do :
34259 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34260 if test "x$ac_cv_func_sincos" = x""yes; then :
34261 cat >>confdefs.h <<_ACEOF
34262 #define HAVE_SINCOS 1
34263 _ACEOF
34266 done
34268 else
34270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34271 $as_echo_n "checking for _sincos declaration... " >&6; }
34272 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34273 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34274 $as_echo_n "(cached) " >&6
34275 else
34278 ac_ext=cpp
34279 ac_cpp='$CXXCPP $CPPFLAGS'
34280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34285 /* end confdefs.h. */
34286 #include <math.h>
34288 main ()
34290 _sincos(0, 0, 0);
34292 return 0;
34294 _ACEOF
34295 if ac_fn_cxx_try_compile "$LINENO"; then :
34296 glibcxx_cv_func__sincos_use=yes
34297 else
34298 glibcxx_cv_func__sincos_use=no
34300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34301 ac_ext=c
34302 ac_cpp='$CPP $CPPFLAGS'
34303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34312 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34314 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34315 for ac_func in _sincos
34316 do :
34317 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34318 if test "x$ac_cv_func__sincos" = x""yes; then :
34319 cat >>confdefs.h <<_ACEOF
34320 #define HAVE__SINCOS 1
34321 _ACEOF
34324 done
34333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34334 $as_echo_n "checking for fpclass declaration... " >&6; }
34335 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34336 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34337 $as_echo_n "(cached) " >&6
34338 else
34341 ac_ext=cpp
34342 ac_cpp='$CXXCPP $CPPFLAGS'
34343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34348 /* end confdefs.h. */
34349 #include <math.h>
34350 #ifdef HAVE_IEEEFP_H
34351 #include <ieeefp.h>
34352 #endif
34355 main ()
34357 fpclass(0);
34359 return 0;
34361 _ACEOF
34362 if ac_fn_cxx_try_compile "$LINENO"; then :
34363 glibcxx_cv_func_fpclass_use=yes
34364 else
34365 glibcxx_cv_func_fpclass_use=no
34367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34368 ac_ext=c
34369 ac_cpp='$CPP $CPPFLAGS'
34370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34379 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34381 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34382 for ac_func in fpclass
34383 do :
34384 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34385 if test "x$ac_cv_func_fpclass" = x""yes; then :
34386 cat >>confdefs.h <<_ACEOF
34387 #define HAVE_FPCLASS 1
34388 _ACEOF
34391 done
34393 else
34395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34396 $as_echo_n "checking for _fpclass declaration... " >&6; }
34397 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34398 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34399 $as_echo_n "(cached) " >&6
34400 else
34403 ac_ext=cpp
34404 ac_cpp='$CXXCPP $CPPFLAGS'
34405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34410 /* end confdefs.h. */
34411 #include <math.h>
34412 #ifdef HAVE_IEEEFP_H
34413 #include <ieeefp.h>
34414 #endif
34417 main ()
34419 _fpclass(0);
34421 return 0;
34423 _ACEOF
34424 if ac_fn_cxx_try_compile "$LINENO"; then :
34425 glibcxx_cv_func__fpclass_use=yes
34426 else
34427 glibcxx_cv_func__fpclass_use=no
34429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34430 ac_ext=c
34431 ac_cpp='$CPP $CPPFLAGS'
34432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34441 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34443 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34444 for ac_func in _fpclass
34445 do :
34446 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34447 if test "x$ac_cv_func__fpclass" = x""yes; then :
34448 cat >>confdefs.h <<_ACEOF
34449 #define HAVE__FPCLASS 1
34450 _ACEOF
34453 done
34462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34463 $as_echo_n "checking for qfpclass declaration... " >&6; }
34464 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34465 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34466 $as_echo_n "(cached) " >&6
34467 else
34470 ac_ext=cpp
34471 ac_cpp='$CXXCPP $CPPFLAGS'
34472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34477 /* end confdefs.h. */
34478 #include <math.h>
34479 #ifdef HAVE_IEEEFP_H
34480 #include <ieeefp.h>
34481 #endif
34484 main ()
34486 qfpclass(0);
34488 return 0;
34490 _ACEOF
34491 if ac_fn_cxx_try_compile "$LINENO"; then :
34492 glibcxx_cv_func_qfpclass_use=yes
34493 else
34494 glibcxx_cv_func_qfpclass_use=no
34496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34497 ac_ext=c
34498 ac_cpp='$CPP $CPPFLAGS'
34499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34508 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34510 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34511 for ac_func in qfpclass
34512 do :
34513 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34514 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34515 cat >>confdefs.h <<_ACEOF
34516 #define HAVE_QFPCLASS 1
34517 _ACEOF
34520 done
34522 else
34524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34525 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34526 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34527 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34528 $as_echo_n "(cached) " >&6
34529 else
34532 ac_ext=cpp
34533 ac_cpp='$CXXCPP $CPPFLAGS'
34534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34539 /* end confdefs.h. */
34540 #include <math.h>
34541 #ifdef HAVE_IEEEFP_H
34542 #include <ieeefp.h>
34543 #endif
34546 main ()
34548 _qfpclass(0);
34550 return 0;
34552 _ACEOF
34553 if ac_fn_cxx_try_compile "$LINENO"; then :
34554 glibcxx_cv_func__qfpclass_use=yes
34555 else
34556 glibcxx_cv_func__qfpclass_use=no
34558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34559 ac_ext=c
34560 ac_cpp='$CPP $CPPFLAGS'
34561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34570 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34572 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34573 for ac_func in _qfpclass
34574 do :
34575 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34576 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34577 cat >>confdefs.h <<_ACEOF
34578 #define HAVE__QFPCLASS 1
34579 _ACEOF
34582 done
34591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34592 $as_echo_n "checking for hypot declaration... " >&6; }
34593 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34594 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34595 $as_echo_n "(cached) " >&6
34596 else
34599 ac_ext=cpp
34600 ac_cpp='$CXXCPP $CPPFLAGS'
34601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34606 /* end confdefs.h. */
34607 #include <math.h>
34609 main ()
34611 hypot(0, 0);
34613 return 0;
34615 _ACEOF
34616 if ac_fn_cxx_try_compile "$LINENO"; then :
34617 glibcxx_cv_func_hypot_use=yes
34618 else
34619 glibcxx_cv_func_hypot_use=no
34621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34622 ac_ext=c
34623 ac_cpp='$CPP $CPPFLAGS'
34624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34633 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34635 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34636 for ac_func in hypot
34637 do :
34638 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34639 if test "x$ac_cv_func_hypot" = x""yes; then :
34640 cat >>confdefs.h <<_ACEOF
34641 #define HAVE_HYPOT 1
34642 _ACEOF
34645 done
34647 else
34649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34650 $as_echo_n "checking for _hypot declaration... " >&6; }
34651 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34652 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34653 $as_echo_n "(cached) " >&6
34654 else
34657 ac_ext=cpp
34658 ac_cpp='$CXXCPP $CPPFLAGS'
34659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34664 /* end confdefs.h. */
34665 #include <math.h>
34667 main ()
34669 _hypot(0, 0);
34671 return 0;
34673 _ACEOF
34674 if ac_fn_cxx_try_compile "$LINENO"; then :
34675 glibcxx_cv_func__hypot_use=yes
34676 else
34677 glibcxx_cv_func__hypot_use=no
34679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34680 ac_ext=c
34681 ac_cpp='$CPP $CPPFLAGS'
34682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34691 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34693 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34694 for ac_func in _hypot
34695 do :
34696 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34697 if test "x$ac_cv_func__hypot" = x""yes; then :
34698 cat >>confdefs.h <<_ACEOF
34699 #define HAVE__HYPOT 1
34700 _ACEOF
34703 done
34712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34713 $as_echo_n "checking for float trig functions... " >&6; }
34714 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34715 $as_echo_n "(cached) " >&6
34716 else
34719 ac_ext=cpp
34720 ac_cpp='$CXXCPP $CPPFLAGS'
34721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34726 /* end confdefs.h. */
34727 #include <math.h>
34729 main ()
34731 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34733 return 0;
34735 _ACEOF
34736 if ac_fn_cxx_try_compile "$LINENO"; then :
34737 glibcxx_cv_func_float_trig_use=yes
34738 else
34739 glibcxx_cv_func_float_trig_use=no
34741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34742 ac_ext=c
34743 ac_cpp='$CPP $CPPFLAGS'
34744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34751 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34752 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34753 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34754 do :
34755 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34756 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34757 eval as_val=\$$as_ac_var
34758 if test "x$as_val" = x""yes; then :
34759 cat >>confdefs.h <<_ACEOF
34760 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34761 _ACEOF
34764 done
34766 else
34767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34768 $as_echo_n "checking for _float trig functions... " >&6; }
34769 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34770 $as_echo_n "(cached) " >&6
34771 else
34774 ac_ext=cpp
34775 ac_cpp='$CXXCPP $CPPFLAGS'
34776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34781 /* end confdefs.h. */
34782 #include <math.h>
34784 main ()
34786 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34788 return 0;
34790 _ACEOF
34791 if ac_fn_cxx_try_compile "$LINENO"; then :
34792 glibcxx_cv_func__float_trig_use=yes
34793 else
34794 glibcxx_cv_func__float_trig_use=no
34796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34797 ac_ext=c
34798 ac_cpp='$CPP $CPPFLAGS'
34799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34806 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34807 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34808 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34809 do :
34810 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34811 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34812 eval as_val=\$$as_ac_var
34813 if test "x$as_val" = x""yes; then :
34814 cat >>confdefs.h <<_ACEOF
34815 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34816 _ACEOF
34819 done
34828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34829 $as_echo_n "checking for float round functions... " >&6; }
34830 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34831 $as_echo_n "(cached) " >&6
34832 else
34835 ac_ext=cpp
34836 ac_cpp='$CXXCPP $CPPFLAGS'
34837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34842 /* end confdefs.h. */
34843 #include <math.h>
34845 main ()
34847 ceilf (0); floorf (0);
34849 return 0;
34851 _ACEOF
34852 if ac_fn_cxx_try_compile "$LINENO"; then :
34853 glibcxx_cv_func_float_round_use=yes
34854 else
34855 glibcxx_cv_func_float_round_use=no
34857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34858 ac_ext=c
34859 ac_cpp='$CPP $CPPFLAGS'
34860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34867 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34868 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34869 for ac_func in ceilf floorf
34870 do :
34871 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34872 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34873 eval as_val=\$$as_ac_var
34874 if test "x$as_val" = x""yes; then :
34875 cat >>confdefs.h <<_ACEOF
34876 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34877 _ACEOF
34880 done
34882 else
34883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34884 $as_echo_n "checking for _float round functions... " >&6; }
34885 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34886 $as_echo_n "(cached) " >&6
34887 else
34890 ac_ext=cpp
34891 ac_cpp='$CXXCPP $CPPFLAGS'
34892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34897 /* end confdefs.h. */
34898 #include <math.h>
34900 main ()
34902 _ceilf (0); _floorf (0);
34904 return 0;
34906 _ACEOF
34907 if ac_fn_cxx_try_compile "$LINENO"; then :
34908 glibcxx_cv_func__float_round_use=yes
34909 else
34910 glibcxx_cv_func__float_round_use=no
34912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34913 ac_ext=c
34914 ac_cpp='$CPP $CPPFLAGS'
34915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34922 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34923 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34924 for ac_func in _ceilf _floorf
34925 do :
34926 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34927 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34928 eval as_val=\$$as_ac_var
34929 if test "x$as_val" = x""yes; then :
34930 cat >>confdefs.h <<_ACEOF
34931 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34932 _ACEOF
34935 done
34945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34946 $as_echo_n "checking for expf declaration... " >&6; }
34947 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34948 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34949 $as_echo_n "(cached) " >&6
34950 else
34953 ac_ext=cpp
34954 ac_cpp='$CXXCPP $CPPFLAGS'
34955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34960 /* end confdefs.h. */
34961 #include <math.h>
34962 #ifdef HAVE_IEEEFP_H
34963 #include <ieeefp.h>
34964 #endif
34967 main ()
34969 expf(0);
34971 return 0;
34973 _ACEOF
34974 if ac_fn_cxx_try_compile "$LINENO"; then :
34975 glibcxx_cv_func_expf_use=yes
34976 else
34977 glibcxx_cv_func_expf_use=no
34979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34980 ac_ext=c
34981 ac_cpp='$CPP $CPPFLAGS'
34982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34991 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34993 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34994 for ac_func in expf
34995 do :
34996 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34997 if test "x$ac_cv_func_expf" = x""yes; then :
34998 cat >>confdefs.h <<_ACEOF
34999 #define HAVE_EXPF 1
35000 _ACEOF
35003 done
35005 else
35007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35008 $as_echo_n "checking for _expf declaration... " >&6; }
35009 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35010 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35011 $as_echo_n "(cached) " >&6
35012 else
35015 ac_ext=cpp
35016 ac_cpp='$CXXCPP $CPPFLAGS'
35017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35022 /* end confdefs.h. */
35023 #include <math.h>
35024 #ifdef HAVE_IEEEFP_H
35025 #include <ieeefp.h>
35026 #endif
35029 main ()
35031 _expf(0);
35033 return 0;
35035 _ACEOF
35036 if ac_fn_cxx_try_compile "$LINENO"; then :
35037 glibcxx_cv_func__expf_use=yes
35038 else
35039 glibcxx_cv_func__expf_use=no
35041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35042 ac_ext=c
35043 ac_cpp='$CPP $CPPFLAGS'
35044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35053 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35055 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35056 for ac_func in _expf
35057 do :
35058 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35059 if test "x$ac_cv_func__expf" = x""yes; then :
35060 cat >>confdefs.h <<_ACEOF
35061 #define HAVE__EXPF 1
35062 _ACEOF
35065 done
35074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35075 $as_echo_n "checking for isnanf declaration... " >&6; }
35076 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35077 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35078 $as_echo_n "(cached) " >&6
35079 else
35082 ac_ext=cpp
35083 ac_cpp='$CXXCPP $CPPFLAGS'
35084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35089 /* end confdefs.h. */
35090 #include <math.h>
35091 #ifdef HAVE_IEEEFP_H
35092 #include <ieeefp.h>
35093 #endif
35096 main ()
35098 isnanf(0);
35100 return 0;
35102 _ACEOF
35103 if ac_fn_cxx_try_compile "$LINENO"; then :
35104 glibcxx_cv_func_isnanf_use=yes
35105 else
35106 glibcxx_cv_func_isnanf_use=no
35108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35109 ac_ext=c
35110 ac_cpp='$CPP $CPPFLAGS'
35111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35120 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35122 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35123 for ac_func in isnanf
35124 do :
35125 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35126 if test "x$ac_cv_func_isnanf" = x""yes; then :
35127 cat >>confdefs.h <<_ACEOF
35128 #define HAVE_ISNANF 1
35129 _ACEOF
35132 done
35134 else
35136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35137 $as_echo_n "checking for _isnanf declaration... " >&6; }
35138 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35139 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35140 $as_echo_n "(cached) " >&6
35141 else
35144 ac_ext=cpp
35145 ac_cpp='$CXXCPP $CPPFLAGS'
35146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35151 /* end confdefs.h. */
35152 #include <math.h>
35153 #ifdef HAVE_IEEEFP_H
35154 #include <ieeefp.h>
35155 #endif
35158 main ()
35160 _isnanf(0);
35162 return 0;
35164 _ACEOF
35165 if ac_fn_cxx_try_compile "$LINENO"; then :
35166 glibcxx_cv_func__isnanf_use=yes
35167 else
35168 glibcxx_cv_func__isnanf_use=no
35170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35171 ac_ext=c
35172 ac_cpp='$CPP $CPPFLAGS'
35173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35182 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35184 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35185 for ac_func in _isnanf
35186 do :
35187 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35188 if test "x$ac_cv_func__isnanf" = x""yes; then :
35189 cat >>confdefs.h <<_ACEOF
35190 #define HAVE__ISNANF 1
35191 _ACEOF
35194 done
35203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35204 $as_echo_n "checking for isinff declaration... " >&6; }
35205 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35206 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35207 $as_echo_n "(cached) " >&6
35208 else
35211 ac_ext=cpp
35212 ac_cpp='$CXXCPP $CPPFLAGS'
35213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35218 /* end confdefs.h. */
35219 #include <math.h>
35220 #ifdef HAVE_IEEEFP_H
35221 #include <ieeefp.h>
35222 #endif
35225 main ()
35227 isinff(0);
35229 return 0;
35231 _ACEOF
35232 if ac_fn_cxx_try_compile "$LINENO"; then :
35233 glibcxx_cv_func_isinff_use=yes
35234 else
35235 glibcxx_cv_func_isinff_use=no
35237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35238 ac_ext=c
35239 ac_cpp='$CPP $CPPFLAGS'
35240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35249 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35251 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35252 for ac_func in isinff
35253 do :
35254 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35255 if test "x$ac_cv_func_isinff" = x""yes; then :
35256 cat >>confdefs.h <<_ACEOF
35257 #define HAVE_ISINFF 1
35258 _ACEOF
35261 done
35263 else
35265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35266 $as_echo_n "checking for _isinff declaration... " >&6; }
35267 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35268 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35269 $as_echo_n "(cached) " >&6
35270 else
35273 ac_ext=cpp
35274 ac_cpp='$CXXCPP $CPPFLAGS'
35275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35280 /* end confdefs.h. */
35281 #include <math.h>
35282 #ifdef HAVE_IEEEFP_H
35283 #include <ieeefp.h>
35284 #endif
35287 main ()
35289 _isinff(0);
35291 return 0;
35293 _ACEOF
35294 if ac_fn_cxx_try_compile "$LINENO"; then :
35295 glibcxx_cv_func__isinff_use=yes
35296 else
35297 glibcxx_cv_func__isinff_use=no
35299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35300 ac_ext=c
35301 ac_cpp='$CPP $CPPFLAGS'
35302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35311 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35313 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35314 for ac_func in _isinff
35315 do :
35316 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35317 if test "x$ac_cv_func__isinff" = x""yes; then :
35318 cat >>confdefs.h <<_ACEOF
35319 #define HAVE__ISINFF 1
35320 _ACEOF
35323 done
35332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35333 $as_echo_n "checking for atan2f declaration... " >&6; }
35334 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35335 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35336 $as_echo_n "(cached) " >&6
35337 else
35340 ac_ext=cpp
35341 ac_cpp='$CXXCPP $CPPFLAGS'
35342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35347 /* end confdefs.h. */
35348 #include <math.h>
35350 main ()
35352 atan2f(0, 0);
35354 return 0;
35356 _ACEOF
35357 if ac_fn_cxx_try_compile "$LINENO"; then :
35358 glibcxx_cv_func_atan2f_use=yes
35359 else
35360 glibcxx_cv_func_atan2f_use=no
35362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35363 ac_ext=c
35364 ac_cpp='$CPP $CPPFLAGS'
35365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35374 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35376 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35377 for ac_func in atan2f
35378 do :
35379 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35380 if test "x$ac_cv_func_atan2f" = x""yes; then :
35381 cat >>confdefs.h <<_ACEOF
35382 #define HAVE_ATAN2F 1
35383 _ACEOF
35386 done
35388 else
35390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35391 $as_echo_n "checking for _atan2f declaration... " >&6; }
35392 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35393 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35394 $as_echo_n "(cached) " >&6
35395 else
35398 ac_ext=cpp
35399 ac_cpp='$CXXCPP $CPPFLAGS'
35400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35405 /* end confdefs.h. */
35406 #include <math.h>
35408 main ()
35410 _atan2f(0, 0);
35412 return 0;
35414 _ACEOF
35415 if ac_fn_cxx_try_compile "$LINENO"; then :
35416 glibcxx_cv_func__atan2f_use=yes
35417 else
35418 glibcxx_cv_func__atan2f_use=no
35420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35421 ac_ext=c
35422 ac_cpp='$CPP $CPPFLAGS'
35423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35432 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35434 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35435 for ac_func in _atan2f
35436 do :
35437 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35438 if test "x$ac_cv_func__atan2f" = x""yes; then :
35439 cat >>confdefs.h <<_ACEOF
35440 #define HAVE__ATAN2F 1
35441 _ACEOF
35444 done
35453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35454 $as_echo_n "checking for fabsf declaration... " >&6; }
35455 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35456 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35457 $as_echo_n "(cached) " >&6
35458 else
35461 ac_ext=cpp
35462 ac_cpp='$CXXCPP $CPPFLAGS'
35463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35468 /* end confdefs.h. */
35469 #include <math.h>
35470 #ifdef HAVE_IEEEFP_H
35471 #include <ieeefp.h>
35472 #endif
35475 main ()
35477 fabsf(0);
35479 return 0;
35481 _ACEOF
35482 if ac_fn_cxx_try_compile "$LINENO"; then :
35483 glibcxx_cv_func_fabsf_use=yes
35484 else
35485 glibcxx_cv_func_fabsf_use=no
35487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35488 ac_ext=c
35489 ac_cpp='$CPP $CPPFLAGS'
35490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35499 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35501 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35502 for ac_func in fabsf
35503 do :
35504 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35505 if test "x$ac_cv_func_fabsf" = x""yes; then :
35506 cat >>confdefs.h <<_ACEOF
35507 #define HAVE_FABSF 1
35508 _ACEOF
35511 done
35513 else
35515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35516 $as_echo_n "checking for _fabsf declaration... " >&6; }
35517 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35518 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35519 $as_echo_n "(cached) " >&6
35520 else
35523 ac_ext=cpp
35524 ac_cpp='$CXXCPP $CPPFLAGS'
35525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35530 /* end confdefs.h. */
35531 #include <math.h>
35532 #ifdef HAVE_IEEEFP_H
35533 #include <ieeefp.h>
35534 #endif
35537 main ()
35539 _fabsf(0);
35541 return 0;
35543 _ACEOF
35544 if ac_fn_cxx_try_compile "$LINENO"; then :
35545 glibcxx_cv_func__fabsf_use=yes
35546 else
35547 glibcxx_cv_func__fabsf_use=no
35549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35550 ac_ext=c
35551 ac_cpp='$CPP $CPPFLAGS'
35552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35561 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35563 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35564 for ac_func in _fabsf
35565 do :
35566 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35567 if test "x$ac_cv_func__fabsf" = x""yes; then :
35568 cat >>confdefs.h <<_ACEOF
35569 #define HAVE__FABSF 1
35570 _ACEOF
35573 done
35582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35583 $as_echo_n "checking for fmodf declaration... " >&6; }
35584 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35585 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35586 $as_echo_n "(cached) " >&6
35587 else
35590 ac_ext=cpp
35591 ac_cpp='$CXXCPP $CPPFLAGS'
35592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35597 /* end confdefs.h. */
35598 #include <math.h>
35600 main ()
35602 fmodf(0, 0);
35604 return 0;
35606 _ACEOF
35607 if ac_fn_cxx_try_compile "$LINENO"; then :
35608 glibcxx_cv_func_fmodf_use=yes
35609 else
35610 glibcxx_cv_func_fmodf_use=no
35612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35613 ac_ext=c
35614 ac_cpp='$CPP $CPPFLAGS'
35615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35624 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35626 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35627 for ac_func in fmodf
35628 do :
35629 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35630 if test "x$ac_cv_func_fmodf" = x""yes; then :
35631 cat >>confdefs.h <<_ACEOF
35632 #define HAVE_FMODF 1
35633 _ACEOF
35636 done
35638 else
35640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35641 $as_echo_n "checking for _fmodf declaration... " >&6; }
35642 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35643 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35644 $as_echo_n "(cached) " >&6
35645 else
35648 ac_ext=cpp
35649 ac_cpp='$CXXCPP $CPPFLAGS'
35650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35655 /* end confdefs.h. */
35656 #include <math.h>
35658 main ()
35660 _fmodf(0, 0);
35662 return 0;
35664 _ACEOF
35665 if ac_fn_cxx_try_compile "$LINENO"; then :
35666 glibcxx_cv_func__fmodf_use=yes
35667 else
35668 glibcxx_cv_func__fmodf_use=no
35670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35671 ac_ext=c
35672 ac_cpp='$CPP $CPPFLAGS'
35673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35682 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35684 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35685 for ac_func in _fmodf
35686 do :
35687 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35688 if test "x$ac_cv_func__fmodf" = x""yes; then :
35689 cat >>confdefs.h <<_ACEOF
35690 #define HAVE__FMODF 1
35691 _ACEOF
35694 done
35703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35704 $as_echo_n "checking for frexpf declaration... " >&6; }
35705 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35706 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35707 $as_echo_n "(cached) " >&6
35708 else
35711 ac_ext=cpp
35712 ac_cpp='$CXXCPP $CPPFLAGS'
35713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35718 /* end confdefs.h. */
35719 #include <math.h>
35721 main ()
35723 frexpf(0, 0);
35725 return 0;
35727 _ACEOF
35728 if ac_fn_cxx_try_compile "$LINENO"; then :
35729 glibcxx_cv_func_frexpf_use=yes
35730 else
35731 glibcxx_cv_func_frexpf_use=no
35733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35734 ac_ext=c
35735 ac_cpp='$CPP $CPPFLAGS'
35736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35745 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35747 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35748 for ac_func in frexpf
35749 do :
35750 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35751 if test "x$ac_cv_func_frexpf" = x""yes; then :
35752 cat >>confdefs.h <<_ACEOF
35753 #define HAVE_FREXPF 1
35754 _ACEOF
35757 done
35759 else
35761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35762 $as_echo_n "checking for _frexpf declaration... " >&6; }
35763 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35764 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35765 $as_echo_n "(cached) " >&6
35766 else
35769 ac_ext=cpp
35770 ac_cpp='$CXXCPP $CPPFLAGS'
35771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35776 /* end confdefs.h. */
35777 #include <math.h>
35779 main ()
35781 _frexpf(0, 0);
35783 return 0;
35785 _ACEOF
35786 if ac_fn_cxx_try_compile "$LINENO"; then :
35787 glibcxx_cv_func__frexpf_use=yes
35788 else
35789 glibcxx_cv_func__frexpf_use=no
35791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35792 ac_ext=c
35793 ac_cpp='$CPP $CPPFLAGS'
35794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35803 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35805 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35806 for ac_func in _frexpf
35807 do :
35808 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35809 if test "x$ac_cv_func__frexpf" = x""yes; then :
35810 cat >>confdefs.h <<_ACEOF
35811 #define HAVE__FREXPF 1
35812 _ACEOF
35815 done
35824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35825 $as_echo_n "checking for hypotf declaration... " >&6; }
35826 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35827 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35828 $as_echo_n "(cached) " >&6
35829 else
35832 ac_ext=cpp
35833 ac_cpp='$CXXCPP $CPPFLAGS'
35834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35839 /* end confdefs.h. */
35840 #include <math.h>
35842 main ()
35844 hypotf(0, 0);
35846 return 0;
35848 _ACEOF
35849 if ac_fn_cxx_try_compile "$LINENO"; then :
35850 glibcxx_cv_func_hypotf_use=yes
35851 else
35852 glibcxx_cv_func_hypotf_use=no
35854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35855 ac_ext=c
35856 ac_cpp='$CPP $CPPFLAGS'
35857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35866 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35868 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35869 for ac_func in hypotf
35870 do :
35871 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35872 if test "x$ac_cv_func_hypotf" = x""yes; then :
35873 cat >>confdefs.h <<_ACEOF
35874 #define HAVE_HYPOTF 1
35875 _ACEOF
35878 done
35880 else
35882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35883 $as_echo_n "checking for _hypotf declaration... " >&6; }
35884 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35885 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35886 $as_echo_n "(cached) " >&6
35887 else
35890 ac_ext=cpp
35891 ac_cpp='$CXXCPP $CPPFLAGS'
35892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35897 /* end confdefs.h. */
35898 #include <math.h>
35900 main ()
35902 _hypotf(0, 0);
35904 return 0;
35906 _ACEOF
35907 if ac_fn_cxx_try_compile "$LINENO"; then :
35908 glibcxx_cv_func__hypotf_use=yes
35909 else
35910 glibcxx_cv_func__hypotf_use=no
35912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35913 ac_ext=c
35914 ac_cpp='$CPP $CPPFLAGS'
35915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35924 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35926 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35927 for ac_func in _hypotf
35928 do :
35929 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35930 if test "x$ac_cv_func__hypotf" = x""yes; then :
35931 cat >>confdefs.h <<_ACEOF
35932 #define HAVE__HYPOTF 1
35933 _ACEOF
35936 done
35945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35946 $as_echo_n "checking for ldexpf declaration... " >&6; }
35947 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35948 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35949 $as_echo_n "(cached) " >&6
35950 else
35953 ac_ext=cpp
35954 ac_cpp='$CXXCPP $CPPFLAGS'
35955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35960 /* end confdefs.h. */
35961 #include <math.h>
35963 main ()
35965 ldexpf(0, 0);
35967 return 0;
35969 _ACEOF
35970 if ac_fn_cxx_try_compile "$LINENO"; then :
35971 glibcxx_cv_func_ldexpf_use=yes
35972 else
35973 glibcxx_cv_func_ldexpf_use=no
35975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35976 ac_ext=c
35977 ac_cpp='$CPP $CPPFLAGS'
35978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35987 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35989 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35990 for ac_func in ldexpf
35991 do :
35992 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35993 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35994 cat >>confdefs.h <<_ACEOF
35995 #define HAVE_LDEXPF 1
35996 _ACEOF
35999 done
36001 else
36003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36004 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36005 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36006 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36007 $as_echo_n "(cached) " >&6
36008 else
36011 ac_ext=cpp
36012 ac_cpp='$CXXCPP $CPPFLAGS'
36013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36018 /* end confdefs.h. */
36019 #include <math.h>
36021 main ()
36023 _ldexpf(0, 0);
36025 return 0;
36027 _ACEOF
36028 if ac_fn_cxx_try_compile "$LINENO"; then :
36029 glibcxx_cv_func__ldexpf_use=yes
36030 else
36031 glibcxx_cv_func__ldexpf_use=no
36033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36034 ac_ext=c
36035 ac_cpp='$CPP $CPPFLAGS'
36036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36045 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36047 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36048 for ac_func in _ldexpf
36049 do :
36050 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36051 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36052 cat >>confdefs.h <<_ACEOF
36053 #define HAVE__LDEXPF 1
36054 _ACEOF
36057 done
36066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36067 $as_echo_n "checking for logf declaration... " >&6; }
36068 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36069 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36070 $as_echo_n "(cached) " >&6
36071 else
36074 ac_ext=cpp
36075 ac_cpp='$CXXCPP $CPPFLAGS'
36076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36081 /* end confdefs.h. */
36082 #include <math.h>
36083 #ifdef HAVE_IEEEFP_H
36084 #include <ieeefp.h>
36085 #endif
36088 main ()
36090 logf(0);
36092 return 0;
36094 _ACEOF
36095 if ac_fn_cxx_try_compile "$LINENO"; then :
36096 glibcxx_cv_func_logf_use=yes
36097 else
36098 glibcxx_cv_func_logf_use=no
36100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36101 ac_ext=c
36102 ac_cpp='$CPP $CPPFLAGS'
36103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36112 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36114 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36115 for ac_func in logf
36116 do :
36117 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36118 if test "x$ac_cv_func_logf" = x""yes; then :
36119 cat >>confdefs.h <<_ACEOF
36120 #define HAVE_LOGF 1
36121 _ACEOF
36124 done
36126 else
36128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36129 $as_echo_n "checking for _logf declaration... " >&6; }
36130 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36131 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36132 $as_echo_n "(cached) " >&6
36133 else
36136 ac_ext=cpp
36137 ac_cpp='$CXXCPP $CPPFLAGS'
36138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36143 /* end confdefs.h. */
36144 #include <math.h>
36145 #ifdef HAVE_IEEEFP_H
36146 #include <ieeefp.h>
36147 #endif
36150 main ()
36152 _logf(0);
36154 return 0;
36156 _ACEOF
36157 if ac_fn_cxx_try_compile "$LINENO"; then :
36158 glibcxx_cv_func__logf_use=yes
36159 else
36160 glibcxx_cv_func__logf_use=no
36162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36163 ac_ext=c
36164 ac_cpp='$CPP $CPPFLAGS'
36165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36174 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36176 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36177 for ac_func in _logf
36178 do :
36179 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36180 if test "x$ac_cv_func__logf" = x""yes; then :
36181 cat >>confdefs.h <<_ACEOF
36182 #define HAVE__LOGF 1
36183 _ACEOF
36186 done
36195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36196 $as_echo_n "checking for log10f declaration... " >&6; }
36197 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36198 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36199 $as_echo_n "(cached) " >&6
36200 else
36203 ac_ext=cpp
36204 ac_cpp='$CXXCPP $CPPFLAGS'
36205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36210 /* end confdefs.h. */
36211 #include <math.h>
36212 #ifdef HAVE_IEEEFP_H
36213 #include <ieeefp.h>
36214 #endif
36217 main ()
36219 log10f(0);
36221 return 0;
36223 _ACEOF
36224 if ac_fn_cxx_try_compile "$LINENO"; then :
36225 glibcxx_cv_func_log10f_use=yes
36226 else
36227 glibcxx_cv_func_log10f_use=no
36229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36230 ac_ext=c
36231 ac_cpp='$CPP $CPPFLAGS'
36232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36241 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36243 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36244 for ac_func in log10f
36245 do :
36246 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36247 if test "x$ac_cv_func_log10f" = x""yes; then :
36248 cat >>confdefs.h <<_ACEOF
36249 #define HAVE_LOG10F 1
36250 _ACEOF
36253 done
36255 else
36257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36258 $as_echo_n "checking for _log10f declaration... " >&6; }
36259 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36260 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36261 $as_echo_n "(cached) " >&6
36262 else
36265 ac_ext=cpp
36266 ac_cpp='$CXXCPP $CPPFLAGS'
36267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36272 /* end confdefs.h. */
36273 #include <math.h>
36274 #ifdef HAVE_IEEEFP_H
36275 #include <ieeefp.h>
36276 #endif
36279 main ()
36281 _log10f(0);
36283 return 0;
36285 _ACEOF
36286 if ac_fn_cxx_try_compile "$LINENO"; then :
36287 glibcxx_cv_func__log10f_use=yes
36288 else
36289 glibcxx_cv_func__log10f_use=no
36291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36292 ac_ext=c
36293 ac_cpp='$CPP $CPPFLAGS'
36294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36303 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36305 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36306 for ac_func in _log10f
36307 do :
36308 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36309 if test "x$ac_cv_func__log10f" = x""yes; then :
36310 cat >>confdefs.h <<_ACEOF
36311 #define HAVE__LOG10F 1
36312 _ACEOF
36315 done
36324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36325 $as_echo_n "checking for modff declaration... " >&6; }
36326 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36327 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36328 $as_echo_n "(cached) " >&6
36329 else
36332 ac_ext=cpp
36333 ac_cpp='$CXXCPP $CPPFLAGS'
36334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36339 /* end confdefs.h. */
36340 #include <math.h>
36342 main ()
36344 modff(0, 0);
36346 return 0;
36348 _ACEOF
36349 if ac_fn_cxx_try_compile "$LINENO"; then :
36350 glibcxx_cv_func_modff_use=yes
36351 else
36352 glibcxx_cv_func_modff_use=no
36354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36355 ac_ext=c
36356 ac_cpp='$CPP $CPPFLAGS'
36357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36366 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36368 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36369 for ac_func in modff
36370 do :
36371 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36372 if test "x$ac_cv_func_modff" = x""yes; then :
36373 cat >>confdefs.h <<_ACEOF
36374 #define HAVE_MODFF 1
36375 _ACEOF
36378 done
36380 else
36382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36383 $as_echo_n "checking for _modff declaration... " >&6; }
36384 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36385 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36386 $as_echo_n "(cached) " >&6
36387 else
36390 ac_ext=cpp
36391 ac_cpp='$CXXCPP $CPPFLAGS'
36392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36397 /* end confdefs.h. */
36398 #include <math.h>
36400 main ()
36402 _modff(0, 0);
36404 return 0;
36406 _ACEOF
36407 if ac_fn_cxx_try_compile "$LINENO"; then :
36408 glibcxx_cv_func__modff_use=yes
36409 else
36410 glibcxx_cv_func__modff_use=no
36412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36413 ac_ext=c
36414 ac_cpp='$CPP $CPPFLAGS'
36415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36424 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36426 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36427 for ac_func in _modff
36428 do :
36429 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36430 if test "x$ac_cv_func__modff" = x""yes; then :
36431 cat >>confdefs.h <<_ACEOF
36432 #define HAVE__MODFF 1
36433 _ACEOF
36436 done
36445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36446 $as_echo_n "checking for modf declaration... " >&6; }
36447 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36448 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36449 $as_echo_n "(cached) " >&6
36450 else
36453 ac_ext=cpp
36454 ac_cpp='$CXXCPP $CPPFLAGS'
36455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36460 /* end confdefs.h. */
36461 #include <math.h>
36463 main ()
36465 modf(0, 0);
36467 return 0;
36469 _ACEOF
36470 if ac_fn_cxx_try_compile "$LINENO"; then :
36471 glibcxx_cv_func_modf_use=yes
36472 else
36473 glibcxx_cv_func_modf_use=no
36475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36476 ac_ext=c
36477 ac_cpp='$CPP $CPPFLAGS'
36478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36487 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36489 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36490 for ac_func in modf
36491 do :
36492 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36493 if test "x$ac_cv_func_modf" = x""yes; then :
36494 cat >>confdefs.h <<_ACEOF
36495 #define HAVE_MODF 1
36496 _ACEOF
36499 done
36501 else
36503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36504 $as_echo_n "checking for _modf declaration... " >&6; }
36505 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36506 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36507 $as_echo_n "(cached) " >&6
36508 else
36511 ac_ext=cpp
36512 ac_cpp='$CXXCPP $CPPFLAGS'
36513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36518 /* end confdefs.h. */
36519 #include <math.h>
36521 main ()
36523 _modf(0, 0);
36525 return 0;
36527 _ACEOF
36528 if ac_fn_cxx_try_compile "$LINENO"; then :
36529 glibcxx_cv_func__modf_use=yes
36530 else
36531 glibcxx_cv_func__modf_use=no
36533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36534 ac_ext=c
36535 ac_cpp='$CPP $CPPFLAGS'
36536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36545 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36547 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36548 for ac_func in _modf
36549 do :
36550 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36551 if test "x$ac_cv_func__modf" = x""yes; then :
36552 cat >>confdefs.h <<_ACEOF
36553 #define HAVE__MODF 1
36554 _ACEOF
36557 done
36566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36567 $as_echo_n "checking for powf declaration... " >&6; }
36568 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36569 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36570 $as_echo_n "(cached) " >&6
36571 else
36574 ac_ext=cpp
36575 ac_cpp='$CXXCPP $CPPFLAGS'
36576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36581 /* end confdefs.h. */
36582 #include <math.h>
36584 main ()
36586 powf(0, 0);
36588 return 0;
36590 _ACEOF
36591 if ac_fn_cxx_try_compile "$LINENO"; then :
36592 glibcxx_cv_func_powf_use=yes
36593 else
36594 glibcxx_cv_func_powf_use=no
36596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36597 ac_ext=c
36598 ac_cpp='$CPP $CPPFLAGS'
36599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36608 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36610 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36611 for ac_func in powf
36612 do :
36613 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36614 if test "x$ac_cv_func_powf" = x""yes; then :
36615 cat >>confdefs.h <<_ACEOF
36616 #define HAVE_POWF 1
36617 _ACEOF
36620 done
36622 else
36624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36625 $as_echo_n "checking for _powf declaration... " >&6; }
36626 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36627 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36628 $as_echo_n "(cached) " >&6
36629 else
36632 ac_ext=cpp
36633 ac_cpp='$CXXCPP $CPPFLAGS'
36634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36639 /* end confdefs.h. */
36640 #include <math.h>
36642 main ()
36644 _powf(0, 0);
36646 return 0;
36648 _ACEOF
36649 if ac_fn_cxx_try_compile "$LINENO"; then :
36650 glibcxx_cv_func__powf_use=yes
36651 else
36652 glibcxx_cv_func__powf_use=no
36654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36655 ac_ext=c
36656 ac_cpp='$CPP $CPPFLAGS'
36657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36666 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36668 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36669 for ac_func in _powf
36670 do :
36671 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36672 if test "x$ac_cv_func__powf" = x""yes; then :
36673 cat >>confdefs.h <<_ACEOF
36674 #define HAVE__POWF 1
36675 _ACEOF
36678 done
36687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36688 $as_echo_n "checking for sqrtf declaration... " >&6; }
36689 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36690 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36691 $as_echo_n "(cached) " >&6
36692 else
36695 ac_ext=cpp
36696 ac_cpp='$CXXCPP $CPPFLAGS'
36697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36702 /* end confdefs.h. */
36703 #include <math.h>
36704 #ifdef HAVE_IEEEFP_H
36705 #include <ieeefp.h>
36706 #endif
36709 main ()
36711 sqrtf(0);
36713 return 0;
36715 _ACEOF
36716 if ac_fn_cxx_try_compile "$LINENO"; then :
36717 glibcxx_cv_func_sqrtf_use=yes
36718 else
36719 glibcxx_cv_func_sqrtf_use=no
36721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36722 ac_ext=c
36723 ac_cpp='$CPP $CPPFLAGS'
36724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36733 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36735 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36736 for ac_func in sqrtf
36737 do :
36738 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36739 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36740 cat >>confdefs.h <<_ACEOF
36741 #define HAVE_SQRTF 1
36742 _ACEOF
36745 done
36747 else
36749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36750 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36751 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36752 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36753 $as_echo_n "(cached) " >&6
36754 else
36757 ac_ext=cpp
36758 ac_cpp='$CXXCPP $CPPFLAGS'
36759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36764 /* end confdefs.h. */
36765 #include <math.h>
36766 #ifdef HAVE_IEEEFP_H
36767 #include <ieeefp.h>
36768 #endif
36771 main ()
36773 _sqrtf(0);
36775 return 0;
36777 _ACEOF
36778 if ac_fn_cxx_try_compile "$LINENO"; then :
36779 glibcxx_cv_func__sqrtf_use=yes
36780 else
36781 glibcxx_cv_func__sqrtf_use=no
36783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36784 ac_ext=c
36785 ac_cpp='$CPP $CPPFLAGS'
36786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36795 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36797 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36798 for ac_func in _sqrtf
36799 do :
36800 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36801 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36802 cat >>confdefs.h <<_ACEOF
36803 #define HAVE__SQRTF 1
36804 _ACEOF
36807 done
36816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36817 $as_echo_n "checking for sincosf declaration... " >&6; }
36818 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36819 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36820 $as_echo_n "(cached) " >&6
36821 else
36824 ac_ext=cpp
36825 ac_cpp='$CXXCPP $CPPFLAGS'
36826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36831 /* end confdefs.h. */
36832 #include <math.h>
36834 main ()
36836 sincosf(0, 0, 0);
36838 return 0;
36840 _ACEOF
36841 if ac_fn_cxx_try_compile "$LINENO"; then :
36842 glibcxx_cv_func_sincosf_use=yes
36843 else
36844 glibcxx_cv_func_sincosf_use=no
36846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36847 ac_ext=c
36848 ac_cpp='$CPP $CPPFLAGS'
36849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36858 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36860 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36861 for ac_func in sincosf
36862 do :
36863 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36864 if test "x$ac_cv_func_sincosf" = x""yes; then :
36865 cat >>confdefs.h <<_ACEOF
36866 #define HAVE_SINCOSF 1
36867 _ACEOF
36870 done
36872 else
36874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36875 $as_echo_n "checking for _sincosf declaration... " >&6; }
36876 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36877 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36878 $as_echo_n "(cached) " >&6
36879 else
36882 ac_ext=cpp
36883 ac_cpp='$CXXCPP $CPPFLAGS'
36884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36889 /* end confdefs.h. */
36890 #include <math.h>
36892 main ()
36894 _sincosf(0, 0, 0);
36896 return 0;
36898 _ACEOF
36899 if ac_fn_cxx_try_compile "$LINENO"; then :
36900 glibcxx_cv_func__sincosf_use=yes
36901 else
36902 glibcxx_cv_func__sincosf_use=no
36904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36905 ac_ext=c
36906 ac_cpp='$CPP $CPPFLAGS'
36907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36916 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36918 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36919 for ac_func in _sincosf
36920 do :
36921 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36922 if test "x$ac_cv_func__sincosf" = x""yes; then :
36923 cat >>confdefs.h <<_ACEOF
36924 #define HAVE__SINCOSF 1
36925 _ACEOF
36928 done
36937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36938 $as_echo_n "checking for finitef declaration... " >&6; }
36939 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36940 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36941 $as_echo_n "(cached) " >&6
36942 else
36945 ac_ext=cpp
36946 ac_cpp='$CXXCPP $CPPFLAGS'
36947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36952 /* end confdefs.h. */
36953 #include <math.h>
36954 #ifdef HAVE_IEEEFP_H
36955 #include <ieeefp.h>
36956 #endif
36959 main ()
36961 finitef(0);
36963 return 0;
36965 _ACEOF
36966 if ac_fn_cxx_try_compile "$LINENO"; then :
36967 glibcxx_cv_func_finitef_use=yes
36968 else
36969 glibcxx_cv_func_finitef_use=no
36971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36972 ac_ext=c
36973 ac_cpp='$CPP $CPPFLAGS'
36974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36983 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36985 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36986 for ac_func in finitef
36987 do :
36988 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36989 if test "x$ac_cv_func_finitef" = x""yes; then :
36990 cat >>confdefs.h <<_ACEOF
36991 #define HAVE_FINITEF 1
36992 _ACEOF
36995 done
36997 else
36999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37000 $as_echo_n "checking for _finitef declaration... " >&6; }
37001 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37002 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37003 $as_echo_n "(cached) " >&6
37004 else
37007 ac_ext=cpp
37008 ac_cpp='$CXXCPP $CPPFLAGS'
37009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37014 /* end confdefs.h. */
37015 #include <math.h>
37016 #ifdef HAVE_IEEEFP_H
37017 #include <ieeefp.h>
37018 #endif
37021 main ()
37023 _finitef(0);
37025 return 0;
37027 _ACEOF
37028 if ac_fn_cxx_try_compile "$LINENO"; then :
37029 glibcxx_cv_func__finitef_use=yes
37030 else
37031 glibcxx_cv_func__finitef_use=no
37033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37034 ac_ext=c
37035 ac_cpp='$CPP $CPPFLAGS'
37036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37045 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37047 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37048 for ac_func in _finitef
37049 do :
37050 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37051 if test "x$ac_cv_func__finitef" = x""yes; then :
37052 cat >>confdefs.h <<_ACEOF
37053 #define HAVE__FINITEF 1
37054 _ACEOF
37057 done
37066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37067 $as_echo_n "checking for long double trig functions... " >&6; }
37068 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37069 $as_echo_n "(cached) " >&6
37070 else
37073 ac_ext=cpp
37074 ac_cpp='$CXXCPP $CPPFLAGS'
37075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37080 /* end confdefs.h. */
37081 #include <math.h>
37083 main ()
37085 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37087 return 0;
37089 _ACEOF
37090 if ac_fn_cxx_try_compile "$LINENO"; then :
37091 glibcxx_cv_func_long_double_trig_use=yes
37092 else
37093 glibcxx_cv_func_long_double_trig_use=no
37095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37096 ac_ext=c
37097 ac_cpp='$CPP $CPPFLAGS'
37098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37105 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37106 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37107 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37108 do :
37109 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37110 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37111 eval as_val=\$$as_ac_var
37112 if test "x$as_val" = x""yes; then :
37113 cat >>confdefs.h <<_ACEOF
37114 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37115 _ACEOF
37118 done
37120 else
37121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37122 $as_echo_n "checking for _long double trig functions... " >&6; }
37123 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37124 $as_echo_n "(cached) " >&6
37125 else
37128 ac_ext=cpp
37129 ac_cpp='$CXXCPP $CPPFLAGS'
37130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37135 /* end confdefs.h. */
37136 #include <math.h>
37138 main ()
37140 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37142 return 0;
37144 _ACEOF
37145 if ac_fn_cxx_try_compile "$LINENO"; then :
37146 glibcxx_cv_func__long_double_trig_use=yes
37147 else
37148 glibcxx_cv_func__long_double_trig_use=no
37150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37151 ac_ext=c
37152 ac_cpp='$CPP $CPPFLAGS'
37153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37160 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37161 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37162 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37163 do :
37164 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37165 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37166 eval as_val=\$$as_ac_var
37167 if test "x$as_val" = x""yes; then :
37168 cat >>confdefs.h <<_ACEOF
37169 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37170 _ACEOF
37173 done
37182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37183 $as_echo_n "checking for long double round functions... " >&6; }
37184 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37185 $as_echo_n "(cached) " >&6
37186 else
37189 ac_ext=cpp
37190 ac_cpp='$CXXCPP $CPPFLAGS'
37191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37196 /* end confdefs.h. */
37197 #include <math.h>
37199 main ()
37201 ceill (0); floorl (0);
37203 return 0;
37205 _ACEOF
37206 if ac_fn_cxx_try_compile "$LINENO"; then :
37207 glibcxx_cv_func_long_double_round_use=yes
37208 else
37209 glibcxx_cv_func_long_double_round_use=no
37211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37212 ac_ext=c
37213 ac_cpp='$CPP $CPPFLAGS'
37214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37221 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37222 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37223 for ac_func in ceill floorl
37224 do :
37225 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37226 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37227 eval as_val=\$$as_ac_var
37228 if test "x$as_val" = x""yes; then :
37229 cat >>confdefs.h <<_ACEOF
37230 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37231 _ACEOF
37234 done
37236 else
37237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37238 $as_echo_n "checking for _long double round functions... " >&6; }
37239 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37240 $as_echo_n "(cached) " >&6
37241 else
37244 ac_ext=cpp
37245 ac_cpp='$CXXCPP $CPPFLAGS'
37246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37251 /* end confdefs.h. */
37252 #include <math.h>
37254 main ()
37256 _ceill (0); _floorl (0);
37258 return 0;
37260 _ACEOF
37261 if ac_fn_cxx_try_compile "$LINENO"; then :
37262 glibcxx_cv_func__long_double_round_use=yes
37263 else
37264 glibcxx_cv_func__long_double_round_use=no
37266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37267 ac_ext=c
37268 ac_cpp='$CPP $CPPFLAGS'
37269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37276 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37277 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37278 for ac_func in _ceill _floorl
37279 do :
37280 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37281 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37282 eval as_val=\$$as_ac_var
37283 if test "x$as_val" = x""yes; then :
37284 cat >>confdefs.h <<_ACEOF
37285 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37286 _ACEOF
37289 done
37299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37300 $as_echo_n "checking for isnanl declaration... " >&6; }
37301 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37302 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37303 $as_echo_n "(cached) " >&6
37304 else
37307 ac_ext=cpp
37308 ac_cpp='$CXXCPP $CPPFLAGS'
37309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37314 /* end confdefs.h. */
37315 #include <math.h>
37316 #ifdef HAVE_IEEEFP_H
37317 #include <ieeefp.h>
37318 #endif
37321 main ()
37323 isnanl(0);
37325 return 0;
37327 _ACEOF
37328 if ac_fn_cxx_try_compile "$LINENO"; then :
37329 glibcxx_cv_func_isnanl_use=yes
37330 else
37331 glibcxx_cv_func_isnanl_use=no
37333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37334 ac_ext=c
37335 ac_cpp='$CPP $CPPFLAGS'
37336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37345 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37347 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37348 for ac_func in isnanl
37349 do :
37350 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37351 if test "x$ac_cv_func_isnanl" = x""yes; then :
37352 cat >>confdefs.h <<_ACEOF
37353 #define HAVE_ISNANL 1
37354 _ACEOF
37357 done
37359 else
37361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37362 $as_echo_n "checking for _isnanl declaration... " >&6; }
37363 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37364 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37365 $as_echo_n "(cached) " >&6
37366 else
37369 ac_ext=cpp
37370 ac_cpp='$CXXCPP $CPPFLAGS'
37371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37376 /* end confdefs.h. */
37377 #include <math.h>
37378 #ifdef HAVE_IEEEFP_H
37379 #include <ieeefp.h>
37380 #endif
37383 main ()
37385 _isnanl(0);
37387 return 0;
37389 _ACEOF
37390 if ac_fn_cxx_try_compile "$LINENO"; then :
37391 glibcxx_cv_func__isnanl_use=yes
37392 else
37393 glibcxx_cv_func__isnanl_use=no
37395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37396 ac_ext=c
37397 ac_cpp='$CPP $CPPFLAGS'
37398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37407 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37409 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37410 for ac_func in _isnanl
37411 do :
37412 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37413 if test "x$ac_cv_func__isnanl" = x""yes; then :
37414 cat >>confdefs.h <<_ACEOF
37415 #define HAVE__ISNANL 1
37416 _ACEOF
37419 done
37428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37429 $as_echo_n "checking for isinfl declaration... " >&6; }
37430 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37431 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37432 $as_echo_n "(cached) " >&6
37433 else
37436 ac_ext=cpp
37437 ac_cpp='$CXXCPP $CPPFLAGS'
37438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37443 /* end confdefs.h. */
37444 #include <math.h>
37445 #ifdef HAVE_IEEEFP_H
37446 #include <ieeefp.h>
37447 #endif
37450 main ()
37452 isinfl(0);
37454 return 0;
37456 _ACEOF
37457 if ac_fn_cxx_try_compile "$LINENO"; then :
37458 glibcxx_cv_func_isinfl_use=yes
37459 else
37460 glibcxx_cv_func_isinfl_use=no
37462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37463 ac_ext=c
37464 ac_cpp='$CPP $CPPFLAGS'
37465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37474 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37476 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37477 for ac_func in isinfl
37478 do :
37479 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37480 if test "x$ac_cv_func_isinfl" = x""yes; then :
37481 cat >>confdefs.h <<_ACEOF
37482 #define HAVE_ISINFL 1
37483 _ACEOF
37486 done
37488 else
37490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37491 $as_echo_n "checking for _isinfl declaration... " >&6; }
37492 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37493 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37494 $as_echo_n "(cached) " >&6
37495 else
37498 ac_ext=cpp
37499 ac_cpp='$CXXCPP $CPPFLAGS'
37500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37505 /* end confdefs.h. */
37506 #include <math.h>
37507 #ifdef HAVE_IEEEFP_H
37508 #include <ieeefp.h>
37509 #endif
37512 main ()
37514 _isinfl(0);
37516 return 0;
37518 _ACEOF
37519 if ac_fn_cxx_try_compile "$LINENO"; then :
37520 glibcxx_cv_func__isinfl_use=yes
37521 else
37522 glibcxx_cv_func__isinfl_use=no
37524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37525 ac_ext=c
37526 ac_cpp='$CPP $CPPFLAGS'
37527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37536 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37538 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37539 for ac_func in _isinfl
37540 do :
37541 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37542 if test "x$ac_cv_func__isinfl" = x""yes; then :
37543 cat >>confdefs.h <<_ACEOF
37544 #define HAVE__ISINFL 1
37545 _ACEOF
37548 done
37557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37558 $as_echo_n "checking for atan2l declaration... " >&6; }
37559 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37560 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37561 $as_echo_n "(cached) " >&6
37562 else
37565 ac_ext=cpp
37566 ac_cpp='$CXXCPP $CPPFLAGS'
37567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37572 /* end confdefs.h. */
37573 #include <math.h>
37575 main ()
37577 atan2l(0, 0);
37579 return 0;
37581 _ACEOF
37582 if ac_fn_cxx_try_compile "$LINENO"; then :
37583 glibcxx_cv_func_atan2l_use=yes
37584 else
37585 glibcxx_cv_func_atan2l_use=no
37587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37588 ac_ext=c
37589 ac_cpp='$CPP $CPPFLAGS'
37590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37599 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37601 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37602 for ac_func in atan2l
37603 do :
37604 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37605 if test "x$ac_cv_func_atan2l" = x""yes; then :
37606 cat >>confdefs.h <<_ACEOF
37607 #define HAVE_ATAN2L 1
37608 _ACEOF
37611 done
37613 else
37615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37616 $as_echo_n "checking for _atan2l declaration... " >&6; }
37617 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37618 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37619 $as_echo_n "(cached) " >&6
37620 else
37623 ac_ext=cpp
37624 ac_cpp='$CXXCPP $CPPFLAGS'
37625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37630 /* end confdefs.h. */
37631 #include <math.h>
37633 main ()
37635 _atan2l(0, 0);
37637 return 0;
37639 _ACEOF
37640 if ac_fn_cxx_try_compile "$LINENO"; then :
37641 glibcxx_cv_func__atan2l_use=yes
37642 else
37643 glibcxx_cv_func__atan2l_use=no
37645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37646 ac_ext=c
37647 ac_cpp='$CPP $CPPFLAGS'
37648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37657 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37659 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37660 for ac_func in _atan2l
37661 do :
37662 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37663 if test "x$ac_cv_func__atan2l" = x""yes; then :
37664 cat >>confdefs.h <<_ACEOF
37665 #define HAVE__ATAN2L 1
37666 _ACEOF
37669 done
37678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37679 $as_echo_n "checking for expl declaration... " >&6; }
37680 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37681 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37682 $as_echo_n "(cached) " >&6
37683 else
37686 ac_ext=cpp
37687 ac_cpp='$CXXCPP $CPPFLAGS'
37688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37693 /* end confdefs.h. */
37694 #include <math.h>
37695 #ifdef HAVE_IEEEFP_H
37696 #include <ieeefp.h>
37697 #endif
37700 main ()
37702 expl(0);
37704 return 0;
37706 _ACEOF
37707 if ac_fn_cxx_try_compile "$LINENO"; then :
37708 glibcxx_cv_func_expl_use=yes
37709 else
37710 glibcxx_cv_func_expl_use=no
37712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37713 ac_ext=c
37714 ac_cpp='$CPP $CPPFLAGS'
37715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37724 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37726 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37727 for ac_func in expl
37728 do :
37729 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37730 if test "x$ac_cv_func_expl" = x""yes; then :
37731 cat >>confdefs.h <<_ACEOF
37732 #define HAVE_EXPL 1
37733 _ACEOF
37736 done
37738 else
37740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37741 $as_echo_n "checking for _expl declaration... " >&6; }
37742 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37743 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37744 $as_echo_n "(cached) " >&6
37745 else
37748 ac_ext=cpp
37749 ac_cpp='$CXXCPP $CPPFLAGS'
37750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37755 /* end confdefs.h. */
37756 #include <math.h>
37757 #ifdef HAVE_IEEEFP_H
37758 #include <ieeefp.h>
37759 #endif
37762 main ()
37764 _expl(0);
37766 return 0;
37768 _ACEOF
37769 if ac_fn_cxx_try_compile "$LINENO"; then :
37770 glibcxx_cv_func__expl_use=yes
37771 else
37772 glibcxx_cv_func__expl_use=no
37774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37775 ac_ext=c
37776 ac_cpp='$CPP $CPPFLAGS'
37777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37786 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37788 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37789 for ac_func in _expl
37790 do :
37791 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37792 if test "x$ac_cv_func__expl" = x""yes; then :
37793 cat >>confdefs.h <<_ACEOF
37794 #define HAVE__EXPL 1
37795 _ACEOF
37798 done
37807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37808 $as_echo_n "checking for fabsl declaration... " >&6; }
37809 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37810 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37811 $as_echo_n "(cached) " >&6
37812 else
37815 ac_ext=cpp
37816 ac_cpp='$CXXCPP $CPPFLAGS'
37817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37822 /* end confdefs.h. */
37823 #include <math.h>
37824 #ifdef HAVE_IEEEFP_H
37825 #include <ieeefp.h>
37826 #endif
37829 main ()
37831 fabsl(0);
37833 return 0;
37835 _ACEOF
37836 if ac_fn_cxx_try_compile "$LINENO"; then :
37837 glibcxx_cv_func_fabsl_use=yes
37838 else
37839 glibcxx_cv_func_fabsl_use=no
37841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37842 ac_ext=c
37843 ac_cpp='$CPP $CPPFLAGS'
37844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37853 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37855 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37856 for ac_func in fabsl
37857 do :
37858 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37859 if test "x$ac_cv_func_fabsl" = x""yes; then :
37860 cat >>confdefs.h <<_ACEOF
37861 #define HAVE_FABSL 1
37862 _ACEOF
37865 done
37867 else
37869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37870 $as_echo_n "checking for _fabsl declaration... " >&6; }
37871 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37872 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37873 $as_echo_n "(cached) " >&6
37874 else
37877 ac_ext=cpp
37878 ac_cpp='$CXXCPP $CPPFLAGS'
37879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37884 /* end confdefs.h. */
37885 #include <math.h>
37886 #ifdef HAVE_IEEEFP_H
37887 #include <ieeefp.h>
37888 #endif
37891 main ()
37893 _fabsl(0);
37895 return 0;
37897 _ACEOF
37898 if ac_fn_cxx_try_compile "$LINENO"; then :
37899 glibcxx_cv_func__fabsl_use=yes
37900 else
37901 glibcxx_cv_func__fabsl_use=no
37903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37904 ac_ext=c
37905 ac_cpp='$CPP $CPPFLAGS'
37906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37915 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37917 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37918 for ac_func in _fabsl
37919 do :
37920 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37921 if test "x$ac_cv_func__fabsl" = x""yes; then :
37922 cat >>confdefs.h <<_ACEOF
37923 #define HAVE__FABSL 1
37924 _ACEOF
37927 done
37936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37937 $as_echo_n "checking for fmodl declaration... " >&6; }
37938 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37939 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37940 $as_echo_n "(cached) " >&6
37941 else
37944 ac_ext=cpp
37945 ac_cpp='$CXXCPP $CPPFLAGS'
37946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37951 /* end confdefs.h. */
37952 #include <math.h>
37954 main ()
37956 fmodl(0, 0);
37958 return 0;
37960 _ACEOF
37961 if ac_fn_cxx_try_compile "$LINENO"; then :
37962 glibcxx_cv_func_fmodl_use=yes
37963 else
37964 glibcxx_cv_func_fmodl_use=no
37966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37967 ac_ext=c
37968 ac_cpp='$CPP $CPPFLAGS'
37969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37978 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37980 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37981 for ac_func in fmodl
37982 do :
37983 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37984 if test "x$ac_cv_func_fmodl" = x""yes; then :
37985 cat >>confdefs.h <<_ACEOF
37986 #define HAVE_FMODL 1
37987 _ACEOF
37990 done
37992 else
37994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37995 $as_echo_n "checking for _fmodl declaration... " >&6; }
37996 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37997 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37998 $as_echo_n "(cached) " >&6
37999 else
38002 ac_ext=cpp
38003 ac_cpp='$CXXCPP $CPPFLAGS'
38004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38009 /* end confdefs.h. */
38010 #include <math.h>
38012 main ()
38014 _fmodl(0, 0);
38016 return 0;
38018 _ACEOF
38019 if ac_fn_cxx_try_compile "$LINENO"; then :
38020 glibcxx_cv_func__fmodl_use=yes
38021 else
38022 glibcxx_cv_func__fmodl_use=no
38024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38025 ac_ext=c
38026 ac_cpp='$CPP $CPPFLAGS'
38027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38036 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38038 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38039 for ac_func in _fmodl
38040 do :
38041 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38042 if test "x$ac_cv_func__fmodl" = x""yes; then :
38043 cat >>confdefs.h <<_ACEOF
38044 #define HAVE__FMODL 1
38045 _ACEOF
38048 done
38057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38058 $as_echo_n "checking for frexpl declaration... " >&6; }
38059 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38060 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38061 $as_echo_n "(cached) " >&6
38062 else
38065 ac_ext=cpp
38066 ac_cpp='$CXXCPP $CPPFLAGS'
38067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38072 /* end confdefs.h. */
38073 #include <math.h>
38075 main ()
38077 frexpl(0, 0);
38079 return 0;
38081 _ACEOF
38082 if ac_fn_cxx_try_compile "$LINENO"; then :
38083 glibcxx_cv_func_frexpl_use=yes
38084 else
38085 glibcxx_cv_func_frexpl_use=no
38087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38088 ac_ext=c
38089 ac_cpp='$CPP $CPPFLAGS'
38090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38099 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38101 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38102 for ac_func in frexpl
38103 do :
38104 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38105 if test "x$ac_cv_func_frexpl" = x""yes; then :
38106 cat >>confdefs.h <<_ACEOF
38107 #define HAVE_FREXPL 1
38108 _ACEOF
38111 done
38113 else
38115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38116 $as_echo_n "checking for _frexpl declaration... " >&6; }
38117 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38118 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38119 $as_echo_n "(cached) " >&6
38120 else
38123 ac_ext=cpp
38124 ac_cpp='$CXXCPP $CPPFLAGS'
38125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38130 /* end confdefs.h. */
38131 #include <math.h>
38133 main ()
38135 _frexpl(0, 0);
38137 return 0;
38139 _ACEOF
38140 if ac_fn_cxx_try_compile "$LINENO"; then :
38141 glibcxx_cv_func__frexpl_use=yes
38142 else
38143 glibcxx_cv_func__frexpl_use=no
38145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38146 ac_ext=c
38147 ac_cpp='$CPP $CPPFLAGS'
38148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38157 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38159 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38160 for ac_func in _frexpl
38161 do :
38162 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38163 if test "x$ac_cv_func__frexpl" = x""yes; then :
38164 cat >>confdefs.h <<_ACEOF
38165 #define HAVE__FREXPL 1
38166 _ACEOF
38169 done
38178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38179 $as_echo_n "checking for hypotl declaration... " >&6; }
38180 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38181 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38182 $as_echo_n "(cached) " >&6
38183 else
38186 ac_ext=cpp
38187 ac_cpp='$CXXCPP $CPPFLAGS'
38188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38193 /* end confdefs.h. */
38194 #include <math.h>
38196 main ()
38198 hypotl(0, 0);
38200 return 0;
38202 _ACEOF
38203 if ac_fn_cxx_try_compile "$LINENO"; then :
38204 glibcxx_cv_func_hypotl_use=yes
38205 else
38206 glibcxx_cv_func_hypotl_use=no
38208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38209 ac_ext=c
38210 ac_cpp='$CPP $CPPFLAGS'
38211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38220 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38222 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38223 for ac_func in hypotl
38224 do :
38225 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38226 if test "x$ac_cv_func_hypotl" = x""yes; then :
38227 cat >>confdefs.h <<_ACEOF
38228 #define HAVE_HYPOTL 1
38229 _ACEOF
38232 done
38234 else
38236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38237 $as_echo_n "checking for _hypotl declaration... " >&6; }
38238 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38239 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38240 $as_echo_n "(cached) " >&6
38241 else
38244 ac_ext=cpp
38245 ac_cpp='$CXXCPP $CPPFLAGS'
38246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38251 /* end confdefs.h. */
38252 #include <math.h>
38254 main ()
38256 _hypotl(0, 0);
38258 return 0;
38260 _ACEOF
38261 if ac_fn_cxx_try_compile "$LINENO"; then :
38262 glibcxx_cv_func__hypotl_use=yes
38263 else
38264 glibcxx_cv_func__hypotl_use=no
38266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38267 ac_ext=c
38268 ac_cpp='$CPP $CPPFLAGS'
38269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38278 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38280 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38281 for ac_func in _hypotl
38282 do :
38283 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38284 if test "x$ac_cv_func__hypotl" = x""yes; then :
38285 cat >>confdefs.h <<_ACEOF
38286 #define HAVE__HYPOTL 1
38287 _ACEOF
38290 done
38299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38300 $as_echo_n "checking for ldexpl declaration... " >&6; }
38301 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38302 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38303 $as_echo_n "(cached) " >&6
38304 else
38307 ac_ext=cpp
38308 ac_cpp='$CXXCPP $CPPFLAGS'
38309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38314 /* end confdefs.h. */
38315 #include <math.h>
38317 main ()
38319 ldexpl(0, 0);
38321 return 0;
38323 _ACEOF
38324 if ac_fn_cxx_try_compile "$LINENO"; then :
38325 glibcxx_cv_func_ldexpl_use=yes
38326 else
38327 glibcxx_cv_func_ldexpl_use=no
38329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38330 ac_ext=c
38331 ac_cpp='$CPP $CPPFLAGS'
38332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38341 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38343 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38344 for ac_func in ldexpl
38345 do :
38346 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38347 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38348 cat >>confdefs.h <<_ACEOF
38349 #define HAVE_LDEXPL 1
38350 _ACEOF
38353 done
38355 else
38357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38358 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38359 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38360 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38361 $as_echo_n "(cached) " >&6
38362 else
38365 ac_ext=cpp
38366 ac_cpp='$CXXCPP $CPPFLAGS'
38367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38372 /* end confdefs.h. */
38373 #include <math.h>
38375 main ()
38377 _ldexpl(0, 0);
38379 return 0;
38381 _ACEOF
38382 if ac_fn_cxx_try_compile "$LINENO"; then :
38383 glibcxx_cv_func__ldexpl_use=yes
38384 else
38385 glibcxx_cv_func__ldexpl_use=no
38387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38388 ac_ext=c
38389 ac_cpp='$CPP $CPPFLAGS'
38390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38399 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38401 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38402 for ac_func in _ldexpl
38403 do :
38404 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38405 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38406 cat >>confdefs.h <<_ACEOF
38407 #define HAVE__LDEXPL 1
38408 _ACEOF
38411 done
38420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38421 $as_echo_n "checking for logl declaration... " >&6; }
38422 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38423 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38424 $as_echo_n "(cached) " >&6
38425 else
38428 ac_ext=cpp
38429 ac_cpp='$CXXCPP $CPPFLAGS'
38430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38435 /* end confdefs.h. */
38436 #include <math.h>
38437 #ifdef HAVE_IEEEFP_H
38438 #include <ieeefp.h>
38439 #endif
38442 main ()
38444 logl(0);
38446 return 0;
38448 _ACEOF
38449 if ac_fn_cxx_try_compile "$LINENO"; then :
38450 glibcxx_cv_func_logl_use=yes
38451 else
38452 glibcxx_cv_func_logl_use=no
38454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38455 ac_ext=c
38456 ac_cpp='$CPP $CPPFLAGS'
38457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38466 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38468 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38469 for ac_func in logl
38470 do :
38471 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38472 if test "x$ac_cv_func_logl" = x""yes; then :
38473 cat >>confdefs.h <<_ACEOF
38474 #define HAVE_LOGL 1
38475 _ACEOF
38478 done
38480 else
38482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38483 $as_echo_n "checking for _logl declaration... " >&6; }
38484 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38485 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38486 $as_echo_n "(cached) " >&6
38487 else
38490 ac_ext=cpp
38491 ac_cpp='$CXXCPP $CPPFLAGS'
38492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38497 /* end confdefs.h. */
38498 #include <math.h>
38499 #ifdef HAVE_IEEEFP_H
38500 #include <ieeefp.h>
38501 #endif
38504 main ()
38506 _logl(0);
38508 return 0;
38510 _ACEOF
38511 if ac_fn_cxx_try_compile "$LINENO"; then :
38512 glibcxx_cv_func__logl_use=yes
38513 else
38514 glibcxx_cv_func__logl_use=no
38516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38517 ac_ext=c
38518 ac_cpp='$CPP $CPPFLAGS'
38519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38528 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38530 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38531 for ac_func in _logl
38532 do :
38533 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38534 if test "x$ac_cv_func__logl" = x""yes; then :
38535 cat >>confdefs.h <<_ACEOF
38536 #define HAVE__LOGL 1
38537 _ACEOF
38540 done
38549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38550 $as_echo_n "checking for log10l declaration... " >&6; }
38551 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38552 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38553 $as_echo_n "(cached) " >&6
38554 else
38557 ac_ext=cpp
38558 ac_cpp='$CXXCPP $CPPFLAGS'
38559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38564 /* end confdefs.h. */
38565 #include <math.h>
38566 #ifdef HAVE_IEEEFP_H
38567 #include <ieeefp.h>
38568 #endif
38571 main ()
38573 log10l(0);
38575 return 0;
38577 _ACEOF
38578 if ac_fn_cxx_try_compile "$LINENO"; then :
38579 glibcxx_cv_func_log10l_use=yes
38580 else
38581 glibcxx_cv_func_log10l_use=no
38583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38584 ac_ext=c
38585 ac_cpp='$CPP $CPPFLAGS'
38586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38595 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38597 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38598 for ac_func in log10l
38599 do :
38600 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38601 if test "x$ac_cv_func_log10l" = x""yes; then :
38602 cat >>confdefs.h <<_ACEOF
38603 #define HAVE_LOG10L 1
38604 _ACEOF
38607 done
38609 else
38611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38612 $as_echo_n "checking for _log10l declaration... " >&6; }
38613 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38614 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38615 $as_echo_n "(cached) " >&6
38616 else
38619 ac_ext=cpp
38620 ac_cpp='$CXXCPP $CPPFLAGS'
38621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38626 /* end confdefs.h. */
38627 #include <math.h>
38628 #ifdef HAVE_IEEEFP_H
38629 #include <ieeefp.h>
38630 #endif
38633 main ()
38635 _log10l(0);
38637 return 0;
38639 _ACEOF
38640 if ac_fn_cxx_try_compile "$LINENO"; then :
38641 glibcxx_cv_func__log10l_use=yes
38642 else
38643 glibcxx_cv_func__log10l_use=no
38645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38646 ac_ext=c
38647 ac_cpp='$CPP $CPPFLAGS'
38648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38657 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38659 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38660 for ac_func in _log10l
38661 do :
38662 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38663 if test "x$ac_cv_func__log10l" = x""yes; then :
38664 cat >>confdefs.h <<_ACEOF
38665 #define HAVE__LOG10L 1
38666 _ACEOF
38669 done
38678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38679 $as_echo_n "checking for modfl declaration... " >&6; }
38680 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38681 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38682 $as_echo_n "(cached) " >&6
38683 else
38686 ac_ext=cpp
38687 ac_cpp='$CXXCPP $CPPFLAGS'
38688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38693 /* end confdefs.h. */
38694 #include <math.h>
38696 main ()
38698 modfl(0, 0);
38700 return 0;
38702 _ACEOF
38703 if ac_fn_cxx_try_compile "$LINENO"; then :
38704 glibcxx_cv_func_modfl_use=yes
38705 else
38706 glibcxx_cv_func_modfl_use=no
38708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38709 ac_ext=c
38710 ac_cpp='$CPP $CPPFLAGS'
38711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38720 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38722 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38723 for ac_func in modfl
38724 do :
38725 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38726 if test "x$ac_cv_func_modfl" = x""yes; then :
38727 cat >>confdefs.h <<_ACEOF
38728 #define HAVE_MODFL 1
38729 _ACEOF
38732 done
38734 else
38736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38737 $as_echo_n "checking for _modfl declaration... " >&6; }
38738 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38739 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38740 $as_echo_n "(cached) " >&6
38741 else
38744 ac_ext=cpp
38745 ac_cpp='$CXXCPP $CPPFLAGS'
38746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38751 /* end confdefs.h. */
38752 #include <math.h>
38754 main ()
38756 _modfl(0, 0);
38758 return 0;
38760 _ACEOF
38761 if ac_fn_cxx_try_compile "$LINENO"; then :
38762 glibcxx_cv_func__modfl_use=yes
38763 else
38764 glibcxx_cv_func__modfl_use=no
38766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38767 ac_ext=c
38768 ac_cpp='$CPP $CPPFLAGS'
38769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38778 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38780 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38781 for ac_func in _modfl
38782 do :
38783 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38784 if test "x$ac_cv_func__modfl" = x""yes; then :
38785 cat >>confdefs.h <<_ACEOF
38786 #define HAVE__MODFL 1
38787 _ACEOF
38790 done
38799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38800 $as_echo_n "checking for powl declaration... " >&6; }
38801 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38802 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38803 $as_echo_n "(cached) " >&6
38804 else
38807 ac_ext=cpp
38808 ac_cpp='$CXXCPP $CPPFLAGS'
38809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38814 /* end confdefs.h. */
38815 #include <math.h>
38817 main ()
38819 powl(0, 0);
38821 return 0;
38823 _ACEOF
38824 if ac_fn_cxx_try_compile "$LINENO"; then :
38825 glibcxx_cv_func_powl_use=yes
38826 else
38827 glibcxx_cv_func_powl_use=no
38829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38830 ac_ext=c
38831 ac_cpp='$CPP $CPPFLAGS'
38832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38841 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38843 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38844 for ac_func in powl
38845 do :
38846 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38847 if test "x$ac_cv_func_powl" = x""yes; then :
38848 cat >>confdefs.h <<_ACEOF
38849 #define HAVE_POWL 1
38850 _ACEOF
38853 done
38855 else
38857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38858 $as_echo_n "checking for _powl declaration... " >&6; }
38859 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38860 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38861 $as_echo_n "(cached) " >&6
38862 else
38865 ac_ext=cpp
38866 ac_cpp='$CXXCPP $CPPFLAGS'
38867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38872 /* end confdefs.h. */
38873 #include <math.h>
38875 main ()
38877 _powl(0, 0);
38879 return 0;
38881 _ACEOF
38882 if ac_fn_cxx_try_compile "$LINENO"; then :
38883 glibcxx_cv_func__powl_use=yes
38884 else
38885 glibcxx_cv_func__powl_use=no
38887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38888 ac_ext=c
38889 ac_cpp='$CPP $CPPFLAGS'
38890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38899 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38901 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38902 for ac_func in _powl
38903 do :
38904 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38905 if test "x$ac_cv_func__powl" = x""yes; then :
38906 cat >>confdefs.h <<_ACEOF
38907 #define HAVE__POWL 1
38908 _ACEOF
38911 done
38920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38921 $as_echo_n "checking for sqrtl declaration... " >&6; }
38922 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38923 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38924 $as_echo_n "(cached) " >&6
38925 else
38928 ac_ext=cpp
38929 ac_cpp='$CXXCPP $CPPFLAGS'
38930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38935 /* end confdefs.h. */
38936 #include <math.h>
38937 #ifdef HAVE_IEEEFP_H
38938 #include <ieeefp.h>
38939 #endif
38942 main ()
38944 sqrtl(0);
38946 return 0;
38948 _ACEOF
38949 if ac_fn_cxx_try_compile "$LINENO"; then :
38950 glibcxx_cv_func_sqrtl_use=yes
38951 else
38952 glibcxx_cv_func_sqrtl_use=no
38954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38955 ac_ext=c
38956 ac_cpp='$CPP $CPPFLAGS'
38957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38966 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38968 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38969 for ac_func in sqrtl
38970 do :
38971 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38972 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38973 cat >>confdefs.h <<_ACEOF
38974 #define HAVE_SQRTL 1
38975 _ACEOF
38978 done
38980 else
38982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38983 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38984 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38985 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38986 $as_echo_n "(cached) " >&6
38987 else
38990 ac_ext=cpp
38991 ac_cpp='$CXXCPP $CPPFLAGS'
38992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38997 /* end confdefs.h. */
38998 #include <math.h>
38999 #ifdef HAVE_IEEEFP_H
39000 #include <ieeefp.h>
39001 #endif
39004 main ()
39006 _sqrtl(0);
39008 return 0;
39010 _ACEOF
39011 if ac_fn_cxx_try_compile "$LINENO"; then :
39012 glibcxx_cv_func__sqrtl_use=yes
39013 else
39014 glibcxx_cv_func__sqrtl_use=no
39016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39017 ac_ext=c
39018 ac_cpp='$CPP $CPPFLAGS'
39019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39028 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39030 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39031 for ac_func in _sqrtl
39032 do :
39033 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39034 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39035 cat >>confdefs.h <<_ACEOF
39036 #define HAVE__SQRTL 1
39037 _ACEOF
39040 done
39049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39050 $as_echo_n "checking for sincosl declaration... " >&6; }
39051 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39052 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39053 $as_echo_n "(cached) " >&6
39054 else
39057 ac_ext=cpp
39058 ac_cpp='$CXXCPP $CPPFLAGS'
39059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39064 /* end confdefs.h. */
39065 #include <math.h>
39067 main ()
39069 sincosl(0, 0, 0);
39071 return 0;
39073 _ACEOF
39074 if ac_fn_cxx_try_compile "$LINENO"; then :
39075 glibcxx_cv_func_sincosl_use=yes
39076 else
39077 glibcxx_cv_func_sincosl_use=no
39079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39080 ac_ext=c
39081 ac_cpp='$CPP $CPPFLAGS'
39082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39091 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39093 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39094 for ac_func in sincosl
39095 do :
39096 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39097 if test "x$ac_cv_func_sincosl" = x""yes; then :
39098 cat >>confdefs.h <<_ACEOF
39099 #define HAVE_SINCOSL 1
39100 _ACEOF
39103 done
39105 else
39107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39108 $as_echo_n "checking for _sincosl declaration... " >&6; }
39109 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39110 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39111 $as_echo_n "(cached) " >&6
39112 else
39115 ac_ext=cpp
39116 ac_cpp='$CXXCPP $CPPFLAGS'
39117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39122 /* end confdefs.h. */
39123 #include <math.h>
39125 main ()
39127 _sincosl(0, 0, 0);
39129 return 0;
39131 _ACEOF
39132 if ac_fn_cxx_try_compile "$LINENO"; then :
39133 glibcxx_cv_func__sincosl_use=yes
39134 else
39135 glibcxx_cv_func__sincosl_use=no
39137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39138 ac_ext=c
39139 ac_cpp='$CPP $CPPFLAGS'
39140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39149 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39151 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39152 for ac_func in _sincosl
39153 do :
39154 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39155 if test "x$ac_cv_func__sincosl" = x""yes; then :
39156 cat >>confdefs.h <<_ACEOF
39157 #define HAVE__SINCOSL 1
39158 _ACEOF
39161 done
39170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39171 $as_echo_n "checking for finitel declaration... " >&6; }
39172 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39173 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39174 $as_echo_n "(cached) " >&6
39175 else
39178 ac_ext=cpp
39179 ac_cpp='$CXXCPP $CPPFLAGS'
39180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39185 /* end confdefs.h. */
39186 #include <math.h>
39187 #ifdef HAVE_IEEEFP_H
39188 #include <ieeefp.h>
39189 #endif
39192 main ()
39194 finitel(0);
39196 return 0;
39198 _ACEOF
39199 if ac_fn_cxx_try_compile "$LINENO"; then :
39200 glibcxx_cv_func_finitel_use=yes
39201 else
39202 glibcxx_cv_func_finitel_use=no
39204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39205 ac_ext=c
39206 ac_cpp='$CPP $CPPFLAGS'
39207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39216 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39218 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39219 for ac_func in finitel
39220 do :
39221 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39222 if test "x$ac_cv_func_finitel" = x""yes; then :
39223 cat >>confdefs.h <<_ACEOF
39224 #define HAVE_FINITEL 1
39225 _ACEOF
39228 done
39230 else
39232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39233 $as_echo_n "checking for _finitel declaration... " >&6; }
39234 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39235 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39236 $as_echo_n "(cached) " >&6
39237 else
39240 ac_ext=cpp
39241 ac_cpp='$CXXCPP $CPPFLAGS'
39242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39247 /* end confdefs.h. */
39248 #include <math.h>
39249 #ifdef HAVE_IEEEFP_H
39250 #include <ieeefp.h>
39251 #endif
39254 main ()
39256 _finitel(0);
39258 return 0;
39260 _ACEOF
39261 if ac_fn_cxx_try_compile "$LINENO"; then :
39262 glibcxx_cv_func__finitel_use=yes
39263 else
39264 glibcxx_cv_func__finitel_use=no
39266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39267 ac_ext=c
39268 ac_cpp='$CPP $CPPFLAGS'
39269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39278 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39280 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39281 for ac_func in _finitel
39282 do :
39283 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39284 if test "x$ac_cv_func__finitel" = x""yes; then :
39285 cat >>confdefs.h <<_ACEOF
39286 #define HAVE__FINITEL 1
39287 _ACEOF
39290 done
39298 LIBS="$ac_save_LIBS"
39299 CXXFLAGS="$ac_save_CXXFLAGS"
39302 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39303 ac_save_CXXFLAGS="$CXXFLAGS"
39304 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39308 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39309 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39310 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39311 $as_echo_n "(cached) " >&6
39312 else
39315 ac_ext=cpp
39316 ac_cpp='$CXXCPP $CPPFLAGS'
39317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39322 /* end confdefs.h. */
39323 #include <stdlib.h>
39325 main ()
39327 at_quick_exit(0);
39329 return 0;
39331 _ACEOF
39332 if ac_fn_cxx_try_compile "$LINENO"; then :
39333 glibcxx_cv_func_at_quick_exit_use=yes
39334 else
39335 glibcxx_cv_func_at_quick_exit_use=no
39337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39338 ac_ext=c
39339 ac_cpp='$CPP $CPPFLAGS'
39340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39349 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39350 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39351 for ac_func in at_quick_exit
39352 do :
39353 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39354 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39355 cat >>confdefs.h <<_ACEOF
39356 #define HAVE_AT_QUICK_EXIT 1
39357 _ACEOF
39360 done
39365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39366 $as_echo_n "checking for quick_exit declaration... " >&6; }
39367 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39368 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39369 $as_echo_n "(cached) " >&6
39370 else
39373 ac_ext=cpp
39374 ac_cpp='$CXXCPP $CPPFLAGS'
39375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39380 /* end confdefs.h. */
39381 #include <stdlib.h>
39383 main ()
39385 quick_exit(0);
39387 return 0;
39389 _ACEOF
39390 if ac_fn_cxx_try_compile "$LINENO"; then :
39391 glibcxx_cv_func_quick_exit_use=yes
39392 else
39393 glibcxx_cv_func_quick_exit_use=no
39395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39396 ac_ext=c
39397 ac_cpp='$CPP $CPPFLAGS'
39398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39407 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39408 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39409 for ac_func in quick_exit
39410 do :
39411 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39412 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39413 cat >>confdefs.h <<_ACEOF
39414 #define HAVE_QUICK_EXIT 1
39415 _ACEOF
39418 done
39423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39424 $as_echo_n "checking for strtold declaration... " >&6; }
39425 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39426 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39427 $as_echo_n "(cached) " >&6
39428 else
39431 ac_ext=cpp
39432 ac_cpp='$CXXCPP $CPPFLAGS'
39433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39438 /* end confdefs.h. */
39439 #include <stdlib.h>
39441 main ()
39443 strtold(0, 0);
39445 return 0;
39447 _ACEOF
39448 if ac_fn_cxx_try_compile "$LINENO"; then :
39449 glibcxx_cv_func_strtold_use=yes
39450 else
39451 glibcxx_cv_func_strtold_use=no
39453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39454 ac_ext=c
39455 ac_cpp='$CPP $CPPFLAGS'
39456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39465 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39466 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39467 for ac_func in strtold
39468 do :
39469 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39470 if test "x$ac_cv_func_strtold" = x""yes; then :
39471 cat >>confdefs.h <<_ACEOF
39472 #define HAVE_STRTOLD 1
39473 _ACEOF
39476 done
39483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39484 $as_echo_n "checking for strtof declaration... " >&6; }
39485 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39486 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39487 $as_echo_n "(cached) " >&6
39488 else
39491 ac_ext=cpp
39492 ac_cpp='$CXXCPP $CPPFLAGS'
39493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39498 /* end confdefs.h. */
39499 #include <stdlib.h>
39501 main ()
39503 strtof(0, 0);
39505 return 0;
39507 _ACEOF
39508 if ac_fn_cxx_try_compile "$LINENO"; then :
39509 glibcxx_cv_func_strtof_use=yes
39510 else
39511 glibcxx_cv_func_strtof_use=no
39513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39514 ac_ext=c
39515 ac_cpp='$CPP $CPPFLAGS'
39516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39525 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39526 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39527 for ac_func in strtof
39528 do :
39529 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39530 if test "x$ac_cv_func_strtof" = x""yes; then :
39531 cat >>confdefs.h <<_ACEOF
39532 #define HAVE_STRTOF 1
39533 _ACEOF
39536 done
39543 CXXFLAGS="$ac_save_CXXFLAGS"
39545 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
39547 # We don't yet support AIX's TLS ABI.
39548 #GCC_CHECK_TLS
39554 am_save_CPPFLAGS="$CPPFLAGS"
39556 for element in $INCICONV; do
39557 haveit=
39558 for x in $CPPFLAGS; do
39560 acl_save_prefix="$prefix"
39561 prefix="$acl_final_prefix"
39562 acl_save_exec_prefix="$exec_prefix"
39563 exec_prefix="$acl_final_exec_prefix"
39564 eval x=\"$x\"
39565 exec_prefix="$acl_save_exec_prefix"
39566 prefix="$acl_save_prefix"
39568 if test "X$x" = "X$element"; then
39569 haveit=yes
39570 break
39572 done
39573 if test -z "$haveit"; then
39574 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39576 done
39579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39580 $as_echo_n "checking for iconv... " >&6; }
39581 if test "${am_cv_func_iconv+set}" = set; then :
39582 $as_echo_n "(cached) " >&6
39583 else
39585 am_cv_func_iconv="no, consider installing GNU libiconv"
39586 am_cv_lib_iconv=no
39587 if test x$gcc_no_link = xyes; then
39588 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39591 /* end confdefs.h. */
39592 #include <stdlib.h>
39593 #include <iconv.h>
39595 main ()
39597 iconv_t cd = iconv_open("","");
39598 iconv(cd,NULL,NULL,NULL,NULL);
39599 iconv_close(cd);
39601 return 0;
39603 _ACEOF
39604 if ac_fn_c_try_link "$LINENO"; then :
39605 am_cv_func_iconv=yes
39607 rm -f core conftest.err conftest.$ac_objext \
39608 conftest$ac_exeext conftest.$ac_ext
39609 if test "$am_cv_func_iconv" != yes; then
39610 am_save_LIBS="$LIBS"
39611 LIBS="$LIBS $LIBICONV"
39612 if test x$gcc_no_link = xyes; then
39613 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39616 /* end confdefs.h. */
39617 #include <stdlib.h>
39618 #include <iconv.h>
39620 main ()
39622 iconv_t cd = iconv_open("","");
39623 iconv(cd,NULL,NULL,NULL,NULL);
39624 iconv_close(cd);
39626 return 0;
39628 _ACEOF
39629 if ac_fn_c_try_link "$LINENO"; then :
39630 am_cv_lib_iconv=yes
39631 am_cv_func_iconv=yes
39633 rm -f core conftest.err conftest.$ac_objext \
39634 conftest$ac_exeext conftest.$ac_ext
39635 LIBS="$am_save_LIBS"
39639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39640 $as_echo "$am_cv_func_iconv" >&6; }
39641 if test "$am_cv_func_iconv" = yes; then
39643 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39646 if test "$am_cv_lib_iconv" = yes; then
39647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39648 $as_echo_n "checking how to link with libiconv... " >&6; }
39649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39650 $as_echo "$LIBICONV" >&6; }
39651 else
39652 CPPFLAGS="$am_save_CPPFLAGS"
39653 LIBICONV=
39654 LTLIBICONV=
39659 if test "$am_cv_func_iconv" = yes; then
39660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39661 $as_echo_n "checking for iconv declaration... " >&6; }
39662 if test "${am_cv_proto_iconv+set}" = set; then :
39663 $as_echo_n "(cached) " >&6
39664 else
39666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39667 /* end confdefs.h. */
39669 #include <stdlib.h>
39670 #include <iconv.h>
39671 extern
39672 #ifdef __cplusplus
39674 #endif
39675 #if defined(__STDC__) || defined(__cplusplus)
39676 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39677 #else
39678 size_t iconv();
39679 #endif
39682 main ()
39686 return 0;
39688 _ACEOF
39689 if ac_fn_c_try_compile "$LINENO"; then :
39690 am_cv_proto_iconv_arg1=""
39691 else
39692 am_cv_proto_iconv_arg1="const"
39694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39695 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);"
39698 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39700 }$am_cv_proto_iconv" >&5
39701 $as_echo "${ac_t:-
39702 }$am_cv_proto_iconv" >&6; }
39704 cat >>confdefs.h <<_ACEOF
39705 #define ICONV_CONST $am_cv_proto_iconv_arg1
39706 _ACEOF
39712 *-darwin*)
39713 # Darwin versions vary, but the linker should work in a cross environment,
39714 # so we just check for all the features here.
39715 # Check for available headers.
39717 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39719 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39720 ac_save_CXXFLAGS="$CXXFLAGS"
39721 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39724 $as_echo_n "checking for sin in -lm... " >&6; }
39725 if test "${ac_cv_lib_m_sin+set}" = set; then :
39726 $as_echo_n "(cached) " >&6
39727 else
39728 ac_check_lib_save_LIBS=$LIBS
39729 LIBS="-lm $LIBS"
39730 if test x$gcc_no_link = xyes; then
39731 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39734 /* end confdefs.h. */
39736 /* Override any GCC internal prototype to avoid an error.
39737 Use char because int might match the return type of a GCC
39738 builtin and then its argument prototype would still apply. */
39739 #ifdef __cplusplus
39740 extern "C"
39741 #endif
39742 char sin ();
39744 main ()
39746 return sin ();
39748 return 0;
39750 _ACEOF
39751 if ac_fn_c_try_link "$LINENO"; then :
39752 ac_cv_lib_m_sin=yes
39753 else
39754 ac_cv_lib_m_sin=no
39756 rm -f core conftest.err conftest.$ac_objext \
39757 conftest$ac_exeext conftest.$ac_ext
39758 LIBS=$ac_check_lib_save_LIBS
39760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39761 $as_echo "$ac_cv_lib_m_sin" >&6; }
39762 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39763 libm="-lm"
39766 ac_save_LIBS="$LIBS"
39767 LIBS="$LIBS $libm"
39771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39772 $as_echo_n "checking for isinf declaration... " >&6; }
39773 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39774 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39775 $as_echo_n "(cached) " >&6
39776 else
39779 ac_ext=cpp
39780 ac_cpp='$CXXCPP $CPPFLAGS'
39781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39786 /* end confdefs.h. */
39787 #include <math.h>
39788 #ifdef HAVE_IEEEFP_H
39789 #include <ieeefp.h>
39790 #endif
39793 main ()
39795 isinf(0);
39797 return 0;
39799 _ACEOF
39800 if ac_fn_cxx_try_compile "$LINENO"; then :
39801 glibcxx_cv_func_isinf_use=yes
39802 else
39803 glibcxx_cv_func_isinf_use=no
39805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39806 ac_ext=c
39807 ac_cpp='$CPP $CPPFLAGS'
39808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39817 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39819 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39820 for ac_func in isinf
39821 do :
39822 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39823 if test "x$ac_cv_func_isinf" = x""yes; then :
39824 cat >>confdefs.h <<_ACEOF
39825 #define HAVE_ISINF 1
39826 _ACEOF
39829 done
39831 else
39833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39834 $as_echo_n "checking for _isinf declaration... " >&6; }
39835 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39836 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39837 $as_echo_n "(cached) " >&6
39838 else
39841 ac_ext=cpp
39842 ac_cpp='$CXXCPP $CPPFLAGS'
39843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39848 /* end confdefs.h. */
39849 #include <math.h>
39850 #ifdef HAVE_IEEEFP_H
39851 #include <ieeefp.h>
39852 #endif
39855 main ()
39857 _isinf(0);
39859 return 0;
39861 _ACEOF
39862 if ac_fn_cxx_try_compile "$LINENO"; then :
39863 glibcxx_cv_func__isinf_use=yes
39864 else
39865 glibcxx_cv_func__isinf_use=no
39867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39868 ac_ext=c
39869 ac_cpp='$CPP $CPPFLAGS'
39870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39879 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39881 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39882 for ac_func in _isinf
39883 do :
39884 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39885 if test "x$ac_cv_func__isinf" = x""yes; then :
39886 cat >>confdefs.h <<_ACEOF
39887 #define HAVE__ISINF 1
39888 _ACEOF
39891 done
39900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39901 $as_echo_n "checking for isnan declaration... " >&6; }
39902 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39903 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39904 $as_echo_n "(cached) " >&6
39905 else
39908 ac_ext=cpp
39909 ac_cpp='$CXXCPP $CPPFLAGS'
39910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39915 /* end confdefs.h. */
39916 #include <math.h>
39917 #ifdef HAVE_IEEEFP_H
39918 #include <ieeefp.h>
39919 #endif
39922 main ()
39924 isnan(0);
39926 return 0;
39928 _ACEOF
39929 if ac_fn_cxx_try_compile "$LINENO"; then :
39930 glibcxx_cv_func_isnan_use=yes
39931 else
39932 glibcxx_cv_func_isnan_use=no
39934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39935 ac_ext=c
39936 ac_cpp='$CPP $CPPFLAGS'
39937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39946 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39948 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39949 for ac_func in isnan
39950 do :
39951 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39952 if test "x$ac_cv_func_isnan" = x""yes; then :
39953 cat >>confdefs.h <<_ACEOF
39954 #define HAVE_ISNAN 1
39955 _ACEOF
39958 done
39960 else
39962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39963 $as_echo_n "checking for _isnan declaration... " >&6; }
39964 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39965 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39966 $as_echo_n "(cached) " >&6
39967 else
39970 ac_ext=cpp
39971 ac_cpp='$CXXCPP $CPPFLAGS'
39972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39977 /* end confdefs.h. */
39978 #include <math.h>
39979 #ifdef HAVE_IEEEFP_H
39980 #include <ieeefp.h>
39981 #endif
39984 main ()
39986 _isnan(0);
39988 return 0;
39990 _ACEOF
39991 if ac_fn_cxx_try_compile "$LINENO"; then :
39992 glibcxx_cv_func__isnan_use=yes
39993 else
39994 glibcxx_cv_func__isnan_use=no
39996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39997 ac_ext=c
39998 ac_cpp='$CPP $CPPFLAGS'
39999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40008 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40010 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40011 for ac_func in _isnan
40012 do :
40013 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40014 if test "x$ac_cv_func__isnan" = x""yes; then :
40015 cat >>confdefs.h <<_ACEOF
40016 #define HAVE__ISNAN 1
40017 _ACEOF
40020 done
40029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40030 $as_echo_n "checking for finite declaration... " >&6; }
40031 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40032 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40033 $as_echo_n "(cached) " >&6
40034 else
40037 ac_ext=cpp
40038 ac_cpp='$CXXCPP $CPPFLAGS'
40039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40044 /* end confdefs.h. */
40045 #include <math.h>
40046 #ifdef HAVE_IEEEFP_H
40047 #include <ieeefp.h>
40048 #endif
40051 main ()
40053 finite(0);
40055 return 0;
40057 _ACEOF
40058 if ac_fn_cxx_try_compile "$LINENO"; then :
40059 glibcxx_cv_func_finite_use=yes
40060 else
40061 glibcxx_cv_func_finite_use=no
40063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40064 ac_ext=c
40065 ac_cpp='$CPP $CPPFLAGS'
40066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40075 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40077 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40078 for ac_func in finite
40079 do :
40080 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40081 if test "x$ac_cv_func_finite" = x""yes; then :
40082 cat >>confdefs.h <<_ACEOF
40083 #define HAVE_FINITE 1
40084 _ACEOF
40087 done
40089 else
40091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40092 $as_echo_n "checking for _finite declaration... " >&6; }
40093 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40094 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40095 $as_echo_n "(cached) " >&6
40096 else
40099 ac_ext=cpp
40100 ac_cpp='$CXXCPP $CPPFLAGS'
40101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40106 /* end confdefs.h. */
40107 #include <math.h>
40108 #ifdef HAVE_IEEEFP_H
40109 #include <ieeefp.h>
40110 #endif
40113 main ()
40115 _finite(0);
40117 return 0;
40119 _ACEOF
40120 if ac_fn_cxx_try_compile "$LINENO"; then :
40121 glibcxx_cv_func__finite_use=yes
40122 else
40123 glibcxx_cv_func__finite_use=no
40125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40126 ac_ext=c
40127 ac_cpp='$CPP $CPPFLAGS'
40128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40137 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40139 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40140 for ac_func in _finite
40141 do :
40142 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40143 if test "x$ac_cv_func__finite" = x""yes; then :
40144 cat >>confdefs.h <<_ACEOF
40145 #define HAVE__FINITE 1
40146 _ACEOF
40149 done
40158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40159 $as_echo_n "checking for sincos declaration... " >&6; }
40160 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40161 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40162 $as_echo_n "(cached) " >&6
40163 else
40166 ac_ext=cpp
40167 ac_cpp='$CXXCPP $CPPFLAGS'
40168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40173 /* end confdefs.h. */
40174 #include <math.h>
40176 main ()
40178 sincos(0, 0, 0);
40180 return 0;
40182 _ACEOF
40183 if ac_fn_cxx_try_compile "$LINENO"; then :
40184 glibcxx_cv_func_sincos_use=yes
40185 else
40186 glibcxx_cv_func_sincos_use=no
40188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40189 ac_ext=c
40190 ac_cpp='$CPP $CPPFLAGS'
40191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40200 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40202 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40203 for ac_func in sincos
40204 do :
40205 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40206 if test "x$ac_cv_func_sincos" = x""yes; then :
40207 cat >>confdefs.h <<_ACEOF
40208 #define HAVE_SINCOS 1
40209 _ACEOF
40212 done
40214 else
40216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40217 $as_echo_n "checking for _sincos declaration... " >&6; }
40218 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40219 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40220 $as_echo_n "(cached) " >&6
40221 else
40224 ac_ext=cpp
40225 ac_cpp='$CXXCPP $CPPFLAGS'
40226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40231 /* end confdefs.h. */
40232 #include <math.h>
40234 main ()
40236 _sincos(0, 0, 0);
40238 return 0;
40240 _ACEOF
40241 if ac_fn_cxx_try_compile "$LINENO"; then :
40242 glibcxx_cv_func__sincos_use=yes
40243 else
40244 glibcxx_cv_func__sincos_use=no
40246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40247 ac_ext=c
40248 ac_cpp='$CPP $CPPFLAGS'
40249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40258 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40260 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40261 for ac_func in _sincos
40262 do :
40263 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40264 if test "x$ac_cv_func__sincos" = x""yes; then :
40265 cat >>confdefs.h <<_ACEOF
40266 #define HAVE__SINCOS 1
40267 _ACEOF
40270 done
40279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40280 $as_echo_n "checking for fpclass declaration... " >&6; }
40281 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40282 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40283 $as_echo_n "(cached) " >&6
40284 else
40287 ac_ext=cpp
40288 ac_cpp='$CXXCPP $CPPFLAGS'
40289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40294 /* end confdefs.h. */
40295 #include <math.h>
40296 #ifdef HAVE_IEEEFP_H
40297 #include <ieeefp.h>
40298 #endif
40301 main ()
40303 fpclass(0);
40305 return 0;
40307 _ACEOF
40308 if ac_fn_cxx_try_compile "$LINENO"; then :
40309 glibcxx_cv_func_fpclass_use=yes
40310 else
40311 glibcxx_cv_func_fpclass_use=no
40313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40314 ac_ext=c
40315 ac_cpp='$CPP $CPPFLAGS'
40316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40325 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40327 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40328 for ac_func in fpclass
40329 do :
40330 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40331 if test "x$ac_cv_func_fpclass" = x""yes; then :
40332 cat >>confdefs.h <<_ACEOF
40333 #define HAVE_FPCLASS 1
40334 _ACEOF
40337 done
40339 else
40341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40342 $as_echo_n "checking for _fpclass declaration... " >&6; }
40343 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40344 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40345 $as_echo_n "(cached) " >&6
40346 else
40349 ac_ext=cpp
40350 ac_cpp='$CXXCPP $CPPFLAGS'
40351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40356 /* end confdefs.h. */
40357 #include <math.h>
40358 #ifdef HAVE_IEEEFP_H
40359 #include <ieeefp.h>
40360 #endif
40363 main ()
40365 _fpclass(0);
40367 return 0;
40369 _ACEOF
40370 if ac_fn_cxx_try_compile "$LINENO"; then :
40371 glibcxx_cv_func__fpclass_use=yes
40372 else
40373 glibcxx_cv_func__fpclass_use=no
40375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40376 ac_ext=c
40377 ac_cpp='$CPP $CPPFLAGS'
40378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40387 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40389 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40390 for ac_func in _fpclass
40391 do :
40392 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40393 if test "x$ac_cv_func__fpclass" = x""yes; then :
40394 cat >>confdefs.h <<_ACEOF
40395 #define HAVE__FPCLASS 1
40396 _ACEOF
40399 done
40408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40409 $as_echo_n "checking for qfpclass declaration... " >&6; }
40410 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40411 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40412 $as_echo_n "(cached) " >&6
40413 else
40416 ac_ext=cpp
40417 ac_cpp='$CXXCPP $CPPFLAGS'
40418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40423 /* end confdefs.h. */
40424 #include <math.h>
40425 #ifdef HAVE_IEEEFP_H
40426 #include <ieeefp.h>
40427 #endif
40430 main ()
40432 qfpclass(0);
40434 return 0;
40436 _ACEOF
40437 if ac_fn_cxx_try_compile "$LINENO"; then :
40438 glibcxx_cv_func_qfpclass_use=yes
40439 else
40440 glibcxx_cv_func_qfpclass_use=no
40442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40443 ac_ext=c
40444 ac_cpp='$CPP $CPPFLAGS'
40445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40454 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40456 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40457 for ac_func in qfpclass
40458 do :
40459 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40460 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40461 cat >>confdefs.h <<_ACEOF
40462 #define HAVE_QFPCLASS 1
40463 _ACEOF
40466 done
40468 else
40470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40471 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40472 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40473 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40474 $as_echo_n "(cached) " >&6
40475 else
40478 ac_ext=cpp
40479 ac_cpp='$CXXCPP $CPPFLAGS'
40480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40485 /* end confdefs.h. */
40486 #include <math.h>
40487 #ifdef HAVE_IEEEFP_H
40488 #include <ieeefp.h>
40489 #endif
40492 main ()
40494 _qfpclass(0);
40496 return 0;
40498 _ACEOF
40499 if ac_fn_cxx_try_compile "$LINENO"; then :
40500 glibcxx_cv_func__qfpclass_use=yes
40501 else
40502 glibcxx_cv_func__qfpclass_use=no
40504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40505 ac_ext=c
40506 ac_cpp='$CPP $CPPFLAGS'
40507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40516 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40518 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40519 for ac_func in _qfpclass
40520 do :
40521 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40522 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40523 cat >>confdefs.h <<_ACEOF
40524 #define HAVE__QFPCLASS 1
40525 _ACEOF
40528 done
40537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40538 $as_echo_n "checking for hypot declaration... " >&6; }
40539 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40540 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40541 $as_echo_n "(cached) " >&6
40542 else
40545 ac_ext=cpp
40546 ac_cpp='$CXXCPP $CPPFLAGS'
40547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40552 /* end confdefs.h. */
40553 #include <math.h>
40555 main ()
40557 hypot(0, 0);
40559 return 0;
40561 _ACEOF
40562 if ac_fn_cxx_try_compile "$LINENO"; then :
40563 glibcxx_cv_func_hypot_use=yes
40564 else
40565 glibcxx_cv_func_hypot_use=no
40567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40568 ac_ext=c
40569 ac_cpp='$CPP $CPPFLAGS'
40570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40579 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40581 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40582 for ac_func in hypot
40583 do :
40584 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40585 if test "x$ac_cv_func_hypot" = x""yes; then :
40586 cat >>confdefs.h <<_ACEOF
40587 #define HAVE_HYPOT 1
40588 _ACEOF
40591 done
40593 else
40595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40596 $as_echo_n "checking for _hypot declaration... " >&6; }
40597 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40598 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40599 $as_echo_n "(cached) " >&6
40600 else
40603 ac_ext=cpp
40604 ac_cpp='$CXXCPP $CPPFLAGS'
40605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40610 /* end confdefs.h. */
40611 #include <math.h>
40613 main ()
40615 _hypot(0, 0);
40617 return 0;
40619 _ACEOF
40620 if ac_fn_cxx_try_compile "$LINENO"; then :
40621 glibcxx_cv_func__hypot_use=yes
40622 else
40623 glibcxx_cv_func__hypot_use=no
40625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40626 ac_ext=c
40627 ac_cpp='$CPP $CPPFLAGS'
40628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40637 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40639 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40640 for ac_func in _hypot
40641 do :
40642 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40643 if test "x$ac_cv_func__hypot" = x""yes; then :
40644 cat >>confdefs.h <<_ACEOF
40645 #define HAVE__HYPOT 1
40646 _ACEOF
40649 done
40658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40659 $as_echo_n "checking for float trig functions... " >&6; }
40660 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40661 $as_echo_n "(cached) " >&6
40662 else
40665 ac_ext=cpp
40666 ac_cpp='$CXXCPP $CPPFLAGS'
40667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40672 /* end confdefs.h. */
40673 #include <math.h>
40675 main ()
40677 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40679 return 0;
40681 _ACEOF
40682 if ac_fn_cxx_try_compile "$LINENO"; then :
40683 glibcxx_cv_func_float_trig_use=yes
40684 else
40685 glibcxx_cv_func_float_trig_use=no
40687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40688 ac_ext=c
40689 ac_cpp='$CPP $CPPFLAGS'
40690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40697 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40698 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40699 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40700 do :
40701 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40702 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40703 eval as_val=\$$as_ac_var
40704 if test "x$as_val" = x""yes; then :
40705 cat >>confdefs.h <<_ACEOF
40706 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40707 _ACEOF
40710 done
40712 else
40713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40714 $as_echo_n "checking for _float trig functions... " >&6; }
40715 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40716 $as_echo_n "(cached) " >&6
40717 else
40720 ac_ext=cpp
40721 ac_cpp='$CXXCPP $CPPFLAGS'
40722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40727 /* end confdefs.h. */
40728 #include <math.h>
40730 main ()
40732 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40734 return 0;
40736 _ACEOF
40737 if ac_fn_cxx_try_compile "$LINENO"; then :
40738 glibcxx_cv_func__float_trig_use=yes
40739 else
40740 glibcxx_cv_func__float_trig_use=no
40742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40743 ac_ext=c
40744 ac_cpp='$CPP $CPPFLAGS'
40745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40752 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40753 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40754 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40755 do :
40756 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40757 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40758 eval as_val=\$$as_ac_var
40759 if test "x$as_val" = x""yes; then :
40760 cat >>confdefs.h <<_ACEOF
40761 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40762 _ACEOF
40765 done
40774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40775 $as_echo_n "checking for float round functions... " >&6; }
40776 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40777 $as_echo_n "(cached) " >&6
40778 else
40781 ac_ext=cpp
40782 ac_cpp='$CXXCPP $CPPFLAGS'
40783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40788 /* end confdefs.h. */
40789 #include <math.h>
40791 main ()
40793 ceilf (0); floorf (0);
40795 return 0;
40797 _ACEOF
40798 if ac_fn_cxx_try_compile "$LINENO"; then :
40799 glibcxx_cv_func_float_round_use=yes
40800 else
40801 glibcxx_cv_func_float_round_use=no
40803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40804 ac_ext=c
40805 ac_cpp='$CPP $CPPFLAGS'
40806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40813 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40814 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40815 for ac_func in ceilf floorf
40816 do :
40817 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40818 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40819 eval as_val=\$$as_ac_var
40820 if test "x$as_val" = x""yes; then :
40821 cat >>confdefs.h <<_ACEOF
40822 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40823 _ACEOF
40826 done
40828 else
40829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40830 $as_echo_n "checking for _float round functions... " >&6; }
40831 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40832 $as_echo_n "(cached) " >&6
40833 else
40836 ac_ext=cpp
40837 ac_cpp='$CXXCPP $CPPFLAGS'
40838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40843 /* end confdefs.h. */
40844 #include <math.h>
40846 main ()
40848 _ceilf (0); _floorf (0);
40850 return 0;
40852 _ACEOF
40853 if ac_fn_cxx_try_compile "$LINENO"; then :
40854 glibcxx_cv_func__float_round_use=yes
40855 else
40856 glibcxx_cv_func__float_round_use=no
40858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40859 ac_ext=c
40860 ac_cpp='$CPP $CPPFLAGS'
40861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40868 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40869 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40870 for ac_func in _ceilf _floorf
40871 do :
40872 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40873 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40874 eval as_val=\$$as_ac_var
40875 if test "x$as_val" = x""yes; then :
40876 cat >>confdefs.h <<_ACEOF
40877 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40878 _ACEOF
40881 done
40891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40892 $as_echo_n "checking for expf declaration... " >&6; }
40893 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40894 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40895 $as_echo_n "(cached) " >&6
40896 else
40899 ac_ext=cpp
40900 ac_cpp='$CXXCPP $CPPFLAGS'
40901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40906 /* end confdefs.h. */
40907 #include <math.h>
40908 #ifdef HAVE_IEEEFP_H
40909 #include <ieeefp.h>
40910 #endif
40913 main ()
40915 expf(0);
40917 return 0;
40919 _ACEOF
40920 if ac_fn_cxx_try_compile "$LINENO"; then :
40921 glibcxx_cv_func_expf_use=yes
40922 else
40923 glibcxx_cv_func_expf_use=no
40925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40926 ac_ext=c
40927 ac_cpp='$CPP $CPPFLAGS'
40928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40937 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40939 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40940 for ac_func in expf
40941 do :
40942 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40943 if test "x$ac_cv_func_expf" = x""yes; then :
40944 cat >>confdefs.h <<_ACEOF
40945 #define HAVE_EXPF 1
40946 _ACEOF
40949 done
40951 else
40953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40954 $as_echo_n "checking for _expf declaration... " >&6; }
40955 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40956 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40957 $as_echo_n "(cached) " >&6
40958 else
40961 ac_ext=cpp
40962 ac_cpp='$CXXCPP $CPPFLAGS'
40963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40968 /* end confdefs.h. */
40969 #include <math.h>
40970 #ifdef HAVE_IEEEFP_H
40971 #include <ieeefp.h>
40972 #endif
40975 main ()
40977 _expf(0);
40979 return 0;
40981 _ACEOF
40982 if ac_fn_cxx_try_compile "$LINENO"; then :
40983 glibcxx_cv_func__expf_use=yes
40984 else
40985 glibcxx_cv_func__expf_use=no
40987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40988 ac_ext=c
40989 ac_cpp='$CPP $CPPFLAGS'
40990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40999 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41001 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41002 for ac_func in _expf
41003 do :
41004 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41005 if test "x$ac_cv_func__expf" = x""yes; then :
41006 cat >>confdefs.h <<_ACEOF
41007 #define HAVE__EXPF 1
41008 _ACEOF
41011 done
41020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41021 $as_echo_n "checking for isnanf declaration... " >&6; }
41022 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41023 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41024 $as_echo_n "(cached) " >&6
41025 else
41028 ac_ext=cpp
41029 ac_cpp='$CXXCPP $CPPFLAGS'
41030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41035 /* end confdefs.h. */
41036 #include <math.h>
41037 #ifdef HAVE_IEEEFP_H
41038 #include <ieeefp.h>
41039 #endif
41042 main ()
41044 isnanf(0);
41046 return 0;
41048 _ACEOF
41049 if ac_fn_cxx_try_compile "$LINENO"; then :
41050 glibcxx_cv_func_isnanf_use=yes
41051 else
41052 glibcxx_cv_func_isnanf_use=no
41054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41055 ac_ext=c
41056 ac_cpp='$CPP $CPPFLAGS'
41057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41066 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41068 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41069 for ac_func in isnanf
41070 do :
41071 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41072 if test "x$ac_cv_func_isnanf" = x""yes; then :
41073 cat >>confdefs.h <<_ACEOF
41074 #define HAVE_ISNANF 1
41075 _ACEOF
41078 done
41080 else
41082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41083 $as_echo_n "checking for _isnanf declaration... " >&6; }
41084 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41085 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41086 $as_echo_n "(cached) " >&6
41087 else
41090 ac_ext=cpp
41091 ac_cpp='$CXXCPP $CPPFLAGS'
41092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41097 /* end confdefs.h. */
41098 #include <math.h>
41099 #ifdef HAVE_IEEEFP_H
41100 #include <ieeefp.h>
41101 #endif
41104 main ()
41106 _isnanf(0);
41108 return 0;
41110 _ACEOF
41111 if ac_fn_cxx_try_compile "$LINENO"; then :
41112 glibcxx_cv_func__isnanf_use=yes
41113 else
41114 glibcxx_cv_func__isnanf_use=no
41116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41117 ac_ext=c
41118 ac_cpp='$CPP $CPPFLAGS'
41119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41128 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41130 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41131 for ac_func in _isnanf
41132 do :
41133 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41134 if test "x$ac_cv_func__isnanf" = x""yes; then :
41135 cat >>confdefs.h <<_ACEOF
41136 #define HAVE__ISNANF 1
41137 _ACEOF
41140 done
41149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41150 $as_echo_n "checking for isinff declaration... " >&6; }
41151 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41152 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41153 $as_echo_n "(cached) " >&6
41154 else
41157 ac_ext=cpp
41158 ac_cpp='$CXXCPP $CPPFLAGS'
41159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41164 /* end confdefs.h. */
41165 #include <math.h>
41166 #ifdef HAVE_IEEEFP_H
41167 #include <ieeefp.h>
41168 #endif
41171 main ()
41173 isinff(0);
41175 return 0;
41177 _ACEOF
41178 if ac_fn_cxx_try_compile "$LINENO"; then :
41179 glibcxx_cv_func_isinff_use=yes
41180 else
41181 glibcxx_cv_func_isinff_use=no
41183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41184 ac_ext=c
41185 ac_cpp='$CPP $CPPFLAGS'
41186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41195 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41197 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41198 for ac_func in isinff
41199 do :
41200 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41201 if test "x$ac_cv_func_isinff" = x""yes; then :
41202 cat >>confdefs.h <<_ACEOF
41203 #define HAVE_ISINFF 1
41204 _ACEOF
41207 done
41209 else
41211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41212 $as_echo_n "checking for _isinff declaration... " >&6; }
41213 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41214 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41215 $as_echo_n "(cached) " >&6
41216 else
41219 ac_ext=cpp
41220 ac_cpp='$CXXCPP $CPPFLAGS'
41221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41226 /* end confdefs.h. */
41227 #include <math.h>
41228 #ifdef HAVE_IEEEFP_H
41229 #include <ieeefp.h>
41230 #endif
41233 main ()
41235 _isinff(0);
41237 return 0;
41239 _ACEOF
41240 if ac_fn_cxx_try_compile "$LINENO"; then :
41241 glibcxx_cv_func__isinff_use=yes
41242 else
41243 glibcxx_cv_func__isinff_use=no
41245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41246 ac_ext=c
41247 ac_cpp='$CPP $CPPFLAGS'
41248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41257 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41259 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41260 for ac_func in _isinff
41261 do :
41262 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41263 if test "x$ac_cv_func__isinff" = x""yes; then :
41264 cat >>confdefs.h <<_ACEOF
41265 #define HAVE__ISINFF 1
41266 _ACEOF
41269 done
41278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41279 $as_echo_n "checking for atan2f declaration... " >&6; }
41280 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41281 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41282 $as_echo_n "(cached) " >&6
41283 else
41286 ac_ext=cpp
41287 ac_cpp='$CXXCPP $CPPFLAGS'
41288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41293 /* end confdefs.h. */
41294 #include <math.h>
41296 main ()
41298 atan2f(0, 0);
41300 return 0;
41302 _ACEOF
41303 if ac_fn_cxx_try_compile "$LINENO"; then :
41304 glibcxx_cv_func_atan2f_use=yes
41305 else
41306 glibcxx_cv_func_atan2f_use=no
41308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41309 ac_ext=c
41310 ac_cpp='$CPP $CPPFLAGS'
41311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41320 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41322 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41323 for ac_func in atan2f
41324 do :
41325 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41326 if test "x$ac_cv_func_atan2f" = x""yes; then :
41327 cat >>confdefs.h <<_ACEOF
41328 #define HAVE_ATAN2F 1
41329 _ACEOF
41332 done
41334 else
41336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41337 $as_echo_n "checking for _atan2f declaration... " >&6; }
41338 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41339 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41340 $as_echo_n "(cached) " >&6
41341 else
41344 ac_ext=cpp
41345 ac_cpp='$CXXCPP $CPPFLAGS'
41346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41351 /* end confdefs.h. */
41352 #include <math.h>
41354 main ()
41356 _atan2f(0, 0);
41358 return 0;
41360 _ACEOF
41361 if ac_fn_cxx_try_compile "$LINENO"; then :
41362 glibcxx_cv_func__atan2f_use=yes
41363 else
41364 glibcxx_cv_func__atan2f_use=no
41366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41367 ac_ext=c
41368 ac_cpp='$CPP $CPPFLAGS'
41369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41378 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41380 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41381 for ac_func in _atan2f
41382 do :
41383 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41384 if test "x$ac_cv_func__atan2f" = x""yes; then :
41385 cat >>confdefs.h <<_ACEOF
41386 #define HAVE__ATAN2F 1
41387 _ACEOF
41390 done
41399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41400 $as_echo_n "checking for fabsf declaration... " >&6; }
41401 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41402 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41403 $as_echo_n "(cached) " >&6
41404 else
41407 ac_ext=cpp
41408 ac_cpp='$CXXCPP $CPPFLAGS'
41409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41414 /* end confdefs.h. */
41415 #include <math.h>
41416 #ifdef HAVE_IEEEFP_H
41417 #include <ieeefp.h>
41418 #endif
41421 main ()
41423 fabsf(0);
41425 return 0;
41427 _ACEOF
41428 if ac_fn_cxx_try_compile "$LINENO"; then :
41429 glibcxx_cv_func_fabsf_use=yes
41430 else
41431 glibcxx_cv_func_fabsf_use=no
41433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41434 ac_ext=c
41435 ac_cpp='$CPP $CPPFLAGS'
41436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41445 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41447 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41448 for ac_func in fabsf
41449 do :
41450 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41451 if test "x$ac_cv_func_fabsf" = x""yes; then :
41452 cat >>confdefs.h <<_ACEOF
41453 #define HAVE_FABSF 1
41454 _ACEOF
41457 done
41459 else
41461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41462 $as_echo_n "checking for _fabsf declaration... " >&6; }
41463 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41464 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41465 $as_echo_n "(cached) " >&6
41466 else
41469 ac_ext=cpp
41470 ac_cpp='$CXXCPP $CPPFLAGS'
41471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41476 /* end confdefs.h. */
41477 #include <math.h>
41478 #ifdef HAVE_IEEEFP_H
41479 #include <ieeefp.h>
41480 #endif
41483 main ()
41485 _fabsf(0);
41487 return 0;
41489 _ACEOF
41490 if ac_fn_cxx_try_compile "$LINENO"; then :
41491 glibcxx_cv_func__fabsf_use=yes
41492 else
41493 glibcxx_cv_func__fabsf_use=no
41495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41496 ac_ext=c
41497 ac_cpp='$CPP $CPPFLAGS'
41498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41507 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41509 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41510 for ac_func in _fabsf
41511 do :
41512 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41513 if test "x$ac_cv_func__fabsf" = x""yes; then :
41514 cat >>confdefs.h <<_ACEOF
41515 #define HAVE__FABSF 1
41516 _ACEOF
41519 done
41528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41529 $as_echo_n "checking for fmodf declaration... " >&6; }
41530 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41531 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41532 $as_echo_n "(cached) " >&6
41533 else
41536 ac_ext=cpp
41537 ac_cpp='$CXXCPP $CPPFLAGS'
41538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41543 /* end confdefs.h. */
41544 #include <math.h>
41546 main ()
41548 fmodf(0, 0);
41550 return 0;
41552 _ACEOF
41553 if ac_fn_cxx_try_compile "$LINENO"; then :
41554 glibcxx_cv_func_fmodf_use=yes
41555 else
41556 glibcxx_cv_func_fmodf_use=no
41558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41559 ac_ext=c
41560 ac_cpp='$CPP $CPPFLAGS'
41561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41570 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41572 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41573 for ac_func in fmodf
41574 do :
41575 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41576 if test "x$ac_cv_func_fmodf" = x""yes; then :
41577 cat >>confdefs.h <<_ACEOF
41578 #define HAVE_FMODF 1
41579 _ACEOF
41582 done
41584 else
41586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41587 $as_echo_n "checking for _fmodf declaration... " >&6; }
41588 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41589 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41590 $as_echo_n "(cached) " >&6
41591 else
41594 ac_ext=cpp
41595 ac_cpp='$CXXCPP $CPPFLAGS'
41596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41601 /* end confdefs.h. */
41602 #include <math.h>
41604 main ()
41606 _fmodf(0, 0);
41608 return 0;
41610 _ACEOF
41611 if ac_fn_cxx_try_compile "$LINENO"; then :
41612 glibcxx_cv_func__fmodf_use=yes
41613 else
41614 glibcxx_cv_func__fmodf_use=no
41616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41617 ac_ext=c
41618 ac_cpp='$CPP $CPPFLAGS'
41619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41628 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41630 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41631 for ac_func in _fmodf
41632 do :
41633 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41634 if test "x$ac_cv_func__fmodf" = x""yes; then :
41635 cat >>confdefs.h <<_ACEOF
41636 #define HAVE__FMODF 1
41637 _ACEOF
41640 done
41649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41650 $as_echo_n "checking for frexpf declaration... " >&6; }
41651 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41652 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41653 $as_echo_n "(cached) " >&6
41654 else
41657 ac_ext=cpp
41658 ac_cpp='$CXXCPP $CPPFLAGS'
41659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41664 /* end confdefs.h. */
41665 #include <math.h>
41667 main ()
41669 frexpf(0, 0);
41671 return 0;
41673 _ACEOF
41674 if ac_fn_cxx_try_compile "$LINENO"; then :
41675 glibcxx_cv_func_frexpf_use=yes
41676 else
41677 glibcxx_cv_func_frexpf_use=no
41679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41680 ac_ext=c
41681 ac_cpp='$CPP $CPPFLAGS'
41682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41691 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41693 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41694 for ac_func in frexpf
41695 do :
41696 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41697 if test "x$ac_cv_func_frexpf" = x""yes; then :
41698 cat >>confdefs.h <<_ACEOF
41699 #define HAVE_FREXPF 1
41700 _ACEOF
41703 done
41705 else
41707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41708 $as_echo_n "checking for _frexpf declaration... " >&6; }
41709 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41710 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41711 $as_echo_n "(cached) " >&6
41712 else
41715 ac_ext=cpp
41716 ac_cpp='$CXXCPP $CPPFLAGS'
41717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41722 /* end confdefs.h. */
41723 #include <math.h>
41725 main ()
41727 _frexpf(0, 0);
41729 return 0;
41731 _ACEOF
41732 if ac_fn_cxx_try_compile "$LINENO"; then :
41733 glibcxx_cv_func__frexpf_use=yes
41734 else
41735 glibcxx_cv_func__frexpf_use=no
41737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41738 ac_ext=c
41739 ac_cpp='$CPP $CPPFLAGS'
41740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41749 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41751 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41752 for ac_func in _frexpf
41753 do :
41754 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41755 if test "x$ac_cv_func__frexpf" = x""yes; then :
41756 cat >>confdefs.h <<_ACEOF
41757 #define HAVE__FREXPF 1
41758 _ACEOF
41761 done
41770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41771 $as_echo_n "checking for hypotf declaration... " >&6; }
41772 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41773 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41774 $as_echo_n "(cached) " >&6
41775 else
41778 ac_ext=cpp
41779 ac_cpp='$CXXCPP $CPPFLAGS'
41780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41785 /* end confdefs.h. */
41786 #include <math.h>
41788 main ()
41790 hypotf(0, 0);
41792 return 0;
41794 _ACEOF
41795 if ac_fn_cxx_try_compile "$LINENO"; then :
41796 glibcxx_cv_func_hypotf_use=yes
41797 else
41798 glibcxx_cv_func_hypotf_use=no
41800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41801 ac_ext=c
41802 ac_cpp='$CPP $CPPFLAGS'
41803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41812 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41814 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41815 for ac_func in hypotf
41816 do :
41817 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41818 if test "x$ac_cv_func_hypotf" = x""yes; then :
41819 cat >>confdefs.h <<_ACEOF
41820 #define HAVE_HYPOTF 1
41821 _ACEOF
41824 done
41826 else
41828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41829 $as_echo_n "checking for _hypotf declaration... " >&6; }
41830 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41831 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41832 $as_echo_n "(cached) " >&6
41833 else
41836 ac_ext=cpp
41837 ac_cpp='$CXXCPP $CPPFLAGS'
41838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41843 /* end confdefs.h. */
41844 #include <math.h>
41846 main ()
41848 _hypotf(0, 0);
41850 return 0;
41852 _ACEOF
41853 if ac_fn_cxx_try_compile "$LINENO"; then :
41854 glibcxx_cv_func__hypotf_use=yes
41855 else
41856 glibcxx_cv_func__hypotf_use=no
41858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41859 ac_ext=c
41860 ac_cpp='$CPP $CPPFLAGS'
41861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41870 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41872 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41873 for ac_func in _hypotf
41874 do :
41875 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41876 if test "x$ac_cv_func__hypotf" = x""yes; then :
41877 cat >>confdefs.h <<_ACEOF
41878 #define HAVE__HYPOTF 1
41879 _ACEOF
41882 done
41891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41892 $as_echo_n "checking for ldexpf declaration... " >&6; }
41893 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41894 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41895 $as_echo_n "(cached) " >&6
41896 else
41899 ac_ext=cpp
41900 ac_cpp='$CXXCPP $CPPFLAGS'
41901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41906 /* end confdefs.h. */
41907 #include <math.h>
41909 main ()
41911 ldexpf(0, 0);
41913 return 0;
41915 _ACEOF
41916 if ac_fn_cxx_try_compile "$LINENO"; then :
41917 glibcxx_cv_func_ldexpf_use=yes
41918 else
41919 glibcxx_cv_func_ldexpf_use=no
41921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41922 ac_ext=c
41923 ac_cpp='$CPP $CPPFLAGS'
41924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41933 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41935 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41936 for ac_func in ldexpf
41937 do :
41938 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41939 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41940 cat >>confdefs.h <<_ACEOF
41941 #define HAVE_LDEXPF 1
41942 _ACEOF
41945 done
41947 else
41949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41950 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41951 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41952 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41953 $as_echo_n "(cached) " >&6
41954 else
41957 ac_ext=cpp
41958 ac_cpp='$CXXCPP $CPPFLAGS'
41959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41964 /* end confdefs.h. */
41965 #include <math.h>
41967 main ()
41969 _ldexpf(0, 0);
41971 return 0;
41973 _ACEOF
41974 if ac_fn_cxx_try_compile "$LINENO"; then :
41975 glibcxx_cv_func__ldexpf_use=yes
41976 else
41977 glibcxx_cv_func__ldexpf_use=no
41979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41980 ac_ext=c
41981 ac_cpp='$CPP $CPPFLAGS'
41982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41991 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41993 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41994 for ac_func in _ldexpf
41995 do :
41996 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41997 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41998 cat >>confdefs.h <<_ACEOF
41999 #define HAVE__LDEXPF 1
42000 _ACEOF
42003 done
42012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42013 $as_echo_n "checking for logf declaration... " >&6; }
42014 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42015 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42016 $as_echo_n "(cached) " >&6
42017 else
42020 ac_ext=cpp
42021 ac_cpp='$CXXCPP $CPPFLAGS'
42022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42027 /* end confdefs.h. */
42028 #include <math.h>
42029 #ifdef HAVE_IEEEFP_H
42030 #include <ieeefp.h>
42031 #endif
42034 main ()
42036 logf(0);
42038 return 0;
42040 _ACEOF
42041 if ac_fn_cxx_try_compile "$LINENO"; then :
42042 glibcxx_cv_func_logf_use=yes
42043 else
42044 glibcxx_cv_func_logf_use=no
42046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42047 ac_ext=c
42048 ac_cpp='$CPP $CPPFLAGS'
42049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42058 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42060 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42061 for ac_func in logf
42062 do :
42063 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42064 if test "x$ac_cv_func_logf" = x""yes; then :
42065 cat >>confdefs.h <<_ACEOF
42066 #define HAVE_LOGF 1
42067 _ACEOF
42070 done
42072 else
42074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42075 $as_echo_n "checking for _logf declaration... " >&6; }
42076 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42077 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42078 $as_echo_n "(cached) " >&6
42079 else
42082 ac_ext=cpp
42083 ac_cpp='$CXXCPP $CPPFLAGS'
42084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42089 /* end confdefs.h. */
42090 #include <math.h>
42091 #ifdef HAVE_IEEEFP_H
42092 #include <ieeefp.h>
42093 #endif
42096 main ()
42098 _logf(0);
42100 return 0;
42102 _ACEOF
42103 if ac_fn_cxx_try_compile "$LINENO"; then :
42104 glibcxx_cv_func__logf_use=yes
42105 else
42106 glibcxx_cv_func__logf_use=no
42108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42109 ac_ext=c
42110 ac_cpp='$CPP $CPPFLAGS'
42111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42120 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42122 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42123 for ac_func in _logf
42124 do :
42125 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42126 if test "x$ac_cv_func__logf" = x""yes; then :
42127 cat >>confdefs.h <<_ACEOF
42128 #define HAVE__LOGF 1
42129 _ACEOF
42132 done
42141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42142 $as_echo_n "checking for log10f declaration... " >&6; }
42143 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42144 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42145 $as_echo_n "(cached) " >&6
42146 else
42149 ac_ext=cpp
42150 ac_cpp='$CXXCPP $CPPFLAGS'
42151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42156 /* end confdefs.h. */
42157 #include <math.h>
42158 #ifdef HAVE_IEEEFP_H
42159 #include <ieeefp.h>
42160 #endif
42163 main ()
42165 log10f(0);
42167 return 0;
42169 _ACEOF
42170 if ac_fn_cxx_try_compile "$LINENO"; then :
42171 glibcxx_cv_func_log10f_use=yes
42172 else
42173 glibcxx_cv_func_log10f_use=no
42175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42176 ac_ext=c
42177 ac_cpp='$CPP $CPPFLAGS'
42178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42187 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42189 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42190 for ac_func in log10f
42191 do :
42192 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42193 if test "x$ac_cv_func_log10f" = x""yes; then :
42194 cat >>confdefs.h <<_ACEOF
42195 #define HAVE_LOG10F 1
42196 _ACEOF
42199 done
42201 else
42203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42204 $as_echo_n "checking for _log10f declaration... " >&6; }
42205 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42206 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42207 $as_echo_n "(cached) " >&6
42208 else
42211 ac_ext=cpp
42212 ac_cpp='$CXXCPP $CPPFLAGS'
42213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42218 /* end confdefs.h. */
42219 #include <math.h>
42220 #ifdef HAVE_IEEEFP_H
42221 #include <ieeefp.h>
42222 #endif
42225 main ()
42227 _log10f(0);
42229 return 0;
42231 _ACEOF
42232 if ac_fn_cxx_try_compile "$LINENO"; then :
42233 glibcxx_cv_func__log10f_use=yes
42234 else
42235 glibcxx_cv_func__log10f_use=no
42237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42238 ac_ext=c
42239 ac_cpp='$CPP $CPPFLAGS'
42240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42249 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42251 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42252 for ac_func in _log10f
42253 do :
42254 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42255 if test "x$ac_cv_func__log10f" = x""yes; then :
42256 cat >>confdefs.h <<_ACEOF
42257 #define HAVE__LOG10F 1
42258 _ACEOF
42261 done
42270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42271 $as_echo_n "checking for modff declaration... " >&6; }
42272 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42273 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42274 $as_echo_n "(cached) " >&6
42275 else
42278 ac_ext=cpp
42279 ac_cpp='$CXXCPP $CPPFLAGS'
42280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42285 /* end confdefs.h. */
42286 #include <math.h>
42288 main ()
42290 modff(0, 0);
42292 return 0;
42294 _ACEOF
42295 if ac_fn_cxx_try_compile "$LINENO"; then :
42296 glibcxx_cv_func_modff_use=yes
42297 else
42298 glibcxx_cv_func_modff_use=no
42300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42301 ac_ext=c
42302 ac_cpp='$CPP $CPPFLAGS'
42303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42312 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42314 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42315 for ac_func in modff
42316 do :
42317 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42318 if test "x$ac_cv_func_modff" = x""yes; then :
42319 cat >>confdefs.h <<_ACEOF
42320 #define HAVE_MODFF 1
42321 _ACEOF
42324 done
42326 else
42328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42329 $as_echo_n "checking for _modff declaration... " >&6; }
42330 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42331 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42332 $as_echo_n "(cached) " >&6
42333 else
42336 ac_ext=cpp
42337 ac_cpp='$CXXCPP $CPPFLAGS'
42338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42343 /* end confdefs.h. */
42344 #include <math.h>
42346 main ()
42348 _modff(0, 0);
42350 return 0;
42352 _ACEOF
42353 if ac_fn_cxx_try_compile "$LINENO"; then :
42354 glibcxx_cv_func__modff_use=yes
42355 else
42356 glibcxx_cv_func__modff_use=no
42358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42359 ac_ext=c
42360 ac_cpp='$CPP $CPPFLAGS'
42361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42370 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42372 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42373 for ac_func in _modff
42374 do :
42375 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42376 if test "x$ac_cv_func__modff" = x""yes; then :
42377 cat >>confdefs.h <<_ACEOF
42378 #define HAVE__MODFF 1
42379 _ACEOF
42382 done
42391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42392 $as_echo_n "checking for modf declaration... " >&6; }
42393 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42394 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42395 $as_echo_n "(cached) " >&6
42396 else
42399 ac_ext=cpp
42400 ac_cpp='$CXXCPP $CPPFLAGS'
42401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42406 /* end confdefs.h. */
42407 #include <math.h>
42409 main ()
42411 modf(0, 0);
42413 return 0;
42415 _ACEOF
42416 if ac_fn_cxx_try_compile "$LINENO"; then :
42417 glibcxx_cv_func_modf_use=yes
42418 else
42419 glibcxx_cv_func_modf_use=no
42421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42422 ac_ext=c
42423 ac_cpp='$CPP $CPPFLAGS'
42424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42433 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42435 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42436 for ac_func in modf
42437 do :
42438 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42439 if test "x$ac_cv_func_modf" = x""yes; then :
42440 cat >>confdefs.h <<_ACEOF
42441 #define HAVE_MODF 1
42442 _ACEOF
42445 done
42447 else
42449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42450 $as_echo_n "checking for _modf declaration... " >&6; }
42451 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42452 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42453 $as_echo_n "(cached) " >&6
42454 else
42457 ac_ext=cpp
42458 ac_cpp='$CXXCPP $CPPFLAGS'
42459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42464 /* end confdefs.h. */
42465 #include <math.h>
42467 main ()
42469 _modf(0, 0);
42471 return 0;
42473 _ACEOF
42474 if ac_fn_cxx_try_compile "$LINENO"; then :
42475 glibcxx_cv_func__modf_use=yes
42476 else
42477 glibcxx_cv_func__modf_use=no
42479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42480 ac_ext=c
42481 ac_cpp='$CPP $CPPFLAGS'
42482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42491 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42493 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42494 for ac_func in _modf
42495 do :
42496 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42497 if test "x$ac_cv_func__modf" = x""yes; then :
42498 cat >>confdefs.h <<_ACEOF
42499 #define HAVE__MODF 1
42500 _ACEOF
42503 done
42512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42513 $as_echo_n "checking for powf declaration... " >&6; }
42514 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42515 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42516 $as_echo_n "(cached) " >&6
42517 else
42520 ac_ext=cpp
42521 ac_cpp='$CXXCPP $CPPFLAGS'
42522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42527 /* end confdefs.h. */
42528 #include <math.h>
42530 main ()
42532 powf(0, 0);
42534 return 0;
42536 _ACEOF
42537 if ac_fn_cxx_try_compile "$LINENO"; then :
42538 glibcxx_cv_func_powf_use=yes
42539 else
42540 glibcxx_cv_func_powf_use=no
42542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42543 ac_ext=c
42544 ac_cpp='$CPP $CPPFLAGS'
42545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42554 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42556 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42557 for ac_func in powf
42558 do :
42559 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42560 if test "x$ac_cv_func_powf" = x""yes; then :
42561 cat >>confdefs.h <<_ACEOF
42562 #define HAVE_POWF 1
42563 _ACEOF
42566 done
42568 else
42570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42571 $as_echo_n "checking for _powf declaration... " >&6; }
42572 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42573 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42574 $as_echo_n "(cached) " >&6
42575 else
42578 ac_ext=cpp
42579 ac_cpp='$CXXCPP $CPPFLAGS'
42580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42585 /* end confdefs.h. */
42586 #include <math.h>
42588 main ()
42590 _powf(0, 0);
42592 return 0;
42594 _ACEOF
42595 if ac_fn_cxx_try_compile "$LINENO"; then :
42596 glibcxx_cv_func__powf_use=yes
42597 else
42598 glibcxx_cv_func__powf_use=no
42600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42601 ac_ext=c
42602 ac_cpp='$CPP $CPPFLAGS'
42603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42612 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42614 if test x$glibcxx_cv_func__powf_use = x"yes"; then
42615 for ac_func in _powf
42616 do :
42617 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42618 if test "x$ac_cv_func__powf" = x""yes; then :
42619 cat >>confdefs.h <<_ACEOF
42620 #define HAVE__POWF 1
42621 _ACEOF
42624 done
42633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42634 $as_echo_n "checking for sqrtf declaration... " >&6; }
42635 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42636 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42637 $as_echo_n "(cached) " >&6
42638 else
42641 ac_ext=cpp
42642 ac_cpp='$CXXCPP $CPPFLAGS'
42643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42648 /* end confdefs.h. */
42649 #include <math.h>
42650 #ifdef HAVE_IEEEFP_H
42651 #include <ieeefp.h>
42652 #endif
42655 main ()
42657 sqrtf(0);
42659 return 0;
42661 _ACEOF
42662 if ac_fn_cxx_try_compile "$LINENO"; then :
42663 glibcxx_cv_func_sqrtf_use=yes
42664 else
42665 glibcxx_cv_func_sqrtf_use=no
42667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42668 ac_ext=c
42669 ac_cpp='$CPP $CPPFLAGS'
42670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42679 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42681 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42682 for ac_func in sqrtf
42683 do :
42684 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42685 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42686 cat >>confdefs.h <<_ACEOF
42687 #define HAVE_SQRTF 1
42688 _ACEOF
42691 done
42693 else
42695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42696 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42697 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42698 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42699 $as_echo_n "(cached) " >&6
42700 else
42703 ac_ext=cpp
42704 ac_cpp='$CXXCPP $CPPFLAGS'
42705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42710 /* end confdefs.h. */
42711 #include <math.h>
42712 #ifdef HAVE_IEEEFP_H
42713 #include <ieeefp.h>
42714 #endif
42717 main ()
42719 _sqrtf(0);
42721 return 0;
42723 _ACEOF
42724 if ac_fn_cxx_try_compile "$LINENO"; then :
42725 glibcxx_cv_func__sqrtf_use=yes
42726 else
42727 glibcxx_cv_func__sqrtf_use=no
42729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42730 ac_ext=c
42731 ac_cpp='$CPP $CPPFLAGS'
42732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42741 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42743 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42744 for ac_func in _sqrtf
42745 do :
42746 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42747 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42748 cat >>confdefs.h <<_ACEOF
42749 #define HAVE__SQRTF 1
42750 _ACEOF
42753 done
42762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42763 $as_echo_n "checking for sincosf declaration... " >&6; }
42764 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42765 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42766 $as_echo_n "(cached) " >&6
42767 else
42770 ac_ext=cpp
42771 ac_cpp='$CXXCPP $CPPFLAGS'
42772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42777 /* end confdefs.h. */
42778 #include <math.h>
42780 main ()
42782 sincosf(0, 0, 0);
42784 return 0;
42786 _ACEOF
42787 if ac_fn_cxx_try_compile "$LINENO"; then :
42788 glibcxx_cv_func_sincosf_use=yes
42789 else
42790 glibcxx_cv_func_sincosf_use=no
42792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42793 ac_ext=c
42794 ac_cpp='$CPP $CPPFLAGS'
42795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42804 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42806 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42807 for ac_func in sincosf
42808 do :
42809 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42810 if test "x$ac_cv_func_sincosf" = x""yes; then :
42811 cat >>confdefs.h <<_ACEOF
42812 #define HAVE_SINCOSF 1
42813 _ACEOF
42816 done
42818 else
42820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42821 $as_echo_n "checking for _sincosf declaration... " >&6; }
42822 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42823 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42824 $as_echo_n "(cached) " >&6
42825 else
42828 ac_ext=cpp
42829 ac_cpp='$CXXCPP $CPPFLAGS'
42830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42835 /* end confdefs.h. */
42836 #include <math.h>
42838 main ()
42840 _sincosf(0, 0, 0);
42842 return 0;
42844 _ACEOF
42845 if ac_fn_cxx_try_compile "$LINENO"; then :
42846 glibcxx_cv_func__sincosf_use=yes
42847 else
42848 glibcxx_cv_func__sincosf_use=no
42850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42851 ac_ext=c
42852 ac_cpp='$CPP $CPPFLAGS'
42853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42862 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42864 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42865 for ac_func in _sincosf
42866 do :
42867 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42868 if test "x$ac_cv_func__sincosf" = x""yes; then :
42869 cat >>confdefs.h <<_ACEOF
42870 #define HAVE__SINCOSF 1
42871 _ACEOF
42874 done
42883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42884 $as_echo_n "checking for finitef declaration... " >&6; }
42885 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42886 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42887 $as_echo_n "(cached) " >&6
42888 else
42891 ac_ext=cpp
42892 ac_cpp='$CXXCPP $CPPFLAGS'
42893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42898 /* end confdefs.h. */
42899 #include <math.h>
42900 #ifdef HAVE_IEEEFP_H
42901 #include <ieeefp.h>
42902 #endif
42905 main ()
42907 finitef(0);
42909 return 0;
42911 _ACEOF
42912 if ac_fn_cxx_try_compile "$LINENO"; then :
42913 glibcxx_cv_func_finitef_use=yes
42914 else
42915 glibcxx_cv_func_finitef_use=no
42917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42918 ac_ext=c
42919 ac_cpp='$CPP $CPPFLAGS'
42920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42929 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42931 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42932 for ac_func in finitef
42933 do :
42934 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42935 if test "x$ac_cv_func_finitef" = x""yes; then :
42936 cat >>confdefs.h <<_ACEOF
42937 #define HAVE_FINITEF 1
42938 _ACEOF
42941 done
42943 else
42945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42946 $as_echo_n "checking for _finitef declaration... " >&6; }
42947 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42948 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42949 $as_echo_n "(cached) " >&6
42950 else
42953 ac_ext=cpp
42954 ac_cpp='$CXXCPP $CPPFLAGS'
42955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42960 /* end confdefs.h. */
42961 #include <math.h>
42962 #ifdef HAVE_IEEEFP_H
42963 #include <ieeefp.h>
42964 #endif
42967 main ()
42969 _finitef(0);
42971 return 0;
42973 _ACEOF
42974 if ac_fn_cxx_try_compile "$LINENO"; then :
42975 glibcxx_cv_func__finitef_use=yes
42976 else
42977 glibcxx_cv_func__finitef_use=no
42979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42980 ac_ext=c
42981 ac_cpp='$CPP $CPPFLAGS'
42982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42991 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42993 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42994 for ac_func in _finitef
42995 do :
42996 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42997 if test "x$ac_cv_func__finitef" = x""yes; then :
42998 cat >>confdefs.h <<_ACEOF
42999 #define HAVE__FINITEF 1
43000 _ACEOF
43003 done
43012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43013 $as_echo_n "checking for long double trig functions... " >&6; }
43014 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43015 $as_echo_n "(cached) " >&6
43016 else
43019 ac_ext=cpp
43020 ac_cpp='$CXXCPP $CPPFLAGS'
43021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43026 /* end confdefs.h. */
43027 #include <math.h>
43029 main ()
43031 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43033 return 0;
43035 _ACEOF
43036 if ac_fn_cxx_try_compile "$LINENO"; then :
43037 glibcxx_cv_func_long_double_trig_use=yes
43038 else
43039 glibcxx_cv_func_long_double_trig_use=no
43041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43042 ac_ext=c
43043 ac_cpp='$CPP $CPPFLAGS'
43044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43051 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43052 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43053 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43054 do :
43055 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43056 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43057 eval as_val=\$$as_ac_var
43058 if test "x$as_val" = x""yes; then :
43059 cat >>confdefs.h <<_ACEOF
43060 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43061 _ACEOF
43064 done
43066 else
43067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43068 $as_echo_n "checking for _long double trig functions... " >&6; }
43069 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43070 $as_echo_n "(cached) " >&6
43071 else
43074 ac_ext=cpp
43075 ac_cpp='$CXXCPP $CPPFLAGS'
43076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43081 /* end confdefs.h. */
43082 #include <math.h>
43084 main ()
43086 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43088 return 0;
43090 _ACEOF
43091 if ac_fn_cxx_try_compile "$LINENO"; then :
43092 glibcxx_cv_func__long_double_trig_use=yes
43093 else
43094 glibcxx_cv_func__long_double_trig_use=no
43096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43097 ac_ext=c
43098 ac_cpp='$CPP $CPPFLAGS'
43099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43106 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43107 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43108 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43109 do :
43110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43112 eval as_val=\$$as_ac_var
43113 if test "x$as_val" = x""yes; then :
43114 cat >>confdefs.h <<_ACEOF
43115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43116 _ACEOF
43119 done
43128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43129 $as_echo_n "checking for long double round functions... " >&6; }
43130 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43131 $as_echo_n "(cached) " >&6
43132 else
43135 ac_ext=cpp
43136 ac_cpp='$CXXCPP $CPPFLAGS'
43137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43142 /* end confdefs.h. */
43143 #include <math.h>
43145 main ()
43147 ceill (0); floorl (0);
43149 return 0;
43151 _ACEOF
43152 if ac_fn_cxx_try_compile "$LINENO"; then :
43153 glibcxx_cv_func_long_double_round_use=yes
43154 else
43155 glibcxx_cv_func_long_double_round_use=no
43157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43158 ac_ext=c
43159 ac_cpp='$CPP $CPPFLAGS'
43160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43167 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43168 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43169 for ac_func in ceill floorl
43170 do :
43171 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43172 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43173 eval as_val=\$$as_ac_var
43174 if test "x$as_val" = x""yes; then :
43175 cat >>confdefs.h <<_ACEOF
43176 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43177 _ACEOF
43180 done
43182 else
43183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43184 $as_echo_n "checking for _long double round functions... " >&6; }
43185 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43186 $as_echo_n "(cached) " >&6
43187 else
43190 ac_ext=cpp
43191 ac_cpp='$CXXCPP $CPPFLAGS'
43192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43197 /* end confdefs.h. */
43198 #include <math.h>
43200 main ()
43202 _ceill (0); _floorl (0);
43204 return 0;
43206 _ACEOF
43207 if ac_fn_cxx_try_compile "$LINENO"; then :
43208 glibcxx_cv_func__long_double_round_use=yes
43209 else
43210 glibcxx_cv_func__long_double_round_use=no
43212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43213 ac_ext=c
43214 ac_cpp='$CPP $CPPFLAGS'
43215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43222 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43223 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43224 for ac_func in _ceill _floorl
43225 do :
43226 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43227 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43228 eval as_val=\$$as_ac_var
43229 if test "x$as_val" = x""yes; then :
43230 cat >>confdefs.h <<_ACEOF
43231 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43232 _ACEOF
43235 done
43245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43246 $as_echo_n "checking for isnanl declaration... " >&6; }
43247 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43248 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43249 $as_echo_n "(cached) " >&6
43250 else
43253 ac_ext=cpp
43254 ac_cpp='$CXXCPP $CPPFLAGS'
43255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43260 /* end confdefs.h. */
43261 #include <math.h>
43262 #ifdef HAVE_IEEEFP_H
43263 #include <ieeefp.h>
43264 #endif
43267 main ()
43269 isnanl(0);
43271 return 0;
43273 _ACEOF
43274 if ac_fn_cxx_try_compile "$LINENO"; then :
43275 glibcxx_cv_func_isnanl_use=yes
43276 else
43277 glibcxx_cv_func_isnanl_use=no
43279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43280 ac_ext=c
43281 ac_cpp='$CPP $CPPFLAGS'
43282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43291 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43293 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43294 for ac_func in isnanl
43295 do :
43296 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43297 if test "x$ac_cv_func_isnanl" = x""yes; then :
43298 cat >>confdefs.h <<_ACEOF
43299 #define HAVE_ISNANL 1
43300 _ACEOF
43303 done
43305 else
43307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43308 $as_echo_n "checking for _isnanl declaration... " >&6; }
43309 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43310 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43311 $as_echo_n "(cached) " >&6
43312 else
43315 ac_ext=cpp
43316 ac_cpp='$CXXCPP $CPPFLAGS'
43317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43322 /* end confdefs.h. */
43323 #include <math.h>
43324 #ifdef HAVE_IEEEFP_H
43325 #include <ieeefp.h>
43326 #endif
43329 main ()
43331 _isnanl(0);
43333 return 0;
43335 _ACEOF
43336 if ac_fn_cxx_try_compile "$LINENO"; then :
43337 glibcxx_cv_func__isnanl_use=yes
43338 else
43339 glibcxx_cv_func__isnanl_use=no
43341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43342 ac_ext=c
43343 ac_cpp='$CPP $CPPFLAGS'
43344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43353 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43355 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43356 for ac_func in _isnanl
43357 do :
43358 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43359 if test "x$ac_cv_func__isnanl" = x""yes; then :
43360 cat >>confdefs.h <<_ACEOF
43361 #define HAVE__ISNANL 1
43362 _ACEOF
43365 done
43374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43375 $as_echo_n "checking for isinfl declaration... " >&6; }
43376 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43377 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43378 $as_echo_n "(cached) " >&6
43379 else
43382 ac_ext=cpp
43383 ac_cpp='$CXXCPP $CPPFLAGS'
43384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43389 /* end confdefs.h. */
43390 #include <math.h>
43391 #ifdef HAVE_IEEEFP_H
43392 #include <ieeefp.h>
43393 #endif
43396 main ()
43398 isinfl(0);
43400 return 0;
43402 _ACEOF
43403 if ac_fn_cxx_try_compile "$LINENO"; then :
43404 glibcxx_cv_func_isinfl_use=yes
43405 else
43406 glibcxx_cv_func_isinfl_use=no
43408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43409 ac_ext=c
43410 ac_cpp='$CPP $CPPFLAGS'
43411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43420 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43422 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43423 for ac_func in isinfl
43424 do :
43425 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43426 if test "x$ac_cv_func_isinfl" = x""yes; then :
43427 cat >>confdefs.h <<_ACEOF
43428 #define HAVE_ISINFL 1
43429 _ACEOF
43432 done
43434 else
43436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43437 $as_echo_n "checking for _isinfl declaration... " >&6; }
43438 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43439 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43440 $as_echo_n "(cached) " >&6
43441 else
43444 ac_ext=cpp
43445 ac_cpp='$CXXCPP $CPPFLAGS'
43446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43451 /* end confdefs.h. */
43452 #include <math.h>
43453 #ifdef HAVE_IEEEFP_H
43454 #include <ieeefp.h>
43455 #endif
43458 main ()
43460 _isinfl(0);
43462 return 0;
43464 _ACEOF
43465 if ac_fn_cxx_try_compile "$LINENO"; then :
43466 glibcxx_cv_func__isinfl_use=yes
43467 else
43468 glibcxx_cv_func__isinfl_use=no
43470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43471 ac_ext=c
43472 ac_cpp='$CPP $CPPFLAGS'
43473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43482 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43484 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43485 for ac_func in _isinfl
43486 do :
43487 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43488 if test "x$ac_cv_func__isinfl" = x""yes; then :
43489 cat >>confdefs.h <<_ACEOF
43490 #define HAVE__ISINFL 1
43491 _ACEOF
43494 done
43503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43504 $as_echo_n "checking for atan2l declaration... " >&6; }
43505 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43506 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43507 $as_echo_n "(cached) " >&6
43508 else
43511 ac_ext=cpp
43512 ac_cpp='$CXXCPP $CPPFLAGS'
43513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43518 /* end confdefs.h. */
43519 #include <math.h>
43521 main ()
43523 atan2l(0, 0);
43525 return 0;
43527 _ACEOF
43528 if ac_fn_cxx_try_compile "$LINENO"; then :
43529 glibcxx_cv_func_atan2l_use=yes
43530 else
43531 glibcxx_cv_func_atan2l_use=no
43533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43534 ac_ext=c
43535 ac_cpp='$CPP $CPPFLAGS'
43536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43545 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43547 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43548 for ac_func in atan2l
43549 do :
43550 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43551 if test "x$ac_cv_func_atan2l" = x""yes; then :
43552 cat >>confdefs.h <<_ACEOF
43553 #define HAVE_ATAN2L 1
43554 _ACEOF
43557 done
43559 else
43561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43562 $as_echo_n "checking for _atan2l declaration... " >&6; }
43563 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43564 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43565 $as_echo_n "(cached) " >&6
43566 else
43569 ac_ext=cpp
43570 ac_cpp='$CXXCPP $CPPFLAGS'
43571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43576 /* end confdefs.h. */
43577 #include <math.h>
43579 main ()
43581 _atan2l(0, 0);
43583 return 0;
43585 _ACEOF
43586 if ac_fn_cxx_try_compile "$LINENO"; then :
43587 glibcxx_cv_func__atan2l_use=yes
43588 else
43589 glibcxx_cv_func__atan2l_use=no
43591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43592 ac_ext=c
43593 ac_cpp='$CPP $CPPFLAGS'
43594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43603 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43605 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43606 for ac_func in _atan2l
43607 do :
43608 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43609 if test "x$ac_cv_func__atan2l" = x""yes; then :
43610 cat >>confdefs.h <<_ACEOF
43611 #define HAVE__ATAN2L 1
43612 _ACEOF
43615 done
43624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43625 $as_echo_n "checking for expl declaration... " >&6; }
43626 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43627 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43628 $as_echo_n "(cached) " >&6
43629 else
43632 ac_ext=cpp
43633 ac_cpp='$CXXCPP $CPPFLAGS'
43634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43639 /* end confdefs.h. */
43640 #include <math.h>
43641 #ifdef HAVE_IEEEFP_H
43642 #include <ieeefp.h>
43643 #endif
43646 main ()
43648 expl(0);
43650 return 0;
43652 _ACEOF
43653 if ac_fn_cxx_try_compile "$LINENO"; then :
43654 glibcxx_cv_func_expl_use=yes
43655 else
43656 glibcxx_cv_func_expl_use=no
43658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43659 ac_ext=c
43660 ac_cpp='$CPP $CPPFLAGS'
43661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43670 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43672 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43673 for ac_func in expl
43674 do :
43675 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43676 if test "x$ac_cv_func_expl" = x""yes; then :
43677 cat >>confdefs.h <<_ACEOF
43678 #define HAVE_EXPL 1
43679 _ACEOF
43682 done
43684 else
43686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43687 $as_echo_n "checking for _expl declaration... " >&6; }
43688 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43689 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43690 $as_echo_n "(cached) " >&6
43691 else
43694 ac_ext=cpp
43695 ac_cpp='$CXXCPP $CPPFLAGS'
43696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43701 /* end confdefs.h. */
43702 #include <math.h>
43703 #ifdef HAVE_IEEEFP_H
43704 #include <ieeefp.h>
43705 #endif
43708 main ()
43710 _expl(0);
43712 return 0;
43714 _ACEOF
43715 if ac_fn_cxx_try_compile "$LINENO"; then :
43716 glibcxx_cv_func__expl_use=yes
43717 else
43718 glibcxx_cv_func__expl_use=no
43720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43721 ac_ext=c
43722 ac_cpp='$CPP $CPPFLAGS'
43723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43732 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43734 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43735 for ac_func in _expl
43736 do :
43737 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43738 if test "x$ac_cv_func__expl" = x""yes; then :
43739 cat >>confdefs.h <<_ACEOF
43740 #define HAVE__EXPL 1
43741 _ACEOF
43744 done
43753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43754 $as_echo_n "checking for fabsl declaration... " >&6; }
43755 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43756 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43757 $as_echo_n "(cached) " >&6
43758 else
43761 ac_ext=cpp
43762 ac_cpp='$CXXCPP $CPPFLAGS'
43763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43768 /* end confdefs.h. */
43769 #include <math.h>
43770 #ifdef HAVE_IEEEFP_H
43771 #include <ieeefp.h>
43772 #endif
43775 main ()
43777 fabsl(0);
43779 return 0;
43781 _ACEOF
43782 if ac_fn_cxx_try_compile "$LINENO"; then :
43783 glibcxx_cv_func_fabsl_use=yes
43784 else
43785 glibcxx_cv_func_fabsl_use=no
43787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43788 ac_ext=c
43789 ac_cpp='$CPP $CPPFLAGS'
43790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43799 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43801 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43802 for ac_func in fabsl
43803 do :
43804 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43805 if test "x$ac_cv_func_fabsl" = x""yes; then :
43806 cat >>confdefs.h <<_ACEOF
43807 #define HAVE_FABSL 1
43808 _ACEOF
43811 done
43813 else
43815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43816 $as_echo_n "checking for _fabsl declaration... " >&6; }
43817 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43818 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43819 $as_echo_n "(cached) " >&6
43820 else
43823 ac_ext=cpp
43824 ac_cpp='$CXXCPP $CPPFLAGS'
43825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43830 /* end confdefs.h. */
43831 #include <math.h>
43832 #ifdef HAVE_IEEEFP_H
43833 #include <ieeefp.h>
43834 #endif
43837 main ()
43839 _fabsl(0);
43841 return 0;
43843 _ACEOF
43844 if ac_fn_cxx_try_compile "$LINENO"; then :
43845 glibcxx_cv_func__fabsl_use=yes
43846 else
43847 glibcxx_cv_func__fabsl_use=no
43849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43850 ac_ext=c
43851 ac_cpp='$CPP $CPPFLAGS'
43852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43861 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43863 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43864 for ac_func in _fabsl
43865 do :
43866 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43867 if test "x$ac_cv_func__fabsl" = x""yes; then :
43868 cat >>confdefs.h <<_ACEOF
43869 #define HAVE__FABSL 1
43870 _ACEOF
43873 done
43882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43883 $as_echo_n "checking for fmodl declaration... " >&6; }
43884 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43885 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43886 $as_echo_n "(cached) " >&6
43887 else
43890 ac_ext=cpp
43891 ac_cpp='$CXXCPP $CPPFLAGS'
43892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43897 /* end confdefs.h. */
43898 #include <math.h>
43900 main ()
43902 fmodl(0, 0);
43904 return 0;
43906 _ACEOF
43907 if ac_fn_cxx_try_compile "$LINENO"; then :
43908 glibcxx_cv_func_fmodl_use=yes
43909 else
43910 glibcxx_cv_func_fmodl_use=no
43912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43913 ac_ext=c
43914 ac_cpp='$CPP $CPPFLAGS'
43915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43924 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43926 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43927 for ac_func in fmodl
43928 do :
43929 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43930 if test "x$ac_cv_func_fmodl" = x""yes; then :
43931 cat >>confdefs.h <<_ACEOF
43932 #define HAVE_FMODL 1
43933 _ACEOF
43936 done
43938 else
43940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43941 $as_echo_n "checking for _fmodl declaration... " >&6; }
43942 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43943 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43944 $as_echo_n "(cached) " >&6
43945 else
43948 ac_ext=cpp
43949 ac_cpp='$CXXCPP $CPPFLAGS'
43950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43955 /* end confdefs.h. */
43956 #include <math.h>
43958 main ()
43960 _fmodl(0, 0);
43962 return 0;
43964 _ACEOF
43965 if ac_fn_cxx_try_compile "$LINENO"; then :
43966 glibcxx_cv_func__fmodl_use=yes
43967 else
43968 glibcxx_cv_func__fmodl_use=no
43970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43971 ac_ext=c
43972 ac_cpp='$CPP $CPPFLAGS'
43973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43982 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43984 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43985 for ac_func in _fmodl
43986 do :
43987 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43988 if test "x$ac_cv_func__fmodl" = x""yes; then :
43989 cat >>confdefs.h <<_ACEOF
43990 #define HAVE__FMODL 1
43991 _ACEOF
43994 done
44003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44004 $as_echo_n "checking for frexpl declaration... " >&6; }
44005 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44006 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44007 $as_echo_n "(cached) " >&6
44008 else
44011 ac_ext=cpp
44012 ac_cpp='$CXXCPP $CPPFLAGS'
44013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44018 /* end confdefs.h. */
44019 #include <math.h>
44021 main ()
44023 frexpl(0, 0);
44025 return 0;
44027 _ACEOF
44028 if ac_fn_cxx_try_compile "$LINENO"; then :
44029 glibcxx_cv_func_frexpl_use=yes
44030 else
44031 glibcxx_cv_func_frexpl_use=no
44033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44034 ac_ext=c
44035 ac_cpp='$CPP $CPPFLAGS'
44036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44045 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44047 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44048 for ac_func in frexpl
44049 do :
44050 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44051 if test "x$ac_cv_func_frexpl" = x""yes; then :
44052 cat >>confdefs.h <<_ACEOF
44053 #define HAVE_FREXPL 1
44054 _ACEOF
44057 done
44059 else
44061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44062 $as_echo_n "checking for _frexpl declaration... " >&6; }
44063 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44064 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44065 $as_echo_n "(cached) " >&6
44066 else
44069 ac_ext=cpp
44070 ac_cpp='$CXXCPP $CPPFLAGS'
44071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44076 /* end confdefs.h. */
44077 #include <math.h>
44079 main ()
44081 _frexpl(0, 0);
44083 return 0;
44085 _ACEOF
44086 if ac_fn_cxx_try_compile "$LINENO"; then :
44087 glibcxx_cv_func__frexpl_use=yes
44088 else
44089 glibcxx_cv_func__frexpl_use=no
44091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44092 ac_ext=c
44093 ac_cpp='$CPP $CPPFLAGS'
44094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44103 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44105 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44106 for ac_func in _frexpl
44107 do :
44108 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44109 if test "x$ac_cv_func__frexpl" = x""yes; then :
44110 cat >>confdefs.h <<_ACEOF
44111 #define HAVE__FREXPL 1
44112 _ACEOF
44115 done
44124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44125 $as_echo_n "checking for hypotl declaration... " >&6; }
44126 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44127 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44128 $as_echo_n "(cached) " >&6
44129 else
44132 ac_ext=cpp
44133 ac_cpp='$CXXCPP $CPPFLAGS'
44134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44139 /* end confdefs.h. */
44140 #include <math.h>
44142 main ()
44144 hypotl(0, 0);
44146 return 0;
44148 _ACEOF
44149 if ac_fn_cxx_try_compile "$LINENO"; then :
44150 glibcxx_cv_func_hypotl_use=yes
44151 else
44152 glibcxx_cv_func_hypotl_use=no
44154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44155 ac_ext=c
44156 ac_cpp='$CPP $CPPFLAGS'
44157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44166 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44168 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44169 for ac_func in hypotl
44170 do :
44171 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44172 if test "x$ac_cv_func_hypotl" = x""yes; then :
44173 cat >>confdefs.h <<_ACEOF
44174 #define HAVE_HYPOTL 1
44175 _ACEOF
44178 done
44180 else
44182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44183 $as_echo_n "checking for _hypotl declaration... " >&6; }
44184 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44185 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44186 $as_echo_n "(cached) " >&6
44187 else
44190 ac_ext=cpp
44191 ac_cpp='$CXXCPP $CPPFLAGS'
44192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44197 /* end confdefs.h. */
44198 #include <math.h>
44200 main ()
44202 _hypotl(0, 0);
44204 return 0;
44206 _ACEOF
44207 if ac_fn_cxx_try_compile "$LINENO"; then :
44208 glibcxx_cv_func__hypotl_use=yes
44209 else
44210 glibcxx_cv_func__hypotl_use=no
44212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44213 ac_ext=c
44214 ac_cpp='$CPP $CPPFLAGS'
44215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44224 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44226 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44227 for ac_func in _hypotl
44228 do :
44229 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44230 if test "x$ac_cv_func__hypotl" = x""yes; then :
44231 cat >>confdefs.h <<_ACEOF
44232 #define HAVE__HYPOTL 1
44233 _ACEOF
44236 done
44245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44246 $as_echo_n "checking for ldexpl declaration... " >&6; }
44247 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44248 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44249 $as_echo_n "(cached) " >&6
44250 else
44253 ac_ext=cpp
44254 ac_cpp='$CXXCPP $CPPFLAGS'
44255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44260 /* end confdefs.h. */
44261 #include <math.h>
44263 main ()
44265 ldexpl(0, 0);
44267 return 0;
44269 _ACEOF
44270 if ac_fn_cxx_try_compile "$LINENO"; then :
44271 glibcxx_cv_func_ldexpl_use=yes
44272 else
44273 glibcxx_cv_func_ldexpl_use=no
44275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44276 ac_ext=c
44277 ac_cpp='$CPP $CPPFLAGS'
44278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44287 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44289 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44290 for ac_func in ldexpl
44291 do :
44292 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44293 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44294 cat >>confdefs.h <<_ACEOF
44295 #define HAVE_LDEXPL 1
44296 _ACEOF
44299 done
44301 else
44303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44304 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44305 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44306 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44307 $as_echo_n "(cached) " >&6
44308 else
44311 ac_ext=cpp
44312 ac_cpp='$CXXCPP $CPPFLAGS'
44313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44318 /* end confdefs.h. */
44319 #include <math.h>
44321 main ()
44323 _ldexpl(0, 0);
44325 return 0;
44327 _ACEOF
44328 if ac_fn_cxx_try_compile "$LINENO"; then :
44329 glibcxx_cv_func__ldexpl_use=yes
44330 else
44331 glibcxx_cv_func__ldexpl_use=no
44333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44334 ac_ext=c
44335 ac_cpp='$CPP $CPPFLAGS'
44336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44345 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44347 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44348 for ac_func in _ldexpl
44349 do :
44350 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44351 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44352 cat >>confdefs.h <<_ACEOF
44353 #define HAVE__LDEXPL 1
44354 _ACEOF
44357 done
44366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44367 $as_echo_n "checking for logl declaration... " >&6; }
44368 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44369 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44370 $as_echo_n "(cached) " >&6
44371 else
44374 ac_ext=cpp
44375 ac_cpp='$CXXCPP $CPPFLAGS'
44376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44381 /* end confdefs.h. */
44382 #include <math.h>
44383 #ifdef HAVE_IEEEFP_H
44384 #include <ieeefp.h>
44385 #endif
44388 main ()
44390 logl(0);
44392 return 0;
44394 _ACEOF
44395 if ac_fn_cxx_try_compile "$LINENO"; then :
44396 glibcxx_cv_func_logl_use=yes
44397 else
44398 glibcxx_cv_func_logl_use=no
44400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44401 ac_ext=c
44402 ac_cpp='$CPP $CPPFLAGS'
44403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44412 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44414 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44415 for ac_func in logl
44416 do :
44417 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44418 if test "x$ac_cv_func_logl" = x""yes; then :
44419 cat >>confdefs.h <<_ACEOF
44420 #define HAVE_LOGL 1
44421 _ACEOF
44424 done
44426 else
44428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44429 $as_echo_n "checking for _logl declaration... " >&6; }
44430 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44431 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44432 $as_echo_n "(cached) " >&6
44433 else
44436 ac_ext=cpp
44437 ac_cpp='$CXXCPP $CPPFLAGS'
44438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44443 /* end confdefs.h. */
44444 #include <math.h>
44445 #ifdef HAVE_IEEEFP_H
44446 #include <ieeefp.h>
44447 #endif
44450 main ()
44452 _logl(0);
44454 return 0;
44456 _ACEOF
44457 if ac_fn_cxx_try_compile "$LINENO"; then :
44458 glibcxx_cv_func__logl_use=yes
44459 else
44460 glibcxx_cv_func__logl_use=no
44462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44463 ac_ext=c
44464 ac_cpp='$CPP $CPPFLAGS'
44465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44474 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44476 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44477 for ac_func in _logl
44478 do :
44479 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44480 if test "x$ac_cv_func__logl" = x""yes; then :
44481 cat >>confdefs.h <<_ACEOF
44482 #define HAVE__LOGL 1
44483 _ACEOF
44486 done
44495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44496 $as_echo_n "checking for log10l declaration... " >&6; }
44497 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44498 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44499 $as_echo_n "(cached) " >&6
44500 else
44503 ac_ext=cpp
44504 ac_cpp='$CXXCPP $CPPFLAGS'
44505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44510 /* end confdefs.h. */
44511 #include <math.h>
44512 #ifdef HAVE_IEEEFP_H
44513 #include <ieeefp.h>
44514 #endif
44517 main ()
44519 log10l(0);
44521 return 0;
44523 _ACEOF
44524 if ac_fn_cxx_try_compile "$LINENO"; then :
44525 glibcxx_cv_func_log10l_use=yes
44526 else
44527 glibcxx_cv_func_log10l_use=no
44529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44530 ac_ext=c
44531 ac_cpp='$CPP $CPPFLAGS'
44532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44541 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44543 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44544 for ac_func in log10l
44545 do :
44546 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44547 if test "x$ac_cv_func_log10l" = x""yes; then :
44548 cat >>confdefs.h <<_ACEOF
44549 #define HAVE_LOG10L 1
44550 _ACEOF
44553 done
44555 else
44557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44558 $as_echo_n "checking for _log10l declaration... " >&6; }
44559 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44560 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44561 $as_echo_n "(cached) " >&6
44562 else
44565 ac_ext=cpp
44566 ac_cpp='$CXXCPP $CPPFLAGS'
44567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44572 /* end confdefs.h. */
44573 #include <math.h>
44574 #ifdef HAVE_IEEEFP_H
44575 #include <ieeefp.h>
44576 #endif
44579 main ()
44581 _log10l(0);
44583 return 0;
44585 _ACEOF
44586 if ac_fn_cxx_try_compile "$LINENO"; then :
44587 glibcxx_cv_func__log10l_use=yes
44588 else
44589 glibcxx_cv_func__log10l_use=no
44591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44592 ac_ext=c
44593 ac_cpp='$CPP $CPPFLAGS'
44594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44603 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44605 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44606 for ac_func in _log10l
44607 do :
44608 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44609 if test "x$ac_cv_func__log10l" = x""yes; then :
44610 cat >>confdefs.h <<_ACEOF
44611 #define HAVE__LOG10L 1
44612 _ACEOF
44615 done
44624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44625 $as_echo_n "checking for modfl declaration... " >&6; }
44626 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44627 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44628 $as_echo_n "(cached) " >&6
44629 else
44632 ac_ext=cpp
44633 ac_cpp='$CXXCPP $CPPFLAGS'
44634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44639 /* end confdefs.h. */
44640 #include <math.h>
44642 main ()
44644 modfl(0, 0);
44646 return 0;
44648 _ACEOF
44649 if ac_fn_cxx_try_compile "$LINENO"; then :
44650 glibcxx_cv_func_modfl_use=yes
44651 else
44652 glibcxx_cv_func_modfl_use=no
44654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44655 ac_ext=c
44656 ac_cpp='$CPP $CPPFLAGS'
44657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44666 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44668 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44669 for ac_func in modfl
44670 do :
44671 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44672 if test "x$ac_cv_func_modfl" = x""yes; then :
44673 cat >>confdefs.h <<_ACEOF
44674 #define HAVE_MODFL 1
44675 _ACEOF
44678 done
44680 else
44682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44683 $as_echo_n "checking for _modfl declaration... " >&6; }
44684 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44685 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44686 $as_echo_n "(cached) " >&6
44687 else
44690 ac_ext=cpp
44691 ac_cpp='$CXXCPP $CPPFLAGS'
44692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44697 /* end confdefs.h. */
44698 #include <math.h>
44700 main ()
44702 _modfl(0, 0);
44704 return 0;
44706 _ACEOF
44707 if ac_fn_cxx_try_compile "$LINENO"; then :
44708 glibcxx_cv_func__modfl_use=yes
44709 else
44710 glibcxx_cv_func__modfl_use=no
44712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44713 ac_ext=c
44714 ac_cpp='$CPP $CPPFLAGS'
44715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44724 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44726 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44727 for ac_func in _modfl
44728 do :
44729 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44730 if test "x$ac_cv_func__modfl" = x""yes; then :
44731 cat >>confdefs.h <<_ACEOF
44732 #define HAVE__MODFL 1
44733 _ACEOF
44736 done
44745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44746 $as_echo_n "checking for powl declaration... " >&6; }
44747 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44748 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44749 $as_echo_n "(cached) " >&6
44750 else
44753 ac_ext=cpp
44754 ac_cpp='$CXXCPP $CPPFLAGS'
44755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44760 /* end confdefs.h. */
44761 #include <math.h>
44763 main ()
44765 powl(0, 0);
44767 return 0;
44769 _ACEOF
44770 if ac_fn_cxx_try_compile "$LINENO"; then :
44771 glibcxx_cv_func_powl_use=yes
44772 else
44773 glibcxx_cv_func_powl_use=no
44775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44776 ac_ext=c
44777 ac_cpp='$CPP $CPPFLAGS'
44778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44787 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44789 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44790 for ac_func in powl
44791 do :
44792 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44793 if test "x$ac_cv_func_powl" = x""yes; then :
44794 cat >>confdefs.h <<_ACEOF
44795 #define HAVE_POWL 1
44796 _ACEOF
44799 done
44801 else
44803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44804 $as_echo_n "checking for _powl declaration... " >&6; }
44805 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44806 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44807 $as_echo_n "(cached) " >&6
44808 else
44811 ac_ext=cpp
44812 ac_cpp='$CXXCPP $CPPFLAGS'
44813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44818 /* end confdefs.h. */
44819 #include <math.h>
44821 main ()
44823 _powl(0, 0);
44825 return 0;
44827 _ACEOF
44828 if ac_fn_cxx_try_compile "$LINENO"; then :
44829 glibcxx_cv_func__powl_use=yes
44830 else
44831 glibcxx_cv_func__powl_use=no
44833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44834 ac_ext=c
44835 ac_cpp='$CPP $CPPFLAGS'
44836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44845 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44847 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44848 for ac_func in _powl
44849 do :
44850 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44851 if test "x$ac_cv_func__powl" = x""yes; then :
44852 cat >>confdefs.h <<_ACEOF
44853 #define HAVE__POWL 1
44854 _ACEOF
44857 done
44866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44867 $as_echo_n "checking for sqrtl declaration... " >&6; }
44868 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44869 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44870 $as_echo_n "(cached) " >&6
44871 else
44874 ac_ext=cpp
44875 ac_cpp='$CXXCPP $CPPFLAGS'
44876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44881 /* end confdefs.h. */
44882 #include <math.h>
44883 #ifdef HAVE_IEEEFP_H
44884 #include <ieeefp.h>
44885 #endif
44888 main ()
44890 sqrtl(0);
44892 return 0;
44894 _ACEOF
44895 if ac_fn_cxx_try_compile "$LINENO"; then :
44896 glibcxx_cv_func_sqrtl_use=yes
44897 else
44898 glibcxx_cv_func_sqrtl_use=no
44900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44901 ac_ext=c
44902 ac_cpp='$CPP $CPPFLAGS'
44903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44912 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44914 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44915 for ac_func in sqrtl
44916 do :
44917 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44918 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44919 cat >>confdefs.h <<_ACEOF
44920 #define HAVE_SQRTL 1
44921 _ACEOF
44924 done
44926 else
44928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44929 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44930 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44931 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44932 $as_echo_n "(cached) " >&6
44933 else
44936 ac_ext=cpp
44937 ac_cpp='$CXXCPP $CPPFLAGS'
44938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44943 /* end confdefs.h. */
44944 #include <math.h>
44945 #ifdef HAVE_IEEEFP_H
44946 #include <ieeefp.h>
44947 #endif
44950 main ()
44952 _sqrtl(0);
44954 return 0;
44956 _ACEOF
44957 if ac_fn_cxx_try_compile "$LINENO"; then :
44958 glibcxx_cv_func__sqrtl_use=yes
44959 else
44960 glibcxx_cv_func__sqrtl_use=no
44962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44963 ac_ext=c
44964 ac_cpp='$CPP $CPPFLAGS'
44965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44974 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44976 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44977 for ac_func in _sqrtl
44978 do :
44979 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44980 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44981 cat >>confdefs.h <<_ACEOF
44982 #define HAVE__SQRTL 1
44983 _ACEOF
44986 done
44995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44996 $as_echo_n "checking for sincosl declaration... " >&6; }
44997 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44998 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44999 $as_echo_n "(cached) " >&6
45000 else
45003 ac_ext=cpp
45004 ac_cpp='$CXXCPP $CPPFLAGS'
45005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45010 /* end confdefs.h. */
45011 #include <math.h>
45013 main ()
45015 sincosl(0, 0, 0);
45017 return 0;
45019 _ACEOF
45020 if ac_fn_cxx_try_compile "$LINENO"; then :
45021 glibcxx_cv_func_sincosl_use=yes
45022 else
45023 glibcxx_cv_func_sincosl_use=no
45025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45026 ac_ext=c
45027 ac_cpp='$CPP $CPPFLAGS'
45028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45037 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45039 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45040 for ac_func in sincosl
45041 do :
45042 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45043 if test "x$ac_cv_func_sincosl" = x""yes; then :
45044 cat >>confdefs.h <<_ACEOF
45045 #define HAVE_SINCOSL 1
45046 _ACEOF
45049 done
45051 else
45053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45054 $as_echo_n "checking for _sincosl declaration... " >&6; }
45055 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45056 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45057 $as_echo_n "(cached) " >&6
45058 else
45061 ac_ext=cpp
45062 ac_cpp='$CXXCPP $CPPFLAGS'
45063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45068 /* end confdefs.h. */
45069 #include <math.h>
45071 main ()
45073 _sincosl(0, 0, 0);
45075 return 0;
45077 _ACEOF
45078 if ac_fn_cxx_try_compile "$LINENO"; then :
45079 glibcxx_cv_func__sincosl_use=yes
45080 else
45081 glibcxx_cv_func__sincosl_use=no
45083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45084 ac_ext=c
45085 ac_cpp='$CPP $CPPFLAGS'
45086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45095 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45097 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45098 for ac_func in _sincosl
45099 do :
45100 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45101 if test "x$ac_cv_func__sincosl" = x""yes; then :
45102 cat >>confdefs.h <<_ACEOF
45103 #define HAVE__SINCOSL 1
45104 _ACEOF
45107 done
45116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45117 $as_echo_n "checking for finitel declaration... " >&6; }
45118 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45119 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45120 $as_echo_n "(cached) " >&6
45121 else
45124 ac_ext=cpp
45125 ac_cpp='$CXXCPP $CPPFLAGS'
45126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45131 /* end confdefs.h. */
45132 #include <math.h>
45133 #ifdef HAVE_IEEEFP_H
45134 #include <ieeefp.h>
45135 #endif
45138 main ()
45140 finitel(0);
45142 return 0;
45144 _ACEOF
45145 if ac_fn_cxx_try_compile "$LINENO"; then :
45146 glibcxx_cv_func_finitel_use=yes
45147 else
45148 glibcxx_cv_func_finitel_use=no
45150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45151 ac_ext=c
45152 ac_cpp='$CPP $CPPFLAGS'
45153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45162 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45164 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45165 for ac_func in finitel
45166 do :
45167 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45168 if test "x$ac_cv_func_finitel" = x""yes; then :
45169 cat >>confdefs.h <<_ACEOF
45170 #define HAVE_FINITEL 1
45171 _ACEOF
45174 done
45176 else
45178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45179 $as_echo_n "checking for _finitel declaration... " >&6; }
45180 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45181 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45182 $as_echo_n "(cached) " >&6
45183 else
45186 ac_ext=cpp
45187 ac_cpp='$CXXCPP $CPPFLAGS'
45188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45193 /* end confdefs.h. */
45194 #include <math.h>
45195 #ifdef HAVE_IEEEFP_H
45196 #include <ieeefp.h>
45197 #endif
45200 main ()
45202 _finitel(0);
45204 return 0;
45206 _ACEOF
45207 if ac_fn_cxx_try_compile "$LINENO"; then :
45208 glibcxx_cv_func__finitel_use=yes
45209 else
45210 glibcxx_cv_func__finitel_use=no
45212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45213 ac_ext=c
45214 ac_cpp='$CPP $CPPFLAGS'
45215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45224 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45226 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45227 for ac_func in _finitel
45228 do :
45229 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45230 if test "x$ac_cv_func__finitel" = x""yes; then :
45231 cat >>confdefs.h <<_ACEOF
45232 #define HAVE__FINITEL 1
45233 _ACEOF
45236 done
45244 LIBS="$ac_save_LIBS"
45245 CXXFLAGS="$ac_save_CXXFLAGS"
45248 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45249 ac_save_CXXFLAGS="$CXXFLAGS"
45250 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45254 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45255 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45256 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45257 $as_echo_n "(cached) " >&6
45258 else
45261 ac_ext=cpp
45262 ac_cpp='$CXXCPP $CPPFLAGS'
45263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45268 /* end confdefs.h. */
45269 #include <stdlib.h>
45271 main ()
45273 at_quick_exit(0);
45275 return 0;
45277 _ACEOF
45278 if ac_fn_cxx_try_compile "$LINENO"; then :
45279 glibcxx_cv_func_at_quick_exit_use=yes
45280 else
45281 glibcxx_cv_func_at_quick_exit_use=no
45283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45284 ac_ext=c
45285 ac_cpp='$CPP $CPPFLAGS'
45286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45295 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45296 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45297 for ac_func in at_quick_exit
45298 do :
45299 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45300 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45301 cat >>confdefs.h <<_ACEOF
45302 #define HAVE_AT_QUICK_EXIT 1
45303 _ACEOF
45306 done
45311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45312 $as_echo_n "checking for quick_exit declaration... " >&6; }
45313 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45314 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45315 $as_echo_n "(cached) " >&6
45316 else
45319 ac_ext=cpp
45320 ac_cpp='$CXXCPP $CPPFLAGS'
45321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45326 /* end confdefs.h. */
45327 #include <stdlib.h>
45329 main ()
45331 quick_exit(0);
45333 return 0;
45335 _ACEOF
45336 if ac_fn_cxx_try_compile "$LINENO"; then :
45337 glibcxx_cv_func_quick_exit_use=yes
45338 else
45339 glibcxx_cv_func_quick_exit_use=no
45341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45342 ac_ext=c
45343 ac_cpp='$CPP $CPPFLAGS'
45344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45353 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45354 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45355 for ac_func in quick_exit
45356 do :
45357 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45358 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45359 cat >>confdefs.h <<_ACEOF
45360 #define HAVE_QUICK_EXIT 1
45361 _ACEOF
45364 done
45369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45370 $as_echo_n "checking for strtold declaration... " >&6; }
45371 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45372 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45373 $as_echo_n "(cached) " >&6
45374 else
45377 ac_ext=cpp
45378 ac_cpp='$CXXCPP $CPPFLAGS'
45379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45384 /* end confdefs.h. */
45385 #include <stdlib.h>
45387 main ()
45389 strtold(0, 0);
45391 return 0;
45393 _ACEOF
45394 if ac_fn_cxx_try_compile "$LINENO"; then :
45395 glibcxx_cv_func_strtold_use=yes
45396 else
45397 glibcxx_cv_func_strtold_use=no
45399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45400 ac_ext=c
45401 ac_cpp='$CPP $CPPFLAGS'
45402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45411 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45412 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45413 for ac_func in strtold
45414 do :
45415 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45416 if test "x$ac_cv_func_strtold" = x""yes; then :
45417 cat >>confdefs.h <<_ACEOF
45418 #define HAVE_STRTOLD 1
45419 _ACEOF
45422 done
45429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45430 $as_echo_n "checking for strtof declaration... " >&6; }
45431 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45432 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45433 $as_echo_n "(cached) " >&6
45434 else
45437 ac_ext=cpp
45438 ac_cpp='$CXXCPP $CPPFLAGS'
45439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45444 /* end confdefs.h. */
45445 #include <stdlib.h>
45447 main ()
45449 strtof(0, 0);
45451 return 0;
45453 _ACEOF
45454 if ac_fn_cxx_try_compile "$LINENO"; then :
45455 glibcxx_cv_func_strtof_use=yes
45456 else
45457 glibcxx_cv_func_strtof_use=no
45459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45460 ac_ext=c
45461 ac_cpp='$CPP $CPPFLAGS'
45462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45471 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45472 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45473 for ac_func in strtof
45474 do :
45475 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45476 if test "x$ac_cv_func_strtof" = x""yes; then :
45477 cat >>confdefs.h <<_ACEOF
45478 #define HAVE_STRTOF 1
45479 _ACEOF
45482 done
45489 CXXFLAGS="$ac_save_CXXFLAGS"
45493 *djgpp)
45494 # GLIBCXX_CHECK_MATH_SUPPORT
45495 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45497 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45499 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45501 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
45503 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45507 *-freebsd*)
45508 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45511 # If we're not using GNU ld, then there's no point in even trying these
45512 # tests. Check for that first. We should have already tested for gld
45513 # by now (in libtool), but require it now just to be safe...
45514 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45515 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45519 # The name set by libtool depends on the version of libtool. Shame on us
45520 # for depending on an impl detail, but c'est la vie. Older versions used
45521 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45522 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45523 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45524 # set (hence we're using an older libtool), then set it.
45525 if test x${with_gnu_ld+set} != xset; then
45526 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45527 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45528 with_gnu_ld=no
45529 else
45530 with_gnu_ld=$ac_cv_prog_gnu_ld
45534 # Start by getting the version number. I think the libtool test already
45535 # does some of this, but throws away the result.
45536 glibcxx_ld_is_gold=no
45537 if test x"$with_gnu_ld" = x"yes"; then
45538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45539 $as_echo_n "checking for ld version... " >&6; }
45541 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45542 glibcxx_ld_is_gold=yes
45544 ldver=`$LD --version 2>/dev/null |
45545 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'`
45547 glibcxx_gnu_ld_version=`echo $ldver | \
45548 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45550 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45553 # Set --gc-sections.
45554 glibcxx_have_gc_sections=no
45555 if test "$glibcxx_ld_is_gold" = "yes"; then
45556 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45557 glibcxx_have_gc_sections=yes
45559 else
45560 glibcxx_gcsections_min_ld=21602
45561 if test x"$with_gnu_ld" = x"yes" &&
45562 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45563 glibcxx_have_gc_sections=yes
45566 if test "$glibcxx_have_gc_sections" = "yes"; then
45567 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45568 # NB: This flag only works reliably after 2.16.1. Configure tests
45569 # for this are difficult, so hard wire a value that should work.
45571 ac_test_CFLAGS="${CFLAGS+set}"
45572 ac_save_CFLAGS="$CFLAGS"
45573 CFLAGS='-Wl,--gc-sections'
45575 # Check for -Wl,--gc-sections
45576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45577 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45578 if test x$gcc_no_link = xyes; then
45579 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45582 /* end confdefs.h. */
45583 int one(void) { return 1; }
45584 int two(void) { return 2; }
45587 main ()
45589 two();
45591 return 0;
45593 _ACEOF
45594 if ac_fn_c_try_link "$LINENO"; then :
45595 ac_gcsections=yes
45596 else
45597 ac_gcsections=no
45599 rm -f core conftest.err conftest.$ac_objext \
45600 conftest$ac_exeext conftest.$ac_ext
45601 if test "$ac_gcsections" = "yes"; then
45602 rm -f conftest.c
45603 touch conftest.c
45604 if $CC -c conftest.c; then
45605 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45606 grep "Warning: gc-sections option ignored" > /dev/null; then
45607 ac_gcsections=no
45610 rm -f conftest.c conftest.o conftest
45612 if test "$ac_gcsections" = "yes"; then
45613 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45616 $as_echo "$ac_gcsections" >&6; }
45618 if test "$ac_test_CFLAGS" = set; then
45619 CFLAGS="$ac_save_CFLAGS"
45620 else
45621 # this is the suspicious part
45622 CFLAGS=''
45626 # Set -z,relro.
45627 # Note this is only for shared objects.
45628 ac_ld_relro=no
45629 if test x"$with_gnu_ld" = x"yes"; then
45630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45631 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45632 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45633 if test -n "$cxx_z_relo"; then
45634 OPT_LDFLAGS="-Wl,-z,relro"
45635 ac_ld_relro=yes
45637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45638 $as_echo "$ac_ld_relro" >&6; }
45641 # Set linker optimization flags.
45642 if test x"$with_gnu_ld" = x"yes"; then
45643 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45649 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
45651 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45653 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45655 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45657 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45659 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
45661 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45663 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45665 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45668 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45670 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45672 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45674 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45676 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
45678 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45680 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45682 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45684 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45686 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45688 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45690 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45692 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45694 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45696 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45698 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45700 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45702 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45704 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45706 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45708 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45710 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45712 if test x"long_double_math_on_this_cpu" = x"yes"; then
45713 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45715 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45717 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45721 *-hpux*)
45722 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45725 # If we're not using GNU ld, then there's no point in even trying these
45726 # tests. Check for that first. We should have already tested for gld
45727 # by now (in libtool), but require it now just to be safe...
45728 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45729 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45733 # The name set by libtool depends on the version of libtool. Shame on us
45734 # for depending on an impl detail, but c'est la vie. Older versions used
45735 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45736 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45737 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45738 # set (hence we're using an older libtool), then set it.
45739 if test x${with_gnu_ld+set} != xset; then
45740 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45741 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45742 with_gnu_ld=no
45743 else
45744 with_gnu_ld=$ac_cv_prog_gnu_ld
45748 # Start by getting the version number. I think the libtool test already
45749 # does some of this, but throws away the result.
45750 glibcxx_ld_is_gold=no
45751 if test x"$with_gnu_ld" = x"yes"; then
45752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45753 $as_echo_n "checking for ld version... " >&6; }
45755 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45756 glibcxx_ld_is_gold=yes
45758 ldver=`$LD --version 2>/dev/null |
45759 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'`
45761 glibcxx_gnu_ld_version=`echo $ldver | \
45762 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45764 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45767 # Set --gc-sections.
45768 glibcxx_have_gc_sections=no
45769 if test "$glibcxx_ld_is_gold" = "yes"; then
45770 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45771 glibcxx_have_gc_sections=yes
45773 else
45774 glibcxx_gcsections_min_ld=21602
45775 if test x"$with_gnu_ld" = x"yes" &&
45776 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45777 glibcxx_have_gc_sections=yes
45780 if test "$glibcxx_have_gc_sections" = "yes"; then
45781 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45782 # NB: This flag only works reliably after 2.16.1. Configure tests
45783 # for this are difficult, so hard wire a value that should work.
45785 ac_test_CFLAGS="${CFLAGS+set}"
45786 ac_save_CFLAGS="$CFLAGS"
45787 CFLAGS='-Wl,--gc-sections'
45789 # Check for -Wl,--gc-sections
45790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45791 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45792 if test x$gcc_no_link = xyes; then
45793 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45796 /* end confdefs.h. */
45797 int one(void) { return 1; }
45798 int two(void) { return 2; }
45801 main ()
45803 two();
45805 return 0;
45807 _ACEOF
45808 if ac_fn_c_try_link "$LINENO"; then :
45809 ac_gcsections=yes
45810 else
45811 ac_gcsections=no
45813 rm -f core conftest.err conftest.$ac_objext \
45814 conftest$ac_exeext conftest.$ac_ext
45815 if test "$ac_gcsections" = "yes"; then
45816 rm -f conftest.c
45817 touch conftest.c
45818 if $CC -c conftest.c; then
45819 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45820 grep "Warning: gc-sections option ignored" > /dev/null; then
45821 ac_gcsections=no
45824 rm -f conftest.c conftest.o conftest
45826 if test "$ac_gcsections" = "yes"; then
45827 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45830 $as_echo "$ac_gcsections" >&6; }
45832 if test "$ac_test_CFLAGS" = set; then
45833 CFLAGS="$ac_save_CFLAGS"
45834 else
45835 # this is the suspicious part
45836 CFLAGS=''
45840 # Set -z,relro.
45841 # Note this is only for shared objects.
45842 ac_ld_relro=no
45843 if test x"$with_gnu_ld" = x"yes"; then
45844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45845 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45846 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45847 if test -n "$cxx_z_relo"; then
45848 OPT_LDFLAGS="-Wl,-z,relro"
45849 ac_ld_relro=yes
45851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45852 $as_echo "$ac_ld_relro" >&6; }
45855 # Set linker optimization flags.
45856 if test x"$with_gnu_ld" = x"yes"; then
45857 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45864 # GLIBCXX_CHECK_MATH_SUPPORT
45865 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45867 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45869 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45871 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45873 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45875 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45877 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45879 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45881 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45883 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45885 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45887 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45889 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45891 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45893 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45895 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45897 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45899 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45901 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45903 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45905 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45908 # GLIBCXX_CHECK_STDLIB_SUPPORT
45909 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45914 # Check whether --enable-tls was given.
45915 if test "${enable_tls+set}" = set; then :
45916 enableval=$enable_tls;
45917 case "$enableval" in
45918 yes|no) ;;
45919 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45920 esac
45922 else
45923 enable_tls=yes
45927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45928 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45929 if test "${gcc_cv_have_tls+set}" = set; then :
45930 $as_echo_n "(cached) " >&6
45931 else
45933 if test "$cross_compiling" = yes; then :
45934 if test x$gcc_no_link = xyes; then
45935 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45938 /* end confdefs.h. */
45939 __thread int a; int b; int main() { return a = b; }
45940 _ACEOF
45941 if ac_fn_c_try_link "$LINENO"; then :
45942 chktls_save_LDFLAGS="$LDFLAGS"
45943 case $host in
45944 *-*-linux*)
45945 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45947 esac
45948 chktls_save_CFLAGS="$CFLAGS"
45949 CFLAGS="-fPIC $CFLAGS"
45950 if test x$gcc_no_link = xyes; then
45951 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45954 /* end confdefs.h. */
45955 int f() { return 0; }
45956 _ACEOF
45957 if ac_fn_c_try_link "$LINENO"; then :
45958 if test x$gcc_no_link = xyes; then
45959 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45962 /* end confdefs.h. */
45963 __thread int a; int b; int f() { return a = b; }
45964 _ACEOF
45965 if ac_fn_c_try_link "$LINENO"; then :
45966 gcc_cv_have_tls=yes
45967 else
45968 gcc_cv_have_tls=no
45970 rm -f core conftest.err conftest.$ac_objext \
45971 conftest$ac_exeext conftest.$ac_ext
45972 else
45973 gcc_cv_have_tls=yes
45975 rm -f core conftest.err conftest.$ac_objext \
45976 conftest$ac_exeext conftest.$ac_ext
45977 CFLAGS="$chktls_save_CFLAGS"
45978 LDFLAGS="$chktls_save_LDFLAGS"
45979 else
45980 gcc_cv_have_tls=no
45982 rm -f core conftest.err conftest.$ac_objext \
45983 conftest$ac_exeext conftest.$ac_ext
45986 else
45987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45988 /* end confdefs.h. */
45989 __thread int a; int b; int main() { return a = b; }
45990 _ACEOF
45991 if ac_fn_c_try_run "$LINENO"; then :
45992 chktls_save_LDFLAGS="$LDFLAGS"
45993 LDFLAGS="-static $LDFLAGS"
45994 if test x$gcc_no_link = xyes; then
45995 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45998 /* end confdefs.h. */
45999 int main() { return 0; }
46000 _ACEOF
46001 if ac_fn_c_try_link "$LINENO"; then :
46002 if test "$cross_compiling" = yes; then :
46003 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46004 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
46005 as_fn_error "cannot run test program while cross compiling
46006 See \`config.log' for more details." "$LINENO" 5; }
46007 else
46008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46009 /* end confdefs.h. */
46010 __thread int a; int b; int main() { return a = b; }
46011 _ACEOF
46012 if ac_fn_c_try_run "$LINENO"; then :
46013 gcc_cv_have_tls=yes
46014 else
46015 gcc_cv_have_tls=no
46017 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46018 conftest.$ac_objext conftest.beam conftest.$ac_ext
46021 else
46022 gcc_cv_have_tls=yes
46024 rm -f core conftest.err conftest.$ac_objext \
46025 conftest$ac_exeext conftest.$ac_ext
46026 LDFLAGS="$chktls_save_LDFLAGS"
46027 if test $gcc_cv_have_tls = yes; then
46028 chktls_save_CFLAGS="$CFLAGS"
46029 thread_CFLAGS=failed
46030 for flag in '' '-pthread' '-lpthread'; do
46031 CFLAGS="$flag $chktls_save_CFLAGS"
46032 if test x$gcc_no_link = xyes; then
46033 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46036 /* end confdefs.h. */
46037 #include <pthread.h>
46038 void *g(void *d) { return NULL; }
46040 main ()
46042 pthread_t t; pthread_create(&t,NULL,g,NULL);
46044 return 0;
46046 _ACEOF
46047 if ac_fn_c_try_link "$LINENO"; then :
46048 thread_CFLAGS="$flag"
46050 rm -f core conftest.err conftest.$ac_objext \
46051 conftest$ac_exeext conftest.$ac_ext
46052 if test "X$thread_CFLAGS" != Xfailed; then
46053 break
46055 done
46056 CFLAGS="$chktls_save_CFLAGS"
46057 if test "X$thread_CFLAGS" != Xfailed; then
46058 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
46059 if test "$cross_compiling" = yes; then :
46060 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46061 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
46062 as_fn_error "cannot run test program while cross compiling
46063 See \`config.log' for more details." "$LINENO" 5; }
46064 else
46065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46066 /* end confdefs.h. */
46067 #include <pthread.h>
46068 __thread int a;
46069 static int *volatile a_in_other_thread;
46070 static void *
46071 thread_func (void *arg)
46073 a_in_other_thread = &a;
46074 return (void *)0;
46077 main ()
46079 pthread_t thread;
46080 void *thread_retval;
46081 int *volatile a_in_main_thread;
46082 a_in_main_thread = &a;
46083 if (pthread_create (&thread, (pthread_attr_t *)0,
46084 thread_func, (void *)0))
46085 return 0;
46086 if (pthread_join (thread, &thread_retval))
46087 return 0;
46088 return (a_in_other_thread == a_in_main_thread);
46090 return 0;
46092 _ACEOF
46093 if ac_fn_c_try_run "$LINENO"; then :
46094 gcc_cv_have_tls=yes
46095 else
46096 gcc_cv_have_tls=no
46098 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46099 conftest.$ac_objext conftest.beam conftest.$ac_ext
46102 CFLAGS="$chktls_save_CFLAGS"
46105 else
46106 gcc_cv_have_tls=no
46108 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46109 conftest.$ac_objext conftest.beam conftest.$ac_ext
46113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
46114 $as_echo "$gcc_cv_have_tls" >&6; }
46115 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
46117 $as_echo "#define HAVE_TLS 1" >>confdefs.h
46120 case "$target" in
46121 *-hpux10*)
46122 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
46124 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
46126 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
46128 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
46130 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
46133 esac
46135 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
46137 # All these tests are for C++; save the language and the compiler flags.
46138 # The CXXFLAGS thing is suspicious, but based on similar bits previously
46139 # found in GLIBCXX_CONFIGURE.
46141 ac_ext=cpp
46142 ac_cpp='$CXXCPP $CPPFLAGS'
46143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46147 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46148 ac_save_CXXFLAGS="$CXXFLAGS"
46150 # Check for maintainer-mode bits.
46151 if test x"$USE_MAINTAINER_MODE" = xno; then
46152 WERROR=''
46153 else
46154 WERROR='-Werror'
46157 # Check for -ffunction-sections -fdata-sections
46158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
46159 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
46160 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
46161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46162 /* end confdefs.h. */
46163 int foo; void bar() { };
46165 main ()
46169 return 0;
46171 _ACEOF
46172 if ac_fn_cxx_try_compile "$LINENO"; then :
46173 ac_fdsections=yes
46174 else
46175 ac_fdsections=no
46177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46178 if test "$ac_test_CXXFLAGS" = set; then
46179 CXXFLAGS="$ac_save_CXXFLAGS"
46180 else
46181 # this is the suspicious part
46182 CXXFLAGS=''
46184 if test x"$ac_fdsections" = x"yes"; then
46185 SECTION_FLAGS='-ffunction-sections -fdata-sections'
46187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
46188 $as_echo "$ac_fdsections" >&6; }
46190 ac_ext=c
46191 ac_cpp='$CPP $CPPFLAGS'
46192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46200 # If we're not using GNU ld, then there's no point in even trying these
46201 # tests. Check for that first. We should have already tested for gld
46202 # by now (in libtool), but require it now just to be safe...
46203 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
46204 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
46208 # The name set by libtool depends on the version of libtool. Shame on us
46209 # for depending on an impl detail, but c'est la vie. Older versions used
46210 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
46211 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
46212 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
46213 # set (hence we're using an older libtool), then set it.
46214 if test x${with_gnu_ld+set} != xset; then
46215 if test x${ac_cv_prog_gnu_ld+set} != xset; then
46216 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
46217 with_gnu_ld=no
46218 else
46219 with_gnu_ld=$ac_cv_prog_gnu_ld
46223 # Start by getting the version number. I think the libtool test already
46224 # does some of this, but throws away the result.
46225 glibcxx_ld_is_gold=no
46226 if test x"$with_gnu_ld" = x"yes"; then
46227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
46228 $as_echo_n "checking for ld version... " >&6; }
46230 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
46231 glibcxx_ld_is_gold=yes
46233 ldver=`$LD --version 2>/dev/null |
46234 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'`
46236 glibcxx_gnu_ld_version=`echo $ldver | \
46237 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
46238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
46239 $as_echo "$glibcxx_gnu_ld_version" >&6; }
46242 # Set --gc-sections.
46243 glibcxx_have_gc_sections=no
46244 if test "$glibcxx_ld_is_gold" = "yes"; then
46245 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
46246 glibcxx_have_gc_sections=yes
46248 else
46249 glibcxx_gcsections_min_ld=21602
46250 if test x"$with_gnu_ld" = x"yes" &&
46251 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
46252 glibcxx_have_gc_sections=yes
46255 if test "$glibcxx_have_gc_sections" = "yes"; then
46256 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
46257 # NB: This flag only works reliably after 2.16.1. Configure tests
46258 # for this are difficult, so hard wire a value that should work.
46260 ac_test_CFLAGS="${CFLAGS+set}"
46261 ac_save_CFLAGS="$CFLAGS"
46262 CFLAGS='-Wl,--gc-sections'
46264 # Check for -Wl,--gc-sections
46265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
46266 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
46267 if test x$gcc_no_link = xyes; then
46268 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46271 /* end confdefs.h. */
46272 int one(void) { return 1; }
46273 int two(void) { return 2; }
46276 main ()
46278 two();
46280 return 0;
46282 _ACEOF
46283 if ac_fn_c_try_link "$LINENO"; then :
46284 ac_gcsections=yes
46285 else
46286 ac_gcsections=no
46288 rm -f core conftest.err conftest.$ac_objext \
46289 conftest$ac_exeext conftest.$ac_ext
46290 if test "$ac_gcsections" = "yes"; then
46291 rm -f conftest.c
46292 touch conftest.c
46293 if $CC -c conftest.c; then
46294 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
46295 grep "Warning: gc-sections option ignored" > /dev/null; then
46296 ac_gcsections=no
46299 rm -f conftest.c conftest.o conftest
46301 if test "$ac_gcsections" = "yes"; then
46302 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
46304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
46305 $as_echo "$ac_gcsections" >&6; }
46307 if test "$ac_test_CFLAGS" = set; then
46308 CFLAGS="$ac_save_CFLAGS"
46309 else
46310 # this is the suspicious part
46311 CFLAGS=''
46315 # Set -z,relro.
46316 # Note this is only for shared objects.
46317 ac_ld_relro=no
46318 if test x"$with_gnu_ld" = x"yes"; then
46319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
46320 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
46321 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
46322 if test -n "$cxx_z_relo"; then
46323 OPT_LDFLAGS="-Wl,-z,relro"
46324 ac_ld_relro=yes
46326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
46327 $as_echo "$ac_ld_relro" >&6; }
46330 # Set linker optimization flags.
46331 if test x"$with_gnu_ld" = x"yes"; then
46332 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
46339 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46340 ac_save_CXXFLAGS="$CXXFLAGS"
46341 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46344 $as_echo_n "checking for sin in -lm... " >&6; }
46345 if test "${ac_cv_lib_m_sin+set}" = set; then :
46346 $as_echo_n "(cached) " >&6
46347 else
46348 ac_check_lib_save_LIBS=$LIBS
46349 LIBS="-lm $LIBS"
46350 if test x$gcc_no_link = xyes; then
46351 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46354 /* end confdefs.h. */
46356 /* Override any GCC internal prototype to avoid an error.
46357 Use char because int might match the return type of a GCC
46358 builtin and then its argument prototype would still apply. */
46359 #ifdef __cplusplus
46360 extern "C"
46361 #endif
46362 char sin ();
46364 main ()
46366 return sin ();
46368 return 0;
46370 _ACEOF
46371 if ac_fn_c_try_link "$LINENO"; then :
46372 ac_cv_lib_m_sin=yes
46373 else
46374 ac_cv_lib_m_sin=no
46376 rm -f core conftest.err conftest.$ac_objext \
46377 conftest$ac_exeext conftest.$ac_ext
46378 LIBS=$ac_check_lib_save_LIBS
46380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46381 $as_echo "$ac_cv_lib_m_sin" >&6; }
46382 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46383 libm="-lm"
46386 ac_save_LIBS="$LIBS"
46387 LIBS="$LIBS $libm"
46391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46392 $as_echo_n "checking for isinf declaration... " >&6; }
46393 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46394 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46395 $as_echo_n "(cached) " >&6
46396 else
46399 ac_ext=cpp
46400 ac_cpp='$CXXCPP $CPPFLAGS'
46401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46406 /* end confdefs.h. */
46407 #include <math.h>
46408 #ifdef HAVE_IEEEFP_H
46409 #include <ieeefp.h>
46410 #endif
46413 main ()
46415 isinf(0);
46417 return 0;
46419 _ACEOF
46420 if ac_fn_cxx_try_compile "$LINENO"; then :
46421 glibcxx_cv_func_isinf_use=yes
46422 else
46423 glibcxx_cv_func_isinf_use=no
46425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46426 ac_ext=c
46427 ac_cpp='$CPP $CPPFLAGS'
46428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46437 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46439 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46440 for ac_func in isinf
46441 do :
46442 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46443 if test "x$ac_cv_func_isinf" = x""yes; then :
46444 cat >>confdefs.h <<_ACEOF
46445 #define HAVE_ISINF 1
46446 _ACEOF
46449 done
46451 else
46453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46454 $as_echo_n "checking for _isinf declaration... " >&6; }
46455 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46456 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46457 $as_echo_n "(cached) " >&6
46458 else
46461 ac_ext=cpp
46462 ac_cpp='$CXXCPP $CPPFLAGS'
46463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46468 /* end confdefs.h. */
46469 #include <math.h>
46470 #ifdef HAVE_IEEEFP_H
46471 #include <ieeefp.h>
46472 #endif
46475 main ()
46477 _isinf(0);
46479 return 0;
46481 _ACEOF
46482 if ac_fn_cxx_try_compile "$LINENO"; then :
46483 glibcxx_cv_func__isinf_use=yes
46484 else
46485 glibcxx_cv_func__isinf_use=no
46487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46488 ac_ext=c
46489 ac_cpp='$CPP $CPPFLAGS'
46490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46499 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46501 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46502 for ac_func in _isinf
46503 do :
46504 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46505 if test "x$ac_cv_func__isinf" = x""yes; then :
46506 cat >>confdefs.h <<_ACEOF
46507 #define HAVE__ISINF 1
46508 _ACEOF
46511 done
46520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46521 $as_echo_n "checking for isnan declaration... " >&6; }
46522 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46523 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46524 $as_echo_n "(cached) " >&6
46525 else
46528 ac_ext=cpp
46529 ac_cpp='$CXXCPP $CPPFLAGS'
46530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46535 /* end confdefs.h. */
46536 #include <math.h>
46537 #ifdef HAVE_IEEEFP_H
46538 #include <ieeefp.h>
46539 #endif
46542 main ()
46544 isnan(0);
46546 return 0;
46548 _ACEOF
46549 if ac_fn_cxx_try_compile "$LINENO"; then :
46550 glibcxx_cv_func_isnan_use=yes
46551 else
46552 glibcxx_cv_func_isnan_use=no
46554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46555 ac_ext=c
46556 ac_cpp='$CPP $CPPFLAGS'
46557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46566 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46568 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46569 for ac_func in isnan
46570 do :
46571 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46572 if test "x$ac_cv_func_isnan" = x""yes; then :
46573 cat >>confdefs.h <<_ACEOF
46574 #define HAVE_ISNAN 1
46575 _ACEOF
46578 done
46580 else
46582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46583 $as_echo_n "checking for _isnan declaration... " >&6; }
46584 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46585 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46586 $as_echo_n "(cached) " >&6
46587 else
46590 ac_ext=cpp
46591 ac_cpp='$CXXCPP $CPPFLAGS'
46592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46597 /* end confdefs.h. */
46598 #include <math.h>
46599 #ifdef HAVE_IEEEFP_H
46600 #include <ieeefp.h>
46601 #endif
46604 main ()
46606 _isnan(0);
46608 return 0;
46610 _ACEOF
46611 if ac_fn_cxx_try_compile "$LINENO"; then :
46612 glibcxx_cv_func__isnan_use=yes
46613 else
46614 glibcxx_cv_func__isnan_use=no
46616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46617 ac_ext=c
46618 ac_cpp='$CPP $CPPFLAGS'
46619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46628 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46630 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46631 for ac_func in _isnan
46632 do :
46633 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46634 if test "x$ac_cv_func__isnan" = x""yes; then :
46635 cat >>confdefs.h <<_ACEOF
46636 #define HAVE__ISNAN 1
46637 _ACEOF
46640 done
46649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46650 $as_echo_n "checking for finite declaration... " >&6; }
46651 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46652 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46653 $as_echo_n "(cached) " >&6
46654 else
46657 ac_ext=cpp
46658 ac_cpp='$CXXCPP $CPPFLAGS'
46659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46664 /* end confdefs.h. */
46665 #include <math.h>
46666 #ifdef HAVE_IEEEFP_H
46667 #include <ieeefp.h>
46668 #endif
46671 main ()
46673 finite(0);
46675 return 0;
46677 _ACEOF
46678 if ac_fn_cxx_try_compile "$LINENO"; then :
46679 glibcxx_cv_func_finite_use=yes
46680 else
46681 glibcxx_cv_func_finite_use=no
46683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46684 ac_ext=c
46685 ac_cpp='$CPP $CPPFLAGS'
46686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46695 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46697 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46698 for ac_func in finite
46699 do :
46700 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46701 if test "x$ac_cv_func_finite" = x""yes; then :
46702 cat >>confdefs.h <<_ACEOF
46703 #define HAVE_FINITE 1
46704 _ACEOF
46707 done
46709 else
46711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46712 $as_echo_n "checking for _finite declaration... " >&6; }
46713 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46714 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46715 $as_echo_n "(cached) " >&6
46716 else
46719 ac_ext=cpp
46720 ac_cpp='$CXXCPP $CPPFLAGS'
46721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46726 /* end confdefs.h. */
46727 #include <math.h>
46728 #ifdef HAVE_IEEEFP_H
46729 #include <ieeefp.h>
46730 #endif
46733 main ()
46735 _finite(0);
46737 return 0;
46739 _ACEOF
46740 if ac_fn_cxx_try_compile "$LINENO"; then :
46741 glibcxx_cv_func__finite_use=yes
46742 else
46743 glibcxx_cv_func__finite_use=no
46745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46746 ac_ext=c
46747 ac_cpp='$CPP $CPPFLAGS'
46748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46757 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46759 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46760 for ac_func in _finite
46761 do :
46762 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46763 if test "x$ac_cv_func__finite" = x""yes; then :
46764 cat >>confdefs.h <<_ACEOF
46765 #define HAVE__FINITE 1
46766 _ACEOF
46769 done
46778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46779 $as_echo_n "checking for sincos declaration... " >&6; }
46780 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46781 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46782 $as_echo_n "(cached) " >&6
46783 else
46786 ac_ext=cpp
46787 ac_cpp='$CXXCPP $CPPFLAGS'
46788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46793 /* end confdefs.h. */
46794 #include <math.h>
46796 main ()
46798 sincos(0, 0, 0);
46800 return 0;
46802 _ACEOF
46803 if ac_fn_cxx_try_compile "$LINENO"; then :
46804 glibcxx_cv_func_sincos_use=yes
46805 else
46806 glibcxx_cv_func_sincos_use=no
46808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46809 ac_ext=c
46810 ac_cpp='$CPP $CPPFLAGS'
46811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46820 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46822 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46823 for ac_func in sincos
46824 do :
46825 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46826 if test "x$ac_cv_func_sincos" = x""yes; then :
46827 cat >>confdefs.h <<_ACEOF
46828 #define HAVE_SINCOS 1
46829 _ACEOF
46832 done
46834 else
46836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46837 $as_echo_n "checking for _sincos declaration... " >&6; }
46838 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46839 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46840 $as_echo_n "(cached) " >&6
46841 else
46844 ac_ext=cpp
46845 ac_cpp='$CXXCPP $CPPFLAGS'
46846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46851 /* end confdefs.h. */
46852 #include <math.h>
46854 main ()
46856 _sincos(0, 0, 0);
46858 return 0;
46860 _ACEOF
46861 if ac_fn_cxx_try_compile "$LINENO"; then :
46862 glibcxx_cv_func__sincos_use=yes
46863 else
46864 glibcxx_cv_func__sincos_use=no
46866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46867 ac_ext=c
46868 ac_cpp='$CPP $CPPFLAGS'
46869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46878 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46880 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46881 for ac_func in _sincos
46882 do :
46883 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46884 if test "x$ac_cv_func__sincos" = x""yes; then :
46885 cat >>confdefs.h <<_ACEOF
46886 #define HAVE__SINCOS 1
46887 _ACEOF
46890 done
46899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46900 $as_echo_n "checking for fpclass declaration... " >&6; }
46901 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46902 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46903 $as_echo_n "(cached) " >&6
46904 else
46907 ac_ext=cpp
46908 ac_cpp='$CXXCPP $CPPFLAGS'
46909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46914 /* end confdefs.h. */
46915 #include <math.h>
46916 #ifdef HAVE_IEEEFP_H
46917 #include <ieeefp.h>
46918 #endif
46921 main ()
46923 fpclass(0);
46925 return 0;
46927 _ACEOF
46928 if ac_fn_cxx_try_compile "$LINENO"; then :
46929 glibcxx_cv_func_fpclass_use=yes
46930 else
46931 glibcxx_cv_func_fpclass_use=no
46933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46934 ac_ext=c
46935 ac_cpp='$CPP $CPPFLAGS'
46936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46945 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46947 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46948 for ac_func in fpclass
46949 do :
46950 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46951 if test "x$ac_cv_func_fpclass" = x""yes; then :
46952 cat >>confdefs.h <<_ACEOF
46953 #define HAVE_FPCLASS 1
46954 _ACEOF
46957 done
46959 else
46961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46962 $as_echo_n "checking for _fpclass declaration... " >&6; }
46963 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46964 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46965 $as_echo_n "(cached) " >&6
46966 else
46969 ac_ext=cpp
46970 ac_cpp='$CXXCPP $CPPFLAGS'
46971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46976 /* end confdefs.h. */
46977 #include <math.h>
46978 #ifdef HAVE_IEEEFP_H
46979 #include <ieeefp.h>
46980 #endif
46983 main ()
46985 _fpclass(0);
46987 return 0;
46989 _ACEOF
46990 if ac_fn_cxx_try_compile "$LINENO"; then :
46991 glibcxx_cv_func__fpclass_use=yes
46992 else
46993 glibcxx_cv_func__fpclass_use=no
46995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46996 ac_ext=c
46997 ac_cpp='$CPP $CPPFLAGS'
46998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47007 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
47009 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
47010 for ac_func in _fpclass
47011 do :
47012 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
47013 if test "x$ac_cv_func__fpclass" = x""yes; then :
47014 cat >>confdefs.h <<_ACEOF
47015 #define HAVE__FPCLASS 1
47016 _ACEOF
47019 done
47028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
47029 $as_echo_n "checking for qfpclass declaration... " >&6; }
47030 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
47031 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
47032 $as_echo_n "(cached) " >&6
47033 else
47036 ac_ext=cpp
47037 ac_cpp='$CXXCPP $CPPFLAGS'
47038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47043 /* end confdefs.h. */
47044 #include <math.h>
47045 #ifdef HAVE_IEEEFP_H
47046 #include <ieeefp.h>
47047 #endif
47050 main ()
47052 qfpclass(0);
47054 return 0;
47056 _ACEOF
47057 if ac_fn_cxx_try_compile "$LINENO"; then :
47058 glibcxx_cv_func_qfpclass_use=yes
47059 else
47060 glibcxx_cv_func_qfpclass_use=no
47062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47063 ac_ext=c
47064 ac_cpp='$CPP $CPPFLAGS'
47065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
47074 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
47076 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
47077 for ac_func in qfpclass
47078 do :
47079 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
47080 if test "x$ac_cv_func_qfpclass" = x""yes; then :
47081 cat >>confdefs.h <<_ACEOF
47082 #define HAVE_QFPCLASS 1
47083 _ACEOF
47086 done
47088 else
47090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
47091 $as_echo_n "checking for _qfpclass declaration... " >&6; }
47092 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
47093 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
47094 $as_echo_n "(cached) " >&6
47095 else
47098 ac_ext=cpp
47099 ac_cpp='$CXXCPP $CPPFLAGS'
47100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47105 /* end confdefs.h. */
47106 #include <math.h>
47107 #ifdef HAVE_IEEEFP_H
47108 #include <ieeefp.h>
47109 #endif
47112 main ()
47114 _qfpclass(0);
47116 return 0;
47118 _ACEOF
47119 if ac_fn_cxx_try_compile "$LINENO"; then :
47120 glibcxx_cv_func__qfpclass_use=yes
47121 else
47122 glibcxx_cv_func__qfpclass_use=no
47124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47125 ac_ext=c
47126 ac_cpp='$CPP $CPPFLAGS'
47127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47136 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47138 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47139 for ac_func in _qfpclass
47140 do :
47141 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47142 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47143 cat >>confdefs.h <<_ACEOF
47144 #define HAVE__QFPCLASS 1
47145 _ACEOF
47148 done
47157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47158 $as_echo_n "checking for hypot declaration... " >&6; }
47159 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47160 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47161 $as_echo_n "(cached) " >&6
47162 else
47165 ac_ext=cpp
47166 ac_cpp='$CXXCPP $CPPFLAGS'
47167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47172 /* end confdefs.h. */
47173 #include <math.h>
47175 main ()
47177 hypot(0, 0);
47179 return 0;
47181 _ACEOF
47182 if ac_fn_cxx_try_compile "$LINENO"; then :
47183 glibcxx_cv_func_hypot_use=yes
47184 else
47185 glibcxx_cv_func_hypot_use=no
47187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47188 ac_ext=c
47189 ac_cpp='$CPP $CPPFLAGS'
47190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
47199 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47201 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47202 for ac_func in hypot
47203 do :
47204 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47205 if test "x$ac_cv_func_hypot" = x""yes; then :
47206 cat >>confdefs.h <<_ACEOF
47207 #define HAVE_HYPOT 1
47208 _ACEOF
47211 done
47213 else
47215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
47216 $as_echo_n "checking for _hypot declaration... " >&6; }
47217 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
47218 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
47219 $as_echo_n "(cached) " >&6
47220 else
47223 ac_ext=cpp
47224 ac_cpp='$CXXCPP $CPPFLAGS'
47225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47230 /* end confdefs.h. */
47231 #include <math.h>
47233 main ()
47235 _hypot(0, 0);
47237 return 0;
47239 _ACEOF
47240 if ac_fn_cxx_try_compile "$LINENO"; then :
47241 glibcxx_cv_func__hypot_use=yes
47242 else
47243 glibcxx_cv_func__hypot_use=no
47245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47246 ac_ext=c
47247 ac_cpp='$CPP $CPPFLAGS'
47248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47257 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47259 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47260 for ac_func in _hypot
47261 do :
47262 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47263 if test "x$ac_cv_func__hypot" = x""yes; then :
47264 cat >>confdefs.h <<_ACEOF
47265 #define HAVE__HYPOT 1
47266 _ACEOF
47269 done
47278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47279 $as_echo_n "checking for float trig functions... " >&6; }
47280 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47281 $as_echo_n "(cached) " >&6
47282 else
47285 ac_ext=cpp
47286 ac_cpp='$CXXCPP $CPPFLAGS'
47287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47292 /* end confdefs.h. */
47293 #include <math.h>
47295 main ()
47297 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47299 return 0;
47301 _ACEOF
47302 if ac_fn_cxx_try_compile "$LINENO"; then :
47303 glibcxx_cv_func_float_trig_use=yes
47304 else
47305 glibcxx_cv_func_float_trig_use=no
47307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47308 ac_ext=c
47309 ac_cpp='$CPP $CPPFLAGS'
47310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47317 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47318 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47319 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47320 do :
47321 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47322 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47323 eval as_val=\$$as_ac_var
47324 if test "x$as_val" = x""yes; then :
47325 cat >>confdefs.h <<_ACEOF
47326 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47327 _ACEOF
47330 done
47332 else
47333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47334 $as_echo_n "checking for _float trig functions... " >&6; }
47335 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47336 $as_echo_n "(cached) " >&6
47337 else
47340 ac_ext=cpp
47341 ac_cpp='$CXXCPP $CPPFLAGS'
47342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47347 /* end confdefs.h. */
47348 #include <math.h>
47350 main ()
47352 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47354 return 0;
47356 _ACEOF
47357 if ac_fn_cxx_try_compile "$LINENO"; then :
47358 glibcxx_cv_func__float_trig_use=yes
47359 else
47360 glibcxx_cv_func__float_trig_use=no
47362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47363 ac_ext=c
47364 ac_cpp='$CPP $CPPFLAGS'
47365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47372 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47373 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47374 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47375 do :
47376 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47377 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47378 eval as_val=\$$as_ac_var
47379 if test "x$as_val" = x""yes; then :
47380 cat >>confdefs.h <<_ACEOF
47381 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47382 _ACEOF
47385 done
47394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47395 $as_echo_n "checking for float round functions... " >&6; }
47396 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47397 $as_echo_n "(cached) " >&6
47398 else
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
47407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47408 /* end confdefs.h. */
47409 #include <math.h>
47411 main ()
47413 ceilf (0); floorf (0);
47415 return 0;
47417 _ACEOF
47418 if ac_fn_cxx_try_compile "$LINENO"; then :
47419 glibcxx_cv_func_float_round_use=yes
47420 else
47421 glibcxx_cv_func_float_round_use=no
47423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47424 ac_ext=c
47425 ac_cpp='$CPP $CPPFLAGS'
47426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47433 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47434 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47435 for ac_func in ceilf floorf
47436 do :
47437 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47438 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47439 eval as_val=\$$as_ac_var
47440 if test "x$as_val" = x""yes; then :
47441 cat >>confdefs.h <<_ACEOF
47442 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47443 _ACEOF
47446 done
47448 else
47449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47450 $as_echo_n "checking for _float round functions... " >&6; }
47451 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47452 $as_echo_n "(cached) " >&6
47453 else
47456 ac_ext=cpp
47457 ac_cpp='$CXXCPP $CPPFLAGS'
47458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47463 /* end confdefs.h. */
47464 #include <math.h>
47466 main ()
47468 _ceilf (0); _floorf (0);
47470 return 0;
47472 _ACEOF
47473 if ac_fn_cxx_try_compile "$LINENO"; then :
47474 glibcxx_cv_func__float_round_use=yes
47475 else
47476 glibcxx_cv_func__float_round_use=no
47478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47479 ac_ext=c
47480 ac_cpp='$CPP $CPPFLAGS'
47481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47488 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47489 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47490 for ac_func in _ceilf _floorf
47491 do :
47492 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47493 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47494 eval as_val=\$$as_ac_var
47495 if test "x$as_val" = x""yes; then :
47496 cat >>confdefs.h <<_ACEOF
47497 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47498 _ACEOF
47501 done
47511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47512 $as_echo_n "checking for expf declaration... " >&6; }
47513 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47514 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47515 $as_echo_n "(cached) " >&6
47516 else
47519 ac_ext=cpp
47520 ac_cpp='$CXXCPP $CPPFLAGS'
47521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47526 /* end confdefs.h. */
47527 #include <math.h>
47528 #ifdef HAVE_IEEEFP_H
47529 #include <ieeefp.h>
47530 #endif
47533 main ()
47535 expf(0);
47537 return 0;
47539 _ACEOF
47540 if ac_fn_cxx_try_compile "$LINENO"; then :
47541 glibcxx_cv_func_expf_use=yes
47542 else
47543 glibcxx_cv_func_expf_use=no
47545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47546 ac_ext=c
47547 ac_cpp='$CPP $CPPFLAGS'
47548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47557 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47559 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47560 for ac_func in expf
47561 do :
47562 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47563 if test "x$ac_cv_func_expf" = x""yes; then :
47564 cat >>confdefs.h <<_ACEOF
47565 #define HAVE_EXPF 1
47566 _ACEOF
47569 done
47571 else
47573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47574 $as_echo_n "checking for _expf declaration... " >&6; }
47575 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47576 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47577 $as_echo_n "(cached) " >&6
47578 else
47581 ac_ext=cpp
47582 ac_cpp='$CXXCPP $CPPFLAGS'
47583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47588 /* end confdefs.h. */
47589 #include <math.h>
47590 #ifdef HAVE_IEEEFP_H
47591 #include <ieeefp.h>
47592 #endif
47595 main ()
47597 _expf(0);
47599 return 0;
47601 _ACEOF
47602 if ac_fn_cxx_try_compile "$LINENO"; then :
47603 glibcxx_cv_func__expf_use=yes
47604 else
47605 glibcxx_cv_func__expf_use=no
47607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47608 ac_ext=c
47609 ac_cpp='$CPP $CPPFLAGS'
47610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47619 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47621 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47622 for ac_func in _expf
47623 do :
47624 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47625 if test "x$ac_cv_func__expf" = x""yes; then :
47626 cat >>confdefs.h <<_ACEOF
47627 #define HAVE__EXPF 1
47628 _ACEOF
47631 done
47640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47641 $as_echo_n "checking for isnanf declaration... " >&6; }
47642 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47643 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47644 $as_echo_n "(cached) " >&6
47645 else
47648 ac_ext=cpp
47649 ac_cpp='$CXXCPP $CPPFLAGS'
47650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47655 /* end confdefs.h. */
47656 #include <math.h>
47657 #ifdef HAVE_IEEEFP_H
47658 #include <ieeefp.h>
47659 #endif
47662 main ()
47664 isnanf(0);
47666 return 0;
47668 _ACEOF
47669 if ac_fn_cxx_try_compile "$LINENO"; then :
47670 glibcxx_cv_func_isnanf_use=yes
47671 else
47672 glibcxx_cv_func_isnanf_use=no
47674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47675 ac_ext=c
47676 ac_cpp='$CPP $CPPFLAGS'
47677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47686 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47688 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47689 for ac_func in isnanf
47690 do :
47691 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47692 if test "x$ac_cv_func_isnanf" = x""yes; then :
47693 cat >>confdefs.h <<_ACEOF
47694 #define HAVE_ISNANF 1
47695 _ACEOF
47698 done
47700 else
47702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47703 $as_echo_n "checking for _isnanf declaration... " >&6; }
47704 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47705 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47706 $as_echo_n "(cached) " >&6
47707 else
47710 ac_ext=cpp
47711 ac_cpp='$CXXCPP $CPPFLAGS'
47712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47717 /* end confdefs.h. */
47718 #include <math.h>
47719 #ifdef HAVE_IEEEFP_H
47720 #include <ieeefp.h>
47721 #endif
47724 main ()
47726 _isnanf(0);
47728 return 0;
47730 _ACEOF
47731 if ac_fn_cxx_try_compile "$LINENO"; then :
47732 glibcxx_cv_func__isnanf_use=yes
47733 else
47734 glibcxx_cv_func__isnanf_use=no
47736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47737 ac_ext=c
47738 ac_cpp='$CPP $CPPFLAGS'
47739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47748 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47750 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47751 for ac_func in _isnanf
47752 do :
47753 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47754 if test "x$ac_cv_func__isnanf" = x""yes; then :
47755 cat >>confdefs.h <<_ACEOF
47756 #define HAVE__ISNANF 1
47757 _ACEOF
47760 done
47769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47770 $as_echo_n "checking for isinff declaration... " >&6; }
47771 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47772 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47773 $as_echo_n "(cached) " >&6
47774 else
47777 ac_ext=cpp
47778 ac_cpp='$CXXCPP $CPPFLAGS'
47779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47784 /* end confdefs.h. */
47785 #include <math.h>
47786 #ifdef HAVE_IEEEFP_H
47787 #include <ieeefp.h>
47788 #endif
47791 main ()
47793 isinff(0);
47795 return 0;
47797 _ACEOF
47798 if ac_fn_cxx_try_compile "$LINENO"; then :
47799 glibcxx_cv_func_isinff_use=yes
47800 else
47801 glibcxx_cv_func_isinff_use=no
47803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47804 ac_ext=c
47805 ac_cpp='$CPP $CPPFLAGS'
47806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47815 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47817 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47818 for ac_func in isinff
47819 do :
47820 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47821 if test "x$ac_cv_func_isinff" = x""yes; then :
47822 cat >>confdefs.h <<_ACEOF
47823 #define HAVE_ISINFF 1
47824 _ACEOF
47827 done
47829 else
47831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47832 $as_echo_n "checking for _isinff declaration... " >&6; }
47833 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47834 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47835 $as_echo_n "(cached) " >&6
47836 else
47839 ac_ext=cpp
47840 ac_cpp='$CXXCPP $CPPFLAGS'
47841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47846 /* end confdefs.h. */
47847 #include <math.h>
47848 #ifdef HAVE_IEEEFP_H
47849 #include <ieeefp.h>
47850 #endif
47853 main ()
47855 _isinff(0);
47857 return 0;
47859 _ACEOF
47860 if ac_fn_cxx_try_compile "$LINENO"; then :
47861 glibcxx_cv_func__isinff_use=yes
47862 else
47863 glibcxx_cv_func__isinff_use=no
47865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47866 ac_ext=c
47867 ac_cpp='$CPP $CPPFLAGS'
47868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47877 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47879 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47880 for ac_func in _isinff
47881 do :
47882 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47883 if test "x$ac_cv_func__isinff" = x""yes; then :
47884 cat >>confdefs.h <<_ACEOF
47885 #define HAVE__ISINFF 1
47886 _ACEOF
47889 done
47898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47899 $as_echo_n "checking for atan2f declaration... " >&6; }
47900 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47901 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47902 $as_echo_n "(cached) " >&6
47903 else
47906 ac_ext=cpp
47907 ac_cpp='$CXXCPP $CPPFLAGS'
47908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47913 /* end confdefs.h. */
47914 #include <math.h>
47916 main ()
47918 atan2f(0, 0);
47920 return 0;
47922 _ACEOF
47923 if ac_fn_cxx_try_compile "$LINENO"; then :
47924 glibcxx_cv_func_atan2f_use=yes
47925 else
47926 glibcxx_cv_func_atan2f_use=no
47928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47929 ac_ext=c
47930 ac_cpp='$CPP $CPPFLAGS'
47931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47940 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47942 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47943 for ac_func in atan2f
47944 do :
47945 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47946 if test "x$ac_cv_func_atan2f" = x""yes; then :
47947 cat >>confdefs.h <<_ACEOF
47948 #define HAVE_ATAN2F 1
47949 _ACEOF
47952 done
47954 else
47956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47957 $as_echo_n "checking for _atan2f declaration... " >&6; }
47958 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47959 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47960 $as_echo_n "(cached) " >&6
47961 else
47964 ac_ext=cpp
47965 ac_cpp='$CXXCPP $CPPFLAGS'
47966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47971 /* end confdefs.h. */
47972 #include <math.h>
47974 main ()
47976 _atan2f(0, 0);
47978 return 0;
47980 _ACEOF
47981 if ac_fn_cxx_try_compile "$LINENO"; then :
47982 glibcxx_cv_func__atan2f_use=yes
47983 else
47984 glibcxx_cv_func__atan2f_use=no
47986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47987 ac_ext=c
47988 ac_cpp='$CPP $CPPFLAGS'
47989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47998 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
48000 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48001 for ac_func in _atan2f
48002 do :
48003 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48004 if test "x$ac_cv_func__atan2f" = x""yes; then :
48005 cat >>confdefs.h <<_ACEOF
48006 #define HAVE__ATAN2F 1
48007 _ACEOF
48010 done
48019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
48020 $as_echo_n "checking for fabsf declaration... " >&6; }
48021 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48022 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
48023 $as_echo_n "(cached) " >&6
48024 else
48027 ac_ext=cpp
48028 ac_cpp='$CXXCPP $CPPFLAGS'
48029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48034 /* end confdefs.h. */
48035 #include <math.h>
48036 #ifdef HAVE_IEEEFP_H
48037 #include <ieeefp.h>
48038 #endif
48041 main ()
48043 fabsf(0);
48045 return 0;
48047 _ACEOF
48048 if ac_fn_cxx_try_compile "$LINENO"; then :
48049 glibcxx_cv_func_fabsf_use=yes
48050 else
48051 glibcxx_cv_func_fabsf_use=no
48053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48054 ac_ext=c
48055 ac_cpp='$CPP $CPPFLAGS'
48056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
48065 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
48067 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48068 for ac_func in fabsf
48069 do :
48070 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
48071 if test "x$ac_cv_func_fabsf" = x""yes; then :
48072 cat >>confdefs.h <<_ACEOF
48073 #define HAVE_FABSF 1
48074 _ACEOF
48077 done
48079 else
48081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
48082 $as_echo_n "checking for _fabsf declaration... " >&6; }
48083 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48084 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
48085 $as_echo_n "(cached) " >&6
48086 else
48089 ac_ext=cpp
48090 ac_cpp='$CXXCPP $CPPFLAGS'
48091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48096 /* end confdefs.h. */
48097 #include <math.h>
48098 #ifdef HAVE_IEEEFP_H
48099 #include <ieeefp.h>
48100 #endif
48103 main ()
48105 _fabsf(0);
48107 return 0;
48109 _ACEOF
48110 if ac_fn_cxx_try_compile "$LINENO"; then :
48111 glibcxx_cv_func__fabsf_use=yes
48112 else
48113 glibcxx_cv_func__fabsf_use=no
48115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48116 ac_ext=c
48117 ac_cpp='$CPP $CPPFLAGS'
48118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48127 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48129 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48130 for ac_func in _fabsf
48131 do :
48132 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48133 if test "x$ac_cv_func__fabsf" = x""yes; then :
48134 cat >>confdefs.h <<_ACEOF
48135 #define HAVE__FABSF 1
48136 _ACEOF
48139 done
48148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48149 $as_echo_n "checking for fmodf declaration... " >&6; }
48150 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48151 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48152 $as_echo_n "(cached) " >&6
48153 else
48156 ac_ext=cpp
48157 ac_cpp='$CXXCPP $CPPFLAGS'
48158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48163 /* end confdefs.h. */
48164 #include <math.h>
48166 main ()
48168 fmodf(0, 0);
48170 return 0;
48172 _ACEOF
48173 if ac_fn_cxx_try_compile "$LINENO"; then :
48174 glibcxx_cv_func_fmodf_use=yes
48175 else
48176 glibcxx_cv_func_fmodf_use=no
48178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48179 ac_ext=c
48180 ac_cpp='$CPP $CPPFLAGS'
48181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48190 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48192 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48193 for ac_func in fmodf
48194 do :
48195 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48196 if test "x$ac_cv_func_fmodf" = x""yes; then :
48197 cat >>confdefs.h <<_ACEOF
48198 #define HAVE_FMODF 1
48199 _ACEOF
48202 done
48204 else
48206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48207 $as_echo_n "checking for _fmodf declaration... " >&6; }
48208 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48209 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
48210 $as_echo_n "(cached) " >&6
48211 else
48214 ac_ext=cpp
48215 ac_cpp='$CXXCPP $CPPFLAGS'
48216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48221 /* end confdefs.h. */
48222 #include <math.h>
48224 main ()
48226 _fmodf(0, 0);
48228 return 0;
48230 _ACEOF
48231 if ac_fn_cxx_try_compile "$LINENO"; then :
48232 glibcxx_cv_func__fmodf_use=yes
48233 else
48234 glibcxx_cv_func__fmodf_use=no
48236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48237 ac_ext=c
48238 ac_cpp='$CPP $CPPFLAGS'
48239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48248 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48250 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48251 for ac_func in _fmodf
48252 do :
48253 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48254 if test "x$ac_cv_func__fmodf" = x""yes; then :
48255 cat >>confdefs.h <<_ACEOF
48256 #define HAVE__FMODF 1
48257 _ACEOF
48260 done
48269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48270 $as_echo_n "checking for frexpf declaration... " >&6; }
48271 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48272 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48273 $as_echo_n "(cached) " >&6
48274 else
48277 ac_ext=cpp
48278 ac_cpp='$CXXCPP $CPPFLAGS'
48279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48284 /* end confdefs.h. */
48285 #include <math.h>
48287 main ()
48289 frexpf(0, 0);
48291 return 0;
48293 _ACEOF
48294 if ac_fn_cxx_try_compile "$LINENO"; then :
48295 glibcxx_cv_func_frexpf_use=yes
48296 else
48297 glibcxx_cv_func_frexpf_use=no
48299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48300 ac_ext=c
48301 ac_cpp='$CPP $CPPFLAGS'
48302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48311 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48313 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48314 for ac_func in frexpf
48315 do :
48316 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48317 if test "x$ac_cv_func_frexpf" = x""yes; then :
48318 cat >>confdefs.h <<_ACEOF
48319 #define HAVE_FREXPF 1
48320 _ACEOF
48323 done
48325 else
48327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48328 $as_echo_n "checking for _frexpf declaration... " >&6; }
48329 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48330 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48331 $as_echo_n "(cached) " >&6
48332 else
48335 ac_ext=cpp
48336 ac_cpp='$CXXCPP $CPPFLAGS'
48337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48342 /* end confdefs.h. */
48343 #include <math.h>
48345 main ()
48347 _frexpf(0, 0);
48349 return 0;
48351 _ACEOF
48352 if ac_fn_cxx_try_compile "$LINENO"; then :
48353 glibcxx_cv_func__frexpf_use=yes
48354 else
48355 glibcxx_cv_func__frexpf_use=no
48357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48358 ac_ext=c
48359 ac_cpp='$CPP $CPPFLAGS'
48360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48369 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48371 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48372 for ac_func in _frexpf
48373 do :
48374 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48375 if test "x$ac_cv_func__frexpf" = x""yes; then :
48376 cat >>confdefs.h <<_ACEOF
48377 #define HAVE__FREXPF 1
48378 _ACEOF
48381 done
48390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48391 $as_echo_n "checking for hypotf declaration... " >&6; }
48392 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48393 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48394 $as_echo_n "(cached) " >&6
48395 else
48398 ac_ext=cpp
48399 ac_cpp='$CXXCPP $CPPFLAGS'
48400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48405 /* end confdefs.h. */
48406 #include <math.h>
48408 main ()
48410 hypotf(0, 0);
48412 return 0;
48414 _ACEOF
48415 if ac_fn_cxx_try_compile "$LINENO"; then :
48416 glibcxx_cv_func_hypotf_use=yes
48417 else
48418 glibcxx_cv_func_hypotf_use=no
48420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48421 ac_ext=c
48422 ac_cpp='$CPP $CPPFLAGS'
48423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48432 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48434 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48435 for ac_func in hypotf
48436 do :
48437 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48438 if test "x$ac_cv_func_hypotf" = x""yes; then :
48439 cat >>confdefs.h <<_ACEOF
48440 #define HAVE_HYPOTF 1
48441 _ACEOF
48444 done
48446 else
48448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48449 $as_echo_n "checking for _hypotf declaration... " >&6; }
48450 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48451 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48452 $as_echo_n "(cached) " >&6
48453 else
48456 ac_ext=cpp
48457 ac_cpp='$CXXCPP $CPPFLAGS'
48458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48463 /* end confdefs.h. */
48464 #include <math.h>
48466 main ()
48468 _hypotf(0, 0);
48470 return 0;
48472 _ACEOF
48473 if ac_fn_cxx_try_compile "$LINENO"; then :
48474 glibcxx_cv_func__hypotf_use=yes
48475 else
48476 glibcxx_cv_func__hypotf_use=no
48478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48479 ac_ext=c
48480 ac_cpp='$CPP $CPPFLAGS'
48481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48490 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48492 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48493 for ac_func in _hypotf
48494 do :
48495 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48496 if test "x$ac_cv_func__hypotf" = x""yes; then :
48497 cat >>confdefs.h <<_ACEOF
48498 #define HAVE__HYPOTF 1
48499 _ACEOF
48502 done
48511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48512 $as_echo_n "checking for ldexpf declaration... " >&6; }
48513 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48514 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48515 $as_echo_n "(cached) " >&6
48516 else
48519 ac_ext=cpp
48520 ac_cpp='$CXXCPP $CPPFLAGS'
48521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48526 /* end confdefs.h. */
48527 #include <math.h>
48529 main ()
48531 ldexpf(0, 0);
48533 return 0;
48535 _ACEOF
48536 if ac_fn_cxx_try_compile "$LINENO"; then :
48537 glibcxx_cv_func_ldexpf_use=yes
48538 else
48539 glibcxx_cv_func_ldexpf_use=no
48541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48542 ac_ext=c
48543 ac_cpp='$CPP $CPPFLAGS'
48544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48553 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48555 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48556 for ac_func in ldexpf
48557 do :
48558 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48559 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48560 cat >>confdefs.h <<_ACEOF
48561 #define HAVE_LDEXPF 1
48562 _ACEOF
48565 done
48567 else
48569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48570 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48571 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48572 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48573 $as_echo_n "(cached) " >&6
48574 else
48577 ac_ext=cpp
48578 ac_cpp='$CXXCPP $CPPFLAGS'
48579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48584 /* end confdefs.h. */
48585 #include <math.h>
48587 main ()
48589 _ldexpf(0, 0);
48591 return 0;
48593 _ACEOF
48594 if ac_fn_cxx_try_compile "$LINENO"; then :
48595 glibcxx_cv_func__ldexpf_use=yes
48596 else
48597 glibcxx_cv_func__ldexpf_use=no
48599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48600 ac_ext=c
48601 ac_cpp='$CPP $CPPFLAGS'
48602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48611 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48613 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48614 for ac_func in _ldexpf
48615 do :
48616 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48617 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48618 cat >>confdefs.h <<_ACEOF
48619 #define HAVE__LDEXPF 1
48620 _ACEOF
48623 done
48632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48633 $as_echo_n "checking for logf declaration... " >&6; }
48634 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48635 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48636 $as_echo_n "(cached) " >&6
48637 else
48640 ac_ext=cpp
48641 ac_cpp='$CXXCPP $CPPFLAGS'
48642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48647 /* end confdefs.h. */
48648 #include <math.h>
48649 #ifdef HAVE_IEEEFP_H
48650 #include <ieeefp.h>
48651 #endif
48654 main ()
48656 logf(0);
48658 return 0;
48660 _ACEOF
48661 if ac_fn_cxx_try_compile "$LINENO"; then :
48662 glibcxx_cv_func_logf_use=yes
48663 else
48664 glibcxx_cv_func_logf_use=no
48666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48667 ac_ext=c
48668 ac_cpp='$CPP $CPPFLAGS'
48669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48678 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48680 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48681 for ac_func in logf
48682 do :
48683 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48684 if test "x$ac_cv_func_logf" = x""yes; then :
48685 cat >>confdefs.h <<_ACEOF
48686 #define HAVE_LOGF 1
48687 _ACEOF
48690 done
48692 else
48694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48695 $as_echo_n "checking for _logf declaration... " >&6; }
48696 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48697 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48698 $as_echo_n "(cached) " >&6
48699 else
48702 ac_ext=cpp
48703 ac_cpp='$CXXCPP $CPPFLAGS'
48704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48709 /* end confdefs.h. */
48710 #include <math.h>
48711 #ifdef HAVE_IEEEFP_H
48712 #include <ieeefp.h>
48713 #endif
48716 main ()
48718 _logf(0);
48720 return 0;
48722 _ACEOF
48723 if ac_fn_cxx_try_compile "$LINENO"; then :
48724 glibcxx_cv_func__logf_use=yes
48725 else
48726 glibcxx_cv_func__logf_use=no
48728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48729 ac_ext=c
48730 ac_cpp='$CPP $CPPFLAGS'
48731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48740 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48742 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48743 for ac_func in _logf
48744 do :
48745 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48746 if test "x$ac_cv_func__logf" = x""yes; then :
48747 cat >>confdefs.h <<_ACEOF
48748 #define HAVE__LOGF 1
48749 _ACEOF
48752 done
48761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48762 $as_echo_n "checking for log10f declaration... " >&6; }
48763 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48764 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48765 $as_echo_n "(cached) " >&6
48766 else
48769 ac_ext=cpp
48770 ac_cpp='$CXXCPP $CPPFLAGS'
48771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48776 /* end confdefs.h. */
48777 #include <math.h>
48778 #ifdef HAVE_IEEEFP_H
48779 #include <ieeefp.h>
48780 #endif
48783 main ()
48785 log10f(0);
48787 return 0;
48789 _ACEOF
48790 if ac_fn_cxx_try_compile "$LINENO"; then :
48791 glibcxx_cv_func_log10f_use=yes
48792 else
48793 glibcxx_cv_func_log10f_use=no
48795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48796 ac_ext=c
48797 ac_cpp='$CPP $CPPFLAGS'
48798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48807 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48809 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48810 for ac_func in log10f
48811 do :
48812 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48813 if test "x$ac_cv_func_log10f" = x""yes; then :
48814 cat >>confdefs.h <<_ACEOF
48815 #define HAVE_LOG10F 1
48816 _ACEOF
48819 done
48821 else
48823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48824 $as_echo_n "checking for _log10f declaration... " >&6; }
48825 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48826 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48827 $as_echo_n "(cached) " >&6
48828 else
48831 ac_ext=cpp
48832 ac_cpp='$CXXCPP $CPPFLAGS'
48833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48838 /* end confdefs.h. */
48839 #include <math.h>
48840 #ifdef HAVE_IEEEFP_H
48841 #include <ieeefp.h>
48842 #endif
48845 main ()
48847 _log10f(0);
48849 return 0;
48851 _ACEOF
48852 if ac_fn_cxx_try_compile "$LINENO"; then :
48853 glibcxx_cv_func__log10f_use=yes
48854 else
48855 glibcxx_cv_func__log10f_use=no
48857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48858 ac_ext=c
48859 ac_cpp='$CPP $CPPFLAGS'
48860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48869 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48871 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48872 for ac_func in _log10f
48873 do :
48874 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48875 if test "x$ac_cv_func__log10f" = x""yes; then :
48876 cat >>confdefs.h <<_ACEOF
48877 #define HAVE__LOG10F 1
48878 _ACEOF
48881 done
48890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48891 $as_echo_n "checking for modff declaration... " >&6; }
48892 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48893 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48894 $as_echo_n "(cached) " >&6
48895 else
48898 ac_ext=cpp
48899 ac_cpp='$CXXCPP $CPPFLAGS'
48900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48905 /* end confdefs.h. */
48906 #include <math.h>
48908 main ()
48910 modff(0, 0);
48912 return 0;
48914 _ACEOF
48915 if ac_fn_cxx_try_compile "$LINENO"; then :
48916 glibcxx_cv_func_modff_use=yes
48917 else
48918 glibcxx_cv_func_modff_use=no
48920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48921 ac_ext=c
48922 ac_cpp='$CPP $CPPFLAGS'
48923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48932 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48934 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48935 for ac_func in modff
48936 do :
48937 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48938 if test "x$ac_cv_func_modff" = x""yes; then :
48939 cat >>confdefs.h <<_ACEOF
48940 #define HAVE_MODFF 1
48941 _ACEOF
48944 done
48946 else
48948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48949 $as_echo_n "checking for _modff declaration... " >&6; }
48950 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48951 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48952 $as_echo_n "(cached) " >&6
48953 else
48956 ac_ext=cpp
48957 ac_cpp='$CXXCPP $CPPFLAGS'
48958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48963 /* end confdefs.h. */
48964 #include <math.h>
48966 main ()
48968 _modff(0, 0);
48970 return 0;
48972 _ACEOF
48973 if ac_fn_cxx_try_compile "$LINENO"; then :
48974 glibcxx_cv_func__modff_use=yes
48975 else
48976 glibcxx_cv_func__modff_use=no
48978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48979 ac_ext=c
48980 ac_cpp='$CPP $CPPFLAGS'
48981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48990 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48992 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48993 for ac_func in _modff
48994 do :
48995 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48996 if test "x$ac_cv_func__modff" = x""yes; then :
48997 cat >>confdefs.h <<_ACEOF
48998 #define HAVE__MODFF 1
48999 _ACEOF
49002 done
49011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
49012 $as_echo_n "checking for modf declaration... " >&6; }
49013 if test x${glibcxx_cv_func_modf_use+set} != xset; then
49014 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
49015 $as_echo_n "(cached) " >&6
49016 else
49019 ac_ext=cpp
49020 ac_cpp='$CXXCPP $CPPFLAGS'
49021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49026 /* end confdefs.h. */
49027 #include <math.h>
49029 main ()
49031 modf(0, 0);
49033 return 0;
49035 _ACEOF
49036 if ac_fn_cxx_try_compile "$LINENO"; then :
49037 glibcxx_cv_func_modf_use=yes
49038 else
49039 glibcxx_cv_func_modf_use=no
49041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49042 ac_ext=c
49043 ac_cpp='$CPP $CPPFLAGS'
49044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
49053 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
49055 if test x$glibcxx_cv_func_modf_use = x"yes"; then
49056 for ac_func in modf
49057 do :
49058 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
49059 if test "x$ac_cv_func_modf" = x""yes; then :
49060 cat >>confdefs.h <<_ACEOF
49061 #define HAVE_MODF 1
49062 _ACEOF
49065 done
49067 else
49069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
49070 $as_echo_n "checking for _modf declaration... " >&6; }
49071 if test x${glibcxx_cv_func__modf_use+set} != xset; then
49072 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
49073 $as_echo_n "(cached) " >&6
49074 else
49077 ac_ext=cpp
49078 ac_cpp='$CXXCPP $CPPFLAGS'
49079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49084 /* end confdefs.h. */
49085 #include <math.h>
49087 main ()
49089 _modf(0, 0);
49091 return 0;
49093 _ACEOF
49094 if ac_fn_cxx_try_compile "$LINENO"; then :
49095 glibcxx_cv_func__modf_use=yes
49096 else
49097 glibcxx_cv_func__modf_use=no
49099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49100 ac_ext=c
49101 ac_cpp='$CPP $CPPFLAGS'
49102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
49111 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
49113 if test x$glibcxx_cv_func__modf_use = x"yes"; then
49114 for ac_func in _modf
49115 do :
49116 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49117 if test "x$ac_cv_func__modf" = x""yes; then :
49118 cat >>confdefs.h <<_ACEOF
49119 #define HAVE__MODF 1
49120 _ACEOF
49123 done
49132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49133 $as_echo_n "checking for powf declaration... " >&6; }
49134 if test x${glibcxx_cv_func_powf_use+set} != xset; then
49135 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
49136 $as_echo_n "(cached) " >&6
49137 else
49140 ac_ext=cpp
49141 ac_cpp='$CXXCPP $CPPFLAGS'
49142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49147 /* end confdefs.h. */
49148 #include <math.h>
49150 main ()
49152 powf(0, 0);
49154 return 0;
49156 _ACEOF
49157 if ac_fn_cxx_try_compile "$LINENO"; then :
49158 glibcxx_cv_func_powf_use=yes
49159 else
49160 glibcxx_cv_func_powf_use=no
49162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49163 ac_ext=c
49164 ac_cpp='$CPP $CPPFLAGS'
49165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49174 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49176 if test x$glibcxx_cv_func_powf_use = x"yes"; then
49177 for ac_func in powf
49178 do :
49179 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49180 if test "x$ac_cv_func_powf" = x""yes; then :
49181 cat >>confdefs.h <<_ACEOF
49182 #define HAVE_POWF 1
49183 _ACEOF
49186 done
49188 else
49190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49191 $as_echo_n "checking for _powf declaration... " >&6; }
49192 if test x${glibcxx_cv_func__powf_use+set} != xset; then
49193 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49194 $as_echo_n "(cached) " >&6
49195 else
49198 ac_ext=cpp
49199 ac_cpp='$CXXCPP $CPPFLAGS'
49200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49205 /* end confdefs.h. */
49206 #include <math.h>
49208 main ()
49210 _powf(0, 0);
49212 return 0;
49214 _ACEOF
49215 if ac_fn_cxx_try_compile "$LINENO"; then :
49216 glibcxx_cv_func__powf_use=yes
49217 else
49218 glibcxx_cv_func__powf_use=no
49220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49221 ac_ext=c
49222 ac_cpp='$CPP $CPPFLAGS'
49223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49232 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
49234 if test x$glibcxx_cv_func__powf_use = x"yes"; then
49235 for ac_func in _powf
49236 do :
49237 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49238 if test "x$ac_cv_func__powf" = x""yes; then :
49239 cat >>confdefs.h <<_ACEOF
49240 #define HAVE__POWF 1
49241 _ACEOF
49244 done
49253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49254 $as_echo_n "checking for sqrtf declaration... " >&6; }
49255 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49256 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49257 $as_echo_n "(cached) " >&6
49258 else
49261 ac_ext=cpp
49262 ac_cpp='$CXXCPP $CPPFLAGS'
49263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49268 /* end confdefs.h. */
49269 #include <math.h>
49270 #ifdef HAVE_IEEEFP_H
49271 #include <ieeefp.h>
49272 #endif
49275 main ()
49277 sqrtf(0);
49279 return 0;
49281 _ACEOF
49282 if ac_fn_cxx_try_compile "$LINENO"; then :
49283 glibcxx_cv_func_sqrtf_use=yes
49284 else
49285 glibcxx_cv_func_sqrtf_use=no
49287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49288 ac_ext=c
49289 ac_cpp='$CPP $CPPFLAGS'
49290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49299 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49301 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49302 for ac_func in sqrtf
49303 do :
49304 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49305 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49306 cat >>confdefs.h <<_ACEOF
49307 #define HAVE_SQRTF 1
49308 _ACEOF
49311 done
49313 else
49315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49316 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49317 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49318 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49319 $as_echo_n "(cached) " >&6
49320 else
49323 ac_ext=cpp
49324 ac_cpp='$CXXCPP $CPPFLAGS'
49325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49330 /* end confdefs.h. */
49331 #include <math.h>
49332 #ifdef HAVE_IEEEFP_H
49333 #include <ieeefp.h>
49334 #endif
49337 main ()
49339 _sqrtf(0);
49341 return 0;
49343 _ACEOF
49344 if ac_fn_cxx_try_compile "$LINENO"; then :
49345 glibcxx_cv_func__sqrtf_use=yes
49346 else
49347 glibcxx_cv_func__sqrtf_use=no
49349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49350 ac_ext=c
49351 ac_cpp='$CPP $CPPFLAGS'
49352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49361 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49363 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49364 for ac_func in _sqrtf
49365 do :
49366 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49367 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49368 cat >>confdefs.h <<_ACEOF
49369 #define HAVE__SQRTF 1
49370 _ACEOF
49373 done
49382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49383 $as_echo_n "checking for sincosf declaration... " >&6; }
49384 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49385 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49386 $as_echo_n "(cached) " >&6
49387 else
49390 ac_ext=cpp
49391 ac_cpp='$CXXCPP $CPPFLAGS'
49392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49397 /* end confdefs.h. */
49398 #include <math.h>
49400 main ()
49402 sincosf(0, 0, 0);
49404 return 0;
49406 _ACEOF
49407 if ac_fn_cxx_try_compile "$LINENO"; then :
49408 glibcxx_cv_func_sincosf_use=yes
49409 else
49410 glibcxx_cv_func_sincosf_use=no
49412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49413 ac_ext=c
49414 ac_cpp='$CPP $CPPFLAGS'
49415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49424 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49426 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49427 for ac_func in sincosf
49428 do :
49429 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49430 if test "x$ac_cv_func_sincosf" = x""yes; then :
49431 cat >>confdefs.h <<_ACEOF
49432 #define HAVE_SINCOSF 1
49433 _ACEOF
49436 done
49438 else
49440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49441 $as_echo_n "checking for _sincosf declaration... " >&6; }
49442 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49443 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49444 $as_echo_n "(cached) " >&6
49445 else
49448 ac_ext=cpp
49449 ac_cpp='$CXXCPP $CPPFLAGS'
49450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49455 /* end confdefs.h. */
49456 #include <math.h>
49458 main ()
49460 _sincosf(0, 0, 0);
49462 return 0;
49464 _ACEOF
49465 if ac_fn_cxx_try_compile "$LINENO"; then :
49466 glibcxx_cv_func__sincosf_use=yes
49467 else
49468 glibcxx_cv_func__sincosf_use=no
49470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49471 ac_ext=c
49472 ac_cpp='$CPP $CPPFLAGS'
49473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49482 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49484 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49485 for ac_func in _sincosf
49486 do :
49487 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49488 if test "x$ac_cv_func__sincosf" = x""yes; then :
49489 cat >>confdefs.h <<_ACEOF
49490 #define HAVE__SINCOSF 1
49491 _ACEOF
49494 done
49503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49504 $as_echo_n "checking for finitef declaration... " >&6; }
49505 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49506 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49507 $as_echo_n "(cached) " >&6
49508 else
49511 ac_ext=cpp
49512 ac_cpp='$CXXCPP $CPPFLAGS'
49513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49518 /* end confdefs.h. */
49519 #include <math.h>
49520 #ifdef HAVE_IEEEFP_H
49521 #include <ieeefp.h>
49522 #endif
49525 main ()
49527 finitef(0);
49529 return 0;
49531 _ACEOF
49532 if ac_fn_cxx_try_compile "$LINENO"; then :
49533 glibcxx_cv_func_finitef_use=yes
49534 else
49535 glibcxx_cv_func_finitef_use=no
49537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49538 ac_ext=c
49539 ac_cpp='$CPP $CPPFLAGS'
49540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49549 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49551 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49552 for ac_func in finitef
49553 do :
49554 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49555 if test "x$ac_cv_func_finitef" = x""yes; then :
49556 cat >>confdefs.h <<_ACEOF
49557 #define HAVE_FINITEF 1
49558 _ACEOF
49561 done
49563 else
49565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49566 $as_echo_n "checking for _finitef declaration... " >&6; }
49567 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49568 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49569 $as_echo_n "(cached) " >&6
49570 else
49573 ac_ext=cpp
49574 ac_cpp='$CXXCPP $CPPFLAGS'
49575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49580 /* end confdefs.h. */
49581 #include <math.h>
49582 #ifdef HAVE_IEEEFP_H
49583 #include <ieeefp.h>
49584 #endif
49587 main ()
49589 _finitef(0);
49591 return 0;
49593 _ACEOF
49594 if ac_fn_cxx_try_compile "$LINENO"; then :
49595 glibcxx_cv_func__finitef_use=yes
49596 else
49597 glibcxx_cv_func__finitef_use=no
49599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49600 ac_ext=c
49601 ac_cpp='$CPP $CPPFLAGS'
49602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49611 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49613 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49614 for ac_func in _finitef
49615 do :
49616 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49617 if test "x$ac_cv_func__finitef" = x""yes; then :
49618 cat >>confdefs.h <<_ACEOF
49619 #define HAVE__FINITEF 1
49620 _ACEOF
49623 done
49632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49633 $as_echo_n "checking for long double trig functions... " >&6; }
49634 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49635 $as_echo_n "(cached) " >&6
49636 else
49639 ac_ext=cpp
49640 ac_cpp='$CXXCPP $CPPFLAGS'
49641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49646 /* end confdefs.h. */
49647 #include <math.h>
49649 main ()
49651 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49653 return 0;
49655 _ACEOF
49656 if ac_fn_cxx_try_compile "$LINENO"; then :
49657 glibcxx_cv_func_long_double_trig_use=yes
49658 else
49659 glibcxx_cv_func_long_double_trig_use=no
49661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49662 ac_ext=c
49663 ac_cpp='$CPP $CPPFLAGS'
49664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49671 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49672 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49673 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49674 do :
49675 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49676 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49677 eval as_val=\$$as_ac_var
49678 if test "x$as_val" = x""yes; then :
49679 cat >>confdefs.h <<_ACEOF
49680 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49681 _ACEOF
49684 done
49686 else
49687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49688 $as_echo_n "checking for _long double trig functions... " >&6; }
49689 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49690 $as_echo_n "(cached) " >&6
49691 else
49694 ac_ext=cpp
49695 ac_cpp='$CXXCPP $CPPFLAGS'
49696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49701 /* end confdefs.h. */
49702 #include <math.h>
49704 main ()
49706 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49708 return 0;
49710 _ACEOF
49711 if ac_fn_cxx_try_compile "$LINENO"; then :
49712 glibcxx_cv_func__long_double_trig_use=yes
49713 else
49714 glibcxx_cv_func__long_double_trig_use=no
49716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49717 ac_ext=c
49718 ac_cpp='$CPP $CPPFLAGS'
49719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49726 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49727 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49728 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49729 do :
49730 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49731 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49732 eval as_val=\$$as_ac_var
49733 if test "x$as_val" = x""yes; then :
49734 cat >>confdefs.h <<_ACEOF
49735 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49736 _ACEOF
49739 done
49748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49749 $as_echo_n "checking for long double round functions... " >&6; }
49750 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49751 $as_echo_n "(cached) " >&6
49752 else
49755 ac_ext=cpp
49756 ac_cpp='$CXXCPP $CPPFLAGS'
49757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49762 /* end confdefs.h. */
49763 #include <math.h>
49765 main ()
49767 ceill (0); floorl (0);
49769 return 0;
49771 _ACEOF
49772 if ac_fn_cxx_try_compile "$LINENO"; then :
49773 glibcxx_cv_func_long_double_round_use=yes
49774 else
49775 glibcxx_cv_func_long_double_round_use=no
49777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49778 ac_ext=c
49779 ac_cpp='$CPP $CPPFLAGS'
49780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49787 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49788 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49789 for ac_func in ceill floorl
49790 do :
49791 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49792 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49793 eval as_val=\$$as_ac_var
49794 if test "x$as_val" = x""yes; then :
49795 cat >>confdefs.h <<_ACEOF
49796 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49797 _ACEOF
49800 done
49802 else
49803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49804 $as_echo_n "checking for _long double round functions... " >&6; }
49805 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49806 $as_echo_n "(cached) " >&6
49807 else
49810 ac_ext=cpp
49811 ac_cpp='$CXXCPP $CPPFLAGS'
49812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49817 /* end confdefs.h. */
49818 #include <math.h>
49820 main ()
49822 _ceill (0); _floorl (0);
49824 return 0;
49826 _ACEOF
49827 if ac_fn_cxx_try_compile "$LINENO"; then :
49828 glibcxx_cv_func__long_double_round_use=yes
49829 else
49830 glibcxx_cv_func__long_double_round_use=no
49832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49833 ac_ext=c
49834 ac_cpp='$CPP $CPPFLAGS'
49835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49842 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49843 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49844 for ac_func in _ceill _floorl
49845 do :
49846 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49847 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49848 eval as_val=\$$as_ac_var
49849 if test "x$as_val" = x""yes; then :
49850 cat >>confdefs.h <<_ACEOF
49851 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49852 _ACEOF
49855 done
49865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49866 $as_echo_n "checking for isnanl declaration... " >&6; }
49867 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49868 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49869 $as_echo_n "(cached) " >&6
49870 else
49873 ac_ext=cpp
49874 ac_cpp='$CXXCPP $CPPFLAGS'
49875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49880 /* end confdefs.h. */
49881 #include <math.h>
49882 #ifdef HAVE_IEEEFP_H
49883 #include <ieeefp.h>
49884 #endif
49887 main ()
49889 isnanl(0);
49891 return 0;
49893 _ACEOF
49894 if ac_fn_cxx_try_compile "$LINENO"; then :
49895 glibcxx_cv_func_isnanl_use=yes
49896 else
49897 glibcxx_cv_func_isnanl_use=no
49899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49900 ac_ext=c
49901 ac_cpp='$CPP $CPPFLAGS'
49902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49911 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49913 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49914 for ac_func in isnanl
49915 do :
49916 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49917 if test "x$ac_cv_func_isnanl" = x""yes; then :
49918 cat >>confdefs.h <<_ACEOF
49919 #define HAVE_ISNANL 1
49920 _ACEOF
49923 done
49925 else
49927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49928 $as_echo_n "checking for _isnanl declaration... " >&6; }
49929 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49930 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49931 $as_echo_n "(cached) " >&6
49932 else
49935 ac_ext=cpp
49936 ac_cpp='$CXXCPP $CPPFLAGS'
49937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49942 /* end confdefs.h. */
49943 #include <math.h>
49944 #ifdef HAVE_IEEEFP_H
49945 #include <ieeefp.h>
49946 #endif
49949 main ()
49951 _isnanl(0);
49953 return 0;
49955 _ACEOF
49956 if ac_fn_cxx_try_compile "$LINENO"; then :
49957 glibcxx_cv_func__isnanl_use=yes
49958 else
49959 glibcxx_cv_func__isnanl_use=no
49961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49962 ac_ext=c
49963 ac_cpp='$CPP $CPPFLAGS'
49964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49973 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49975 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49976 for ac_func in _isnanl
49977 do :
49978 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49979 if test "x$ac_cv_func__isnanl" = x""yes; then :
49980 cat >>confdefs.h <<_ACEOF
49981 #define HAVE__ISNANL 1
49982 _ACEOF
49985 done
49994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49995 $as_echo_n "checking for isinfl declaration... " >&6; }
49996 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49997 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49998 $as_echo_n "(cached) " >&6
49999 else
50002 ac_ext=cpp
50003 ac_cpp='$CXXCPP $CPPFLAGS'
50004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50009 /* end confdefs.h. */
50010 #include <math.h>
50011 #ifdef HAVE_IEEEFP_H
50012 #include <ieeefp.h>
50013 #endif
50016 main ()
50018 isinfl(0);
50020 return 0;
50022 _ACEOF
50023 if ac_fn_cxx_try_compile "$LINENO"; then :
50024 glibcxx_cv_func_isinfl_use=yes
50025 else
50026 glibcxx_cv_func_isinfl_use=no
50028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50029 ac_ext=c
50030 ac_cpp='$CPP $CPPFLAGS'
50031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
50040 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
50042 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
50043 for ac_func in isinfl
50044 do :
50045 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
50046 if test "x$ac_cv_func_isinfl" = x""yes; then :
50047 cat >>confdefs.h <<_ACEOF
50048 #define HAVE_ISINFL 1
50049 _ACEOF
50052 done
50054 else
50056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
50057 $as_echo_n "checking for _isinfl declaration... " >&6; }
50058 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
50059 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
50060 $as_echo_n "(cached) " >&6
50061 else
50064 ac_ext=cpp
50065 ac_cpp='$CXXCPP $CPPFLAGS'
50066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50071 /* end confdefs.h. */
50072 #include <math.h>
50073 #ifdef HAVE_IEEEFP_H
50074 #include <ieeefp.h>
50075 #endif
50078 main ()
50080 _isinfl(0);
50082 return 0;
50084 _ACEOF
50085 if ac_fn_cxx_try_compile "$LINENO"; then :
50086 glibcxx_cv_func__isinfl_use=yes
50087 else
50088 glibcxx_cv_func__isinfl_use=no
50090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50091 ac_ext=c
50092 ac_cpp='$CPP $CPPFLAGS'
50093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
50102 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
50104 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
50105 for ac_func in _isinfl
50106 do :
50107 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
50108 if test "x$ac_cv_func__isinfl" = x""yes; then :
50109 cat >>confdefs.h <<_ACEOF
50110 #define HAVE__ISINFL 1
50111 _ACEOF
50114 done
50123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
50124 $as_echo_n "checking for atan2l declaration... " >&6; }
50125 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50126 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
50127 $as_echo_n "(cached) " >&6
50128 else
50131 ac_ext=cpp
50132 ac_cpp='$CXXCPP $CPPFLAGS'
50133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50138 /* end confdefs.h. */
50139 #include <math.h>
50141 main ()
50143 atan2l(0, 0);
50145 return 0;
50147 _ACEOF
50148 if ac_fn_cxx_try_compile "$LINENO"; then :
50149 glibcxx_cv_func_atan2l_use=yes
50150 else
50151 glibcxx_cv_func_atan2l_use=no
50153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50154 ac_ext=c
50155 ac_cpp='$CPP $CPPFLAGS'
50156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50165 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50167 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50168 for ac_func in atan2l
50169 do :
50170 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50171 if test "x$ac_cv_func_atan2l" = x""yes; then :
50172 cat >>confdefs.h <<_ACEOF
50173 #define HAVE_ATAN2L 1
50174 _ACEOF
50177 done
50179 else
50181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50182 $as_echo_n "checking for _atan2l declaration... " >&6; }
50183 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50184 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50185 $as_echo_n "(cached) " >&6
50186 else
50189 ac_ext=cpp
50190 ac_cpp='$CXXCPP $CPPFLAGS'
50191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50196 /* end confdefs.h. */
50197 #include <math.h>
50199 main ()
50201 _atan2l(0, 0);
50203 return 0;
50205 _ACEOF
50206 if ac_fn_cxx_try_compile "$LINENO"; then :
50207 glibcxx_cv_func__atan2l_use=yes
50208 else
50209 glibcxx_cv_func__atan2l_use=no
50211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50212 ac_ext=c
50213 ac_cpp='$CPP $CPPFLAGS'
50214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
50223 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
50225 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
50226 for ac_func in _atan2l
50227 do :
50228 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
50229 if test "x$ac_cv_func__atan2l" = x""yes; then :
50230 cat >>confdefs.h <<_ACEOF
50231 #define HAVE__ATAN2L 1
50232 _ACEOF
50235 done
50244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50245 $as_echo_n "checking for expl declaration... " >&6; }
50246 if test x${glibcxx_cv_func_expl_use+set} != xset; then
50247 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50248 $as_echo_n "(cached) " >&6
50249 else
50252 ac_ext=cpp
50253 ac_cpp='$CXXCPP $CPPFLAGS'
50254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50259 /* end confdefs.h. */
50260 #include <math.h>
50261 #ifdef HAVE_IEEEFP_H
50262 #include <ieeefp.h>
50263 #endif
50266 main ()
50268 expl(0);
50270 return 0;
50272 _ACEOF
50273 if ac_fn_cxx_try_compile "$LINENO"; then :
50274 glibcxx_cv_func_expl_use=yes
50275 else
50276 glibcxx_cv_func_expl_use=no
50278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50279 ac_ext=c
50280 ac_cpp='$CPP $CPPFLAGS'
50281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50290 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50292 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50293 for ac_func in expl
50294 do :
50295 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50296 if test "x$ac_cv_func_expl" = x""yes; then :
50297 cat >>confdefs.h <<_ACEOF
50298 #define HAVE_EXPL 1
50299 _ACEOF
50302 done
50304 else
50306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50307 $as_echo_n "checking for _expl declaration... " >&6; }
50308 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50309 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50310 $as_echo_n "(cached) " >&6
50311 else
50314 ac_ext=cpp
50315 ac_cpp='$CXXCPP $CPPFLAGS'
50316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50321 /* end confdefs.h. */
50322 #include <math.h>
50323 #ifdef HAVE_IEEEFP_H
50324 #include <ieeefp.h>
50325 #endif
50328 main ()
50330 _expl(0);
50332 return 0;
50334 _ACEOF
50335 if ac_fn_cxx_try_compile "$LINENO"; then :
50336 glibcxx_cv_func__expl_use=yes
50337 else
50338 glibcxx_cv_func__expl_use=no
50340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50341 ac_ext=c
50342 ac_cpp='$CPP $CPPFLAGS'
50343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50352 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50354 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50355 for ac_func in _expl
50356 do :
50357 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50358 if test "x$ac_cv_func__expl" = x""yes; then :
50359 cat >>confdefs.h <<_ACEOF
50360 #define HAVE__EXPL 1
50361 _ACEOF
50364 done
50373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50374 $as_echo_n "checking for fabsl declaration... " >&6; }
50375 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50376 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50377 $as_echo_n "(cached) " >&6
50378 else
50381 ac_ext=cpp
50382 ac_cpp='$CXXCPP $CPPFLAGS'
50383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50388 /* end confdefs.h. */
50389 #include <math.h>
50390 #ifdef HAVE_IEEEFP_H
50391 #include <ieeefp.h>
50392 #endif
50395 main ()
50397 fabsl(0);
50399 return 0;
50401 _ACEOF
50402 if ac_fn_cxx_try_compile "$LINENO"; then :
50403 glibcxx_cv_func_fabsl_use=yes
50404 else
50405 glibcxx_cv_func_fabsl_use=no
50407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50408 ac_ext=c
50409 ac_cpp='$CPP $CPPFLAGS'
50410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50419 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50421 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50422 for ac_func in fabsl
50423 do :
50424 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50425 if test "x$ac_cv_func_fabsl" = x""yes; then :
50426 cat >>confdefs.h <<_ACEOF
50427 #define HAVE_FABSL 1
50428 _ACEOF
50431 done
50433 else
50435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50436 $as_echo_n "checking for _fabsl declaration... " >&6; }
50437 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50438 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50439 $as_echo_n "(cached) " >&6
50440 else
50443 ac_ext=cpp
50444 ac_cpp='$CXXCPP $CPPFLAGS'
50445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50450 /* end confdefs.h. */
50451 #include <math.h>
50452 #ifdef HAVE_IEEEFP_H
50453 #include <ieeefp.h>
50454 #endif
50457 main ()
50459 _fabsl(0);
50461 return 0;
50463 _ACEOF
50464 if ac_fn_cxx_try_compile "$LINENO"; then :
50465 glibcxx_cv_func__fabsl_use=yes
50466 else
50467 glibcxx_cv_func__fabsl_use=no
50469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50470 ac_ext=c
50471 ac_cpp='$CPP $CPPFLAGS'
50472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50481 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50483 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50484 for ac_func in _fabsl
50485 do :
50486 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50487 if test "x$ac_cv_func__fabsl" = x""yes; then :
50488 cat >>confdefs.h <<_ACEOF
50489 #define HAVE__FABSL 1
50490 _ACEOF
50493 done
50502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50503 $as_echo_n "checking for fmodl declaration... " >&6; }
50504 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50505 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50506 $as_echo_n "(cached) " >&6
50507 else
50510 ac_ext=cpp
50511 ac_cpp='$CXXCPP $CPPFLAGS'
50512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50517 /* end confdefs.h. */
50518 #include <math.h>
50520 main ()
50522 fmodl(0, 0);
50524 return 0;
50526 _ACEOF
50527 if ac_fn_cxx_try_compile "$LINENO"; then :
50528 glibcxx_cv_func_fmodl_use=yes
50529 else
50530 glibcxx_cv_func_fmodl_use=no
50532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50533 ac_ext=c
50534 ac_cpp='$CPP $CPPFLAGS'
50535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50544 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50546 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50547 for ac_func in fmodl
50548 do :
50549 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50550 if test "x$ac_cv_func_fmodl" = x""yes; then :
50551 cat >>confdefs.h <<_ACEOF
50552 #define HAVE_FMODL 1
50553 _ACEOF
50556 done
50558 else
50560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50561 $as_echo_n "checking for _fmodl declaration... " >&6; }
50562 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50563 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50564 $as_echo_n "(cached) " >&6
50565 else
50568 ac_ext=cpp
50569 ac_cpp='$CXXCPP $CPPFLAGS'
50570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50575 /* end confdefs.h. */
50576 #include <math.h>
50578 main ()
50580 _fmodl(0, 0);
50582 return 0;
50584 _ACEOF
50585 if ac_fn_cxx_try_compile "$LINENO"; then :
50586 glibcxx_cv_func__fmodl_use=yes
50587 else
50588 glibcxx_cv_func__fmodl_use=no
50590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50591 ac_ext=c
50592 ac_cpp='$CPP $CPPFLAGS'
50593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50602 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50604 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50605 for ac_func in _fmodl
50606 do :
50607 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50608 if test "x$ac_cv_func__fmodl" = x""yes; then :
50609 cat >>confdefs.h <<_ACEOF
50610 #define HAVE__FMODL 1
50611 _ACEOF
50614 done
50623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50624 $as_echo_n "checking for frexpl declaration... " >&6; }
50625 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50626 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50627 $as_echo_n "(cached) " >&6
50628 else
50631 ac_ext=cpp
50632 ac_cpp='$CXXCPP $CPPFLAGS'
50633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50638 /* end confdefs.h. */
50639 #include <math.h>
50641 main ()
50643 frexpl(0, 0);
50645 return 0;
50647 _ACEOF
50648 if ac_fn_cxx_try_compile "$LINENO"; then :
50649 glibcxx_cv_func_frexpl_use=yes
50650 else
50651 glibcxx_cv_func_frexpl_use=no
50653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50654 ac_ext=c
50655 ac_cpp='$CPP $CPPFLAGS'
50656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50665 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50667 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50668 for ac_func in frexpl
50669 do :
50670 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50671 if test "x$ac_cv_func_frexpl" = x""yes; then :
50672 cat >>confdefs.h <<_ACEOF
50673 #define HAVE_FREXPL 1
50674 _ACEOF
50677 done
50679 else
50681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50682 $as_echo_n "checking for _frexpl declaration... " >&6; }
50683 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50684 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50685 $as_echo_n "(cached) " >&6
50686 else
50689 ac_ext=cpp
50690 ac_cpp='$CXXCPP $CPPFLAGS'
50691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50696 /* end confdefs.h. */
50697 #include <math.h>
50699 main ()
50701 _frexpl(0, 0);
50703 return 0;
50705 _ACEOF
50706 if ac_fn_cxx_try_compile "$LINENO"; then :
50707 glibcxx_cv_func__frexpl_use=yes
50708 else
50709 glibcxx_cv_func__frexpl_use=no
50711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50712 ac_ext=c
50713 ac_cpp='$CPP $CPPFLAGS'
50714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50723 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50725 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50726 for ac_func in _frexpl
50727 do :
50728 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50729 if test "x$ac_cv_func__frexpl" = x""yes; then :
50730 cat >>confdefs.h <<_ACEOF
50731 #define HAVE__FREXPL 1
50732 _ACEOF
50735 done
50744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50745 $as_echo_n "checking for hypotl declaration... " >&6; }
50746 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50747 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50748 $as_echo_n "(cached) " >&6
50749 else
50752 ac_ext=cpp
50753 ac_cpp='$CXXCPP $CPPFLAGS'
50754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50759 /* end confdefs.h. */
50760 #include <math.h>
50762 main ()
50764 hypotl(0, 0);
50766 return 0;
50768 _ACEOF
50769 if ac_fn_cxx_try_compile "$LINENO"; then :
50770 glibcxx_cv_func_hypotl_use=yes
50771 else
50772 glibcxx_cv_func_hypotl_use=no
50774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50775 ac_ext=c
50776 ac_cpp='$CPP $CPPFLAGS'
50777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50786 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50788 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50789 for ac_func in hypotl
50790 do :
50791 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50792 if test "x$ac_cv_func_hypotl" = x""yes; then :
50793 cat >>confdefs.h <<_ACEOF
50794 #define HAVE_HYPOTL 1
50795 _ACEOF
50798 done
50800 else
50802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50803 $as_echo_n "checking for _hypotl declaration... " >&6; }
50804 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50805 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50806 $as_echo_n "(cached) " >&6
50807 else
50810 ac_ext=cpp
50811 ac_cpp='$CXXCPP $CPPFLAGS'
50812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50817 /* end confdefs.h. */
50818 #include <math.h>
50820 main ()
50822 _hypotl(0, 0);
50824 return 0;
50826 _ACEOF
50827 if ac_fn_cxx_try_compile "$LINENO"; then :
50828 glibcxx_cv_func__hypotl_use=yes
50829 else
50830 glibcxx_cv_func__hypotl_use=no
50832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50833 ac_ext=c
50834 ac_cpp='$CPP $CPPFLAGS'
50835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50844 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50846 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50847 for ac_func in _hypotl
50848 do :
50849 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50850 if test "x$ac_cv_func__hypotl" = x""yes; then :
50851 cat >>confdefs.h <<_ACEOF
50852 #define HAVE__HYPOTL 1
50853 _ACEOF
50856 done
50865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50866 $as_echo_n "checking for ldexpl declaration... " >&6; }
50867 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50868 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50869 $as_echo_n "(cached) " >&6
50870 else
50873 ac_ext=cpp
50874 ac_cpp='$CXXCPP $CPPFLAGS'
50875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50880 /* end confdefs.h. */
50881 #include <math.h>
50883 main ()
50885 ldexpl(0, 0);
50887 return 0;
50889 _ACEOF
50890 if ac_fn_cxx_try_compile "$LINENO"; then :
50891 glibcxx_cv_func_ldexpl_use=yes
50892 else
50893 glibcxx_cv_func_ldexpl_use=no
50895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50896 ac_ext=c
50897 ac_cpp='$CPP $CPPFLAGS'
50898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50907 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50909 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50910 for ac_func in ldexpl
50911 do :
50912 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50913 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50914 cat >>confdefs.h <<_ACEOF
50915 #define HAVE_LDEXPL 1
50916 _ACEOF
50919 done
50921 else
50923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50924 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50925 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50926 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50927 $as_echo_n "(cached) " >&6
50928 else
50931 ac_ext=cpp
50932 ac_cpp='$CXXCPP $CPPFLAGS'
50933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50938 /* end confdefs.h. */
50939 #include <math.h>
50941 main ()
50943 _ldexpl(0, 0);
50945 return 0;
50947 _ACEOF
50948 if ac_fn_cxx_try_compile "$LINENO"; then :
50949 glibcxx_cv_func__ldexpl_use=yes
50950 else
50951 glibcxx_cv_func__ldexpl_use=no
50953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50954 ac_ext=c
50955 ac_cpp='$CPP $CPPFLAGS'
50956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50965 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50967 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50968 for ac_func in _ldexpl
50969 do :
50970 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50971 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50972 cat >>confdefs.h <<_ACEOF
50973 #define HAVE__LDEXPL 1
50974 _ACEOF
50977 done
50986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50987 $as_echo_n "checking for logl declaration... " >&6; }
50988 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50989 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50990 $as_echo_n "(cached) " >&6
50991 else
50994 ac_ext=cpp
50995 ac_cpp='$CXXCPP $CPPFLAGS'
50996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51001 /* end confdefs.h. */
51002 #include <math.h>
51003 #ifdef HAVE_IEEEFP_H
51004 #include <ieeefp.h>
51005 #endif
51008 main ()
51010 logl(0);
51012 return 0;
51014 _ACEOF
51015 if ac_fn_cxx_try_compile "$LINENO"; then :
51016 glibcxx_cv_func_logl_use=yes
51017 else
51018 glibcxx_cv_func_logl_use=no
51020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51021 ac_ext=c
51022 ac_cpp='$CPP $CPPFLAGS'
51023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
51032 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
51034 if test x$glibcxx_cv_func_logl_use = x"yes"; then
51035 for ac_func in logl
51036 do :
51037 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
51038 if test "x$ac_cv_func_logl" = x""yes; then :
51039 cat >>confdefs.h <<_ACEOF
51040 #define HAVE_LOGL 1
51041 _ACEOF
51044 done
51046 else
51048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
51049 $as_echo_n "checking for _logl declaration... " >&6; }
51050 if test x${glibcxx_cv_func__logl_use+set} != xset; then
51051 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
51052 $as_echo_n "(cached) " >&6
51053 else
51056 ac_ext=cpp
51057 ac_cpp='$CXXCPP $CPPFLAGS'
51058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51063 /* end confdefs.h. */
51064 #include <math.h>
51065 #ifdef HAVE_IEEEFP_H
51066 #include <ieeefp.h>
51067 #endif
51070 main ()
51072 _logl(0);
51074 return 0;
51076 _ACEOF
51077 if ac_fn_cxx_try_compile "$LINENO"; then :
51078 glibcxx_cv_func__logl_use=yes
51079 else
51080 glibcxx_cv_func__logl_use=no
51082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51083 ac_ext=c
51084 ac_cpp='$CPP $CPPFLAGS'
51085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
51094 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
51096 if test x$glibcxx_cv_func__logl_use = x"yes"; then
51097 for ac_func in _logl
51098 do :
51099 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
51100 if test "x$ac_cv_func__logl" = x""yes; then :
51101 cat >>confdefs.h <<_ACEOF
51102 #define HAVE__LOGL 1
51103 _ACEOF
51106 done
51115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51116 $as_echo_n "checking for log10l declaration... " >&6; }
51117 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51118 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
51119 $as_echo_n "(cached) " >&6
51120 else
51123 ac_ext=cpp
51124 ac_cpp='$CXXCPP $CPPFLAGS'
51125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51130 /* end confdefs.h. */
51131 #include <math.h>
51132 #ifdef HAVE_IEEEFP_H
51133 #include <ieeefp.h>
51134 #endif
51137 main ()
51139 log10l(0);
51141 return 0;
51143 _ACEOF
51144 if ac_fn_cxx_try_compile "$LINENO"; then :
51145 glibcxx_cv_func_log10l_use=yes
51146 else
51147 glibcxx_cv_func_log10l_use=no
51149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51150 ac_ext=c
51151 ac_cpp='$CPP $CPPFLAGS'
51152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
51161 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51163 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51164 for ac_func in log10l
51165 do :
51166 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51167 if test "x$ac_cv_func_log10l" = x""yes; then :
51168 cat >>confdefs.h <<_ACEOF
51169 #define HAVE_LOG10L 1
51170 _ACEOF
51173 done
51175 else
51177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51178 $as_echo_n "checking for _log10l declaration... " >&6; }
51179 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51180 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51181 $as_echo_n "(cached) " >&6
51182 else
51185 ac_ext=cpp
51186 ac_cpp='$CXXCPP $CPPFLAGS'
51187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51192 /* end confdefs.h. */
51193 #include <math.h>
51194 #ifdef HAVE_IEEEFP_H
51195 #include <ieeefp.h>
51196 #endif
51199 main ()
51201 _log10l(0);
51203 return 0;
51205 _ACEOF
51206 if ac_fn_cxx_try_compile "$LINENO"; then :
51207 glibcxx_cv_func__log10l_use=yes
51208 else
51209 glibcxx_cv_func__log10l_use=no
51211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51212 ac_ext=c
51213 ac_cpp='$CPP $CPPFLAGS'
51214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
51223 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
51225 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
51226 for ac_func in _log10l
51227 do :
51228 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
51229 if test "x$ac_cv_func__log10l" = x""yes; then :
51230 cat >>confdefs.h <<_ACEOF
51231 #define HAVE__LOG10L 1
51232 _ACEOF
51235 done
51244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51245 $as_echo_n "checking for modfl declaration... " >&6; }
51246 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51247 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51248 $as_echo_n "(cached) " >&6
51249 else
51252 ac_ext=cpp
51253 ac_cpp='$CXXCPP $CPPFLAGS'
51254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51259 /* end confdefs.h. */
51260 #include <math.h>
51262 main ()
51264 modfl(0, 0);
51266 return 0;
51268 _ACEOF
51269 if ac_fn_cxx_try_compile "$LINENO"; then :
51270 glibcxx_cv_func_modfl_use=yes
51271 else
51272 glibcxx_cv_func_modfl_use=no
51274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51275 ac_ext=c
51276 ac_cpp='$CPP $CPPFLAGS'
51277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51286 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51288 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51289 for ac_func in modfl
51290 do :
51291 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51292 if test "x$ac_cv_func_modfl" = x""yes; then :
51293 cat >>confdefs.h <<_ACEOF
51294 #define HAVE_MODFL 1
51295 _ACEOF
51298 done
51300 else
51302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51303 $as_echo_n "checking for _modfl declaration... " >&6; }
51304 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51305 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51306 $as_echo_n "(cached) " >&6
51307 else
51310 ac_ext=cpp
51311 ac_cpp='$CXXCPP $CPPFLAGS'
51312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51317 /* end confdefs.h. */
51318 #include <math.h>
51320 main ()
51322 _modfl(0, 0);
51324 return 0;
51326 _ACEOF
51327 if ac_fn_cxx_try_compile "$LINENO"; then :
51328 glibcxx_cv_func__modfl_use=yes
51329 else
51330 glibcxx_cv_func__modfl_use=no
51332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51333 ac_ext=c
51334 ac_cpp='$CPP $CPPFLAGS'
51335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51344 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51346 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51347 for ac_func in _modfl
51348 do :
51349 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51350 if test "x$ac_cv_func__modfl" = x""yes; then :
51351 cat >>confdefs.h <<_ACEOF
51352 #define HAVE__MODFL 1
51353 _ACEOF
51356 done
51365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51366 $as_echo_n "checking for powl declaration... " >&6; }
51367 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51368 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51369 $as_echo_n "(cached) " >&6
51370 else
51373 ac_ext=cpp
51374 ac_cpp='$CXXCPP $CPPFLAGS'
51375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51380 /* end confdefs.h. */
51381 #include <math.h>
51383 main ()
51385 powl(0, 0);
51387 return 0;
51389 _ACEOF
51390 if ac_fn_cxx_try_compile "$LINENO"; then :
51391 glibcxx_cv_func_powl_use=yes
51392 else
51393 glibcxx_cv_func_powl_use=no
51395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51396 ac_ext=c
51397 ac_cpp='$CPP $CPPFLAGS'
51398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51407 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51409 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51410 for ac_func in powl
51411 do :
51412 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51413 if test "x$ac_cv_func_powl" = x""yes; then :
51414 cat >>confdefs.h <<_ACEOF
51415 #define HAVE_POWL 1
51416 _ACEOF
51419 done
51421 else
51423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51424 $as_echo_n "checking for _powl declaration... " >&6; }
51425 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51426 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51427 $as_echo_n "(cached) " >&6
51428 else
51431 ac_ext=cpp
51432 ac_cpp='$CXXCPP $CPPFLAGS'
51433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51438 /* end confdefs.h. */
51439 #include <math.h>
51441 main ()
51443 _powl(0, 0);
51445 return 0;
51447 _ACEOF
51448 if ac_fn_cxx_try_compile "$LINENO"; then :
51449 glibcxx_cv_func__powl_use=yes
51450 else
51451 glibcxx_cv_func__powl_use=no
51453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51454 ac_ext=c
51455 ac_cpp='$CPP $CPPFLAGS'
51456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51465 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51467 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51468 for ac_func in _powl
51469 do :
51470 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51471 if test "x$ac_cv_func__powl" = x""yes; then :
51472 cat >>confdefs.h <<_ACEOF
51473 #define HAVE__POWL 1
51474 _ACEOF
51477 done
51486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51487 $as_echo_n "checking for sqrtl declaration... " >&6; }
51488 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51489 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51490 $as_echo_n "(cached) " >&6
51491 else
51494 ac_ext=cpp
51495 ac_cpp='$CXXCPP $CPPFLAGS'
51496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51501 /* end confdefs.h. */
51502 #include <math.h>
51503 #ifdef HAVE_IEEEFP_H
51504 #include <ieeefp.h>
51505 #endif
51508 main ()
51510 sqrtl(0);
51512 return 0;
51514 _ACEOF
51515 if ac_fn_cxx_try_compile "$LINENO"; then :
51516 glibcxx_cv_func_sqrtl_use=yes
51517 else
51518 glibcxx_cv_func_sqrtl_use=no
51520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51521 ac_ext=c
51522 ac_cpp='$CPP $CPPFLAGS'
51523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51532 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51534 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51535 for ac_func in sqrtl
51536 do :
51537 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51538 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51539 cat >>confdefs.h <<_ACEOF
51540 #define HAVE_SQRTL 1
51541 _ACEOF
51544 done
51546 else
51548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51549 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51550 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51551 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51552 $as_echo_n "(cached) " >&6
51553 else
51556 ac_ext=cpp
51557 ac_cpp='$CXXCPP $CPPFLAGS'
51558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51563 /* end confdefs.h. */
51564 #include <math.h>
51565 #ifdef HAVE_IEEEFP_H
51566 #include <ieeefp.h>
51567 #endif
51570 main ()
51572 _sqrtl(0);
51574 return 0;
51576 _ACEOF
51577 if ac_fn_cxx_try_compile "$LINENO"; then :
51578 glibcxx_cv_func__sqrtl_use=yes
51579 else
51580 glibcxx_cv_func__sqrtl_use=no
51582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51583 ac_ext=c
51584 ac_cpp='$CPP $CPPFLAGS'
51585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51594 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51596 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51597 for ac_func in _sqrtl
51598 do :
51599 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51600 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51601 cat >>confdefs.h <<_ACEOF
51602 #define HAVE__SQRTL 1
51603 _ACEOF
51606 done
51615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51616 $as_echo_n "checking for sincosl declaration... " >&6; }
51617 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51618 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51619 $as_echo_n "(cached) " >&6
51620 else
51623 ac_ext=cpp
51624 ac_cpp='$CXXCPP $CPPFLAGS'
51625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51630 /* end confdefs.h. */
51631 #include <math.h>
51633 main ()
51635 sincosl(0, 0, 0);
51637 return 0;
51639 _ACEOF
51640 if ac_fn_cxx_try_compile "$LINENO"; then :
51641 glibcxx_cv_func_sincosl_use=yes
51642 else
51643 glibcxx_cv_func_sincosl_use=no
51645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51646 ac_ext=c
51647 ac_cpp='$CPP $CPPFLAGS'
51648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51657 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51659 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51660 for ac_func in sincosl
51661 do :
51662 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51663 if test "x$ac_cv_func_sincosl" = x""yes; then :
51664 cat >>confdefs.h <<_ACEOF
51665 #define HAVE_SINCOSL 1
51666 _ACEOF
51669 done
51671 else
51673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51674 $as_echo_n "checking for _sincosl declaration... " >&6; }
51675 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51676 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51677 $as_echo_n "(cached) " >&6
51678 else
51681 ac_ext=cpp
51682 ac_cpp='$CXXCPP $CPPFLAGS'
51683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51688 /* end confdefs.h. */
51689 #include <math.h>
51691 main ()
51693 _sincosl(0, 0, 0);
51695 return 0;
51697 _ACEOF
51698 if ac_fn_cxx_try_compile "$LINENO"; then :
51699 glibcxx_cv_func__sincosl_use=yes
51700 else
51701 glibcxx_cv_func__sincosl_use=no
51703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51704 ac_ext=c
51705 ac_cpp='$CPP $CPPFLAGS'
51706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51715 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51717 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51718 for ac_func in _sincosl
51719 do :
51720 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51721 if test "x$ac_cv_func__sincosl" = x""yes; then :
51722 cat >>confdefs.h <<_ACEOF
51723 #define HAVE__SINCOSL 1
51724 _ACEOF
51727 done
51736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51737 $as_echo_n "checking for finitel declaration... " >&6; }
51738 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51739 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51740 $as_echo_n "(cached) " >&6
51741 else
51744 ac_ext=cpp
51745 ac_cpp='$CXXCPP $CPPFLAGS'
51746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51751 /* end confdefs.h. */
51752 #include <math.h>
51753 #ifdef HAVE_IEEEFP_H
51754 #include <ieeefp.h>
51755 #endif
51758 main ()
51760 finitel(0);
51762 return 0;
51764 _ACEOF
51765 if ac_fn_cxx_try_compile "$LINENO"; then :
51766 glibcxx_cv_func_finitel_use=yes
51767 else
51768 glibcxx_cv_func_finitel_use=no
51770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51771 ac_ext=c
51772 ac_cpp='$CPP $CPPFLAGS'
51773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51782 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51784 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51785 for ac_func in finitel
51786 do :
51787 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51788 if test "x$ac_cv_func_finitel" = x""yes; then :
51789 cat >>confdefs.h <<_ACEOF
51790 #define HAVE_FINITEL 1
51791 _ACEOF
51794 done
51796 else
51798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51799 $as_echo_n "checking for _finitel declaration... " >&6; }
51800 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51801 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51802 $as_echo_n "(cached) " >&6
51803 else
51806 ac_ext=cpp
51807 ac_cpp='$CXXCPP $CPPFLAGS'
51808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51813 /* end confdefs.h. */
51814 #include <math.h>
51815 #ifdef HAVE_IEEEFP_H
51816 #include <ieeefp.h>
51817 #endif
51820 main ()
51822 _finitel(0);
51824 return 0;
51826 _ACEOF
51827 if ac_fn_cxx_try_compile "$LINENO"; then :
51828 glibcxx_cv_func__finitel_use=yes
51829 else
51830 glibcxx_cv_func__finitel_use=no
51832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51833 ac_ext=c
51834 ac_cpp='$CPP $CPPFLAGS'
51835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51844 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51846 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51847 for ac_func in _finitel
51848 do :
51849 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51850 if test "x$ac_cv_func__finitel" = x""yes; then :
51851 cat >>confdefs.h <<_ACEOF
51852 #define HAVE__FINITEL 1
51853 _ACEOF
51856 done
51864 LIBS="$ac_save_LIBS"
51865 CXXFLAGS="$ac_save_CXXFLAGS"
51868 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51869 ac_save_CXXFLAGS="$CXXFLAGS"
51870 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51874 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51875 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51876 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51877 $as_echo_n "(cached) " >&6
51878 else
51881 ac_ext=cpp
51882 ac_cpp='$CXXCPP $CPPFLAGS'
51883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51888 /* end confdefs.h. */
51889 #include <stdlib.h>
51891 main ()
51893 at_quick_exit(0);
51895 return 0;
51897 _ACEOF
51898 if ac_fn_cxx_try_compile "$LINENO"; then :
51899 glibcxx_cv_func_at_quick_exit_use=yes
51900 else
51901 glibcxx_cv_func_at_quick_exit_use=no
51903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51904 ac_ext=c
51905 ac_cpp='$CPP $CPPFLAGS'
51906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51915 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51916 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51917 for ac_func in at_quick_exit
51918 do :
51919 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51920 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51921 cat >>confdefs.h <<_ACEOF
51922 #define HAVE_AT_QUICK_EXIT 1
51923 _ACEOF
51926 done
51931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51932 $as_echo_n "checking for quick_exit declaration... " >&6; }
51933 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51934 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51935 $as_echo_n "(cached) " >&6
51936 else
51939 ac_ext=cpp
51940 ac_cpp='$CXXCPP $CPPFLAGS'
51941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51946 /* end confdefs.h. */
51947 #include <stdlib.h>
51949 main ()
51951 quick_exit(0);
51953 return 0;
51955 _ACEOF
51956 if ac_fn_cxx_try_compile "$LINENO"; then :
51957 glibcxx_cv_func_quick_exit_use=yes
51958 else
51959 glibcxx_cv_func_quick_exit_use=no
51961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51962 ac_ext=c
51963 ac_cpp='$CPP $CPPFLAGS'
51964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51973 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51974 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51975 for ac_func in quick_exit
51976 do :
51977 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51978 if test "x$ac_cv_func_quick_exit" = x""yes; then :
51979 cat >>confdefs.h <<_ACEOF
51980 #define HAVE_QUICK_EXIT 1
51981 _ACEOF
51984 done
51989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51990 $as_echo_n "checking for strtold declaration... " >&6; }
51991 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51992 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51993 $as_echo_n "(cached) " >&6
51994 else
51997 ac_ext=cpp
51998 ac_cpp='$CXXCPP $CPPFLAGS'
51999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52004 /* end confdefs.h. */
52005 #include <stdlib.h>
52007 main ()
52009 strtold(0, 0);
52011 return 0;
52013 _ACEOF
52014 if ac_fn_cxx_try_compile "$LINENO"; then :
52015 glibcxx_cv_func_strtold_use=yes
52016 else
52017 glibcxx_cv_func_strtold_use=no
52019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52020 ac_ext=c
52021 ac_cpp='$CPP $CPPFLAGS'
52022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
52031 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
52032 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52033 for ac_func in strtold
52034 do :
52035 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
52036 if test "x$ac_cv_func_strtold" = x""yes; then :
52037 cat >>confdefs.h <<_ACEOF
52038 #define HAVE_STRTOLD 1
52039 _ACEOF
52042 done
52049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
52050 $as_echo_n "checking for strtof declaration... " >&6; }
52051 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52052 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
52053 $as_echo_n "(cached) " >&6
52054 else
52057 ac_ext=cpp
52058 ac_cpp='$CXXCPP $CPPFLAGS'
52059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52064 /* end confdefs.h. */
52065 #include <stdlib.h>
52067 main ()
52069 strtof(0, 0);
52071 return 0;
52073 _ACEOF
52074 if ac_fn_cxx_try_compile "$LINENO"; then :
52075 glibcxx_cv_func_strtof_use=yes
52076 else
52077 glibcxx_cv_func_strtof_use=no
52079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52080 ac_ext=c
52081 ac_cpp='$CPP $CPPFLAGS'
52082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
52091 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
52092 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52093 for ac_func in strtof
52094 do :
52095 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
52096 if test "x$ac_cv_func_strtof" = x""yes; then :
52097 cat >>confdefs.h <<_ACEOF
52098 #define HAVE_STRTOF 1
52099 _ACEOF
52102 done
52109 CXXFLAGS="$ac_save_CXXFLAGS"
52111 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
52115 # Check whether --enable-tls was given.
52116 if test "${enable_tls+set}" = set; then :
52117 enableval=$enable_tls;
52118 case "$enableval" in
52119 yes|no) ;;
52120 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52121 esac
52123 else
52124 enable_tls=yes
52128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52129 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52130 if test "${gcc_cv_have_tls+set}" = set; then :
52131 $as_echo_n "(cached) " >&6
52132 else
52134 if test "$cross_compiling" = yes; then :
52135 if test x$gcc_no_link = xyes; then
52136 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52139 /* end confdefs.h. */
52140 __thread int a; int b; int main() { return a = b; }
52141 _ACEOF
52142 if ac_fn_c_try_link "$LINENO"; then :
52143 chktls_save_LDFLAGS="$LDFLAGS"
52144 case $host in
52145 *-*-linux*)
52146 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52148 esac
52149 chktls_save_CFLAGS="$CFLAGS"
52150 CFLAGS="-fPIC $CFLAGS"
52151 if test x$gcc_no_link = xyes; then
52152 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52155 /* end confdefs.h. */
52156 int f() { return 0; }
52157 _ACEOF
52158 if ac_fn_c_try_link "$LINENO"; then :
52159 if test x$gcc_no_link = xyes; then
52160 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52163 /* end confdefs.h. */
52164 __thread int a; int b; int f() { return a = b; }
52165 _ACEOF
52166 if ac_fn_c_try_link "$LINENO"; then :
52167 gcc_cv_have_tls=yes
52168 else
52169 gcc_cv_have_tls=no
52171 rm -f core conftest.err conftest.$ac_objext \
52172 conftest$ac_exeext conftest.$ac_ext
52173 else
52174 gcc_cv_have_tls=yes
52176 rm -f core conftest.err conftest.$ac_objext \
52177 conftest$ac_exeext conftest.$ac_ext
52178 CFLAGS="$chktls_save_CFLAGS"
52179 LDFLAGS="$chktls_save_LDFLAGS"
52180 else
52181 gcc_cv_have_tls=no
52183 rm -f core conftest.err conftest.$ac_objext \
52184 conftest$ac_exeext conftest.$ac_ext
52187 else
52188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52189 /* end confdefs.h. */
52190 __thread int a; int b; int main() { return a = b; }
52191 _ACEOF
52192 if ac_fn_c_try_run "$LINENO"; then :
52193 chktls_save_LDFLAGS="$LDFLAGS"
52194 LDFLAGS="-static $LDFLAGS"
52195 if test x$gcc_no_link = xyes; then
52196 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52199 /* end confdefs.h. */
52200 int main() { return 0; }
52201 _ACEOF
52202 if ac_fn_c_try_link "$LINENO"; then :
52203 if test "$cross_compiling" = yes; then :
52204 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52206 as_fn_error "cannot run test program while cross compiling
52207 See \`config.log' for more details." "$LINENO" 5; }
52208 else
52209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52210 /* end confdefs.h. */
52211 __thread int a; int b; int main() { return a = b; }
52212 _ACEOF
52213 if ac_fn_c_try_run "$LINENO"; then :
52214 gcc_cv_have_tls=yes
52215 else
52216 gcc_cv_have_tls=no
52218 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52219 conftest.$ac_objext conftest.beam conftest.$ac_ext
52222 else
52223 gcc_cv_have_tls=yes
52225 rm -f core conftest.err conftest.$ac_objext \
52226 conftest$ac_exeext conftest.$ac_ext
52227 LDFLAGS="$chktls_save_LDFLAGS"
52228 if test $gcc_cv_have_tls = yes; then
52229 chktls_save_CFLAGS="$CFLAGS"
52230 thread_CFLAGS=failed
52231 for flag in '' '-pthread' '-lpthread'; do
52232 CFLAGS="$flag $chktls_save_CFLAGS"
52233 if test x$gcc_no_link = xyes; then
52234 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52237 /* end confdefs.h. */
52238 #include <pthread.h>
52239 void *g(void *d) { return NULL; }
52241 main ()
52243 pthread_t t; pthread_create(&t,NULL,g,NULL);
52245 return 0;
52247 _ACEOF
52248 if ac_fn_c_try_link "$LINENO"; then :
52249 thread_CFLAGS="$flag"
52251 rm -f core conftest.err conftest.$ac_objext \
52252 conftest$ac_exeext conftest.$ac_ext
52253 if test "X$thread_CFLAGS" != Xfailed; then
52254 break
52256 done
52257 CFLAGS="$chktls_save_CFLAGS"
52258 if test "X$thread_CFLAGS" != Xfailed; then
52259 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52260 if test "$cross_compiling" = yes; then :
52261 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52263 as_fn_error "cannot run test program while cross compiling
52264 See \`config.log' for more details." "$LINENO" 5; }
52265 else
52266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52267 /* end confdefs.h. */
52268 #include <pthread.h>
52269 __thread int a;
52270 static int *volatile a_in_other_thread;
52271 static void *
52272 thread_func (void *arg)
52274 a_in_other_thread = &a;
52275 return (void *)0;
52278 main ()
52280 pthread_t thread;
52281 void *thread_retval;
52282 int *volatile a_in_main_thread;
52283 a_in_main_thread = &a;
52284 if (pthread_create (&thread, (pthread_attr_t *)0,
52285 thread_func, (void *)0))
52286 return 0;
52287 if (pthread_join (thread, &thread_retval))
52288 return 0;
52289 return (a_in_other_thread == a_in_main_thread);
52291 return 0;
52293 _ACEOF
52294 if ac_fn_c_try_run "$LINENO"; then :
52295 gcc_cv_have_tls=yes
52296 else
52297 gcc_cv_have_tls=no
52299 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52300 conftest.$ac_objext conftest.beam conftest.$ac_ext
52303 CFLAGS="$chktls_save_CFLAGS"
52306 else
52307 gcc_cv_have_tls=no
52309 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52310 conftest.$ac_objext conftest.beam conftest.$ac_ext
52314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52315 $as_echo "$gcc_cv_have_tls" >&6; }
52316 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52318 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52326 am_save_CPPFLAGS="$CPPFLAGS"
52328 for element in $INCICONV; do
52329 haveit=
52330 for x in $CPPFLAGS; do
52332 acl_save_prefix="$prefix"
52333 prefix="$acl_final_prefix"
52334 acl_save_exec_prefix="$exec_prefix"
52335 exec_prefix="$acl_final_exec_prefix"
52336 eval x=\"$x\"
52337 exec_prefix="$acl_save_exec_prefix"
52338 prefix="$acl_save_prefix"
52340 if test "X$x" = "X$element"; then
52341 haveit=yes
52342 break
52344 done
52345 if test -z "$haveit"; then
52346 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
52348 done
52351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
52352 $as_echo_n "checking for iconv... " >&6; }
52353 if test "${am_cv_func_iconv+set}" = set; then :
52354 $as_echo_n "(cached) " >&6
52355 else
52357 am_cv_func_iconv="no, consider installing GNU libiconv"
52358 am_cv_lib_iconv=no
52359 if test x$gcc_no_link = xyes; then
52360 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52363 /* end confdefs.h. */
52364 #include <stdlib.h>
52365 #include <iconv.h>
52367 main ()
52369 iconv_t cd = iconv_open("","");
52370 iconv(cd,NULL,NULL,NULL,NULL);
52371 iconv_close(cd);
52373 return 0;
52375 _ACEOF
52376 if ac_fn_c_try_link "$LINENO"; then :
52377 am_cv_func_iconv=yes
52379 rm -f core conftest.err conftest.$ac_objext \
52380 conftest$ac_exeext conftest.$ac_ext
52381 if test "$am_cv_func_iconv" != yes; then
52382 am_save_LIBS="$LIBS"
52383 LIBS="$LIBS $LIBICONV"
52384 if test x$gcc_no_link = xyes; then
52385 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52388 /* end confdefs.h. */
52389 #include <stdlib.h>
52390 #include <iconv.h>
52392 main ()
52394 iconv_t cd = iconv_open("","");
52395 iconv(cd,NULL,NULL,NULL,NULL);
52396 iconv_close(cd);
52398 return 0;
52400 _ACEOF
52401 if ac_fn_c_try_link "$LINENO"; then :
52402 am_cv_lib_iconv=yes
52403 am_cv_func_iconv=yes
52405 rm -f core conftest.err conftest.$ac_objext \
52406 conftest$ac_exeext conftest.$ac_ext
52407 LIBS="$am_save_LIBS"
52411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
52412 $as_echo "$am_cv_func_iconv" >&6; }
52413 if test "$am_cv_func_iconv" = yes; then
52415 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
52418 if test "$am_cv_lib_iconv" = yes; then
52419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
52420 $as_echo_n "checking how to link with libiconv... " >&6; }
52421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
52422 $as_echo "$LIBICONV" >&6; }
52423 else
52424 CPPFLAGS="$am_save_CPPFLAGS"
52425 LIBICONV=
52426 LTLIBICONV=
52431 if test "$am_cv_func_iconv" = yes; then
52432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
52433 $as_echo_n "checking for iconv declaration... " >&6; }
52434 if test "${am_cv_proto_iconv+set}" = set; then :
52435 $as_echo_n "(cached) " >&6
52436 else
52438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52439 /* end confdefs.h. */
52441 #include <stdlib.h>
52442 #include <iconv.h>
52443 extern
52444 #ifdef __cplusplus
52446 #endif
52447 #if defined(__STDC__) || defined(__cplusplus)
52448 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
52449 #else
52450 size_t iconv();
52451 #endif
52454 main ()
52458 return 0;
52460 _ACEOF
52461 if ac_fn_c_try_compile "$LINENO"; then :
52462 am_cv_proto_iconv_arg1=""
52463 else
52464 am_cv_proto_iconv_arg1="const"
52466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52467 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);"
52470 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
52471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
52472 }$am_cv_proto_iconv" >&5
52473 $as_echo "${ac_t:-
52474 }$am_cv_proto_iconv" >&6; }
52476 cat >>confdefs.h <<_ACEOF
52477 #define ICONV_CONST $am_cv_proto_iconv_arg1
52478 _ACEOF
52483 *-mingw32*)
52485 # If we're not using GNU ld, then there's no point in even trying these
52486 # tests. Check for that first. We should have already tested for gld
52487 # by now (in libtool), but require it now just to be safe...
52488 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52489 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52493 # The name set by libtool depends on the version of libtool. Shame on us
52494 # for depending on an impl detail, but c'est la vie. Older versions used
52495 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52496 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52497 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52498 # set (hence we're using an older libtool), then set it.
52499 if test x${with_gnu_ld+set} != xset; then
52500 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52501 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52502 with_gnu_ld=no
52503 else
52504 with_gnu_ld=$ac_cv_prog_gnu_ld
52508 # Start by getting the version number. I think the libtool test already
52509 # does some of this, but throws away the result.
52510 glibcxx_ld_is_gold=no
52511 if test x"$with_gnu_ld" = x"yes"; then
52512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52513 $as_echo_n "checking for ld version... " >&6; }
52515 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52516 glibcxx_ld_is_gold=yes
52518 ldver=`$LD --version 2>/dev/null |
52519 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'`
52521 glibcxx_gnu_ld_version=`echo $ldver | \
52522 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52524 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52527 # Set --gc-sections.
52528 glibcxx_have_gc_sections=no
52529 if test "$glibcxx_ld_is_gold" = "yes"; then
52530 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52531 glibcxx_have_gc_sections=yes
52533 else
52534 glibcxx_gcsections_min_ld=21602
52535 if test x"$with_gnu_ld" = x"yes" &&
52536 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52537 glibcxx_have_gc_sections=yes
52540 if test "$glibcxx_have_gc_sections" = "yes"; then
52541 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52542 # NB: This flag only works reliably after 2.16.1. Configure tests
52543 # for this are difficult, so hard wire a value that should work.
52545 ac_test_CFLAGS="${CFLAGS+set}"
52546 ac_save_CFLAGS="$CFLAGS"
52547 CFLAGS='-Wl,--gc-sections'
52549 # Check for -Wl,--gc-sections
52550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52551 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52552 if test x$gcc_no_link = xyes; then
52553 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52556 /* end confdefs.h. */
52557 int one(void) { return 1; }
52558 int two(void) { return 2; }
52561 main ()
52563 two();
52565 return 0;
52567 _ACEOF
52568 if ac_fn_c_try_link "$LINENO"; then :
52569 ac_gcsections=yes
52570 else
52571 ac_gcsections=no
52573 rm -f core conftest.err conftest.$ac_objext \
52574 conftest$ac_exeext conftest.$ac_ext
52575 if test "$ac_gcsections" = "yes"; then
52576 rm -f conftest.c
52577 touch conftest.c
52578 if $CC -c conftest.c; then
52579 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52580 grep "Warning: gc-sections option ignored" > /dev/null; then
52581 ac_gcsections=no
52584 rm -f conftest.c conftest.o conftest
52586 if test "$ac_gcsections" = "yes"; then
52587 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52590 $as_echo "$ac_gcsections" >&6; }
52592 if test "$ac_test_CFLAGS" = set; then
52593 CFLAGS="$ac_save_CFLAGS"
52594 else
52595 # this is the suspicious part
52596 CFLAGS=''
52600 # Set -z,relro.
52601 # Note this is only for shared objects.
52602 ac_ld_relro=no
52603 if test x"$with_gnu_ld" = x"yes"; then
52604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52605 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52606 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52607 if test -n "$cxx_z_relo"; then
52608 OPT_LDFLAGS="-Wl,-z,relro"
52609 ac_ld_relro=yes
52611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52612 $as_echo "$ac_ld_relro" >&6; }
52615 # Set linker optimization flags.
52616 if test x"$with_gnu_ld" = x"yes"; then
52617 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52624 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52625 ac_save_CXXFLAGS="$CXXFLAGS"
52626 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52629 $as_echo_n "checking for sin in -lm... " >&6; }
52630 if test "${ac_cv_lib_m_sin+set}" = set; then :
52631 $as_echo_n "(cached) " >&6
52632 else
52633 ac_check_lib_save_LIBS=$LIBS
52634 LIBS="-lm $LIBS"
52635 if test x$gcc_no_link = xyes; then
52636 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52639 /* end confdefs.h. */
52641 /* Override any GCC internal prototype to avoid an error.
52642 Use char because int might match the return type of a GCC
52643 builtin and then its argument prototype would still apply. */
52644 #ifdef __cplusplus
52645 extern "C"
52646 #endif
52647 char sin ();
52649 main ()
52651 return sin ();
52653 return 0;
52655 _ACEOF
52656 if ac_fn_c_try_link "$LINENO"; then :
52657 ac_cv_lib_m_sin=yes
52658 else
52659 ac_cv_lib_m_sin=no
52661 rm -f core conftest.err conftest.$ac_objext \
52662 conftest$ac_exeext conftest.$ac_ext
52663 LIBS=$ac_check_lib_save_LIBS
52665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52666 $as_echo "$ac_cv_lib_m_sin" >&6; }
52667 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52668 libm="-lm"
52671 ac_save_LIBS="$LIBS"
52672 LIBS="$LIBS $libm"
52676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52677 $as_echo_n "checking for isinf declaration... " >&6; }
52678 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52679 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52680 $as_echo_n "(cached) " >&6
52681 else
52684 ac_ext=cpp
52685 ac_cpp='$CXXCPP $CPPFLAGS'
52686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52691 /* end confdefs.h. */
52692 #include <math.h>
52693 #ifdef HAVE_IEEEFP_H
52694 #include <ieeefp.h>
52695 #endif
52698 main ()
52700 isinf(0);
52702 return 0;
52704 _ACEOF
52705 if ac_fn_cxx_try_compile "$LINENO"; then :
52706 glibcxx_cv_func_isinf_use=yes
52707 else
52708 glibcxx_cv_func_isinf_use=no
52710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52711 ac_ext=c
52712 ac_cpp='$CPP $CPPFLAGS'
52713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52722 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52724 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52725 for ac_func in isinf
52726 do :
52727 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52728 if test "x$ac_cv_func_isinf" = x""yes; then :
52729 cat >>confdefs.h <<_ACEOF
52730 #define HAVE_ISINF 1
52731 _ACEOF
52734 done
52736 else
52738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52739 $as_echo_n "checking for _isinf declaration... " >&6; }
52740 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52741 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52742 $as_echo_n "(cached) " >&6
52743 else
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
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
52760 main ()
52762 _isinf(0);
52764 return 0;
52766 _ACEOF
52767 if ac_fn_cxx_try_compile "$LINENO"; then :
52768 glibcxx_cv_func__isinf_use=yes
52769 else
52770 glibcxx_cv_func__isinf_use=no
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
52783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52784 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52786 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52787 for ac_func in _isinf
52788 do :
52789 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52790 if test "x$ac_cv_func__isinf" = x""yes; then :
52791 cat >>confdefs.h <<_ACEOF
52792 #define HAVE__ISINF 1
52793 _ACEOF
52796 done
52805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52806 $as_echo_n "checking for isnan declaration... " >&6; }
52807 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52808 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52809 $as_echo_n "(cached) " >&6
52810 else
52813 ac_ext=cpp
52814 ac_cpp='$CXXCPP $CPPFLAGS'
52815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52820 /* end confdefs.h. */
52821 #include <math.h>
52822 #ifdef HAVE_IEEEFP_H
52823 #include <ieeefp.h>
52824 #endif
52827 main ()
52829 isnan(0);
52831 return 0;
52833 _ACEOF
52834 if ac_fn_cxx_try_compile "$LINENO"; then :
52835 glibcxx_cv_func_isnan_use=yes
52836 else
52837 glibcxx_cv_func_isnan_use=no
52839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52840 ac_ext=c
52841 ac_cpp='$CPP $CPPFLAGS'
52842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52851 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52853 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52854 for ac_func in isnan
52855 do :
52856 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52857 if test "x$ac_cv_func_isnan" = x""yes; then :
52858 cat >>confdefs.h <<_ACEOF
52859 #define HAVE_ISNAN 1
52860 _ACEOF
52863 done
52865 else
52867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52868 $as_echo_n "checking for _isnan declaration... " >&6; }
52869 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52870 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52871 $as_echo_n "(cached) " >&6
52872 else
52875 ac_ext=cpp
52876 ac_cpp='$CXXCPP $CPPFLAGS'
52877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52882 /* end confdefs.h. */
52883 #include <math.h>
52884 #ifdef HAVE_IEEEFP_H
52885 #include <ieeefp.h>
52886 #endif
52889 main ()
52891 _isnan(0);
52893 return 0;
52895 _ACEOF
52896 if ac_fn_cxx_try_compile "$LINENO"; then :
52897 glibcxx_cv_func__isnan_use=yes
52898 else
52899 glibcxx_cv_func__isnan_use=no
52901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52902 ac_ext=c
52903 ac_cpp='$CPP $CPPFLAGS'
52904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52913 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52915 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52916 for ac_func in _isnan
52917 do :
52918 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52919 if test "x$ac_cv_func__isnan" = x""yes; then :
52920 cat >>confdefs.h <<_ACEOF
52921 #define HAVE__ISNAN 1
52922 _ACEOF
52925 done
52934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52935 $as_echo_n "checking for finite declaration... " >&6; }
52936 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52937 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52938 $as_echo_n "(cached) " >&6
52939 else
52942 ac_ext=cpp
52943 ac_cpp='$CXXCPP $CPPFLAGS'
52944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52949 /* end confdefs.h. */
52950 #include <math.h>
52951 #ifdef HAVE_IEEEFP_H
52952 #include <ieeefp.h>
52953 #endif
52956 main ()
52958 finite(0);
52960 return 0;
52962 _ACEOF
52963 if ac_fn_cxx_try_compile "$LINENO"; then :
52964 glibcxx_cv_func_finite_use=yes
52965 else
52966 glibcxx_cv_func_finite_use=no
52968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52969 ac_ext=c
52970 ac_cpp='$CPP $CPPFLAGS'
52971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52980 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52982 if test x$glibcxx_cv_func_finite_use = x"yes"; then
52983 for ac_func in finite
52984 do :
52985 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52986 if test "x$ac_cv_func_finite" = x""yes; then :
52987 cat >>confdefs.h <<_ACEOF
52988 #define HAVE_FINITE 1
52989 _ACEOF
52992 done
52994 else
52996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52997 $as_echo_n "checking for _finite declaration... " >&6; }
52998 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52999 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53000 $as_echo_n "(cached) " >&6
53001 else
53004 ac_ext=cpp
53005 ac_cpp='$CXXCPP $CPPFLAGS'
53006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53011 /* end confdefs.h. */
53012 #include <math.h>
53013 #ifdef HAVE_IEEEFP_H
53014 #include <ieeefp.h>
53015 #endif
53018 main ()
53020 _finite(0);
53022 return 0;
53024 _ACEOF
53025 if ac_fn_cxx_try_compile "$LINENO"; then :
53026 glibcxx_cv_func__finite_use=yes
53027 else
53028 glibcxx_cv_func__finite_use=no
53030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53031 ac_ext=c
53032 ac_cpp='$CPP $CPPFLAGS'
53033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53042 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53044 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53045 for ac_func in _finite
53046 do :
53047 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53048 if test "x$ac_cv_func__finite" = x""yes; then :
53049 cat >>confdefs.h <<_ACEOF
53050 #define HAVE__FINITE 1
53051 _ACEOF
53054 done
53063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53064 $as_echo_n "checking for sincos declaration... " >&6; }
53065 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53066 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53067 $as_echo_n "(cached) " >&6
53068 else
53071 ac_ext=cpp
53072 ac_cpp='$CXXCPP $CPPFLAGS'
53073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53078 /* end confdefs.h. */
53079 #include <math.h>
53081 main ()
53083 sincos(0, 0, 0);
53085 return 0;
53087 _ACEOF
53088 if ac_fn_cxx_try_compile "$LINENO"; then :
53089 glibcxx_cv_func_sincos_use=yes
53090 else
53091 glibcxx_cv_func_sincos_use=no
53093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53094 ac_ext=c
53095 ac_cpp='$CPP $CPPFLAGS'
53096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53105 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53107 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53108 for ac_func in sincos
53109 do :
53110 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53111 if test "x$ac_cv_func_sincos" = x""yes; then :
53112 cat >>confdefs.h <<_ACEOF
53113 #define HAVE_SINCOS 1
53114 _ACEOF
53117 done
53119 else
53121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53122 $as_echo_n "checking for _sincos declaration... " >&6; }
53123 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53124 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53125 $as_echo_n "(cached) " >&6
53126 else
53129 ac_ext=cpp
53130 ac_cpp='$CXXCPP $CPPFLAGS'
53131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53136 /* end confdefs.h. */
53137 #include <math.h>
53139 main ()
53141 _sincos(0, 0, 0);
53143 return 0;
53145 _ACEOF
53146 if ac_fn_cxx_try_compile "$LINENO"; then :
53147 glibcxx_cv_func__sincos_use=yes
53148 else
53149 glibcxx_cv_func__sincos_use=no
53151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53152 ac_ext=c
53153 ac_cpp='$CPP $CPPFLAGS'
53154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53163 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53165 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53166 for ac_func in _sincos
53167 do :
53168 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53169 if test "x$ac_cv_func__sincos" = x""yes; then :
53170 cat >>confdefs.h <<_ACEOF
53171 #define HAVE__SINCOS 1
53172 _ACEOF
53175 done
53184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53185 $as_echo_n "checking for fpclass declaration... " >&6; }
53186 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53187 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53188 $as_echo_n "(cached) " >&6
53189 else
53192 ac_ext=cpp
53193 ac_cpp='$CXXCPP $CPPFLAGS'
53194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53199 /* end confdefs.h. */
53200 #include <math.h>
53201 #ifdef HAVE_IEEEFP_H
53202 #include <ieeefp.h>
53203 #endif
53206 main ()
53208 fpclass(0);
53210 return 0;
53212 _ACEOF
53213 if ac_fn_cxx_try_compile "$LINENO"; then :
53214 glibcxx_cv_func_fpclass_use=yes
53215 else
53216 glibcxx_cv_func_fpclass_use=no
53218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53219 ac_ext=c
53220 ac_cpp='$CPP $CPPFLAGS'
53221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53230 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53232 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53233 for ac_func in fpclass
53234 do :
53235 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53236 if test "x$ac_cv_func_fpclass" = x""yes; then :
53237 cat >>confdefs.h <<_ACEOF
53238 #define HAVE_FPCLASS 1
53239 _ACEOF
53242 done
53244 else
53246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53247 $as_echo_n "checking for _fpclass declaration... " >&6; }
53248 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53249 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53250 $as_echo_n "(cached) " >&6
53251 else
53254 ac_ext=cpp
53255 ac_cpp='$CXXCPP $CPPFLAGS'
53256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53261 /* end confdefs.h. */
53262 #include <math.h>
53263 #ifdef HAVE_IEEEFP_H
53264 #include <ieeefp.h>
53265 #endif
53268 main ()
53270 _fpclass(0);
53272 return 0;
53274 _ACEOF
53275 if ac_fn_cxx_try_compile "$LINENO"; then :
53276 glibcxx_cv_func__fpclass_use=yes
53277 else
53278 glibcxx_cv_func__fpclass_use=no
53280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53281 ac_ext=c
53282 ac_cpp='$CPP $CPPFLAGS'
53283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53292 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53294 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53295 for ac_func in _fpclass
53296 do :
53297 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53298 if test "x$ac_cv_func__fpclass" = x""yes; then :
53299 cat >>confdefs.h <<_ACEOF
53300 #define HAVE__FPCLASS 1
53301 _ACEOF
53304 done
53313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53314 $as_echo_n "checking for qfpclass declaration... " >&6; }
53315 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53316 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53317 $as_echo_n "(cached) " >&6
53318 else
53321 ac_ext=cpp
53322 ac_cpp='$CXXCPP $CPPFLAGS'
53323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53328 /* end confdefs.h. */
53329 #include <math.h>
53330 #ifdef HAVE_IEEEFP_H
53331 #include <ieeefp.h>
53332 #endif
53335 main ()
53337 qfpclass(0);
53339 return 0;
53341 _ACEOF
53342 if ac_fn_cxx_try_compile "$LINENO"; then :
53343 glibcxx_cv_func_qfpclass_use=yes
53344 else
53345 glibcxx_cv_func_qfpclass_use=no
53347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53348 ac_ext=c
53349 ac_cpp='$CPP $CPPFLAGS'
53350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53359 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53361 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53362 for ac_func in qfpclass
53363 do :
53364 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53365 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53366 cat >>confdefs.h <<_ACEOF
53367 #define HAVE_QFPCLASS 1
53368 _ACEOF
53371 done
53373 else
53375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53376 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53377 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53378 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53379 $as_echo_n "(cached) " >&6
53380 else
53383 ac_ext=cpp
53384 ac_cpp='$CXXCPP $CPPFLAGS'
53385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53390 /* end confdefs.h. */
53391 #include <math.h>
53392 #ifdef HAVE_IEEEFP_H
53393 #include <ieeefp.h>
53394 #endif
53397 main ()
53399 _qfpclass(0);
53401 return 0;
53403 _ACEOF
53404 if ac_fn_cxx_try_compile "$LINENO"; then :
53405 glibcxx_cv_func__qfpclass_use=yes
53406 else
53407 glibcxx_cv_func__qfpclass_use=no
53409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53410 ac_ext=c
53411 ac_cpp='$CPP $CPPFLAGS'
53412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53421 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53423 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53424 for ac_func in _qfpclass
53425 do :
53426 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53427 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53428 cat >>confdefs.h <<_ACEOF
53429 #define HAVE__QFPCLASS 1
53430 _ACEOF
53433 done
53442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53443 $as_echo_n "checking for hypot declaration... " >&6; }
53444 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53445 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53446 $as_echo_n "(cached) " >&6
53447 else
53450 ac_ext=cpp
53451 ac_cpp='$CXXCPP $CPPFLAGS'
53452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53457 /* end confdefs.h. */
53458 #include <math.h>
53460 main ()
53462 hypot(0, 0);
53464 return 0;
53466 _ACEOF
53467 if ac_fn_cxx_try_compile "$LINENO"; then :
53468 glibcxx_cv_func_hypot_use=yes
53469 else
53470 glibcxx_cv_func_hypot_use=no
53472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53473 ac_ext=c
53474 ac_cpp='$CPP $CPPFLAGS'
53475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53484 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53486 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53487 for ac_func in hypot
53488 do :
53489 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53490 if test "x$ac_cv_func_hypot" = x""yes; then :
53491 cat >>confdefs.h <<_ACEOF
53492 #define HAVE_HYPOT 1
53493 _ACEOF
53496 done
53498 else
53500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53501 $as_echo_n "checking for _hypot declaration... " >&6; }
53502 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53503 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53504 $as_echo_n "(cached) " >&6
53505 else
53508 ac_ext=cpp
53509 ac_cpp='$CXXCPP $CPPFLAGS'
53510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53515 /* end confdefs.h. */
53516 #include <math.h>
53518 main ()
53520 _hypot(0, 0);
53522 return 0;
53524 _ACEOF
53525 if ac_fn_cxx_try_compile "$LINENO"; then :
53526 glibcxx_cv_func__hypot_use=yes
53527 else
53528 glibcxx_cv_func__hypot_use=no
53530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53531 ac_ext=c
53532 ac_cpp='$CPP $CPPFLAGS'
53533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53542 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53544 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53545 for ac_func in _hypot
53546 do :
53547 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53548 if test "x$ac_cv_func__hypot" = x""yes; then :
53549 cat >>confdefs.h <<_ACEOF
53550 #define HAVE__HYPOT 1
53551 _ACEOF
53554 done
53563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53564 $as_echo_n "checking for float trig functions... " >&6; }
53565 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53566 $as_echo_n "(cached) " >&6
53567 else
53570 ac_ext=cpp
53571 ac_cpp='$CXXCPP $CPPFLAGS'
53572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53577 /* end confdefs.h. */
53578 #include <math.h>
53580 main ()
53582 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53584 return 0;
53586 _ACEOF
53587 if ac_fn_cxx_try_compile "$LINENO"; then :
53588 glibcxx_cv_func_float_trig_use=yes
53589 else
53590 glibcxx_cv_func_float_trig_use=no
53592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53593 ac_ext=c
53594 ac_cpp='$CPP $CPPFLAGS'
53595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53602 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53603 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53604 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53605 do :
53606 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53607 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53608 eval as_val=\$$as_ac_var
53609 if test "x$as_val" = x""yes; then :
53610 cat >>confdefs.h <<_ACEOF
53611 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53612 _ACEOF
53615 done
53617 else
53618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53619 $as_echo_n "checking for _float trig functions... " >&6; }
53620 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53621 $as_echo_n "(cached) " >&6
53622 else
53625 ac_ext=cpp
53626 ac_cpp='$CXXCPP $CPPFLAGS'
53627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53632 /* end confdefs.h. */
53633 #include <math.h>
53635 main ()
53637 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53639 return 0;
53641 _ACEOF
53642 if ac_fn_cxx_try_compile "$LINENO"; then :
53643 glibcxx_cv_func__float_trig_use=yes
53644 else
53645 glibcxx_cv_func__float_trig_use=no
53647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53648 ac_ext=c
53649 ac_cpp='$CPP $CPPFLAGS'
53650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53657 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53658 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53659 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53660 do :
53661 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53662 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53663 eval as_val=\$$as_ac_var
53664 if test "x$as_val" = x""yes; then :
53665 cat >>confdefs.h <<_ACEOF
53666 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53667 _ACEOF
53670 done
53679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53680 $as_echo_n "checking for float round functions... " >&6; }
53681 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53682 $as_echo_n "(cached) " >&6
53683 else
53686 ac_ext=cpp
53687 ac_cpp='$CXXCPP $CPPFLAGS'
53688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53693 /* end confdefs.h. */
53694 #include <math.h>
53696 main ()
53698 ceilf (0); floorf (0);
53700 return 0;
53702 _ACEOF
53703 if ac_fn_cxx_try_compile "$LINENO"; then :
53704 glibcxx_cv_func_float_round_use=yes
53705 else
53706 glibcxx_cv_func_float_round_use=no
53708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53709 ac_ext=c
53710 ac_cpp='$CPP $CPPFLAGS'
53711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53718 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53719 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53720 for ac_func in ceilf floorf
53721 do :
53722 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53723 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53724 eval as_val=\$$as_ac_var
53725 if test "x$as_val" = x""yes; then :
53726 cat >>confdefs.h <<_ACEOF
53727 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53728 _ACEOF
53731 done
53733 else
53734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53735 $as_echo_n "checking for _float round functions... " >&6; }
53736 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53737 $as_echo_n "(cached) " >&6
53738 else
53741 ac_ext=cpp
53742 ac_cpp='$CXXCPP $CPPFLAGS'
53743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53748 /* end confdefs.h. */
53749 #include <math.h>
53751 main ()
53753 _ceilf (0); _floorf (0);
53755 return 0;
53757 _ACEOF
53758 if ac_fn_cxx_try_compile "$LINENO"; then :
53759 glibcxx_cv_func__float_round_use=yes
53760 else
53761 glibcxx_cv_func__float_round_use=no
53763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53764 ac_ext=c
53765 ac_cpp='$CPP $CPPFLAGS'
53766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53773 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53774 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53775 for ac_func in _ceilf _floorf
53776 do :
53777 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53778 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53779 eval as_val=\$$as_ac_var
53780 if test "x$as_val" = x""yes; then :
53781 cat >>confdefs.h <<_ACEOF
53782 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53783 _ACEOF
53786 done
53796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53797 $as_echo_n "checking for expf declaration... " >&6; }
53798 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53799 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53800 $as_echo_n "(cached) " >&6
53801 else
53804 ac_ext=cpp
53805 ac_cpp='$CXXCPP $CPPFLAGS'
53806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53811 /* end confdefs.h. */
53812 #include <math.h>
53813 #ifdef HAVE_IEEEFP_H
53814 #include <ieeefp.h>
53815 #endif
53818 main ()
53820 expf(0);
53822 return 0;
53824 _ACEOF
53825 if ac_fn_cxx_try_compile "$LINENO"; then :
53826 glibcxx_cv_func_expf_use=yes
53827 else
53828 glibcxx_cv_func_expf_use=no
53830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53831 ac_ext=c
53832 ac_cpp='$CPP $CPPFLAGS'
53833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53842 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53844 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53845 for ac_func in expf
53846 do :
53847 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53848 if test "x$ac_cv_func_expf" = x""yes; then :
53849 cat >>confdefs.h <<_ACEOF
53850 #define HAVE_EXPF 1
53851 _ACEOF
53854 done
53856 else
53858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53859 $as_echo_n "checking for _expf declaration... " >&6; }
53860 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53861 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53862 $as_echo_n "(cached) " >&6
53863 else
53866 ac_ext=cpp
53867 ac_cpp='$CXXCPP $CPPFLAGS'
53868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53873 /* end confdefs.h. */
53874 #include <math.h>
53875 #ifdef HAVE_IEEEFP_H
53876 #include <ieeefp.h>
53877 #endif
53880 main ()
53882 _expf(0);
53884 return 0;
53886 _ACEOF
53887 if ac_fn_cxx_try_compile "$LINENO"; then :
53888 glibcxx_cv_func__expf_use=yes
53889 else
53890 glibcxx_cv_func__expf_use=no
53892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53893 ac_ext=c
53894 ac_cpp='$CPP $CPPFLAGS'
53895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53904 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53906 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53907 for ac_func in _expf
53908 do :
53909 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53910 if test "x$ac_cv_func__expf" = x""yes; then :
53911 cat >>confdefs.h <<_ACEOF
53912 #define HAVE__EXPF 1
53913 _ACEOF
53916 done
53925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53926 $as_echo_n "checking for isnanf declaration... " >&6; }
53927 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53928 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53929 $as_echo_n "(cached) " >&6
53930 else
53933 ac_ext=cpp
53934 ac_cpp='$CXXCPP $CPPFLAGS'
53935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53940 /* end confdefs.h. */
53941 #include <math.h>
53942 #ifdef HAVE_IEEEFP_H
53943 #include <ieeefp.h>
53944 #endif
53947 main ()
53949 isnanf(0);
53951 return 0;
53953 _ACEOF
53954 if ac_fn_cxx_try_compile "$LINENO"; then :
53955 glibcxx_cv_func_isnanf_use=yes
53956 else
53957 glibcxx_cv_func_isnanf_use=no
53959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53960 ac_ext=c
53961 ac_cpp='$CPP $CPPFLAGS'
53962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53971 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53973 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53974 for ac_func in isnanf
53975 do :
53976 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53977 if test "x$ac_cv_func_isnanf" = x""yes; then :
53978 cat >>confdefs.h <<_ACEOF
53979 #define HAVE_ISNANF 1
53980 _ACEOF
53983 done
53985 else
53987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53988 $as_echo_n "checking for _isnanf declaration... " >&6; }
53989 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53990 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53991 $as_echo_n "(cached) " >&6
53992 else
53995 ac_ext=cpp
53996 ac_cpp='$CXXCPP $CPPFLAGS'
53997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54002 /* end confdefs.h. */
54003 #include <math.h>
54004 #ifdef HAVE_IEEEFP_H
54005 #include <ieeefp.h>
54006 #endif
54009 main ()
54011 _isnanf(0);
54013 return 0;
54015 _ACEOF
54016 if ac_fn_cxx_try_compile "$LINENO"; then :
54017 glibcxx_cv_func__isnanf_use=yes
54018 else
54019 glibcxx_cv_func__isnanf_use=no
54021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54022 ac_ext=c
54023 ac_cpp='$CPP $CPPFLAGS'
54024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54033 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54035 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54036 for ac_func in _isnanf
54037 do :
54038 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54039 if test "x$ac_cv_func__isnanf" = x""yes; then :
54040 cat >>confdefs.h <<_ACEOF
54041 #define HAVE__ISNANF 1
54042 _ACEOF
54045 done
54054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54055 $as_echo_n "checking for isinff declaration... " >&6; }
54056 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54057 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54058 $as_echo_n "(cached) " >&6
54059 else
54062 ac_ext=cpp
54063 ac_cpp='$CXXCPP $CPPFLAGS'
54064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54069 /* end confdefs.h. */
54070 #include <math.h>
54071 #ifdef HAVE_IEEEFP_H
54072 #include <ieeefp.h>
54073 #endif
54076 main ()
54078 isinff(0);
54080 return 0;
54082 _ACEOF
54083 if ac_fn_cxx_try_compile "$LINENO"; then :
54084 glibcxx_cv_func_isinff_use=yes
54085 else
54086 glibcxx_cv_func_isinff_use=no
54088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54089 ac_ext=c
54090 ac_cpp='$CPP $CPPFLAGS'
54091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54100 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54102 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54103 for ac_func in isinff
54104 do :
54105 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54106 if test "x$ac_cv_func_isinff" = x""yes; then :
54107 cat >>confdefs.h <<_ACEOF
54108 #define HAVE_ISINFF 1
54109 _ACEOF
54112 done
54114 else
54116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54117 $as_echo_n "checking for _isinff declaration... " >&6; }
54118 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54119 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54120 $as_echo_n "(cached) " >&6
54121 else
54124 ac_ext=cpp
54125 ac_cpp='$CXXCPP $CPPFLAGS'
54126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54131 /* end confdefs.h. */
54132 #include <math.h>
54133 #ifdef HAVE_IEEEFP_H
54134 #include <ieeefp.h>
54135 #endif
54138 main ()
54140 _isinff(0);
54142 return 0;
54144 _ACEOF
54145 if ac_fn_cxx_try_compile "$LINENO"; then :
54146 glibcxx_cv_func__isinff_use=yes
54147 else
54148 glibcxx_cv_func__isinff_use=no
54150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54151 ac_ext=c
54152 ac_cpp='$CPP $CPPFLAGS'
54153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54162 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54164 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54165 for ac_func in _isinff
54166 do :
54167 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54168 if test "x$ac_cv_func__isinff" = x""yes; then :
54169 cat >>confdefs.h <<_ACEOF
54170 #define HAVE__ISINFF 1
54171 _ACEOF
54174 done
54183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54184 $as_echo_n "checking for atan2f declaration... " >&6; }
54185 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54186 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54187 $as_echo_n "(cached) " >&6
54188 else
54191 ac_ext=cpp
54192 ac_cpp='$CXXCPP $CPPFLAGS'
54193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54198 /* end confdefs.h. */
54199 #include <math.h>
54201 main ()
54203 atan2f(0, 0);
54205 return 0;
54207 _ACEOF
54208 if ac_fn_cxx_try_compile "$LINENO"; then :
54209 glibcxx_cv_func_atan2f_use=yes
54210 else
54211 glibcxx_cv_func_atan2f_use=no
54213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54214 ac_ext=c
54215 ac_cpp='$CPP $CPPFLAGS'
54216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54225 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54227 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54228 for ac_func in atan2f
54229 do :
54230 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54231 if test "x$ac_cv_func_atan2f" = x""yes; then :
54232 cat >>confdefs.h <<_ACEOF
54233 #define HAVE_ATAN2F 1
54234 _ACEOF
54237 done
54239 else
54241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54242 $as_echo_n "checking for _atan2f declaration... " >&6; }
54243 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54244 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54245 $as_echo_n "(cached) " >&6
54246 else
54249 ac_ext=cpp
54250 ac_cpp='$CXXCPP $CPPFLAGS'
54251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54256 /* end confdefs.h. */
54257 #include <math.h>
54259 main ()
54261 _atan2f(0, 0);
54263 return 0;
54265 _ACEOF
54266 if ac_fn_cxx_try_compile "$LINENO"; then :
54267 glibcxx_cv_func__atan2f_use=yes
54268 else
54269 glibcxx_cv_func__atan2f_use=no
54271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54272 ac_ext=c
54273 ac_cpp='$CPP $CPPFLAGS'
54274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54283 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54285 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54286 for ac_func in _atan2f
54287 do :
54288 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54289 if test "x$ac_cv_func__atan2f" = x""yes; then :
54290 cat >>confdefs.h <<_ACEOF
54291 #define HAVE__ATAN2F 1
54292 _ACEOF
54295 done
54304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54305 $as_echo_n "checking for fabsf declaration... " >&6; }
54306 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54307 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54308 $as_echo_n "(cached) " >&6
54309 else
54312 ac_ext=cpp
54313 ac_cpp='$CXXCPP $CPPFLAGS'
54314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54319 /* end confdefs.h. */
54320 #include <math.h>
54321 #ifdef HAVE_IEEEFP_H
54322 #include <ieeefp.h>
54323 #endif
54326 main ()
54328 fabsf(0);
54330 return 0;
54332 _ACEOF
54333 if ac_fn_cxx_try_compile "$LINENO"; then :
54334 glibcxx_cv_func_fabsf_use=yes
54335 else
54336 glibcxx_cv_func_fabsf_use=no
54338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54339 ac_ext=c
54340 ac_cpp='$CPP $CPPFLAGS'
54341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54350 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54352 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54353 for ac_func in fabsf
54354 do :
54355 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54356 if test "x$ac_cv_func_fabsf" = x""yes; then :
54357 cat >>confdefs.h <<_ACEOF
54358 #define HAVE_FABSF 1
54359 _ACEOF
54362 done
54364 else
54366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54367 $as_echo_n "checking for _fabsf declaration... " >&6; }
54368 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54369 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54370 $as_echo_n "(cached) " >&6
54371 else
54374 ac_ext=cpp
54375 ac_cpp='$CXXCPP $CPPFLAGS'
54376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54381 /* end confdefs.h. */
54382 #include <math.h>
54383 #ifdef HAVE_IEEEFP_H
54384 #include <ieeefp.h>
54385 #endif
54388 main ()
54390 _fabsf(0);
54392 return 0;
54394 _ACEOF
54395 if ac_fn_cxx_try_compile "$LINENO"; then :
54396 glibcxx_cv_func__fabsf_use=yes
54397 else
54398 glibcxx_cv_func__fabsf_use=no
54400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54401 ac_ext=c
54402 ac_cpp='$CPP $CPPFLAGS'
54403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54412 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54414 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54415 for ac_func in _fabsf
54416 do :
54417 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54418 if test "x$ac_cv_func__fabsf" = x""yes; then :
54419 cat >>confdefs.h <<_ACEOF
54420 #define HAVE__FABSF 1
54421 _ACEOF
54424 done
54433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54434 $as_echo_n "checking for fmodf declaration... " >&6; }
54435 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54436 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54437 $as_echo_n "(cached) " >&6
54438 else
54441 ac_ext=cpp
54442 ac_cpp='$CXXCPP $CPPFLAGS'
54443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54448 /* end confdefs.h. */
54449 #include <math.h>
54451 main ()
54453 fmodf(0, 0);
54455 return 0;
54457 _ACEOF
54458 if ac_fn_cxx_try_compile "$LINENO"; then :
54459 glibcxx_cv_func_fmodf_use=yes
54460 else
54461 glibcxx_cv_func_fmodf_use=no
54463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54464 ac_ext=c
54465 ac_cpp='$CPP $CPPFLAGS'
54466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54475 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54477 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54478 for ac_func in fmodf
54479 do :
54480 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54481 if test "x$ac_cv_func_fmodf" = x""yes; then :
54482 cat >>confdefs.h <<_ACEOF
54483 #define HAVE_FMODF 1
54484 _ACEOF
54487 done
54489 else
54491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54492 $as_echo_n "checking for _fmodf declaration... " >&6; }
54493 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54494 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54495 $as_echo_n "(cached) " >&6
54496 else
54499 ac_ext=cpp
54500 ac_cpp='$CXXCPP $CPPFLAGS'
54501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54506 /* end confdefs.h. */
54507 #include <math.h>
54509 main ()
54511 _fmodf(0, 0);
54513 return 0;
54515 _ACEOF
54516 if ac_fn_cxx_try_compile "$LINENO"; then :
54517 glibcxx_cv_func__fmodf_use=yes
54518 else
54519 glibcxx_cv_func__fmodf_use=no
54521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54522 ac_ext=c
54523 ac_cpp='$CPP $CPPFLAGS'
54524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54533 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54535 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54536 for ac_func in _fmodf
54537 do :
54538 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54539 if test "x$ac_cv_func__fmodf" = x""yes; then :
54540 cat >>confdefs.h <<_ACEOF
54541 #define HAVE__FMODF 1
54542 _ACEOF
54545 done
54554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54555 $as_echo_n "checking for frexpf declaration... " >&6; }
54556 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54557 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54558 $as_echo_n "(cached) " >&6
54559 else
54562 ac_ext=cpp
54563 ac_cpp='$CXXCPP $CPPFLAGS'
54564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54569 /* end confdefs.h. */
54570 #include <math.h>
54572 main ()
54574 frexpf(0, 0);
54576 return 0;
54578 _ACEOF
54579 if ac_fn_cxx_try_compile "$LINENO"; then :
54580 glibcxx_cv_func_frexpf_use=yes
54581 else
54582 glibcxx_cv_func_frexpf_use=no
54584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54585 ac_ext=c
54586 ac_cpp='$CPP $CPPFLAGS'
54587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54596 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54598 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54599 for ac_func in frexpf
54600 do :
54601 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54602 if test "x$ac_cv_func_frexpf" = x""yes; then :
54603 cat >>confdefs.h <<_ACEOF
54604 #define HAVE_FREXPF 1
54605 _ACEOF
54608 done
54610 else
54612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54613 $as_echo_n "checking for _frexpf declaration... " >&6; }
54614 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54615 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54616 $as_echo_n "(cached) " >&6
54617 else
54620 ac_ext=cpp
54621 ac_cpp='$CXXCPP $CPPFLAGS'
54622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54627 /* end confdefs.h. */
54628 #include <math.h>
54630 main ()
54632 _frexpf(0, 0);
54634 return 0;
54636 _ACEOF
54637 if ac_fn_cxx_try_compile "$LINENO"; then :
54638 glibcxx_cv_func__frexpf_use=yes
54639 else
54640 glibcxx_cv_func__frexpf_use=no
54642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54643 ac_ext=c
54644 ac_cpp='$CPP $CPPFLAGS'
54645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54654 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54656 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54657 for ac_func in _frexpf
54658 do :
54659 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54660 if test "x$ac_cv_func__frexpf" = x""yes; then :
54661 cat >>confdefs.h <<_ACEOF
54662 #define HAVE__FREXPF 1
54663 _ACEOF
54666 done
54675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54676 $as_echo_n "checking for hypotf declaration... " >&6; }
54677 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54678 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54679 $as_echo_n "(cached) " >&6
54680 else
54683 ac_ext=cpp
54684 ac_cpp='$CXXCPP $CPPFLAGS'
54685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54690 /* end confdefs.h. */
54691 #include <math.h>
54693 main ()
54695 hypotf(0, 0);
54697 return 0;
54699 _ACEOF
54700 if ac_fn_cxx_try_compile "$LINENO"; then :
54701 glibcxx_cv_func_hypotf_use=yes
54702 else
54703 glibcxx_cv_func_hypotf_use=no
54705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54706 ac_ext=c
54707 ac_cpp='$CPP $CPPFLAGS'
54708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54717 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54719 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54720 for ac_func in hypotf
54721 do :
54722 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54723 if test "x$ac_cv_func_hypotf" = x""yes; then :
54724 cat >>confdefs.h <<_ACEOF
54725 #define HAVE_HYPOTF 1
54726 _ACEOF
54729 done
54731 else
54733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54734 $as_echo_n "checking for _hypotf declaration... " >&6; }
54735 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54736 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54737 $as_echo_n "(cached) " >&6
54738 else
54741 ac_ext=cpp
54742 ac_cpp='$CXXCPP $CPPFLAGS'
54743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54748 /* end confdefs.h. */
54749 #include <math.h>
54751 main ()
54753 _hypotf(0, 0);
54755 return 0;
54757 _ACEOF
54758 if ac_fn_cxx_try_compile "$LINENO"; then :
54759 glibcxx_cv_func__hypotf_use=yes
54760 else
54761 glibcxx_cv_func__hypotf_use=no
54763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54764 ac_ext=c
54765 ac_cpp='$CPP $CPPFLAGS'
54766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54775 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54777 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54778 for ac_func in _hypotf
54779 do :
54780 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54781 if test "x$ac_cv_func__hypotf" = x""yes; then :
54782 cat >>confdefs.h <<_ACEOF
54783 #define HAVE__HYPOTF 1
54784 _ACEOF
54787 done
54796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54797 $as_echo_n "checking for ldexpf declaration... " >&6; }
54798 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54799 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54800 $as_echo_n "(cached) " >&6
54801 else
54804 ac_ext=cpp
54805 ac_cpp='$CXXCPP $CPPFLAGS'
54806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54811 /* end confdefs.h. */
54812 #include <math.h>
54814 main ()
54816 ldexpf(0, 0);
54818 return 0;
54820 _ACEOF
54821 if ac_fn_cxx_try_compile "$LINENO"; then :
54822 glibcxx_cv_func_ldexpf_use=yes
54823 else
54824 glibcxx_cv_func_ldexpf_use=no
54826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54827 ac_ext=c
54828 ac_cpp='$CPP $CPPFLAGS'
54829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54838 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54840 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54841 for ac_func in ldexpf
54842 do :
54843 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54844 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54845 cat >>confdefs.h <<_ACEOF
54846 #define HAVE_LDEXPF 1
54847 _ACEOF
54850 done
54852 else
54854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54855 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54856 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54857 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54858 $as_echo_n "(cached) " >&6
54859 else
54862 ac_ext=cpp
54863 ac_cpp='$CXXCPP $CPPFLAGS'
54864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54869 /* end confdefs.h. */
54870 #include <math.h>
54872 main ()
54874 _ldexpf(0, 0);
54876 return 0;
54878 _ACEOF
54879 if ac_fn_cxx_try_compile "$LINENO"; then :
54880 glibcxx_cv_func__ldexpf_use=yes
54881 else
54882 glibcxx_cv_func__ldexpf_use=no
54884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54885 ac_ext=c
54886 ac_cpp='$CPP $CPPFLAGS'
54887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54896 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54898 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54899 for ac_func in _ldexpf
54900 do :
54901 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54902 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54903 cat >>confdefs.h <<_ACEOF
54904 #define HAVE__LDEXPF 1
54905 _ACEOF
54908 done
54917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54918 $as_echo_n "checking for logf declaration... " >&6; }
54919 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54920 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54921 $as_echo_n "(cached) " >&6
54922 else
54925 ac_ext=cpp
54926 ac_cpp='$CXXCPP $CPPFLAGS'
54927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54932 /* end confdefs.h. */
54933 #include <math.h>
54934 #ifdef HAVE_IEEEFP_H
54935 #include <ieeefp.h>
54936 #endif
54939 main ()
54941 logf(0);
54943 return 0;
54945 _ACEOF
54946 if ac_fn_cxx_try_compile "$LINENO"; then :
54947 glibcxx_cv_func_logf_use=yes
54948 else
54949 glibcxx_cv_func_logf_use=no
54951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54952 ac_ext=c
54953 ac_cpp='$CPP $CPPFLAGS'
54954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54963 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54965 if test x$glibcxx_cv_func_logf_use = x"yes"; then
54966 for ac_func in logf
54967 do :
54968 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54969 if test "x$ac_cv_func_logf" = x""yes; then :
54970 cat >>confdefs.h <<_ACEOF
54971 #define HAVE_LOGF 1
54972 _ACEOF
54975 done
54977 else
54979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54980 $as_echo_n "checking for _logf declaration... " >&6; }
54981 if test x${glibcxx_cv_func__logf_use+set} != xset; then
54982 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54983 $as_echo_n "(cached) " >&6
54984 else
54987 ac_ext=cpp
54988 ac_cpp='$CXXCPP $CPPFLAGS'
54989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54994 /* end confdefs.h. */
54995 #include <math.h>
54996 #ifdef HAVE_IEEEFP_H
54997 #include <ieeefp.h>
54998 #endif
55001 main ()
55003 _logf(0);
55005 return 0;
55007 _ACEOF
55008 if ac_fn_cxx_try_compile "$LINENO"; then :
55009 glibcxx_cv_func__logf_use=yes
55010 else
55011 glibcxx_cv_func__logf_use=no
55013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55014 ac_ext=c
55015 ac_cpp='$CPP $CPPFLAGS'
55016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55025 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55027 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55028 for ac_func in _logf
55029 do :
55030 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55031 if test "x$ac_cv_func__logf" = x""yes; then :
55032 cat >>confdefs.h <<_ACEOF
55033 #define HAVE__LOGF 1
55034 _ACEOF
55037 done
55046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55047 $as_echo_n "checking for log10f declaration... " >&6; }
55048 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55049 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55050 $as_echo_n "(cached) " >&6
55051 else
55054 ac_ext=cpp
55055 ac_cpp='$CXXCPP $CPPFLAGS'
55056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55061 /* end confdefs.h. */
55062 #include <math.h>
55063 #ifdef HAVE_IEEEFP_H
55064 #include <ieeefp.h>
55065 #endif
55068 main ()
55070 log10f(0);
55072 return 0;
55074 _ACEOF
55075 if ac_fn_cxx_try_compile "$LINENO"; then :
55076 glibcxx_cv_func_log10f_use=yes
55077 else
55078 glibcxx_cv_func_log10f_use=no
55080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55081 ac_ext=c
55082 ac_cpp='$CPP $CPPFLAGS'
55083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55092 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55094 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55095 for ac_func in log10f
55096 do :
55097 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55098 if test "x$ac_cv_func_log10f" = x""yes; then :
55099 cat >>confdefs.h <<_ACEOF
55100 #define HAVE_LOG10F 1
55101 _ACEOF
55104 done
55106 else
55108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55109 $as_echo_n "checking for _log10f declaration... " >&6; }
55110 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55111 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55112 $as_echo_n "(cached) " >&6
55113 else
55116 ac_ext=cpp
55117 ac_cpp='$CXXCPP $CPPFLAGS'
55118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55123 /* end confdefs.h. */
55124 #include <math.h>
55125 #ifdef HAVE_IEEEFP_H
55126 #include <ieeefp.h>
55127 #endif
55130 main ()
55132 _log10f(0);
55134 return 0;
55136 _ACEOF
55137 if ac_fn_cxx_try_compile "$LINENO"; then :
55138 glibcxx_cv_func__log10f_use=yes
55139 else
55140 glibcxx_cv_func__log10f_use=no
55142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55143 ac_ext=c
55144 ac_cpp='$CPP $CPPFLAGS'
55145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55154 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55156 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55157 for ac_func in _log10f
55158 do :
55159 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55160 if test "x$ac_cv_func__log10f" = x""yes; then :
55161 cat >>confdefs.h <<_ACEOF
55162 #define HAVE__LOG10F 1
55163 _ACEOF
55166 done
55175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55176 $as_echo_n "checking for modff declaration... " >&6; }
55177 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55178 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55179 $as_echo_n "(cached) " >&6
55180 else
55183 ac_ext=cpp
55184 ac_cpp='$CXXCPP $CPPFLAGS'
55185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55190 /* end confdefs.h. */
55191 #include <math.h>
55193 main ()
55195 modff(0, 0);
55197 return 0;
55199 _ACEOF
55200 if ac_fn_cxx_try_compile "$LINENO"; then :
55201 glibcxx_cv_func_modff_use=yes
55202 else
55203 glibcxx_cv_func_modff_use=no
55205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55206 ac_ext=c
55207 ac_cpp='$CPP $CPPFLAGS'
55208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55217 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55219 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55220 for ac_func in modff
55221 do :
55222 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55223 if test "x$ac_cv_func_modff" = x""yes; then :
55224 cat >>confdefs.h <<_ACEOF
55225 #define HAVE_MODFF 1
55226 _ACEOF
55229 done
55231 else
55233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55234 $as_echo_n "checking for _modff declaration... " >&6; }
55235 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55236 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55237 $as_echo_n "(cached) " >&6
55238 else
55241 ac_ext=cpp
55242 ac_cpp='$CXXCPP $CPPFLAGS'
55243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55248 /* end confdefs.h. */
55249 #include <math.h>
55251 main ()
55253 _modff(0, 0);
55255 return 0;
55257 _ACEOF
55258 if ac_fn_cxx_try_compile "$LINENO"; then :
55259 glibcxx_cv_func__modff_use=yes
55260 else
55261 glibcxx_cv_func__modff_use=no
55263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55264 ac_ext=c
55265 ac_cpp='$CPP $CPPFLAGS'
55266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55275 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55277 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55278 for ac_func in _modff
55279 do :
55280 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55281 if test "x$ac_cv_func__modff" = x""yes; then :
55282 cat >>confdefs.h <<_ACEOF
55283 #define HAVE__MODFF 1
55284 _ACEOF
55287 done
55296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55297 $as_echo_n "checking for modf declaration... " >&6; }
55298 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55299 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55300 $as_echo_n "(cached) " >&6
55301 else
55304 ac_ext=cpp
55305 ac_cpp='$CXXCPP $CPPFLAGS'
55306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55311 /* end confdefs.h. */
55312 #include <math.h>
55314 main ()
55316 modf(0, 0);
55318 return 0;
55320 _ACEOF
55321 if ac_fn_cxx_try_compile "$LINENO"; then :
55322 glibcxx_cv_func_modf_use=yes
55323 else
55324 glibcxx_cv_func_modf_use=no
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
55337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55338 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55340 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55341 for ac_func in modf
55342 do :
55343 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55344 if test "x$ac_cv_func_modf" = x""yes; then :
55345 cat >>confdefs.h <<_ACEOF
55346 #define HAVE_MODF 1
55347 _ACEOF
55350 done
55352 else
55354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55355 $as_echo_n "checking for _modf declaration... " >&6; }
55356 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55357 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55358 $as_echo_n "(cached) " >&6
55359 else
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
55368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55369 /* end confdefs.h. */
55370 #include <math.h>
55372 main ()
55374 _modf(0, 0);
55376 return 0;
55378 _ACEOF
55379 if ac_fn_cxx_try_compile "$LINENO"; then :
55380 glibcxx_cv_func__modf_use=yes
55381 else
55382 glibcxx_cv_func__modf_use=no
55384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55385 ac_ext=c
55386 ac_cpp='$CPP $CPPFLAGS'
55387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55396 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55398 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55399 for ac_func in _modf
55400 do :
55401 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55402 if test "x$ac_cv_func__modf" = x""yes; then :
55403 cat >>confdefs.h <<_ACEOF
55404 #define HAVE__MODF 1
55405 _ACEOF
55408 done
55417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55418 $as_echo_n "checking for powf declaration... " >&6; }
55419 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55420 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55421 $as_echo_n "(cached) " >&6
55422 else
55425 ac_ext=cpp
55426 ac_cpp='$CXXCPP $CPPFLAGS'
55427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55432 /* end confdefs.h. */
55433 #include <math.h>
55435 main ()
55437 powf(0, 0);
55439 return 0;
55441 _ACEOF
55442 if ac_fn_cxx_try_compile "$LINENO"; then :
55443 glibcxx_cv_func_powf_use=yes
55444 else
55445 glibcxx_cv_func_powf_use=no
55447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55448 ac_ext=c
55449 ac_cpp='$CPP $CPPFLAGS'
55450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55459 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55461 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55462 for ac_func in powf
55463 do :
55464 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55465 if test "x$ac_cv_func_powf" = x""yes; then :
55466 cat >>confdefs.h <<_ACEOF
55467 #define HAVE_POWF 1
55468 _ACEOF
55471 done
55473 else
55475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55476 $as_echo_n "checking for _powf declaration... " >&6; }
55477 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55478 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55479 $as_echo_n "(cached) " >&6
55480 else
55483 ac_ext=cpp
55484 ac_cpp='$CXXCPP $CPPFLAGS'
55485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55490 /* end confdefs.h. */
55491 #include <math.h>
55493 main ()
55495 _powf(0, 0);
55497 return 0;
55499 _ACEOF
55500 if ac_fn_cxx_try_compile "$LINENO"; then :
55501 glibcxx_cv_func__powf_use=yes
55502 else
55503 glibcxx_cv_func__powf_use=no
55505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55506 ac_ext=c
55507 ac_cpp='$CPP $CPPFLAGS'
55508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55517 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55519 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55520 for ac_func in _powf
55521 do :
55522 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55523 if test "x$ac_cv_func__powf" = x""yes; then :
55524 cat >>confdefs.h <<_ACEOF
55525 #define HAVE__POWF 1
55526 _ACEOF
55529 done
55538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55539 $as_echo_n "checking for sqrtf declaration... " >&6; }
55540 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55541 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55542 $as_echo_n "(cached) " >&6
55543 else
55546 ac_ext=cpp
55547 ac_cpp='$CXXCPP $CPPFLAGS'
55548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55553 /* end confdefs.h. */
55554 #include <math.h>
55555 #ifdef HAVE_IEEEFP_H
55556 #include <ieeefp.h>
55557 #endif
55560 main ()
55562 sqrtf(0);
55564 return 0;
55566 _ACEOF
55567 if ac_fn_cxx_try_compile "$LINENO"; then :
55568 glibcxx_cv_func_sqrtf_use=yes
55569 else
55570 glibcxx_cv_func_sqrtf_use=no
55572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55573 ac_ext=c
55574 ac_cpp='$CPP $CPPFLAGS'
55575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55584 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55586 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55587 for ac_func in sqrtf
55588 do :
55589 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55590 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55591 cat >>confdefs.h <<_ACEOF
55592 #define HAVE_SQRTF 1
55593 _ACEOF
55596 done
55598 else
55600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55601 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55602 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55603 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55604 $as_echo_n "(cached) " >&6
55605 else
55608 ac_ext=cpp
55609 ac_cpp='$CXXCPP $CPPFLAGS'
55610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55615 /* end confdefs.h. */
55616 #include <math.h>
55617 #ifdef HAVE_IEEEFP_H
55618 #include <ieeefp.h>
55619 #endif
55622 main ()
55624 _sqrtf(0);
55626 return 0;
55628 _ACEOF
55629 if ac_fn_cxx_try_compile "$LINENO"; then :
55630 glibcxx_cv_func__sqrtf_use=yes
55631 else
55632 glibcxx_cv_func__sqrtf_use=no
55634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55635 ac_ext=c
55636 ac_cpp='$CPP $CPPFLAGS'
55637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55646 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55648 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55649 for ac_func in _sqrtf
55650 do :
55651 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55652 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55653 cat >>confdefs.h <<_ACEOF
55654 #define HAVE__SQRTF 1
55655 _ACEOF
55658 done
55667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55668 $as_echo_n "checking for sincosf declaration... " >&6; }
55669 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55670 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55671 $as_echo_n "(cached) " >&6
55672 else
55675 ac_ext=cpp
55676 ac_cpp='$CXXCPP $CPPFLAGS'
55677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55682 /* end confdefs.h. */
55683 #include <math.h>
55685 main ()
55687 sincosf(0, 0, 0);
55689 return 0;
55691 _ACEOF
55692 if ac_fn_cxx_try_compile "$LINENO"; then :
55693 glibcxx_cv_func_sincosf_use=yes
55694 else
55695 glibcxx_cv_func_sincosf_use=no
55697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55698 ac_ext=c
55699 ac_cpp='$CPP $CPPFLAGS'
55700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55709 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55711 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55712 for ac_func in sincosf
55713 do :
55714 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55715 if test "x$ac_cv_func_sincosf" = x""yes; then :
55716 cat >>confdefs.h <<_ACEOF
55717 #define HAVE_SINCOSF 1
55718 _ACEOF
55721 done
55723 else
55725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55726 $as_echo_n "checking for _sincosf declaration... " >&6; }
55727 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55728 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55729 $as_echo_n "(cached) " >&6
55730 else
55733 ac_ext=cpp
55734 ac_cpp='$CXXCPP $CPPFLAGS'
55735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55740 /* end confdefs.h. */
55741 #include <math.h>
55743 main ()
55745 _sincosf(0, 0, 0);
55747 return 0;
55749 _ACEOF
55750 if ac_fn_cxx_try_compile "$LINENO"; then :
55751 glibcxx_cv_func__sincosf_use=yes
55752 else
55753 glibcxx_cv_func__sincosf_use=no
55755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55756 ac_ext=c
55757 ac_cpp='$CPP $CPPFLAGS'
55758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55767 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55769 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55770 for ac_func in _sincosf
55771 do :
55772 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55773 if test "x$ac_cv_func__sincosf" = x""yes; then :
55774 cat >>confdefs.h <<_ACEOF
55775 #define HAVE__SINCOSF 1
55776 _ACEOF
55779 done
55788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55789 $as_echo_n "checking for finitef declaration... " >&6; }
55790 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55791 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55792 $as_echo_n "(cached) " >&6
55793 else
55796 ac_ext=cpp
55797 ac_cpp='$CXXCPP $CPPFLAGS'
55798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55803 /* end confdefs.h. */
55804 #include <math.h>
55805 #ifdef HAVE_IEEEFP_H
55806 #include <ieeefp.h>
55807 #endif
55810 main ()
55812 finitef(0);
55814 return 0;
55816 _ACEOF
55817 if ac_fn_cxx_try_compile "$LINENO"; then :
55818 glibcxx_cv_func_finitef_use=yes
55819 else
55820 glibcxx_cv_func_finitef_use=no
55822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55823 ac_ext=c
55824 ac_cpp='$CPP $CPPFLAGS'
55825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55834 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55836 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55837 for ac_func in finitef
55838 do :
55839 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55840 if test "x$ac_cv_func_finitef" = x""yes; then :
55841 cat >>confdefs.h <<_ACEOF
55842 #define HAVE_FINITEF 1
55843 _ACEOF
55846 done
55848 else
55850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55851 $as_echo_n "checking for _finitef declaration... " >&6; }
55852 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55853 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55854 $as_echo_n "(cached) " >&6
55855 else
55858 ac_ext=cpp
55859 ac_cpp='$CXXCPP $CPPFLAGS'
55860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55865 /* end confdefs.h. */
55866 #include <math.h>
55867 #ifdef HAVE_IEEEFP_H
55868 #include <ieeefp.h>
55869 #endif
55872 main ()
55874 _finitef(0);
55876 return 0;
55878 _ACEOF
55879 if ac_fn_cxx_try_compile "$LINENO"; then :
55880 glibcxx_cv_func__finitef_use=yes
55881 else
55882 glibcxx_cv_func__finitef_use=no
55884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55885 ac_ext=c
55886 ac_cpp='$CPP $CPPFLAGS'
55887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55896 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55898 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55899 for ac_func in _finitef
55900 do :
55901 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55902 if test "x$ac_cv_func__finitef" = x""yes; then :
55903 cat >>confdefs.h <<_ACEOF
55904 #define HAVE__FINITEF 1
55905 _ACEOF
55908 done
55917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55918 $as_echo_n "checking for long double trig functions... " >&6; }
55919 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55920 $as_echo_n "(cached) " >&6
55921 else
55924 ac_ext=cpp
55925 ac_cpp='$CXXCPP $CPPFLAGS'
55926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55931 /* end confdefs.h. */
55932 #include <math.h>
55934 main ()
55936 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55938 return 0;
55940 _ACEOF
55941 if ac_fn_cxx_try_compile "$LINENO"; then :
55942 glibcxx_cv_func_long_double_trig_use=yes
55943 else
55944 glibcxx_cv_func_long_double_trig_use=no
55946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55947 ac_ext=c
55948 ac_cpp='$CPP $CPPFLAGS'
55949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55956 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55957 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55958 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55959 do :
55960 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55961 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55962 eval as_val=\$$as_ac_var
55963 if test "x$as_val" = x""yes; then :
55964 cat >>confdefs.h <<_ACEOF
55965 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55966 _ACEOF
55969 done
55971 else
55972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55973 $as_echo_n "checking for _long double trig functions... " >&6; }
55974 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55975 $as_echo_n "(cached) " >&6
55976 else
55979 ac_ext=cpp
55980 ac_cpp='$CXXCPP $CPPFLAGS'
55981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55986 /* end confdefs.h. */
55987 #include <math.h>
55989 main ()
55991 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55993 return 0;
55995 _ACEOF
55996 if ac_fn_cxx_try_compile "$LINENO"; then :
55997 glibcxx_cv_func__long_double_trig_use=yes
55998 else
55999 glibcxx_cv_func__long_double_trig_use=no
56001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56002 ac_ext=c
56003 ac_cpp='$CPP $CPPFLAGS'
56004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56011 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56012 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56013 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56014 do :
56015 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56016 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56017 eval as_val=\$$as_ac_var
56018 if test "x$as_val" = x""yes; then :
56019 cat >>confdefs.h <<_ACEOF
56020 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56021 _ACEOF
56024 done
56033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56034 $as_echo_n "checking for long double round functions... " >&6; }
56035 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56036 $as_echo_n "(cached) " >&6
56037 else
56040 ac_ext=cpp
56041 ac_cpp='$CXXCPP $CPPFLAGS'
56042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56047 /* end confdefs.h. */
56048 #include <math.h>
56050 main ()
56052 ceill (0); floorl (0);
56054 return 0;
56056 _ACEOF
56057 if ac_fn_cxx_try_compile "$LINENO"; then :
56058 glibcxx_cv_func_long_double_round_use=yes
56059 else
56060 glibcxx_cv_func_long_double_round_use=no
56062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56063 ac_ext=c
56064 ac_cpp='$CPP $CPPFLAGS'
56065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56072 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56073 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56074 for ac_func in ceill floorl
56075 do :
56076 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56077 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56078 eval as_val=\$$as_ac_var
56079 if test "x$as_val" = x""yes; then :
56080 cat >>confdefs.h <<_ACEOF
56081 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56082 _ACEOF
56085 done
56087 else
56088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56089 $as_echo_n "checking for _long double round functions... " >&6; }
56090 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56091 $as_echo_n "(cached) " >&6
56092 else
56095 ac_ext=cpp
56096 ac_cpp='$CXXCPP $CPPFLAGS'
56097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56102 /* end confdefs.h. */
56103 #include <math.h>
56105 main ()
56107 _ceill (0); _floorl (0);
56109 return 0;
56111 _ACEOF
56112 if ac_fn_cxx_try_compile "$LINENO"; then :
56113 glibcxx_cv_func__long_double_round_use=yes
56114 else
56115 glibcxx_cv_func__long_double_round_use=no
56117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56118 ac_ext=c
56119 ac_cpp='$CPP $CPPFLAGS'
56120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56127 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56128 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56129 for ac_func in _ceill _floorl
56130 do :
56131 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56132 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56133 eval as_val=\$$as_ac_var
56134 if test "x$as_val" = x""yes; then :
56135 cat >>confdefs.h <<_ACEOF
56136 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56137 _ACEOF
56140 done
56150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56151 $as_echo_n "checking for isnanl declaration... " >&6; }
56152 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56153 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56154 $as_echo_n "(cached) " >&6
56155 else
56158 ac_ext=cpp
56159 ac_cpp='$CXXCPP $CPPFLAGS'
56160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56165 /* end confdefs.h. */
56166 #include <math.h>
56167 #ifdef HAVE_IEEEFP_H
56168 #include <ieeefp.h>
56169 #endif
56172 main ()
56174 isnanl(0);
56176 return 0;
56178 _ACEOF
56179 if ac_fn_cxx_try_compile "$LINENO"; then :
56180 glibcxx_cv_func_isnanl_use=yes
56181 else
56182 glibcxx_cv_func_isnanl_use=no
56184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56185 ac_ext=c
56186 ac_cpp='$CPP $CPPFLAGS'
56187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56196 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56198 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56199 for ac_func in isnanl
56200 do :
56201 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56202 if test "x$ac_cv_func_isnanl" = x""yes; then :
56203 cat >>confdefs.h <<_ACEOF
56204 #define HAVE_ISNANL 1
56205 _ACEOF
56208 done
56210 else
56212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56213 $as_echo_n "checking for _isnanl declaration... " >&6; }
56214 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56215 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56216 $as_echo_n "(cached) " >&6
56217 else
56220 ac_ext=cpp
56221 ac_cpp='$CXXCPP $CPPFLAGS'
56222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56227 /* end confdefs.h. */
56228 #include <math.h>
56229 #ifdef HAVE_IEEEFP_H
56230 #include <ieeefp.h>
56231 #endif
56234 main ()
56236 _isnanl(0);
56238 return 0;
56240 _ACEOF
56241 if ac_fn_cxx_try_compile "$LINENO"; then :
56242 glibcxx_cv_func__isnanl_use=yes
56243 else
56244 glibcxx_cv_func__isnanl_use=no
56246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56247 ac_ext=c
56248 ac_cpp='$CPP $CPPFLAGS'
56249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56258 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56260 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56261 for ac_func in _isnanl
56262 do :
56263 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56264 if test "x$ac_cv_func__isnanl" = x""yes; then :
56265 cat >>confdefs.h <<_ACEOF
56266 #define HAVE__ISNANL 1
56267 _ACEOF
56270 done
56279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56280 $as_echo_n "checking for isinfl declaration... " >&6; }
56281 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56282 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56283 $as_echo_n "(cached) " >&6
56284 else
56287 ac_ext=cpp
56288 ac_cpp='$CXXCPP $CPPFLAGS'
56289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56294 /* end confdefs.h. */
56295 #include <math.h>
56296 #ifdef HAVE_IEEEFP_H
56297 #include <ieeefp.h>
56298 #endif
56301 main ()
56303 isinfl(0);
56305 return 0;
56307 _ACEOF
56308 if ac_fn_cxx_try_compile "$LINENO"; then :
56309 glibcxx_cv_func_isinfl_use=yes
56310 else
56311 glibcxx_cv_func_isinfl_use=no
56313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56314 ac_ext=c
56315 ac_cpp='$CPP $CPPFLAGS'
56316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56325 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56327 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56328 for ac_func in isinfl
56329 do :
56330 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56331 if test "x$ac_cv_func_isinfl" = x""yes; then :
56332 cat >>confdefs.h <<_ACEOF
56333 #define HAVE_ISINFL 1
56334 _ACEOF
56337 done
56339 else
56341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56342 $as_echo_n "checking for _isinfl declaration... " >&6; }
56343 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56344 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56345 $as_echo_n "(cached) " >&6
56346 else
56349 ac_ext=cpp
56350 ac_cpp='$CXXCPP $CPPFLAGS'
56351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56356 /* end confdefs.h. */
56357 #include <math.h>
56358 #ifdef HAVE_IEEEFP_H
56359 #include <ieeefp.h>
56360 #endif
56363 main ()
56365 _isinfl(0);
56367 return 0;
56369 _ACEOF
56370 if ac_fn_cxx_try_compile "$LINENO"; then :
56371 glibcxx_cv_func__isinfl_use=yes
56372 else
56373 glibcxx_cv_func__isinfl_use=no
56375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56376 ac_ext=c
56377 ac_cpp='$CPP $CPPFLAGS'
56378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56387 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56389 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56390 for ac_func in _isinfl
56391 do :
56392 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56393 if test "x$ac_cv_func__isinfl" = x""yes; then :
56394 cat >>confdefs.h <<_ACEOF
56395 #define HAVE__ISINFL 1
56396 _ACEOF
56399 done
56408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56409 $as_echo_n "checking for atan2l declaration... " >&6; }
56410 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56411 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56412 $as_echo_n "(cached) " >&6
56413 else
56416 ac_ext=cpp
56417 ac_cpp='$CXXCPP $CPPFLAGS'
56418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56423 /* end confdefs.h. */
56424 #include <math.h>
56426 main ()
56428 atan2l(0, 0);
56430 return 0;
56432 _ACEOF
56433 if ac_fn_cxx_try_compile "$LINENO"; then :
56434 glibcxx_cv_func_atan2l_use=yes
56435 else
56436 glibcxx_cv_func_atan2l_use=no
56438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56439 ac_ext=c
56440 ac_cpp='$CPP $CPPFLAGS'
56441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56450 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56452 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56453 for ac_func in atan2l
56454 do :
56455 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56456 if test "x$ac_cv_func_atan2l" = x""yes; then :
56457 cat >>confdefs.h <<_ACEOF
56458 #define HAVE_ATAN2L 1
56459 _ACEOF
56462 done
56464 else
56466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56467 $as_echo_n "checking for _atan2l declaration... " >&6; }
56468 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56469 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56470 $as_echo_n "(cached) " >&6
56471 else
56474 ac_ext=cpp
56475 ac_cpp='$CXXCPP $CPPFLAGS'
56476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56481 /* end confdefs.h. */
56482 #include <math.h>
56484 main ()
56486 _atan2l(0, 0);
56488 return 0;
56490 _ACEOF
56491 if ac_fn_cxx_try_compile "$LINENO"; then :
56492 glibcxx_cv_func__atan2l_use=yes
56493 else
56494 glibcxx_cv_func__atan2l_use=no
56496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56497 ac_ext=c
56498 ac_cpp='$CPP $CPPFLAGS'
56499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56508 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56510 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56511 for ac_func in _atan2l
56512 do :
56513 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56514 if test "x$ac_cv_func__atan2l" = x""yes; then :
56515 cat >>confdefs.h <<_ACEOF
56516 #define HAVE__ATAN2L 1
56517 _ACEOF
56520 done
56529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56530 $as_echo_n "checking for expl declaration... " >&6; }
56531 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56532 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56533 $as_echo_n "(cached) " >&6
56534 else
56537 ac_ext=cpp
56538 ac_cpp='$CXXCPP $CPPFLAGS'
56539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56544 /* end confdefs.h. */
56545 #include <math.h>
56546 #ifdef HAVE_IEEEFP_H
56547 #include <ieeefp.h>
56548 #endif
56551 main ()
56553 expl(0);
56555 return 0;
56557 _ACEOF
56558 if ac_fn_cxx_try_compile "$LINENO"; then :
56559 glibcxx_cv_func_expl_use=yes
56560 else
56561 glibcxx_cv_func_expl_use=no
56563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56564 ac_ext=c
56565 ac_cpp='$CPP $CPPFLAGS'
56566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56575 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56577 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56578 for ac_func in expl
56579 do :
56580 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56581 if test "x$ac_cv_func_expl" = x""yes; then :
56582 cat >>confdefs.h <<_ACEOF
56583 #define HAVE_EXPL 1
56584 _ACEOF
56587 done
56589 else
56591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56592 $as_echo_n "checking for _expl declaration... " >&6; }
56593 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56594 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56595 $as_echo_n "(cached) " >&6
56596 else
56599 ac_ext=cpp
56600 ac_cpp='$CXXCPP $CPPFLAGS'
56601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56606 /* end confdefs.h. */
56607 #include <math.h>
56608 #ifdef HAVE_IEEEFP_H
56609 #include <ieeefp.h>
56610 #endif
56613 main ()
56615 _expl(0);
56617 return 0;
56619 _ACEOF
56620 if ac_fn_cxx_try_compile "$LINENO"; then :
56621 glibcxx_cv_func__expl_use=yes
56622 else
56623 glibcxx_cv_func__expl_use=no
56625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56626 ac_ext=c
56627 ac_cpp='$CPP $CPPFLAGS'
56628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56637 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56639 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56640 for ac_func in _expl
56641 do :
56642 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56643 if test "x$ac_cv_func__expl" = x""yes; then :
56644 cat >>confdefs.h <<_ACEOF
56645 #define HAVE__EXPL 1
56646 _ACEOF
56649 done
56658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56659 $as_echo_n "checking for fabsl declaration... " >&6; }
56660 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56661 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56662 $as_echo_n "(cached) " >&6
56663 else
56666 ac_ext=cpp
56667 ac_cpp='$CXXCPP $CPPFLAGS'
56668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56673 /* end confdefs.h. */
56674 #include <math.h>
56675 #ifdef HAVE_IEEEFP_H
56676 #include <ieeefp.h>
56677 #endif
56680 main ()
56682 fabsl(0);
56684 return 0;
56686 _ACEOF
56687 if ac_fn_cxx_try_compile "$LINENO"; then :
56688 glibcxx_cv_func_fabsl_use=yes
56689 else
56690 glibcxx_cv_func_fabsl_use=no
56692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56693 ac_ext=c
56694 ac_cpp='$CPP $CPPFLAGS'
56695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56704 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56706 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56707 for ac_func in fabsl
56708 do :
56709 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56710 if test "x$ac_cv_func_fabsl" = x""yes; then :
56711 cat >>confdefs.h <<_ACEOF
56712 #define HAVE_FABSL 1
56713 _ACEOF
56716 done
56718 else
56720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56721 $as_echo_n "checking for _fabsl declaration... " >&6; }
56722 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56723 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56724 $as_echo_n "(cached) " >&6
56725 else
56728 ac_ext=cpp
56729 ac_cpp='$CXXCPP $CPPFLAGS'
56730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56735 /* end confdefs.h. */
56736 #include <math.h>
56737 #ifdef HAVE_IEEEFP_H
56738 #include <ieeefp.h>
56739 #endif
56742 main ()
56744 _fabsl(0);
56746 return 0;
56748 _ACEOF
56749 if ac_fn_cxx_try_compile "$LINENO"; then :
56750 glibcxx_cv_func__fabsl_use=yes
56751 else
56752 glibcxx_cv_func__fabsl_use=no
56754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56755 ac_ext=c
56756 ac_cpp='$CPP $CPPFLAGS'
56757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56766 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56768 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56769 for ac_func in _fabsl
56770 do :
56771 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56772 if test "x$ac_cv_func__fabsl" = x""yes; then :
56773 cat >>confdefs.h <<_ACEOF
56774 #define HAVE__FABSL 1
56775 _ACEOF
56778 done
56787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56788 $as_echo_n "checking for fmodl declaration... " >&6; }
56789 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56790 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56791 $as_echo_n "(cached) " >&6
56792 else
56795 ac_ext=cpp
56796 ac_cpp='$CXXCPP $CPPFLAGS'
56797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56802 /* end confdefs.h. */
56803 #include <math.h>
56805 main ()
56807 fmodl(0, 0);
56809 return 0;
56811 _ACEOF
56812 if ac_fn_cxx_try_compile "$LINENO"; then :
56813 glibcxx_cv_func_fmodl_use=yes
56814 else
56815 glibcxx_cv_func_fmodl_use=no
56817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56818 ac_ext=c
56819 ac_cpp='$CPP $CPPFLAGS'
56820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56829 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56831 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56832 for ac_func in fmodl
56833 do :
56834 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56835 if test "x$ac_cv_func_fmodl" = x""yes; then :
56836 cat >>confdefs.h <<_ACEOF
56837 #define HAVE_FMODL 1
56838 _ACEOF
56841 done
56843 else
56845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56846 $as_echo_n "checking for _fmodl declaration... " >&6; }
56847 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56848 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56849 $as_echo_n "(cached) " >&6
56850 else
56853 ac_ext=cpp
56854 ac_cpp='$CXXCPP $CPPFLAGS'
56855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56860 /* end confdefs.h. */
56861 #include <math.h>
56863 main ()
56865 _fmodl(0, 0);
56867 return 0;
56869 _ACEOF
56870 if ac_fn_cxx_try_compile "$LINENO"; then :
56871 glibcxx_cv_func__fmodl_use=yes
56872 else
56873 glibcxx_cv_func__fmodl_use=no
56875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56876 ac_ext=c
56877 ac_cpp='$CPP $CPPFLAGS'
56878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56887 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56889 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56890 for ac_func in _fmodl
56891 do :
56892 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56893 if test "x$ac_cv_func__fmodl" = x""yes; then :
56894 cat >>confdefs.h <<_ACEOF
56895 #define HAVE__FMODL 1
56896 _ACEOF
56899 done
56908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56909 $as_echo_n "checking for frexpl declaration... " >&6; }
56910 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56911 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56912 $as_echo_n "(cached) " >&6
56913 else
56916 ac_ext=cpp
56917 ac_cpp='$CXXCPP $CPPFLAGS'
56918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56923 /* end confdefs.h. */
56924 #include <math.h>
56926 main ()
56928 frexpl(0, 0);
56930 return 0;
56932 _ACEOF
56933 if ac_fn_cxx_try_compile "$LINENO"; then :
56934 glibcxx_cv_func_frexpl_use=yes
56935 else
56936 glibcxx_cv_func_frexpl_use=no
56938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56939 ac_ext=c
56940 ac_cpp='$CPP $CPPFLAGS'
56941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56950 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56952 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56953 for ac_func in frexpl
56954 do :
56955 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56956 if test "x$ac_cv_func_frexpl" = x""yes; then :
56957 cat >>confdefs.h <<_ACEOF
56958 #define HAVE_FREXPL 1
56959 _ACEOF
56962 done
56964 else
56966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56967 $as_echo_n "checking for _frexpl declaration... " >&6; }
56968 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56969 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56970 $as_echo_n "(cached) " >&6
56971 else
56974 ac_ext=cpp
56975 ac_cpp='$CXXCPP $CPPFLAGS'
56976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56981 /* end confdefs.h. */
56982 #include <math.h>
56984 main ()
56986 _frexpl(0, 0);
56988 return 0;
56990 _ACEOF
56991 if ac_fn_cxx_try_compile "$LINENO"; then :
56992 glibcxx_cv_func__frexpl_use=yes
56993 else
56994 glibcxx_cv_func__frexpl_use=no
56996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56997 ac_ext=c
56998 ac_cpp='$CPP $CPPFLAGS'
56999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57008 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57010 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57011 for ac_func in _frexpl
57012 do :
57013 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57014 if test "x$ac_cv_func__frexpl" = x""yes; then :
57015 cat >>confdefs.h <<_ACEOF
57016 #define HAVE__FREXPL 1
57017 _ACEOF
57020 done
57029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57030 $as_echo_n "checking for hypotl declaration... " >&6; }
57031 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57032 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57033 $as_echo_n "(cached) " >&6
57034 else
57037 ac_ext=cpp
57038 ac_cpp='$CXXCPP $CPPFLAGS'
57039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57044 /* end confdefs.h. */
57045 #include <math.h>
57047 main ()
57049 hypotl(0, 0);
57051 return 0;
57053 _ACEOF
57054 if ac_fn_cxx_try_compile "$LINENO"; then :
57055 glibcxx_cv_func_hypotl_use=yes
57056 else
57057 glibcxx_cv_func_hypotl_use=no
57059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57060 ac_ext=c
57061 ac_cpp='$CPP $CPPFLAGS'
57062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57071 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57073 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57074 for ac_func in hypotl
57075 do :
57076 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57077 if test "x$ac_cv_func_hypotl" = x""yes; then :
57078 cat >>confdefs.h <<_ACEOF
57079 #define HAVE_HYPOTL 1
57080 _ACEOF
57083 done
57085 else
57087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57088 $as_echo_n "checking for _hypotl declaration... " >&6; }
57089 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57090 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57091 $as_echo_n "(cached) " >&6
57092 else
57095 ac_ext=cpp
57096 ac_cpp='$CXXCPP $CPPFLAGS'
57097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57102 /* end confdefs.h. */
57103 #include <math.h>
57105 main ()
57107 _hypotl(0, 0);
57109 return 0;
57111 _ACEOF
57112 if ac_fn_cxx_try_compile "$LINENO"; then :
57113 glibcxx_cv_func__hypotl_use=yes
57114 else
57115 glibcxx_cv_func__hypotl_use=no
57117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57118 ac_ext=c
57119 ac_cpp='$CPP $CPPFLAGS'
57120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57129 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57131 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57132 for ac_func in _hypotl
57133 do :
57134 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57135 if test "x$ac_cv_func__hypotl" = x""yes; then :
57136 cat >>confdefs.h <<_ACEOF
57137 #define HAVE__HYPOTL 1
57138 _ACEOF
57141 done
57150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57151 $as_echo_n "checking for ldexpl declaration... " >&6; }
57152 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57153 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57154 $as_echo_n "(cached) " >&6
57155 else
57158 ac_ext=cpp
57159 ac_cpp='$CXXCPP $CPPFLAGS'
57160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57165 /* end confdefs.h. */
57166 #include <math.h>
57168 main ()
57170 ldexpl(0, 0);
57172 return 0;
57174 _ACEOF
57175 if ac_fn_cxx_try_compile "$LINENO"; then :
57176 glibcxx_cv_func_ldexpl_use=yes
57177 else
57178 glibcxx_cv_func_ldexpl_use=no
57180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57181 ac_ext=c
57182 ac_cpp='$CPP $CPPFLAGS'
57183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57192 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57194 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57195 for ac_func in ldexpl
57196 do :
57197 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57198 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57199 cat >>confdefs.h <<_ACEOF
57200 #define HAVE_LDEXPL 1
57201 _ACEOF
57204 done
57206 else
57208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57209 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57210 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57211 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57212 $as_echo_n "(cached) " >&6
57213 else
57216 ac_ext=cpp
57217 ac_cpp='$CXXCPP $CPPFLAGS'
57218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57223 /* end confdefs.h. */
57224 #include <math.h>
57226 main ()
57228 _ldexpl(0, 0);
57230 return 0;
57232 _ACEOF
57233 if ac_fn_cxx_try_compile "$LINENO"; then :
57234 glibcxx_cv_func__ldexpl_use=yes
57235 else
57236 glibcxx_cv_func__ldexpl_use=no
57238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57239 ac_ext=c
57240 ac_cpp='$CPP $CPPFLAGS'
57241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57250 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57252 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57253 for ac_func in _ldexpl
57254 do :
57255 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57256 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57257 cat >>confdefs.h <<_ACEOF
57258 #define HAVE__LDEXPL 1
57259 _ACEOF
57262 done
57271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57272 $as_echo_n "checking for logl declaration... " >&6; }
57273 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57274 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57275 $as_echo_n "(cached) " >&6
57276 else
57279 ac_ext=cpp
57280 ac_cpp='$CXXCPP $CPPFLAGS'
57281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57286 /* end confdefs.h. */
57287 #include <math.h>
57288 #ifdef HAVE_IEEEFP_H
57289 #include <ieeefp.h>
57290 #endif
57293 main ()
57295 logl(0);
57297 return 0;
57299 _ACEOF
57300 if ac_fn_cxx_try_compile "$LINENO"; then :
57301 glibcxx_cv_func_logl_use=yes
57302 else
57303 glibcxx_cv_func_logl_use=no
57305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57306 ac_ext=c
57307 ac_cpp='$CPP $CPPFLAGS'
57308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57317 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57319 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57320 for ac_func in logl
57321 do :
57322 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57323 if test "x$ac_cv_func_logl" = x""yes; then :
57324 cat >>confdefs.h <<_ACEOF
57325 #define HAVE_LOGL 1
57326 _ACEOF
57329 done
57331 else
57333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57334 $as_echo_n "checking for _logl declaration... " >&6; }
57335 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57336 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57337 $as_echo_n "(cached) " >&6
57338 else
57341 ac_ext=cpp
57342 ac_cpp='$CXXCPP $CPPFLAGS'
57343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57348 /* end confdefs.h. */
57349 #include <math.h>
57350 #ifdef HAVE_IEEEFP_H
57351 #include <ieeefp.h>
57352 #endif
57355 main ()
57357 _logl(0);
57359 return 0;
57361 _ACEOF
57362 if ac_fn_cxx_try_compile "$LINENO"; then :
57363 glibcxx_cv_func__logl_use=yes
57364 else
57365 glibcxx_cv_func__logl_use=no
57367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57368 ac_ext=c
57369 ac_cpp='$CPP $CPPFLAGS'
57370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57379 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57381 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57382 for ac_func in _logl
57383 do :
57384 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57385 if test "x$ac_cv_func__logl" = x""yes; then :
57386 cat >>confdefs.h <<_ACEOF
57387 #define HAVE__LOGL 1
57388 _ACEOF
57391 done
57400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57401 $as_echo_n "checking for log10l declaration... " >&6; }
57402 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57403 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57404 $as_echo_n "(cached) " >&6
57405 else
57408 ac_ext=cpp
57409 ac_cpp='$CXXCPP $CPPFLAGS'
57410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57415 /* end confdefs.h. */
57416 #include <math.h>
57417 #ifdef HAVE_IEEEFP_H
57418 #include <ieeefp.h>
57419 #endif
57422 main ()
57424 log10l(0);
57426 return 0;
57428 _ACEOF
57429 if ac_fn_cxx_try_compile "$LINENO"; then :
57430 glibcxx_cv_func_log10l_use=yes
57431 else
57432 glibcxx_cv_func_log10l_use=no
57434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57435 ac_ext=c
57436 ac_cpp='$CPP $CPPFLAGS'
57437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57446 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57448 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57449 for ac_func in log10l
57450 do :
57451 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57452 if test "x$ac_cv_func_log10l" = x""yes; then :
57453 cat >>confdefs.h <<_ACEOF
57454 #define HAVE_LOG10L 1
57455 _ACEOF
57458 done
57460 else
57462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57463 $as_echo_n "checking for _log10l declaration... " >&6; }
57464 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57465 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57466 $as_echo_n "(cached) " >&6
57467 else
57470 ac_ext=cpp
57471 ac_cpp='$CXXCPP $CPPFLAGS'
57472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57477 /* end confdefs.h. */
57478 #include <math.h>
57479 #ifdef HAVE_IEEEFP_H
57480 #include <ieeefp.h>
57481 #endif
57484 main ()
57486 _log10l(0);
57488 return 0;
57490 _ACEOF
57491 if ac_fn_cxx_try_compile "$LINENO"; then :
57492 glibcxx_cv_func__log10l_use=yes
57493 else
57494 glibcxx_cv_func__log10l_use=no
57496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57497 ac_ext=c
57498 ac_cpp='$CPP $CPPFLAGS'
57499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57508 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57510 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57511 for ac_func in _log10l
57512 do :
57513 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57514 if test "x$ac_cv_func__log10l" = x""yes; then :
57515 cat >>confdefs.h <<_ACEOF
57516 #define HAVE__LOG10L 1
57517 _ACEOF
57520 done
57529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57530 $as_echo_n "checking for modfl declaration... " >&6; }
57531 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57532 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57533 $as_echo_n "(cached) " >&6
57534 else
57537 ac_ext=cpp
57538 ac_cpp='$CXXCPP $CPPFLAGS'
57539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57544 /* end confdefs.h. */
57545 #include <math.h>
57547 main ()
57549 modfl(0, 0);
57551 return 0;
57553 _ACEOF
57554 if ac_fn_cxx_try_compile "$LINENO"; then :
57555 glibcxx_cv_func_modfl_use=yes
57556 else
57557 glibcxx_cv_func_modfl_use=no
57559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57560 ac_ext=c
57561 ac_cpp='$CPP $CPPFLAGS'
57562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57571 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57573 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57574 for ac_func in modfl
57575 do :
57576 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57577 if test "x$ac_cv_func_modfl" = x""yes; then :
57578 cat >>confdefs.h <<_ACEOF
57579 #define HAVE_MODFL 1
57580 _ACEOF
57583 done
57585 else
57587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57588 $as_echo_n "checking for _modfl declaration... " >&6; }
57589 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57590 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57591 $as_echo_n "(cached) " >&6
57592 else
57595 ac_ext=cpp
57596 ac_cpp='$CXXCPP $CPPFLAGS'
57597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57602 /* end confdefs.h. */
57603 #include <math.h>
57605 main ()
57607 _modfl(0, 0);
57609 return 0;
57611 _ACEOF
57612 if ac_fn_cxx_try_compile "$LINENO"; then :
57613 glibcxx_cv_func__modfl_use=yes
57614 else
57615 glibcxx_cv_func__modfl_use=no
57617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57618 ac_ext=c
57619 ac_cpp='$CPP $CPPFLAGS'
57620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57629 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57631 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57632 for ac_func in _modfl
57633 do :
57634 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57635 if test "x$ac_cv_func__modfl" = x""yes; then :
57636 cat >>confdefs.h <<_ACEOF
57637 #define HAVE__MODFL 1
57638 _ACEOF
57641 done
57650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57651 $as_echo_n "checking for powl declaration... " >&6; }
57652 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57653 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57654 $as_echo_n "(cached) " >&6
57655 else
57658 ac_ext=cpp
57659 ac_cpp='$CXXCPP $CPPFLAGS'
57660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57665 /* end confdefs.h. */
57666 #include <math.h>
57668 main ()
57670 powl(0, 0);
57672 return 0;
57674 _ACEOF
57675 if ac_fn_cxx_try_compile "$LINENO"; then :
57676 glibcxx_cv_func_powl_use=yes
57677 else
57678 glibcxx_cv_func_powl_use=no
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
57691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57692 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57694 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57695 for ac_func in powl
57696 do :
57697 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57698 if test "x$ac_cv_func_powl" = x""yes; then :
57699 cat >>confdefs.h <<_ACEOF
57700 #define HAVE_POWL 1
57701 _ACEOF
57704 done
57706 else
57708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57709 $as_echo_n "checking for _powl declaration... " >&6; }
57710 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57711 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57712 $as_echo_n "(cached) " >&6
57713 else
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
57722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57723 /* end confdefs.h. */
57724 #include <math.h>
57726 main ()
57728 _powl(0, 0);
57730 return 0;
57732 _ACEOF
57733 if ac_fn_cxx_try_compile "$LINENO"; then :
57734 glibcxx_cv_func__powl_use=yes
57735 else
57736 glibcxx_cv_func__powl_use=no
57738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57739 ac_ext=c
57740 ac_cpp='$CPP $CPPFLAGS'
57741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57750 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57752 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57753 for ac_func in _powl
57754 do :
57755 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57756 if test "x$ac_cv_func__powl" = x""yes; then :
57757 cat >>confdefs.h <<_ACEOF
57758 #define HAVE__POWL 1
57759 _ACEOF
57762 done
57771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57772 $as_echo_n "checking for sqrtl declaration... " >&6; }
57773 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57774 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57775 $as_echo_n "(cached) " >&6
57776 else
57779 ac_ext=cpp
57780 ac_cpp='$CXXCPP $CPPFLAGS'
57781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57786 /* end confdefs.h. */
57787 #include <math.h>
57788 #ifdef HAVE_IEEEFP_H
57789 #include <ieeefp.h>
57790 #endif
57793 main ()
57795 sqrtl(0);
57797 return 0;
57799 _ACEOF
57800 if ac_fn_cxx_try_compile "$LINENO"; then :
57801 glibcxx_cv_func_sqrtl_use=yes
57802 else
57803 glibcxx_cv_func_sqrtl_use=no
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
57816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57817 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57819 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57820 for ac_func in sqrtl
57821 do :
57822 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57823 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57824 cat >>confdefs.h <<_ACEOF
57825 #define HAVE_SQRTL 1
57826 _ACEOF
57829 done
57831 else
57833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57834 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57835 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57836 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57837 $as_echo_n "(cached) " >&6
57838 else
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
57847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57848 /* end confdefs.h. */
57849 #include <math.h>
57850 #ifdef HAVE_IEEEFP_H
57851 #include <ieeefp.h>
57852 #endif
57855 main ()
57857 _sqrtl(0);
57859 return 0;
57861 _ACEOF
57862 if ac_fn_cxx_try_compile "$LINENO"; then :
57863 glibcxx_cv_func__sqrtl_use=yes
57864 else
57865 glibcxx_cv_func__sqrtl_use=no
57867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57868 ac_ext=c
57869 ac_cpp='$CPP $CPPFLAGS'
57870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57879 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57881 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57882 for ac_func in _sqrtl
57883 do :
57884 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57885 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57886 cat >>confdefs.h <<_ACEOF
57887 #define HAVE__SQRTL 1
57888 _ACEOF
57891 done
57900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57901 $as_echo_n "checking for sincosl declaration... " >&6; }
57902 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57903 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57904 $as_echo_n "(cached) " >&6
57905 else
57908 ac_ext=cpp
57909 ac_cpp='$CXXCPP $CPPFLAGS'
57910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57915 /* end confdefs.h. */
57916 #include <math.h>
57918 main ()
57920 sincosl(0, 0, 0);
57922 return 0;
57924 _ACEOF
57925 if ac_fn_cxx_try_compile "$LINENO"; then :
57926 glibcxx_cv_func_sincosl_use=yes
57927 else
57928 glibcxx_cv_func_sincosl_use=no
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
57941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57942 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57944 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57945 for ac_func in sincosl
57946 do :
57947 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57948 if test "x$ac_cv_func_sincosl" = x""yes; then :
57949 cat >>confdefs.h <<_ACEOF
57950 #define HAVE_SINCOSL 1
57951 _ACEOF
57954 done
57956 else
57958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57959 $as_echo_n "checking for _sincosl declaration... " >&6; }
57960 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57961 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57962 $as_echo_n "(cached) " >&6
57963 else
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
57972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57973 /* end confdefs.h. */
57974 #include <math.h>
57976 main ()
57978 _sincosl(0, 0, 0);
57980 return 0;
57982 _ACEOF
57983 if ac_fn_cxx_try_compile "$LINENO"; then :
57984 glibcxx_cv_func__sincosl_use=yes
57985 else
57986 glibcxx_cv_func__sincosl_use=no
57988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57989 ac_ext=c
57990 ac_cpp='$CPP $CPPFLAGS'
57991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58000 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58002 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58003 for ac_func in _sincosl
58004 do :
58005 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58006 if test "x$ac_cv_func__sincosl" = x""yes; then :
58007 cat >>confdefs.h <<_ACEOF
58008 #define HAVE__SINCOSL 1
58009 _ACEOF
58012 done
58021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58022 $as_echo_n "checking for finitel declaration... " >&6; }
58023 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58024 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58025 $as_echo_n "(cached) " >&6
58026 else
58029 ac_ext=cpp
58030 ac_cpp='$CXXCPP $CPPFLAGS'
58031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58036 /* end confdefs.h. */
58037 #include <math.h>
58038 #ifdef HAVE_IEEEFP_H
58039 #include <ieeefp.h>
58040 #endif
58043 main ()
58045 finitel(0);
58047 return 0;
58049 _ACEOF
58050 if ac_fn_cxx_try_compile "$LINENO"; then :
58051 glibcxx_cv_func_finitel_use=yes
58052 else
58053 glibcxx_cv_func_finitel_use=no
58055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58056 ac_ext=c
58057 ac_cpp='$CPP $CPPFLAGS'
58058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58067 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58069 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58070 for ac_func in finitel
58071 do :
58072 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58073 if test "x$ac_cv_func_finitel" = x""yes; then :
58074 cat >>confdefs.h <<_ACEOF
58075 #define HAVE_FINITEL 1
58076 _ACEOF
58079 done
58081 else
58083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58084 $as_echo_n "checking for _finitel declaration... " >&6; }
58085 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58086 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58087 $as_echo_n "(cached) " >&6
58088 else
58091 ac_ext=cpp
58092 ac_cpp='$CXXCPP $CPPFLAGS'
58093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58098 /* end confdefs.h. */
58099 #include <math.h>
58100 #ifdef HAVE_IEEEFP_H
58101 #include <ieeefp.h>
58102 #endif
58105 main ()
58107 _finitel(0);
58109 return 0;
58111 _ACEOF
58112 if ac_fn_cxx_try_compile "$LINENO"; then :
58113 glibcxx_cv_func__finitel_use=yes
58114 else
58115 glibcxx_cv_func__finitel_use=no
58117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58118 ac_ext=c
58119 ac_cpp='$CPP $CPPFLAGS'
58120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58129 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58131 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58132 for ac_func in _finitel
58133 do :
58134 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58135 if test "x$ac_cv_func__finitel" = x""yes; then :
58136 cat >>confdefs.h <<_ACEOF
58137 #define HAVE__FINITEL 1
58138 _ACEOF
58141 done
58149 LIBS="$ac_save_LIBS"
58150 CXXFLAGS="$ac_save_CXXFLAGS"
58153 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58154 ac_save_CXXFLAGS="$CXXFLAGS"
58155 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58159 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58160 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58161 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58162 $as_echo_n "(cached) " >&6
58163 else
58166 ac_ext=cpp
58167 ac_cpp='$CXXCPP $CPPFLAGS'
58168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58173 /* end confdefs.h. */
58174 #include <stdlib.h>
58176 main ()
58178 at_quick_exit(0);
58180 return 0;
58182 _ACEOF
58183 if ac_fn_cxx_try_compile "$LINENO"; then :
58184 glibcxx_cv_func_at_quick_exit_use=yes
58185 else
58186 glibcxx_cv_func_at_quick_exit_use=no
58188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58189 ac_ext=c
58190 ac_cpp='$CPP $CPPFLAGS'
58191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58200 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58201 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58202 for ac_func in at_quick_exit
58203 do :
58204 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58205 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58206 cat >>confdefs.h <<_ACEOF
58207 #define HAVE_AT_QUICK_EXIT 1
58208 _ACEOF
58211 done
58216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58217 $as_echo_n "checking for quick_exit declaration... " >&6; }
58218 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58219 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58220 $as_echo_n "(cached) " >&6
58221 else
58224 ac_ext=cpp
58225 ac_cpp='$CXXCPP $CPPFLAGS'
58226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58231 /* end confdefs.h. */
58232 #include <stdlib.h>
58234 main ()
58236 quick_exit(0);
58238 return 0;
58240 _ACEOF
58241 if ac_fn_cxx_try_compile "$LINENO"; then :
58242 glibcxx_cv_func_quick_exit_use=yes
58243 else
58244 glibcxx_cv_func_quick_exit_use=no
58246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58247 ac_ext=c
58248 ac_cpp='$CPP $CPPFLAGS'
58249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58258 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58259 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58260 for ac_func in quick_exit
58261 do :
58262 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58263 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58264 cat >>confdefs.h <<_ACEOF
58265 #define HAVE_QUICK_EXIT 1
58266 _ACEOF
58269 done
58274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58275 $as_echo_n "checking for strtold declaration... " >&6; }
58276 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58277 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58278 $as_echo_n "(cached) " >&6
58279 else
58282 ac_ext=cpp
58283 ac_cpp='$CXXCPP $CPPFLAGS'
58284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58289 /* end confdefs.h. */
58290 #include <stdlib.h>
58292 main ()
58294 strtold(0, 0);
58296 return 0;
58298 _ACEOF
58299 if ac_fn_cxx_try_compile "$LINENO"; then :
58300 glibcxx_cv_func_strtold_use=yes
58301 else
58302 glibcxx_cv_func_strtold_use=no
58304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58305 ac_ext=c
58306 ac_cpp='$CPP $CPPFLAGS'
58307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58316 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58317 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58318 for ac_func in strtold
58319 do :
58320 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58321 if test "x$ac_cv_func_strtold" = x""yes; then :
58322 cat >>confdefs.h <<_ACEOF
58323 #define HAVE_STRTOLD 1
58324 _ACEOF
58327 done
58334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58335 $as_echo_n "checking for strtof declaration... " >&6; }
58336 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58337 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58338 $as_echo_n "(cached) " >&6
58339 else
58342 ac_ext=cpp
58343 ac_cpp='$CXXCPP $CPPFLAGS'
58344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58349 /* end confdefs.h. */
58350 #include <stdlib.h>
58352 main ()
58354 strtof(0, 0);
58356 return 0;
58358 _ACEOF
58359 if ac_fn_cxx_try_compile "$LINENO"; then :
58360 glibcxx_cv_func_strtof_use=yes
58361 else
58362 glibcxx_cv_func_strtof_use=no
58364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58365 ac_ext=c
58366 ac_cpp='$CPP $CPPFLAGS'
58367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58376 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58377 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58378 for ac_func in strtof
58379 do :
58380 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58381 if test "x$ac_cv_func_strtof" = x""yes; then :
58382 cat >>confdefs.h <<_ACEOF
58383 #define HAVE_STRTOF 1
58384 _ACEOF
58387 done
58394 CXXFLAGS="$ac_save_CXXFLAGS"
58397 *-netbsd*)
58398 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58401 # If we're not using GNU ld, then there's no point in even trying these
58402 # tests. Check for that first. We should have already tested for gld
58403 # by now (in libtool), but require it now just to be safe...
58404 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58405 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58409 # The name set by libtool depends on the version of libtool. Shame on us
58410 # for depending on an impl detail, but c'est la vie. Older versions used
58411 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58412 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58413 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58414 # set (hence we're using an older libtool), then set it.
58415 if test x${with_gnu_ld+set} != xset; then
58416 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58417 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58418 with_gnu_ld=no
58419 else
58420 with_gnu_ld=$ac_cv_prog_gnu_ld
58424 # Start by getting the version number. I think the libtool test already
58425 # does some of this, but throws away the result.
58426 glibcxx_ld_is_gold=no
58427 if test x"$with_gnu_ld" = x"yes"; then
58428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58429 $as_echo_n "checking for ld version... " >&6; }
58431 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58432 glibcxx_ld_is_gold=yes
58434 ldver=`$LD --version 2>/dev/null |
58435 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'`
58437 glibcxx_gnu_ld_version=`echo $ldver | \
58438 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58440 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58443 # Set --gc-sections.
58444 glibcxx_have_gc_sections=no
58445 if test "$glibcxx_ld_is_gold" = "yes"; then
58446 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58447 glibcxx_have_gc_sections=yes
58449 else
58450 glibcxx_gcsections_min_ld=21602
58451 if test x"$with_gnu_ld" = x"yes" &&
58452 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58453 glibcxx_have_gc_sections=yes
58456 if test "$glibcxx_have_gc_sections" = "yes"; then
58457 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58458 # NB: This flag only works reliably after 2.16.1. Configure tests
58459 # for this are difficult, so hard wire a value that should work.
58461 ac_test_CFLAGS="${CFLAGS+set}"
58462 ac_save_CFLAGS="$CFLAGS"
58463 CFLAGS='-Wl,--gc-sections'
58465 # Check for -Wl,--gc-sections
58466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58467 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58468 if test x$gcc_no_link = xyes; then
58469 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58472 /* end confdefs.h. */
58473 int one(void) { return 1; }
58474 int two(void) { return 2; }
58477 main ()
58479 two();
58481 return 0;
58483 _ACEOF
58484 if ac_fn_c_try_link "$LINENO"; then :
58485 ac_gcsections=yes
58486 else
58487 ac_gcsections=no
58489 rm -f core conftest.err conftest.$ac_objext \
58490 conftest$ac_exeext conftest.$ac_ext
58491 if test "$ac_gcsections" = "yes"; then
58492 rm -f conftest.c
58493 touch conftest.c
58494 if $CC -c conftest.c; then
58495 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58496 grep "Warning: gc-sections option ignored" > /dev/null; then
58497 ac_gcsections=no
58500 rm -f conftest.c conftest.o conftest
58502 if test "$ac_gcsections" = "yes"; then
58503 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58506 $as_echo "$ac_gcsections" >&6; }
58508 if test "$ac_test_CFLAGS" = set; then
58509 CFLAGS="$ac_save_CFLAGS"
58510 else
58511 # this is the suspicious part
58512 CFLAGS=''
58516 # Set -z,relro.
58517 # Note this is only for shared objects.
58518 ac_ld_relro=no
58519 if test x"$with_gnu_ld" = x"yes"; then
58520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58521 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58522 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58523 if test -n "$cxx_z_relo"; then
58524 OPT_LDFLAGS="-Wl,-z,relro"
58525 ac_ld_relro=yes
58527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58528 $as_echo "$ac_ld_relro" >&6; }
58531 # Set linker optimization flags.
58532 if test x"$with_gnu_ld" = x"yes"; then
58533 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58539 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
58541 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
58543 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
58545 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
58547 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
58549 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
58551 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
58553 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
58555 if test x"long_double_math_on_this_cpu" = x"yes"; then
58556 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
58558 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
58560 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
58564 *-qnx6.1* | *-qnx6.2*)
58565 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58568 # If we're not using GNU ld, then there's no point in even trying these
58569 # tests. Check for that first. We should have already tested for gld
58570 # by now (in libtool), but require it now just to be safe...
58571 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58572 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58576 # The name set by libtool depends on the version of libtool. Shame on us
58577 # for depending on an impl detail, but c'est la vie. Older versions used
58578 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58579 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58580 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58581 # set (hence we're using an older libtool), then set it.
58582 if test x${with_gnu_ld+set} != xset; then
58583 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58584 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58585 with_gnu_ld=no
58586 else
58587 with_gnu_ld=$ac_cv_prog_gnu_ld
58591 # Start by getting the version number. I think the libtool test already
58592 # does some of this, but throws away the result.
58593 glibcxx_ld_is_gold=no
58594 if test x"$with_gnu_ld" = x"yes"; then
58595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58596 $as_echo_n "checking for ld version... " >&6; }
58598 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58599 glibcxx_ld_is_gold=yes
58601 ldver=`$LD --version 2>/dev/null |
58602 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'`
58604 glibcxx_gnu_ld_version=`echo $ldver | \
58605 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58607 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58610 # Set --gc-sections.
58611 glibcxx_have_gc_sections=no
58612 if test "$glibcxx_ld_is_gold" = "yes"; then
58613 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58614 glibcxx_have_gc_sections=yes
58616 else
58617 glibcxx_gcsections_min_ld=21602
58618 if test x"$with_gnu_ld" = x"yes" &&
58619 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58620 glibcxx_have_gc_sections=yes
58623 if test "$glibcxx_have_gc_sections" = "yes"; then
58624 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58625 # NB: This flag only works reliably after 2.16.1. Configure tests
58626 # for this are difficult, so hard wire a value that should work.
58628 ac_test_CFLAGS="${CFLAGS+set}"
58629 ac_save_CFLAGS="$CFLAGS"
58630 CFLAGS='-Wl,--gc-sections'
58632 # Check for -Wl,--gc-sections
58633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58634 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58635 if test x$gcc_no_link = xyes; then
58636 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58639 /* end confdefs.h. */
58640 int one(void) { return 1; }
58641 int two(void) { return 2; }
58644 main ()
58646 two();
58648 return 0;
58650 _ACEOF
58651 if ac_fn_c_try_link "$LINENO"; then :
58652 ac_gcsections=yes
58653 else
58654 ac_gcsections=no
58656 rm -f core conftest.err conftest.$ac_objext \
58657 conftest$ac_exeext conftest.$ac_ext
58658 if test "$ac_gcsections" = "yes"; then
58659 rm -f conftest.c
58660 touch conftest.c
58661 if $CC -c conftest.c; then
58662 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58663 grep "Warning: gc-sections option ignored" > /dev/null; then
58664 ac_gcsections=no
58667 rm -f conftest.c conftest.o conftest
58669 if test "$ac_gcsections" = "yes"; then
58670 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58673 $as_echo "$ac_gcsections" >&6; }
58675 if test "$ac_test_CFLAGS" = set; then
58676 CFLAGS="$ac_save_CFLAGS"
58677 else
58678 # this is the suspicious part
58679 CFLAGS=''
58683 # Set -z,relro.
58684 # Note this is only for shared objects.
58685 ac_ld_relro=no
58686 if test x"$with_gnu_ld" = x"yes"; then
58687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58688 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58689 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58690 if test -n "$cxx_z_relo"; then
58691 OPT_LDFLAGS="-Wl,-z,relro"
58692 ac_ld_relro=yes
58694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58695 $as_echo "$ac_ld_relro" >&6; }
58698 # Set linker optimization flags.
58699 if test x"$with_gnu_ld" = x"yes"; then
58700 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58706 $as_echo "#define HAVE_COSF 1" >>confdefs.h
58708 $as_echo "#define HAVE_COSL 1" >>confdefs.h
58710 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
58712 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
58714 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
58716 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
58718 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
58720 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
58722 $as_echo "#define HAVE_SINF 1" >>confdefs.h
58724 $as_echo "#define HAVE_SINL 1" >>confdefs.h
58726 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
58728 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
58731 *-rtems*)
58733 # All these tests are for C++; save the language and the compiler flags.
58734 # The CXXFLAGS thing is suspicious, but based on similar bits previously
58735 # found in GLIBCXX_CONFIGURE.
58737 ac_ext=cpp
58738 ac_cpp='$CXXCPP $CPPFLAGS'
58739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58743 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58744 ac_save_CXXFLAGS="$CXXFLAGS"
58746 # Check for maintainer-mode bits.
58747 if test x"$USE_MAINTAINER_MODE" = xno; then
58748 WERROR=''
58749 else
58750 WERROR='-Werror'
58753 # Check for -ffunction-sections -fdata-sections
58754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
58755 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
58756 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
58757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58758 /* end confdefs.h. */
58759 int foo; void bar() { };
58761 main ()
58765 return 0;
58767 _ACEOF
58768 if ac_fn_cxx_try_compile "$LINENO"; then :
58769 ac_fdsections=yes
58770 else
58771 ac_fdsections=no
58773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58774 if test "$ac_test_CXXFLAGS" = set; then
58775 CXXFLAGS="$ac_save_CXXFLAGS"
58776 else
58777 # this is the suspicious part
58778 CXXFLAGS=''
58780 if test x"$ac_fdsections" = x"yes"; then
58781 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
58784 $as_echo "$ac_fdsections" >&6; }
58786 ac_ext=c
58787 ac_cpp='$CPP $CPPFLAGS'
58788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58796 # If we're not using GNU ld, then there's no point in even trying these
58797 # tests. Check for that first. We should have already tested for gld
58798 # by now (in libtool), but require it now just to be safe...
58799 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58800 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58804 # The name set by libtool depends on the version of libtool. Shame on us
58805 # for depending on an impl detail, but c'est la vie. Older versions used
58806 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58807 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58808 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58809 # set (hence we're using an older libtool), then set it.
58810 if test x${with_gnu_ld+set} != xset; then
58811 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58812 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58813 with_gnu_ld=no
58814 else
58815 with_gnu_ld=$ac_cv_prog_gnu_ld
58819 # Start by getting the version number. I think the libtool test already
58820 # does some of this, but throws away the result.
58821 glibcxx_ld_is_gold=no
58822 if test x"$with_gnu_ld" = x"yes"; then
58823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58824 $as_echo_n "checking for ld version... " >&6; }
58826 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58827 glibcxx_ld_is_gold=yes
58829 ldver=`$LD --version 2>/dev/null |
58830 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'`
58832 glibcxx_gnu_ld_version=`echo $ldver | \
58833 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58835 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58838 # Set --gc-sections.
58839 glibcxx_have_gc_sections=no
58840 if test "$glibcxx_ld_is_gold" = "yes"; then
58841 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58842 glibcxx_have_gc_sections=yes
58844 else
58845 glibcxx_gcsections_min_ld=21602
58846 if test x"$with_gnu_ld" = x"yes" &&
58847 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58848 glibcxx_have_gc_sections=yes
58851 if test "$glibcxx_have_gc_sections" = "yes"; then
58852 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58853 # NB: This flag only works reliably after 2.16.1. Configure tests
58854 # for this are difficult, so hard wire a value that should work.
58856 ac_test_CFLAGS="${CFLAGS+set}"
58857 ac_save_CFLAGS="$CFLAGS"
58858 CFLAGS='-Wl,--gc-sections'
58860 # Check for -Wl,--gc-sections
58861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58862 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58863 if test x$gcc_no_link = xyes; then
58864 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58867 /* end confdefs.h. */
58868 int one(void) { return 1; }
58869 int two(void) { return 2; }
58872 main ()
58874 two();
58876 return 0;
58878 _ACEOF
58879 if ac_fn_c_try_link "$LINENO"; then :
58880 ac_gcsections=yes
58881 else
58882 ac_gcsections=no
58884 rm -f core conftest.err conftest.$ac_objext \
58885 conftest$ac_exeext conftest.$ac_ext
58886 if test "$ac_gcsections" = "yes"; then
58887 rm -f conftest.c
58888 touch conftest.c
58889 if $CC -c conftest.c; then
58890 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58891 grep "Warning: gc-sections option ignored" > /dev/null; then
58892 ac_gcsections=no
58895 rm -f conftest.c conftest.o conftest
58897 if test "$ac_gcsections" = "yes"; then
58898 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58901 $as_echo "$ac_gcsections" >&6; }
58903 if test "$ac_test_CFLAGS" = set; then
58904 CFLAGS="$ac_save_CFLAGS"
58905 else
58906 # this is the suspicious part
58907 CFLAGS=''
58911 # Set -z,relro.
58912 # Note this is only for shared objects.
58913 ac_ld_relro=no
58914 if test x"$with_gnu_ld" = x"yes"; then
58915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58916 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58917 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58918 if test -n "$cxx_z_relo"; then
58919 OPT_LDFLAGS="-Wl,-z,relro"
58920 ac_ld_relro=yes
58922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58923 $as_echo "$ac_ld_relro" >&6; }
58926 # Set linker optimization flags.
58927 if test x"$with_gnu_ld" = x"yes"; then
58928 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58935 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58936 ac_save_CXXFLAGS="$CXXFLAGS"
58937 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58940 $as_echo_n "checking for sin in -lm... " >&6; }
58941 if test "${ac_cv_lib_m_sin+set}" = set; then :
58942 $as_echo_n "(cached) " >&6
58943 else
58944 ac_check_lib_save_LIBS=$LIBS
58945 LIBS="-lm $LIBS"
58946 if test x$gcc_no_link = xyes; then
58947 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58950 /* end confdefs.h. */
58952 /* Override any GCC internal prototype to avoid an error.
58953 Use char because int might match the return type of a GCC
58954 builtin and then its argument prototype would still apply. */
58955 #ifdef __cplusplus
58956 extern "C"
58957 #endif
58958 char sin ();
58960 main ()
58962 return sin ();
58964 return 0;
58966 _ACEOF
58967 if ac_fn_c_try_link "$LINENO"; then :
58968 ac_cv_lib_m_sin=yes
58969 else
58970 ac_cv_lib_m_sin=no
58972 rm -f core conftest.err conftest.$ac_objext \
58973 conftest$ac_exeext conftest.$ac_ext
58974 LIBS=$ac_check_lib_save_LIBS
58976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58977 $as_echo "$ac_cv_lib_m_sin" >&6; }
58978 if test "x$ac_cv_lib_m_sin" = x""yes; then :
58979 libm="-lm"
58982 ac_save_LIBS="$LIBS"
58983 LIBS="$LIBS $libm"
58987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
58988 $as_echo_n "checking for isinf declaration... " >&6; }
58989 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
58990 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
58991 $as_echo_n "(cached) " >&6
58992 else
58995 ac_ext=cpp
58996 ac_cpp='$CXXCPP $CPPFLAGS'
58997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59002 /* end confdefs.h. */
59003 #include <math.h>
59004 #ifdef HAVE_IEEEFP_H
59005 #include <ieeefp.h>
59006 #endif
59009 main ()
59011 isinf(0);
59013 return 0;
59015 _ACEOF
59016 if ac_fn_cxx_try_compile "$LINENO"; then :
59017 glibcxx_cv_func_isinf_use=yes
59018 else
59019 glibcxx_cv_func_isinf_use=no
59021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59022 ac_ext=c
59023 ac_cpp='$CPP $CPPFLAGS'
59024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59033 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59035 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59036 for ac_func in isinf
59037 do :
59038 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59039 if test "x$ac_cv_func_isinf" = x""yes; then :
59040 cat >>confdefs.h <<_ACEOF
59041 #define HAVE_ISINF 1
59042 _ACEOF
59045 done
59047 else
59049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59050 $as_echo_n "checking for _isinf declaration... " >&6; }
59051 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59052 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59053 $as_echo_n "(cached) " >&6
59054 else
59057 ac_ext=cpp
59058 ac_cpp='$CXXCPP $CPPFLAGS'
59059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59064 /* end confdefs.h. */
59065 #include <math.h>
59066 #ifdef HAVE_IEEEFP_H
59067 #include <ieeefp.h>
59068 #endif
59071 main ()
59073 _isinf(0);
59075 return 0;
59077 _ACEOF
59078 if ac_fn_cxx_try_compile "$LINENO"; then :
59079 glibcxx_cv_func__isinf_use=yes
59080 else
59081 glibcxx_cv_func__isinf_use=no
59083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59084 ac_ext=c
59085 ac_cpp='$CPP $CPPFLAGS'
59086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59095 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59097 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59098 for ac_func in _isinf
59099 do :
59100 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59101 if test "x$ac_cv_func__isinf" = x""yes; then :
59102 cat >>confdefs.h <<_ACEOF
59103 #define HAVE__ISINF 1
59104 _ACEOF
59107 done
59116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59117 $as_echo_n "checking for isnan declaration... " >&6; }
59118 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59119 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59120 $as_echo_n "(cached) " >&6
59121 else
59124 ac_ext=cpp
59125 ac_cpp='$CXXCPP $CPPFLAGS'
59126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59131 /* end confdefs.h. */
59132 #include <math.h>
59133 #ifdef HAVE_IEEEFP_H
59134 #include <ieeefp.h>
59135 #endif
59138 main ()
59140 isnan(0);
59142 return 0;
59144 _ACEOF
59145 if ac_fn_cxx_try_compile "$LINENO"; then :
59146 glibcxx_cv_func_isnan_use=yes
59147 else
59148 glibcxx_cv_func_isnan_use=no
59150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59151 ac_ext=c
59152 ac_cpp='$CPP $CPPFLAGS'
59153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59162 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59164 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59165 for ac_func in isnan
59166 do :
59167 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59168 if test "x$ac_cv_func_isnan" = x""yes; then :
59169 cat >>confdefs.h <<_ACEOF
59170 #define HAVE_ISNAN 1
59171 _ACEOF
59174 done
59176 else
59178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59179 $as_echo_n "checking for _isnan declaration... " >&6; }
59180 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59181 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59182 $as_echo_n "(cached) " >&6
59183 else
59186 ac_ext=cpp
59187 ac_cpp='$CXXCPP $CPPFLAGS'
59188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59193 /* end confdefs.h. */
59194 #include <math.h>
59195 #ifdef HAVE_IEEEFP_H
59196 #include <ieeefp.h>
59197 #endif
59200 main ()
59202 _isnan(0);
59204 return 0;
59206 _ACEOF
59207 if ac_fn_cxx_try_compile "$LINENO"; then :
59208 glibcxx_cv_func__isnan_use=yes
59209 else
59210 glibcxx_cv_func__isnan_use=no
59212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59213 ac_ext=c
59214 ac_cpp='$CPP $CPPFLAGS'
59215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59224 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59226 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59227 for ac_func in _isnan
59228 do :
59229 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59230 if test "x$ac_cv_func__isnan" = x""yes; then :
59231 cat >>confdefs.h <<_ACEOF
59232 #define HAVE__ISNAN 1
59233 _ACEOF
59236 done
59245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59246 $as_echo_n "checking for finite declaration... " >&6; }
59247 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59248 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59249 $as_echo_n "(cached) " >&6
59250 else
59253 ac_ext=cpp
59254 ac_cpp='$CXXCPP $CPPFLAGS'
59255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59260 /* end confdefs.h. */
59261 #include <math.h>
59262 #ifdef HAVE_IEEEFP_H
59263 #include <ieeefp.h>
59264 #endif
59267 main ()
59269 finite(0);
59271 return 0;
59273 _ACEOF
59274 if ac_fn_cxx_try_compile "$LINENO"; then :
59275 glibcxx_cv_func_finite_use=yes
59276 else
59277 glibcxx_cv_func_finite_use=no
59279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59280 ac_ext=c
59281 ac_cpp='$CPP $CPPFLAGS'
59282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59291 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59293 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59294 for ac_func in finite
59295 do :
59296 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59297 if test "x$ac_cv_func_finite" = x""yes; then :
59298 cat >>confdefs.h <<_ACEOF
59299 #define HAVE_FINITE 1
59300 _ACEOF
59303 done
59305 else
59307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59308 $as_echo_n "checking for _finite declaration... " >&6; }
59309 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59310 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59311 $as_echo_n "(cached) " >&6
59312 else
59315 ac_ext=cpp
59316 ac_cpp='$CXXCPP $CPPFLAGS'
59317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59322 /* end confdefs.h. */
59323 #include <math.h>
59324 #ifdef HAVE_IEEEFP_H
59325 #include <ieeefp.h>
59326 #endif
59329 main ()
59331 _finite(0);
59333 return 0;
59335 _ACEOF
59336 if ac_fn_cxx_try_compile "$LINENO"; then :
59337 glibcxx_cv_func__finite_use=yes
59338 else
59339 glibcxx_cv_func__finite_use=no
59341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59342 ac_ext=c
59343 ac_cpp='$CPP $CPPFLAGS'
59344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59353 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59355 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59356 for ac_func in _finite
59357 do :
59358 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59359 if test "x$ac_cv_func__finite" = x""yes; then :
59360 cat >>confdefs.h <<_ACEOF
59361 #define HAVE__FINITE 1
59362 _ACEOF
59365 done
59374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59375 $as_echo_n "checking for sincos declaration... " >&6; }
59376 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59377 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59378 $as_echo_n "(cached) " >&6
59379 else
59382 ac_ext=cpp
59383 ac_cpp='$CXXCPP $CPPFLAGS'
59384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59389 /* end confdefs.h. */
59390 #include <math.h>
59392 main ()
59394 sincos(0, 0, 0);
59396 return 0;
59398 _ACEOF
59399 if ac_fn_cxx_try_compile "$LINENO"; then :
59400 glibcxx_cv_func_sincos_use=yes
59401 else
59402 glibcxx_cv_func_sincos_use=no
59404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59405 ac_ext=c
59406 ac_cpp='$CPP $CPPFLAGS'
59407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59416 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59418 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59419 for ac_func in sincos
59420 do :
59421 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59422 if test "x$ac_cv_func_sincos" = x""yes; then :
59423 cat >>confdefs.h <<_ACEOF
59424 #define HAVE_SINCOS 1
59425 _ACEOF
59428 done
59430 else
59432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59433 $as_echo_n "checking for _sincos declaration... " >&6; }
59434 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59435 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59436 $as_echo_n "(cached) " >&6
59437 else
59440 ac_ext=cpp
59441 ac_cpp='$CXXCPP $CPPFLAGS'
59442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59447 /* end confdefs.h. */
59448 #include <math.h>
59450 main ()
59452 _sincos(0, 0, 0);
59454 return 0;
59456 _ACEOF
59457 if ac_fn_cxx_try_compile "$LINENO"; then :
59458 glibcxx_cv_func__sincos_use=yes
59459 else
59460 glibcxx_cv_func__sincos_use=no
59462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59463 ac_ext=c
59464 ac_cpp='$CPP $CPPFLAGS'
59465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59474 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59476 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59477 for ac_func in _sincos
59478 do :
59479 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59480 if test "x$ac_cv_func__sincos" = x""yes; then :
59481 cat >>confdefs.h <<_ACEOF
59482 #define HAVE__SINCOS 1
59483 _ACEOF
59486 done
59495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59496 $as_echo_n "checking for fpclass declaration... " >&6; }
59497 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59498 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59499 $as_echo_n "(cached) " >&6
59500 else
59503 ac_ext=cpp
59504 ac_cpp='$CXXCPP $CPPFLAGS'
59505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59510 /* end confdefs.h. */
59511 #include <math.h>
59512 #ifdef HAVE_IEEEFP_H
59513 #include <ieeefp.h>
59514 #endif
59517 main ()
59519 fpclass(0);
59521 return 0;
59523 _ACEOF
59524 if ac_fn_cxx_try_compile "$LINENO"; then :
59525 glibcxx_cv_func_fpclass_use=yes
59526 else
59527 glibcxx_cv_func_fpclass_use=no
59529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59530 ac_ext=c
59531 ac_cpp='$CPP $CPPFLAGS'
59532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59541 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59543 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59544 for ac_func in fpclass
59545 do :
59546 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59547 if test "x$ac_cv_func_fpclass" = x""yes; then :
59548 cat >>confdefs.h <<_ACEOF
59549 #define HAVE_FPCLASS 1
59550 _ACEOF
59553 done
59555 else
59557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59558 $as_echo_n "checking for _fpclass declaration... " >&6; }
59559 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59560 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59561 $as_echo_n "(cached) " >&6
59562 else
59565 ac_ext=cpp
59566 ac_cpp='$CXXCPP $CPPFLAGS'
59567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59572 /* end confdefs.h. */
59573 #include <math.h>
59574 #ifdef HAVE_IEEEFP_H
59575 #include <ieeefp.h>
59576 #endif
59579 main ()
59581 _fpclass(0);
59583 return 0;
59585 _ACEOF
59586 if ac_fn_cxx_try_compile "$LINENO"; then :
59587 glibcxx_cv_func__fpclass_use=yes
59588 else
59589 glibcxx_cv_func__fpclass_use=no
59591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59592 ac_ext=c
59593 ac_cpp='$CPP $CPPFLAGS'
59594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59603 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59605 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59606 for ac_func in _fpclass
59607 do :
59608 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59609 if test "x$ac_cv_func__fpclass" = x""yes; then :
59610 cat >>confdefs.h <<_ACEOF
59611 #define HAVE__FPCLASS 1
59612 _ACEOF
59615 done
59624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59625 $as_echo_n "checking for qfpclass declaration... " >&6; }
59626 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59627 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59628 $as_echo_n "(cached) " >&6
59629 else
59632 ac_ext=cpp
59633 ac_cpp='$CXXCPP $CPPFLAGS'
59634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59639 /* end confdefs.h. */
59640 #include <math.h>
59641 #ifdef HAVE_IEEEFP_H
59642 #include <ieeefp.h>
59643 #endif
59646 main ()
59648 qfpclass(0);
59650 return 0;
59652 _ACEOF
59653 if ac_fn_cxx_try_compile "$LINENO"; then :
59654 glibcxx_cv_func_qfpclass_use=yes
59655 else
59656 glibcxx_cv_func_qfpclass_use=no
59658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59659 ac_ext=c
59660 ac_cpp='$CPP $CPPFLAGS'
59661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59670 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59672 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59673 for ac_func in qfpclass
59674 do :
59675 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59676 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59677 cat >>confdefs.h <<_ACEOF
59678 #define HAVE_QFPCLASS 1
59679 _ACEOF
59682 done
59684 else
59686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59687 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59688 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59689 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59690 $as_echo_n "(cached) " >&6
59691 else
59694 ac_ext=cpp
59695 ac_cpp='$CXXCPP $CPPFLAGS'
59696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59701 /* end confdefs.h. */
59702 #include <math.h>
59703 #ifdef HAVE_IEEEFP_H
59704 #include <ieeefp.h>
59705 #endif
59708 main ()
59710 _qfpclass(0);
59712 return 0;
59714 _ACEOF
59715 if ac_fn_cxx_try_compile "$LINENO"; then :
59716 glibcxx_cv_func__qfpclass_use=yes
59717 else
59718 glibcxx_cv_func__qfpclass_use=no
59720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59721 ac_ext=c
59722 ac_cpp='$CPP $CPPFLAGS'
59723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59732 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59734 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59735 for ac_func in _qfpclass
59736 do :
59737 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59738 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59739 cat >>confdefs.h <<_ACEOF
59740 #define HAVE__QFPCLASS 1
59741 _ACEOF
59744 done
59753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59754 $as_echo_n "checking for hypot declaration... " >&6; }
59755 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59756 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59757 $as_echo_n "(cached) " >&6
59758 else
59761 ac_ext=cpp
59762 ac_cpp='$CXXCPP $CPPFLAGS'
59763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59768 /* end confdefs.h. */
59769 #include <math.h>
59771 main ()
59773 hypot(0, 0);
59775 return 0;
59777 _ACEOF
59778 if ac_fn_cxx_try_compile "$LINENO"; then :
59779 glibcxx_cv_func_hypot_use=yes
59780 else
59781 glibcxx_cv_func_hypot_use=no
59783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59784 ac_ext=c
59785 ac_cpp='$CPP $CPPFLAGS'
59786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59795 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59797 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59798 for ac_func in hypot
59799 do :
59800 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59801 if test "x$ac_cv_func_hypot" = x""yes; then :
59802 cat >>confdefs.h <<_ACEOF
59803 #define HAVE_HYPOT 1
59804 _ACEOF
59807 done
59809 else
59811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59812 $as_echo_n "checking for _hypot declaration... " >&6; }
59813 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59814 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59815 $as_echo_n "(cached) " >&6
59816 else
59819 ac_ext=cpp
59820 ac_cpp='$CXXCPP $CPPFLAGS'
59821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59826 /* end confdefs.h. */
59827 #include <math.h>
59829 main ()
59831 _hypot(0, 0);
59833 return 0;
59835 _ACEOF
59836 if ac_fn_cxx_try_compile "$LINENO"; then :
59837 glibcxx_cv_func__hypot_use=yes
59838 else
59839 glibcxx_cv_func__hypot_use=no
59841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59842 ac_ext=c
59843 ac_cpp='$CPP $CPPFLAGS'
59844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59853 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59855 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59856 for ac_func in _hypot
59857 do :
59858 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59859 if test "x$ac_cv_func__hypot" = x""yes; then :
59860 cat >>confdefs.h <<_ACEOF
59861 #define HAVE__HYPOT 1
59862 _ACEOF
59865 done
59874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59875 $as_echo_n "checking for float trig functions... " >&6; }
59876 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59877 $as_echo_n "(cached) " >&6
59878 else
59881 ac_ext=cpp
59882 ac_cpp='$CXXCPP $CPPFLAGS'
59883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59888 /* end confdefs.h. */
59889 #include <math.h>
59891 main ()
59893 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59895 return 0;
59897 _ACEOF
59898 if ac_fn_cxx_try_compile "$LINENO"; then :
59899 glibcxx_cv_func_float_trig_use=yes
59900 else
59901 glibcxx_cv_func_float_trig_use=no
59903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59904 ac_ext=c
59905 ac_cpp='$CPP $CPPFLAGS'
59906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59913 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59914 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59915 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59916 do :
59917 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59918 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59919 eval as_val=\$$as_ac_var
59920 if test "x$as_val" = x""yes; then :
59921 cat >>confdefs.h <<_ACEOF
59922 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59923 _ACEOF
59926 done
59928 else
59929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59930 $as_echo_n "checking for _float trig functions... " >&6; }
59931 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59932 $as_echo_n "(cached) " >&6
59933 else
59936 ac_ext=cpp
59937 ac_cpp='$CXXCPP $CPPFLAGS'
59938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59943 /* end confdefs.h. */
59944 #include <math.h>
59946 main ()
59948 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59950 return 0;
59952 _ACEOF
59953 if ac_fn_cxx_try_compile "$LINENO"; then :
59954 glibcxx_cv_func__float_trig_use=yes
59955 else
59956 glibcxx_cv_func__float_trig_use=no
59958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59959 ac_ext=c
59960 ac_cpp='$CPP $CPPFLAGS'
59961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59968 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59969 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59970 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59971 do :
59972 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59973 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59974 eval as_val=\$$as_ac_var
59975 if test "x$as_val" = x""yes; then :
59976 cat >>confdefs.h <<_ACEOF
59977 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59978 _ACEOF
59981 done
59990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
59991 $as_echo_n "checking for float round functions... " >&6; }
59992 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59993 $as_echo_n "(cached) " >&6
59994 else
59997 ac_ext=cpp
59998 ac_cpp='$CXXCPP $CPPFLAGS'
59999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60004 /* end confdefs.h. */
60005 #include <math.h>
60007 main ()
60009 ceilf (0); floorf (0);
60011 return 0;
60013 _ACEOF
60014 if ac_fn_cxx_try_compile "$LINENO"; then :
60015 glibcxx_cv_func_float_round_use=yes
60016 else
60017 glibcxx_cv_func_float_round_use=no
60019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60020 ac_ext=c
60021 ac_cpp='$CPP $CPPFLAGS'
60022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60029 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60030 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60031 for ac_func in ceilf floorf
60032 do :
60033 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60034 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60035 eval as_val=\$$as_ac_var
60036 if test "x$as_val" = x""yes; then :
60037 cat >>confdefs.h <<_ACEOF
60038 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60039 _ACEOF
60042 done
60044 else
60045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60046 $as_echo_n "checking for _float round functions... " >&6; }
60047 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60048 $as_echo_n "(cached) " >&6
60049 else
60052 ac_ext=cpp
60053 ac_cpp='$CXXCPP $CPPFLAGS'
60054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60059 /* end confdefs.h. */
60060 #include <math.h>
60062 main ()
60064 _ceilf (0); _floorf (0);
60066 return 0;
60068 _ACEOF
60069 if ac_fn_cxx_try_compile "$LINENO"; then :
60070 glibcxx_cv_func__float_round_use=yes
60071 else
60072 glibcxx_cv_func__float_round_use=no
60074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60075 ac_ext=c
60076 ac_cpp='$CPP $CPPFLAGS'
60077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60084 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60085 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60086 for ac_func in _ceilf _floorf
60087 do :
60088 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60089 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60090 eval as_val=\$$as_ac_var
60091 if test "x$as_val" = x""yes; then :
60092 cat >>confdefs.h <<_ACEOF
60093 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60094 _ACEOF
60097 done
60107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60108 $as_echo_n "checking for expf declaration... " >&6; }
60109 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60110 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60111 $as_echo_n "(cached) " >&6
60112 else
60115 ac_ext=cpp
60116 ac_cpp='$CXXCPP $CPPFLAGS'
60117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60122 /* end confdefs.h. */
60123 #include <math.h>
60124 #ifdef HAVE_IEEEFP_H
60125 #include <ieeefp.h>
60126 #endif
60129 main ()
60131 expf(0);
60133 return 0;
60135 _ACEOF
60136 if ac_fn_cxx_try_compile "$LINENO"; then :
60137 glibcxx_cv_func_expf_use=yes
60138 else
60139 glibcxx_cv_func_expf_use=no
60141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60142 ac_ext=c
60143 ac_cpp='$CPP $CPPFLAGS'
60144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60153 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60155 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60156 for ac_func in expf
60157 do :
60158 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60159 if test "x$ac_cv_func_expf" = x""yes; then :
60160 cat >>confdefs.h <<_ACEOF
60161 #define HAVE_EXPF 1
60162 _ACEOF
60165 done
60167 else
60169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60170 $as_echo_n "checking for _expf declaration... " >&6; }
60171 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60172 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60173 $as_echo_n "(cached) " >&6
60174 else
60177 ac_ext=cpp
60178 ac_cpp='$CXXCPP $CPPFLAGS'
60179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60184 /* end confdefs.h. */
60185 #include <math.h>
60186 #ifdef HAVE_IEEEFP_H
60187 #include <ieeefp.h>
60188 #endif
60191 main ()
60193 _expf(0);
60195 return 0;
60197 _ACEOF
60198 if ac_fn_cxx_try_compile "$LINENO"; then :
60199 glibcxx_cv_func__expf_use=yes
60200 else
60201 glibcxx_cv_func__expf_use=no
60203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60204 ac_ext=c
60205 ac_cpp='$CPP $CPPFLAGS'
60206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60215 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60217 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60218 for ac_func in _expf
60219 do :
60220 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60221 if test "x$ac_cv_func__expf" = x""yes; then :
60222 cat >>confdefs.h <<_ACEOF
60223 #define HAVE__EXPF 1
60224 _ACEOF
60227 done
60236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60237 $as_echo_n "checking for isnanf declaration... " >&6; }
60238 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60239 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60240 $as_echo_n "(cached) " >&6
60241 else
60244 ac_ext=cpp
60245 ac_cpp='$CXXCPP $CPPFLAGS'
60246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60251 /* end confdefs.h. */
60252 #include <math.h>
60253 #ifdef HAVE_IEEEFP_H
60254 #include <ieeefp.h>
60255 #endif
60258 main ()
60260 isnanf(0);
60262 return 0;
60264 _ACEOF
60265 if ac_fn_cxx_try_compile "$LINENO"; then :
60266 glibcxx_cv_func_isnanf_use=yes
60267 else
60268 glibcxx_cv_func_isnanf_use=no
60270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60271 ac_ext=c
60272 ac_cpp='$CPP $CPPFLAGS'
60273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60282 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60284 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60285 for ac_func in isnanf
60286 do :
60287 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60288 if test "x$ac_cv_func_isnanf" = x""yes; then :
60289 cat >>confdefs.h <<_ACEOF
60290 #define HAVE_ISNANF 1
60291 _ACEOF
60294 done
60296 else
60298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60299 $as_echo_n "checking for _isnanf declaration... " >&6; }
60300 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60301 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60302 $as_echo_n "(cached) " >&6
60303 else
60306 ac_ext=cpp
60307 ac_cpp='$CXXCPP $CPPFLAGS'
60308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60313 /* end confdefs.h. */
60314 #include <math.h>
60315 #ifdef HAVE_IEEEFP_H
60316 #include <ieeefp.h>
60317 #endif
60320 main ()
60322 _isnanf(0);
60324 return 0;
60326 _ACEOF
60327 if ac_fn_cxx_try_compile "$LINENO"; then :
60328 glibcxx_cv_func__isnanf_use=yes
60329 else
60330 glibcxx_cv_func__isnanf_use=no
60332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60333 ac_ext=c
60334 ac_cpp='$CPP $CPPFLAGS'
60335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60344 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60346 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60347 for ac_func in _isnanf
60348 do :
60349 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60350 if test "x$ac_cv_func__isnanf" = x""yes; then :
60351 cat >>confdefs.h <<_ACEOF
60352 #define HAVE__ISNANF 1
60353 _ACEOF
60356 done
60365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60366 $as_echo_n "checking for isinff declaration... " >&6; }
60367 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60368 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60369 $as_echo_n "(cached) " >&6
60370 else
60373 ac_ext=cpp
60374 ac_cpp='$CXXCPP $CPPFLAGS'
60375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60380 /* end confdefs.h. */
60381 #include <math.h>
60382 #ifdef HAVE_IEEEFP_H
60383 #include <ieeefp.h>
60384 #endif
60387 main ()
60389 isinff(0);
60391 return 0;
60393 _ACEOF
60394 if ac_fn_cxx_try_compile "$LINENO"; then :
60395 glibcxx_cv_func_isinff_use=yes
60396 else
60397 glibcxx_cv_func_isinff_use=no
60399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60400 ac_ext=c
60401 ac_cpp='$CPP $CPPFLAGS'
60402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60411 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60413 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60414 for ac_func in isinff
60415 do :
60416 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60417 if test "x$ac_cv_func_isinff" = x""yes; then :
60418 cat >>confdefs.h <<_ACEOF
60419 #define HAVE_ISINFF 1
60420 _ACEOF
60423 done
60425 else
60427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60428 $as_echo_n "checking for _isinff declaration... " >&6; }
60429 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60430 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60431 $as_echo_n "(cached) " >&6
60432 else
60435 ac_ext=cpp
60436 ac_cpp='$CXXCPP $CPPFLAGS'
60437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60442 /* end confdefs.h. */
60443 #include <math.h>
60444 #ifdef HAVE_IEEEFP_H
60445 #include <ieeefp.h>
60446 #endif
60449 main ()
60451 _isinff(0);
60453 return 0;
60455 _ACEOF
60456 if ac_fn_cxx_try_compile "$LINENO"; then :
60457 glibcxx_cv_func__isinff_use=yes
60458 else
60459 glibcxx_cv_func__isinff_use=no
60461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60462 ac_ext=c
60463 ac_cpp='$CPP $CPPFLAGS'
60464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60473 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60475 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60476 for ac_func in _isinff
60477 do :
60478 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60479 if test "x$ac_cv_func__isinff" = x""yes; then :
60480 cat >>confdefs.h <<_ACEOF
60481 #define HAVE__ISINFF 1
60482 _ACEOF
60485 done
60494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60495 $as_echo_n "checking for atan2f declaration... " >&6; }
60496 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60497 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60498 $as_echo_n "(cached) " >&6
60499 else
60502 ac_ext=cpp
60503 ac_cpp='$CXXCPP $CPPFLAGS'
60504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60509 /* end confdefs.h. */
60510 #include <math.h>
60512 main ()
60514 atan2f(0, 0);
60516 return 0;
60518 _ACEOF
60519 if ac_fn_cxx_try_compile "$LINENO"; then :
60520 glibcxx_cv_func_atan2f_use=yes
60521 else
60522 glibcxx_cv_func_atan2f_use=no
60524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60525 ac_ext=c
60526 ac_cpp='$CPP $CPPFLAGS'
60527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60536 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60538 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60539 for ac_func in atan2f
60540 do :
60541 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60542 if test "x$ac_cv_func_atan2f" = x""yes; then :
60543 cat >>confdefs.h <<_ACEOF
60544 #define HAVE_ATAN2F 1
60545 _ACEOF
60548 done
60550 else
60552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60553 $as_echo_n "checking for _atan2f declaration... " >&6; }
60554 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60555 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60556 $as_echo_n "(cached) " >&6
60557 else
60560 ac_ext=cpp
60561 ac_cpp='$CXXCPP $CPPFLAGS'
60562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60567 /* end confdefs.h. */
60568 #include <math.h>
60570 main ()
60572 _atan2f(0, 0);
60574 return 0;
60576 _ACEOF
60577 if ac_fn_cxx_try_compile "$LINENO"; then :
60578 glibcxx_cv_func__atan2f_use=yes
60579 else
60580 glibcxx_cv_func__atan2f_use=no
60582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60583 ac_ext=c
60584 ac_cpp='$CPP $CPPFLAGS'
60585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60594 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60596 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60597 for ac_func in _atan2f
60598 do :
60599 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60600 if test "x$ac_cv_func__atan2f" = x""yes; then :
60601 cat >>confdefs.h <<_ACEOF
60602 #define HAVE__ATAN2F 1
60603 _ACEOF
60606 done
60615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60616 $as_echo_n "checking for fabsf declaration... " >&6; }
60617 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60618 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60619 $as_echo_n "(cached) " >&6
60620 else
60623 ac_ext=cpp
60624 ac_cpp='$CXXCPP $CPPFLAGS'
60625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60630 /* end confdefs.h. */
60631 #include <math.h>
60632 #ifdef HAVE_IEEEFP_H
60633 #include <ieeefp.h>
60634 #endif
60637 main ()
60639 fabsf(0);
60641 return 0;
60643 _ACEOF
60644 if ac_fn_cxx_try_compile "$LINENO"; then :
60645 glibcxx_cv_func_fabsf_use=yes
60646 else
60647 glibcxx_cv_func_fabsf_use=no
60649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60650 ac_ext=c
60651 ac_cpp='$CPP $CPPFLAGS'
60652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60661 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60663 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60664 for ac_func in fabsf
60665 do :
60666 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60667 if test "x$ac_cv_func_fabsf" = x""yes; then :
60668 cat >>confdefs.h <<_ACEOF
60669 #define HAVE_FABSF 1
60670 _ACEOF
60673 done
60675 else
60677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60678 $as_echo_n "checking for _fabsf declaration... " >&6; }
60679 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60680 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60681 $as_echo_n "(cached) " >&6
60682 else
60685 ac_ext=cpp
60686 ac_cpp='$CXXCPP $CPPFLAGS'
60687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60692 /* end confdefs.h. */
60693 #include <math.h>
60694 #ifdef HAVE_IEEEFP_H
60695 #include <ieeefp.h>
60696 #endif
60699 main ()
60701 _fabsf(0);
60703 return 0;
60705 _ACEOF
60706 if ac_fn_cxx_try_compile "$LINENO"; then :
60707 glibcxx_cv_func__fabsf_use=yes
60708 else
60709 glibcxx_cv_func__fabsf_use=no
60711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60712 ac_ext=c
60713 ac_cpp='$CPP $CPPFLAGS'
60714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60723 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60725 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60726 for ac_func in _fabsf
60727 do :
60728 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60729 if test "x$ac_cv_func__fabsf" = x""yes; then :
60730 cat >>confdefs.h <<_ACEOF
60731 #define HAVE__FABSF 1
60732 _ACEOF
60735 done
60744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60745 $as_echo_n "checking for fmodf declaration... " >&6; }
60746 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60747 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60748 $as_echo_n "(cached) " >&6
60749 else
60752 ac_ext=cpp
60753 ac_cpp='$CXXCPP $CPPFLAGS'
60754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60759 /* end confdefs.h. */
60760 #include <math.h>
60762 main ()
60764 fmodf(0, 0);
60766 return 0;
60768 _ACEOF
60769 if ac_fn_cxx_try_compile "$LINENO"; then :
60770 glibcxx_cv_func_fmodf_use=yes
60771 else
60772 glibcxx_cv_func_fmodf_use=no
60774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60775 ac_ext=c
60776 ac_cpp='$CPP $CPPFLAGS'
60777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60786 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60788 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60789 for ac_func in fmodf
60790 do :
60791 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60792 if test "x$ac_cv_func_fmodf" = x""yes; then :
60793 cat >>confdefs.h <<_ACEOF
60794 #define HAVE_FMODF 1
60795 _ACEOF
60798 done
60800 else
60802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60803 $as_echo_n "checking for _fmodf declaration... " >&6; }
60804 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60805 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60806 $as_echo_n "(cached) " >&6
60807 else
60810 ac_ext=cpp
60811 ac_cpp='$CXXCPP $CPPFLAGS'
60812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60817 /* end confdefs.h. */
60818 #include <math.h>
60820 main ()
60822 _fmodf(0, 0);
60824 return 0;
60826 _ACEOF
60827 if ac_fn_cxx_try_compile "$LINENO"; then :
60828 glibcxx_cv_func__fmodf_use=yes
60829 else
60830 glibcxx_cv_func__fmodf_use=no
60832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60833 ac_ext=c
60834 ac_cpp='$CPP $CPPFLAGS'
60835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60844 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60846 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60847 for ac_func in _fmodf
60848 do :
60849 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60850 if test "x$ac_cv_func__fmodf" = x""yes; then :
60851 cat >>confdefs.h <<_ACEOF
60852 #define HAVE__FMODF 1
60853 _ACEOF
60856 done
60865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60866 $as_echo_n "checking for frexpf declaration... " >&6; }
60867 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60868 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60869 $as_echo_n "(cached) " >&6
60870 else
60873 ac_ext=cpp
60874 ac_cpp='$CXXCPP $CPPFLAGS'
60875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60880 /* end confdefs.h. */
60881 #include <math.h>
60883 main ()
60885 frexpf(0, 0);
60887 return 0;
60889 _ACEOF
60890 if ac_fn_cxx_try_compile "$LINENO"; then :
60891 glibcxx_cv_func_frexpf_use=yes
60892 else
60893 glibcxx_cv_func_frexpf_use=no
60895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60896 ac_ext=c
60897 ac_cpp='$CPP $CPPFLAGS'
60898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60907 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60909 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60910 for ac_func in frexpf
60911 do :
60912 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60913 if test "x$ac_cv_func_frexpf" = x""yes; then :
60914 cat >>confdefs.h <<_ACEOF
60915 #define HAVE_FREXPF 1
60916 _ACEOF
60919 done
60921 else
60923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60924 $as_echo_n "checking for _frexpf declaration... " >&6; }
60925 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60926 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60927 $as_echo_n "(cached) " >&6
60928 else
60931 ac_ext=cpp
60932 ac_cpp='$CXXCPP $CPPFLAGS'
60933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60938 /* end confdefs.h. */
60939 #include <math.h>
60941 main ()
60943 _frexpf(0, 0);
60945 return 0;
60947 _ACEOF
60948 if ac_fn_cxx_try_compile "$LINENO"; then :
60949 glibcxx_cv_func__frexpf_use=yes
60950 else
60951 glibcxx_cv_func__frexpf_use=no
60953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60954 ac_ext=c
60955 ac_cpp='$CPP $CPPFLAGS'
60956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60965 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60967 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60968 for ac_func in _frexpf
60969 do :
60970 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60971 if test "x$ac_cv_func__frexpf" = x""yes; then :
60972 cat >>confdefs.h <<_ACEOF
60973 #define HAVE__FREXPF 1
60974 _ACEOF
60977 done
60986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
60987 $as_echo_n "checking for hypotf declaration... " >&6; }
60988 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60989 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
60990 $as_echo_n "(cached) " >&6
60991 else
60994 ac_ext=cpp
60995 ac_cpp='$CXXCPP $CPPFLAGS'
60996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61001 /* end confdefs.h. */
61002 #include <math.h>
61004 main ()
61006 hypotf(0, 0);
61008 return 0;
61010 _ACEOF
61011 if ac_fn_cxx_try_compile "$LINENO"; then :
61012 glibcxx_cv_func_hypotf_use=yes
61013 else
61014 glibcxx_cv_func_hypotf_use=no
61016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61017 ac_ext=c
61018 ac_cpp='$CPP $CPPFLAGS'
61019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61028 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61030 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61031 for ac_func in hypotf
61032 do :
61033 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61034 if test "x$ac_cv_func_hypotf" = x""yes; then :
61035 cat >>confdefs.h <<_ACEOF
61036 #define HAVE_HYPOTF 1
61037 _ACEOF
61040 done
61042 else
61044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61045 $as_echo_n "checking for _hypotf declaration... " >&6; }
61046 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61047 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61048 $as_echo_n "(cached) " >&6
61049 else
61052 ac_ext=cpp
61053 ac_cpp='$CXXCPP $CPPFLAGS'
61054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61059 /* end confdefs.h. */
61060 #include <math.h>
61062 main ()
61064 _hypotf(0, 0);
61066 return 0;
61068 _ACEOF
61069 if ac_fn_cxx_try_compile "$LINENO"; then :
61070 glibcxx_cv_func__hypotf_use=yes
61071 else
61072 glibcxx_cv_func__hypotf_use=no
61074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61075 ac_ext=c
61076 ac_cpp='$CPP $CPPFLAGS'
61077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61086 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61088 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61089 for ac_func in _hypotf
61090 do :
61091 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61092 if test "x$ac_cv_func__hypotf" = x""yes; then :
61093 cat >>confdefs.h <<_ACEOF
61094 #define HAVE__HYPOTF 1
61095 _ACEOF
61098 done
61107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61108 $as_echo_n "checking for ldexpf declaration... " >&6; }
61109 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61110 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61111 $as_echo_n "(cached) " >&6
61112 else
61115 ac_ext=cpp
61116 ac_cpp='$CXXCPP $CPPFLAGS'
61117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61122 /* end confdefs.h. */
61123 #include <math.h>
61125 main ()
61127 ldexpf(0, 0);
61129 return 0;
61131 _ACEOF
61132 if ac_fn_cxx_try_compile "$LINENO"; then :
61133 glibcxx_cv_func_ldexpf_use=yes
61134 else
61135 glibcxx_cv_func_ldexpf_use=no
61137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61138 ac_ext=c
61139 ac_cpp='$CPP $CPPFLAGS'
61140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61149 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61151 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61152 for ac_func in ldexpf
61153 do :
61154 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61155 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61156 cat >>confdefs.h <<_ACEOF
61157 #define HAVE_LDEXPF 1
61158 _ACEOF
61161 done
61163 else
61165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61166 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61167 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61168 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61169 $as_echo_n "(cached) " >&6
61170 else
61173 ac_ext=cpp
61174 ac_cpp='$CXXCPP $CPPFLAGS'
61175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61180 /* end confdefs.h. */
61181 #include <math.h>
61183 main ()
61185 _ldexpf(0, 0);
61187 return 0;
61189 _ACEOF
61190 if ac_fn_cxx_try_compile "$LINENO"; then :
61191 glibcxx_cv_func__ldexpf_use=yes
61192 else
61193 glibcxx_cv_func__ldexpf_use=no
61195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61196 ac_ext=c
61197 ac_cpp='$CPP $CPPFLAGS'
61198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61207 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61209 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61210 for ac_func in _ldexpf
61211 do :
61212 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61213 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61214 cat >>confdefs.h <<_ACEOF
61215 #define HAVE__LDEXPF 1
61216 _ACEOF
61219 done
61228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61229 $as_echo_n "checking for logf declaration... " >&6; }
61230 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61231 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61232 $as_echo_n "(cached) " >&6
61233 else
61236 ac_ext=cpp
61237 ac_cpp='$CXXCPP $CPPFLAGS'
61238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61243 /* end confdefs.h. */
61244 #include <math.h>
61245 #ifdef HAVE_IEEEFP_H
61246 #include <ieeefp.h>
61247 #endif
61250 main ()
61252 logf(0);
61254 return 0;
61256 _ACEOF
61257 if ac_fn_cxx_try_compile "$LINENO"; then :
61258 glibcxx_cv_func_logf_use=yes
61259 else
61260 glibcxx_cv_func_logf_use=no
61262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61263 ac_ext=c
61264 ac_cpp='$CPP $CPPFLAGS'
61265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61274 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61276 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61277 for ac_func in logf
61278 do :
61279 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61280 if test "x$ac_cv_func_logf" = x""yes; then :
61281 cat >>confdefs.h <<_ACEOF
61282 #define HAVE_LOGF 1
61283 _ACEOF
61286 done
61288 else
61290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61291 $as_echo_n "checking for _logf declaration... " >&6; }
61292 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61293 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61294 $as_echo_n "(cached) " >&6
61295 else
61298 ac_ext=cpp
61299 ac_cpp='$CXXCPP $CPPFLAGS'
61300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61305 /* end confdefs.h. */
61306 #include <math.h>
61307 #ifdef HAVE_IEEEFP_H
61308 #include <ieeefp.h>
61309 #endif
61312 main ()
61314 _logf(0);
61316 return 0;
61318 _ACEOF
61319 if ac_fn_cxx_try_compile "$LINENO"; then :
61320 glibcxx_cv_func__logf_use=yes
61321 else
61322 glibcxx_cv_func__logf_use=no
61324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61325 ac_ext=c
61326 ac_cpp='$CPP $CPPFLAGS'
61327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61336 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61338 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61339 for ac_func in _logf
61340 do :
61341 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61342 if test "x$ac_cv_func__logf" = x""yes; then :
61343 cat >>confdefs.h <<_ACEOF
61344 #define HAVE__LOGF 1
61345 _ACEOF
61348 done
61357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61358 $as_echo_n "checking for log10f declaration... " >&6; }
61359 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61360 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61361 $as_echo_n "(cached) " >&6
61362 else
61365 ac_ext=cpp
61366 ac_cpp='$CXXCPP $CPPFLAGS'
61367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61372 /* end confdefs.h. */
61373 #include <math.h>
61374 #ifdef HAVE_IEEEFP_H
61375 #include <ieeefp.h>
61376 #endif
61379 main ()
61381 log10f(0);
61383 return 0;
61385 _ACEOF
61386 if ac_fn_cxx_try_compile "$LINENO"; then :
61387 glibcxx_cv_func_log10f_use=yes
61388 else
61389 glibcxx_cv_func_log10f_use=no
61391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61392 ac_ext=c
61393 ac_cpp='$CPP $CPPFLAGS'
61394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61403 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61405 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61406 for ac_func in log10f
61407 do :
61408 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61409 if test "x$ac_cv_func_log10f" = x""yes; then :
61410 cat >>confdefs.h <<_ACEOF
61411 #define HAVE_LOG10F 1
61412 _ACEOF
61415 done
61417 else
61419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61420 $as_echo_n "checking for _log10f declaration... " >&6; }
61421 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61422 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61423 $as_echo_n "(cached) " >&6
61424 else
61427 ac_ext=cpp
61428 ac_cpp='$CXXCPP $CPPFLAGS'
61429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61434 /* end confdefs.h. */
61435 #include <math.h>
61436 #ifdef HAVE_IEEEFP_H
61437 #include <ieeefp.h>
61438 #endif
61441 main ()
61443 _log10f(0);
61445 return 0;
61447 _ACEOF
61448 if ac_fn_cxx_try_compile "$LINENO"; then :
61449 glibcxx_cv_func__log10f_use=yes
61450 else
61451 glibcxx_cv_func__log10f_use=no
61453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61454 ac_ext=c
61455 ac_cpp='$CPP $CPPFLAGS'
61456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61465 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61467 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61468 for ac_func in _log10f
61469 do :
61470 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61471 if test "x$ac_cv_func__log10f" = x""yes; then :
61472 cat >>confdefs.h <<_ACEOF
61473 #define HAVE__LOG10F 1
61474 _ACEOF
61477 done
61486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61487 $as_echo_n "checking for modff declaration... " >&6; }
61488 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61489 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61490 $as_echo_n "(cached) " >&6
61491 else
61494 ac_ext=cpp
61495 ac_cpp='$CXXCPP $CPPFLAGS'
61496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61501 /* end confdefs.h. */
61502 #include <math.h>
61504 main ()
61506 modff(0, 0);
61508 return 0;
61510 _ACEOF
61511 if ac_fn_cxx_try_compile "$LINENO"; then :
61512 glibcxx_cv_func_modff_use=yes
61513 else
61514 glibcxx_cv_func_modff_use=no
61516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61517 ac_ext=c
61518 ac_cpp='$CPP $CPPFLAGS'
61519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61528 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61530 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61531 for ac_func in modff
61532 do :
61533 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61534 if test "x$ac_cv_func_modff" = x""yes; then :
61535 cat >>confdefs.h <<_ACEOF
61536 #define HAVE_MODFF 1
61537 _ACEOF
61540 done
61542 else
61544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61545 $as_echo_n "checking for _modff declaration... " >&6; }
61546 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61547 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61548 $as_echo_n "(cached) " >&6
61549 else
61552 ac_ext=cpp
61553 ac_cpp='$CXXCPP $CPPFLAGS'
61554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61559 /* end confdefs.h. */
61560 #include <math.h>
61562 main ()
61564 _modff(0, 0);
61566 return 0;
61568 _ACEOF
61569 if ac_fn_cxx_try_compile "$LINENO"; then :
61570 glibcxx_cv_func__modff_use=yes
61571 else
61572 glibcxx_cv_func__modff_use=no
61574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61575 ac_ext=c
61576 ac_cpp='$CPP $CPPFLAGS'
61577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61586 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61588 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61589 for ac_func in _modff
61590 do :
61591 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61592 if test "x$ac_cv_func__modff" = x""yes; then :
61593 cat >>confdefs.h <<_ACEOF
61594 #define HAVE__MODFF 1
61595 _ACEOF
61598 done
61607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61608 $as_echo_n "checking for modf declaration... " >&6; }
61609 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61610 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61611 $as_echo_n "(cached) " >&6
61612 else
61615 ac_ext=cpp
61616 ac_cpp='$CXXCPP $CPPFLAGS'
61617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61622 /* end confdefs.h. */
61623 #include <math.h>
61625 main ()
61627 modf(0, 0);
61629 return 0;
61631 _ACEOF
61632 if ac_fn_cxx_try_compile "$LINENO"; then :
61633 glibcxx_cv_func_modf_use=yes
61634 else
61635 glibcxx_cv_func_modf_use=no
61637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61638 ac_ext=c
61639 ac_cpp='$CPP $CPPFLAGS'
61640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61649 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61651 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61652 for ac_func in modf
61653 do :
61654 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61655 if test "x$ac_cv_func_modf" = x""yes; then :
61656 cat >>confdefs.h <<_ACEOF
61657 #define HAVE_MODF 1
61658 _ACEOF
61661 done
61663 else
61665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61666 $as_echo_n "checking for _modf declaration... " >&6; }
61667 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61668 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61669 $as_echo_n "(cached) " >&6
61670 else
61673 ac_ext=cpp
61674 ac_cpp='$CXXCPP $CPPFLAGS'
61675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61680 /* end confdefs.h. */
61681 #include <math.h>
61683 main ()
61685 _modf(0, 0);
61687 return 0;
61689 _ACEOF
61690 if ac_fn_cxx_try_compile "$LINENO"; then :
61691 glibcxx_cv_func__modf_use=yes
61692 else
61693 glibcxx_cv_func__modf_use=no
61695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61696 ac_ext=c
61697 ac_cpp='$CPP $CPPFLAGS'
61698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61707 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61709 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61710 for ac_func in _modf
61711 do :
61712 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61713 if test "x$ac_cv_func__modf" = x""yes; then :
61714 cat >>confdefs.h <<_ACEOF
61715 #define HAVE__MODF 1
61716 _ACEOF
61719 done
61728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61729 $as_echo_n "checking for powf declaration... " >&6; }
61730 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61731 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61732 $as_echo_n "(cached) " >&6
61733 else
61736 ac_ext=cpp
61737 ac_cpp='$CXXCPP $CPPFLAGS'
61738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61743 /* end confdefs.h. */
61744 #include <math.h>
61746 main ()
61748 powf(0, 0);
61750 return 0;
61752 _ACEOF
61753 if ac_fn_cxx_try_compile "$LINENO"; then :
61754 glibcxx_cv_func_powf_use=yes
61755 else
61756 glibcxx_cv_func_powf_use=no
61758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61759 ac_ext=c
61760 ac_cpp='$CPP $CPPFLAGS'
61761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61770 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61772 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61773 for ac_func in powf
61774 do :
61775 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61776 if test "x$ac_cv_func_powf" = x""yes; then :
61777 cat >>confdefs.h <<_ACEOF
61778 #define HAVE_POWF 1
61779 _ACEOF
61782 done
61784 else
61786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61787 $as_echo_n "checking for _powf declaration... " >&6; }
61788 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61789 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61790 $as_echo_n "(cached) " >&6
61791 else
61794 ac_ext=cpp
61795 ac_cpp='$CXXCPP $CPPFLAGS'
61796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61801 /* end confdefs.h. */
61802 #include <math.h>
61804 main ()
61806 _powf(0, 0);
61808 return 0;
61810 _ACEOF
61811 if ac_fn_cxx_try_compile "$LINENO"; then :
61812 glibcxx_cv_func__powf_use=yes
61813 else
61814 glibcxx_cv_func__powf_use=no
61816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61817 ac_ext=c
61818 ac_cpp='$CPP $CPPFLAGS'
61819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61828 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61830 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61831 for ac_func in _powf
61832 do :
61833 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61834 if test "x$ac_cv_func__powf" = x""yes; then :
61835 cat >>confdefs.h <<_ACEOF
61836 #define HAVE__POWF 1
61837 _ACEOF
61840 done
61849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61850 $as_echo_n "checking for sqrtf declaration... " >&6; }
61851 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61852 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61853 $as_echo_n "(cached) " >&6
61854 else
61857 ac_ext=cpp
61858 ac_cpp='$CXXCPP $CPPFLAGS'
61859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61864 /* end confdefs.h. */
61865 #include <math.h>
61866 #ifdef HAVE_IEEEFP_H
61867 #include <ieeefp.h>
61868 #endif
61871 main ()
61873 sqrtf(0);
61875 return 0;
61877 _ACEOF
61878 if ac_fn_cxx_try_compile "$LINENO"; then :
61879 glibcxx_cv_func_sqrtf_use=yes
61880 else
61881 glibcxx_cv_func_sqrtf_use=no
61883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61884 ac_ext=c
61885 ac_cpp='$CPP $CPPFLAGS'
61886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61895 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61897 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61898 for ac_func in sqrtf
61899 do :
61900 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61901 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61902 cat >>confdefs.h <<_ACEOF
61903 #define HAVE_SQRTF 1
61904 _ACEOF
61907 done
61909 else
61911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61912 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61913 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61914 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61915 $as_echo_n "(cached) " >&6
61916 else
61919 ac_ext=cpp
61920 ac_cpp='$CXXCPP $CPPFLAGS'
61921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61926 /* end confdefs.h. */
61927 #include <math.h>
61928 #ifdef HAVE_IEEEFP_H
61929 #include <ieeefp.h>
61930 #endif
61933 main ()
61935 _sqrtf(0);
61937 return 0;
61939 _ACEOF
61940 if ac_fn_cxx_try_compile "$LINENO"; then :
61941 glibcxx_cv_func__sqrtf_use=yes
61942 else
61943 glibcxx_cv_func__sqrtf_use=no
61945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61946 ac_ext=c
61947 ac_cpp='$CPP $CPPFLAGS'
61948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61957 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61959 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61960 for ac_func in _sqrtf
61961 do :
61962 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61963 if test "x$ac_cv_func__sqrtf" = x""yes; then :
61964 cat >>confdefs.h <<_ACEOF
61965 #define HAVE__SQRTF 1
61966 _ACEOF
61969 done
61978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
61979 $as_echo_n "checking for sincosf declaration... " >&6; }
61980 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61981 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
61982 $as_echo_n "(cached) " >&6
61983 else
61986 ac_ext=cpp
61987 ac_cpp='$CXXCPP $CPPFLAGS'
61988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61993 /* end confdefs.h. */
61994 #include <math.h>
61996 main ()
61998 sincosf(0, 0, 0);
62000 return 0;
62002 _ACEOF
62003 if ac_fn_cxx_try_compile "$LINENO"; then :
62004 glibcxx_cv_func_sincosf_use=yes
62005 else
62006 glibcxx_cv_func_sincosf_use=no
62008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62009 ac_ext=c
62010 ac_cpp='$CPP $CPPFLAGS'
62011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62020 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62022 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62023 for ac_func in sincosf
62024 do :
62025 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62026 if test "x$ac_cv_func_sincosf" = x""yes; then :
62027 cat >>confdefs.h <<_ACEOF
62028 #define HAVE_SINCOSF 1
62029 _ACEOF
62032 done
62034 else
62036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62037 $as_echo_n "checking for _sincosf declaration... " >&6; }
62038 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62039 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62040 $as_echo_n "(cached) " >&6
62041 else
62044 ac_ext=cpp
62045 ac_cpp='$CXXCPP $CPPFLAGS'
62046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62051 /* end confdefs.h. */
62052 #include <math.h>
62054 main ()
62056 _sincosf(0, 0, 0);
62058 return 0;
62060 _ACEOF
62061 if ac_fn_cxx_try_compile "$LINENO"; then :
62062 glibcxx_cv_func__sincosf_use=yes
62063 else
62064 glibcxx_cv_func__sincosf_use=no
62066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62067 ac_ext=c
62068 ac_cpp='$CPP $CPPFLAGS'
62069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62078 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62080 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62081 for ac_func in _sincosf
62082 do :
62083 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62084 if test "x$ac_cv_func__sincosf" = x""yes; then :
62085 cat >>confdefs.h <<_ACEOF
62086 #define HAVE__SINCOSF 1
62087 _ACEOF
62090 done
62099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62100 $as_echo_n "checking for finitef declaration... " >&6; }
62101 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62102 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62103 $as_echo_n "(cached) " >&6
62104 else
62107 ac_ext=cpp
62108 ac_cpp='$CXXCPP $CPPFLAGS'
62109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62114 /* end confdefs.h. */
62115 #include <math.h>
62116 #ifdef HAVE_IEEEFP_H
62117 #include <ieeefp.h>
62118 #endif
62121 main ()
62123 finitef(0);
62125 return 0;
62127 _ACEOF
62128 if ac_fn_cxx_try_compile "$LINENO"; then :
62129 glibcxx_cv_func_finitef_use=yes
62130 else
62131 glibcxx_cv_func_finitef_use=no
62133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62134 ac_ext=c
62135 ac_cpp='$CPP $CPPFLAGS'
62136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62145 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62147 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62148 for ac_func in finitef
62149 do :
62150 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62151 if test "x$ac_cv_func_finitef" = x""yes; then :
62152 cat >>confdefs.h <<_ACEOF
62153 #define HAVE_FINITEF 1
62154 _ACEOF
62157 done
62159 else
62161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62162 $as_echo_n "checking for _finitef declaration... " >&6; }
62163 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62164 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62165 $as_echo_n "(cached) " >&6
62166 else
62169 ac_ext=cpp
62170 ac_cpp='$CXXCPP $CPPFLAGS'
62171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62176 /* end confdefs.h. */
62177 #include <math.h>
62178 #ifdef HAVE_IEEEFP_H
62179 #include <ieeefp.h>
62180 #endif
62183 main ()
62185 _finitef(0);
62187 return 0;
62189 _ACEOF
62190 if ac_fn_cxx_try_compile "$LINENO"; then :
62191 glibcxx_cv_func__finitef_use=yes
62192 else
62193 glibcxx_cv_func__finitef_use=no
62195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62196 ac_ext=c
62197 ac_cpp='$CPP $CPPFLAGS'
62198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62207 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62209 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62210 for ac_func in _finitef
62211 do :
62212 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62213 if test "x$ac_cv_func__finitef" = x""yes; then :
62214 cat >>confdefs.h <<_ACEOF
62215 #define HAVE__FINITEF 1
62216 _ACEOF
62219 done
62228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62229 $as_echo_n "checking for long double trig functions... " >&6; }
62230 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62231 $as_echo_n "(cached) " >&6
62232 else
62235 ac_ext=cpp
62236 ac_cpp='$CXXCPP $CPPFLAGS'
62237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62242 /* end confdefs.h. */
62243 #include <math.h>
62245 main ()
62247 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62249 return 0;
62251 _ACEOF
62252 if ac_fn_cxx_try_compile "$LINENO"; then :
62253 glibcxx_cv_func_long_double_trig_use=yes
62254 else
62255 glibcxx_cv_func_long_double_trig_use=no
62257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62258 ac_ext=c
62259 ac_cpp='$CPP $CPPFLAGS'
62260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62267 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62268 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62269 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62270 do :
62271 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62272 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62273 eval as_val=\$$as_ac_var
62274 if test "x$as_val" = x""yes; then :
62275 cat >>confdefs.h <<_ACEOF
62276 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62277 _ACEOF
62280 done
62282 else
62283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62284 $as_echo_n "checking for _long double trig functions... " >&6; }
62285 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62286 $as_echo_n "(cached) " >&6
62287 else
62290 ac_ext=cpp
62291 ac_cpp='$CXXCPP $CPPFLAGS'
62292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62297 /* end confdefs.h. */
62298 #include <math.h>
62300 main ()
62302 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62304 return 0;
62306 _ACEOF
62307 if ac_fn_cxx_try_compile "$LINENO"; then :
62308 glibcxx_cv_func__long_double_trig_use=yes
62309 else
62310 glibcxx_cv_func__long_double_trig_use=no
62312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62313 ac_ext=c
62314 ac_cpp='$CPP $CPPFLAGS'
62315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62322 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62323 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62324 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62325 do :
62326 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62327 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62328 eval as_val=\$$as_ac_var
62329 if test "x$as_val" = x""yes; then :
62330 cat >>confdefs.h <<_ACEOF
62331 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62332 _ACEOF
62335 done
62344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62345 $as_echo_n "checking for long double round functions... " >&6; }
62346 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62347 $as_echo_n "(cached) " >&6
62348 else
62351 ac_ext=cpp
62352 ac_cpp='$CXXCPP $CPPFLAGS'
62353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62358 /* end confdefs.h. */
62359 #include <math.h>
62361 main ()
62363 ceill (0); floorl (0);
62365 return 0;
62367 _ACEOF
62368 if ac_fn_cxx_try_compile "$LINENO"; then :
62369 glibcxx_cv_func_long_double_round_use=yes
62370 else
62371 glibcxx_cv_func_long_double_round_use=no
62373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62374 ac_ext=c
62375 ac_cpp='$CPP $CPPFLAGS'
62376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62383 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62384 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62385 for ac_func in ceill floorl
62386 do :
62387 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62388 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62389 eval as_val=\$$as_ac_var
62390 if test "x$as_val" = x""yes; then :
62391 cat >>confdefs.h <<_ACEOF
62392 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62393 _ACEOF
62396 done
62398 else
62399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62400 $as_echo_n "checking for _long double round functions... " >&6; }
62401 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62402 $as_echo_n "(cached) " >&6
62403 else
62406 ac_ext=cpp
62407 ac_cpp='$CXXCPP $CPPFLAGS'
62408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62413 /* end confdefs.h. */
62414 #include <math.h>
62416 main ()
62418 _ceill (0); _floorl (0);
62420 return 0;
62422 _ACEOF
62423 if ac_fn_cxx_try_compile "$LINENO"; then :
62424 glibcxx_cv_func__long_double_round_use=yes
62425 else
62426 glibcxx_cv_func__long_double_round_use=no
62428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62429 ac_ext=c
62430 ac_cpp='$CPP $CPPFLAGS'
62431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62438 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62439 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62440 for ac_func in _ceill _floorl
62441 do :
62442 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62443 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62444 eval as_val=\$$as_ac_var
62445 if test "x$as_val" = x""yes; then :
62446 cat >>confdefs.h <<_ACEOF
62447 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62448 _ACEOF
62451 done
62461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62462 $as_echo_n "checking for isnanl declaration... " >&6; }
62463 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62464 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62465 $as_echo_n "(cached) " >&6
62466 else
62469 ac_ext=cpp
62470 ac_cpp='$CXXCPP $CPPFLAGS'
62471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62476 /* end confdefs.h. */
62477 #include <math.h>
62478 #ifdef HAVE_IEEEFP_H
62479 #include <ieeefp.h>
62480 #endif
62483 main ()
62485 isnanl(0);
62487 return 0;
62489 _ACEOF
62490 if ac_fn_cxx_try_compile "$LINENO"; then :
62491 glibcxx_cv_func_isnanl_use=yes
62492 else
62493 glibcxx_cv_func_isnanl_use=no
62495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62496 ac_ext=c
62497 ac_cpp='$CPP $CPPFLAGS'
62498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62507 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62509 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62510 for ac_func in isnanl
62511 do :
62512 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62513 if test "x$ac_cv_func_isnanl" = x""yes; then :
62514 cat >>confdefs.h <<_ACEOF
62515 #define HAVE_ISNANL 1
62516 _ACEOF
62519 done
62521 else
62523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62524 $as_echo_n "checking for _isnanl declaration... " >&6; }
62525 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62526 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62527 $as_echo_n "(cached) " >&6
62528 else
62531 ac_ext=cpp
62532 ac_cpp='$CXXCPP $CPPFLAGS'
62533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62538 /* end confdefs.h. */
62539 #include <math.h>
62540 #ifdef HAVE_IEEEFP_H
62541 #include <ieeefp.h>
62542 #endif
62545 main ()
62547 _isnanl(0);
62549 return 0;
62551 _ACEOF
62552 if ac_fn_cxx_try_compile "$LINENO"; then :
62553 glibcxx_cv_func__isnanl_use=yes
62554 else
62555 glibcxx_cv_func__isnanl_use=no
62557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62558 ac_ext=c
62559 ac_cpp='$CPP $CPPFLAGS'
62560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62569 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62571 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62572 for ac_func in _isnanl
62573 do :
62574 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62575 if test "x$ac_cv_func__isnanl" = x""yes; then :
62576 cat >>confdefs.h <<_ACEOF
62577 #define HAVE__ISNANL 1
62578 _ACEOF
62581 done
62590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62591 $as_echo_n "checking for isinfl declaration... " >&6; }
62592 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62593 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62594 $as_echo_n "(cached) " >&6
62595 else
62598 ac_ext=cpp
62599 ac_cpp='$CXXCPP $CPPFLAGS'
62600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62605 /* end confdefs.h. */
62606 #include <math.h>
62607 #ifdef HAVE_IEEEFP_H
62608 #include <ieeefp.h>
62609 #endif
62612 main ()
62614 isinfl(0);
62616 return 0;
62618 _ACEOF
62619 if ac_fn_cxx_try_compile "$LINENO"; then :
62620 glibcxx_cv_func_isinfl_use=yes
62621 else
62622 glibcxx_cv_func_isinfl_use=no
62624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62625 ac_ext=c
62626 ac_cpp='$CPP $CPPFLAGS'
62627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62636 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62638 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62639 for ac_func in isinfl
62640 do :
62641 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62642 if test "x$ac_cv_func_isinfl" = x""yes; then :
62643 cat >>confdefs.h <<_ACEOF
62644 #define HAVE_ISINFL 1
62645 _ACEOF
62648 done
62650 else
62652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62653 $as_echo_n "checking for _isinfl declaration... " >&6; }
62654 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62655 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62656 $as_echo_n "(cached) " >&6
62657 else
62660 ac_ext=cpp
62661 ac_cpp='$CXXCPP $CPPFLAGS'
62662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62667 /* end confdefs.h. */
62668 #include <math.h>
62669 #ifdef HAVE_IEEEFP_H
62670 #include <ieeefp.h>
62671 #endif
62674 main ()
62676 _isinfl(0);
62678 return 0;
62680 _ACEOF
62681 if ac_fn_cxx_try_compile "$LINENO"; then :
62682 glibcxx_cv_func__isinfl_use=yes
62683 else
62684 glibcxx_cv_func__isinfl_use=no
62686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62687 ac_ext=c
62688 ac_cpp='$CPP $CPPFLAGS'
62689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62698 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62700 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62701 for ac_func in _isinfl
62702 do :
62703 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62704 if test "x$ac_cv_func__isinfl" = x""yes; then :
62705 cat >>confdefs.h <<_ACEOF
62706 #define HAVE__ISINFL 1
62707 _ACEOF
62710 done
62719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62720 $as_echo_n "checking for atan2l declaration... " >&6; }
62721 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62722 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62723 $as_echo_n "(cached) " >&6
62724 else
62727 ac_ext=cpp
62728 ac_cpp='$CXXCPP $CPPFLAGS'
62729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62734 /* end confdefs.h. */
62735 #include <math.h>
62737 main ()
62739 atan2l(0, 0);
62741 return 0;
62743 _ACEOF
62744 if ac_fn_cxx_try_compile "$LINENO"; then :
62745 glibcxx_cv_func_atan2l_use=yes
62746 else
62747 glibcxx_cv_func_atan2l_use=no
62749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62750 ac_ext=c
62751 ac_cpp='$CPP $CPPFLAGS'
62752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62761 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62763 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62764 for ac_func in atan2l
62765 do :
62766 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62767 if test "x$ac_cv_func_atan2l" = x""yes; then :
62768 cat >>confdefs.h <<_ACEOF
62769 #define HAVE_ATAN2L 1
62770 _ACEOF
62773 done
62775 else
62777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62778 $as_echo_n "checking for _atan2l declaration... " >&6; }
62779 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62780 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62781 $as_echo_n "(cached) " >&6
62782 else
62785 ac_ext=cpp
62786 ac_cpp='$CXXCPP $CPPFLAGS'
62787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62792 /* end confdefs.h. */
62793 #include <math.h>
62795 main ()
62797 _atan2l(0, 0);
62799 return 0;
62801 _ACEOF
62802 if ac_fn_cxx_try_compile "$LINENO"; then :
62803 glibcxx_cv_func__atan2l_use=yes
62804 else
62805 glibcxx_cv_func__atan2l_use=no
62807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62808 ac_ext=c
62809 ac_cpp='$CPP $CPPFLAGS'
62810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62819 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62821 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62822 for ac_func in _atan2l
62823 do :
62824 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62825 if test "x$ac_cv_func__atan2l" = x""yes; then :
62826 cat >>confdefs.h <<_ACEOF
62827 #define HAVE__ATAN2L 1
62828 _ACEOF
62831 done
62840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62841 $as_echo_n "checking for expl declaration... " >&6; }
62842 if test x${glibcxx_cv_func_expl_use+set} != xset; then
62843 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62844 $as_echo_n "(cached) " >&6
62845 else
62848 ac_ext=cpp
62849 ac_cpp='$CXXCPP $CPPFLAGS'
62850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62855 /* end confdefs.h. */
62856 #include <math.h>
62857 #ifdef HAVE_IEEEFP_H
62858 #include <ieeefp.h>
62859 #endif
62862 main ()
62864 expl(0);
62866 return 0;
62868 _ACEOF
62869 if ac_fn_cxx_try_compile "$LINENO"; then :
62870 glibcxx_cv_func_expl_use=yes
62871 else
62872 glibcxx_cv_func_expl_use=no
62874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62875 ac_ext=c
62876 ac_cpp='$CPP $CPPFLAGS'
62877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62886 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62888 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62889 for ac_func in expl
62890 do :
62891 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62892 if test "x$ac_cv_func_expl" = x""yes; then :
62893 cat >>confdefs.h <<_ACEOF
62894 #define HAVE_EXPL 1
62895 _ACEOF
62898 done
62900 else
62902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62903 $as_echo_n "checking for _expl declaration... " >&6; }
62904 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62905 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62906 $as_echo_n "(cached) " >&6
62907 else
62910 ac_ext=cpp
62911 ac_cpp='$CXXCPP $CPPFLAGS'
62912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62917 /* end confdefs.h. */
62918 #include <math.h>
62919 #ifdef HAVE_IEEEFP_H
62920 #include <ieeefp.h>
62921 #endif
62924 main ()
62926 _expl(0);
62928 return 0;
62930 _ACEOF
62931 if ac_fn_cxx_try_compile "$LINENO"; then :
62932 glibcxx_cv_func__expl_use=yes
62933 else
62934 glibcxx_cv_func__expl_use=no
62936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62937 ac_ext=c
62938 ac_cpp='$CPP $CPPFLAGS'
62939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62948 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62950 if test x$glibcxx_cv_func__expl_use = x"yes"; then
62951 for ac_func in _expl
62952 do :
62953 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62954 if test "x$ac_cv_func__expl" = x""yes; then :
62955 cat >>confdefs.h <<_ACEOF
62956 #define HAVE__EXPL 1
62957 _ACEOF
62960 done
62969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62970 $as_echo_n "checking for fabsl declaration... " >&6; }
62971 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62972 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62973 $as_echo_n "(cached) " >&6
62974 else
62977 ac_ext=cpp
62978 ac_cpp='$CXXCPP $CPPFLAGS'
62979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62984 /* end confdefs.h. */
62985 #include <math.h>
62986 #ifdef HAVE_IEEEFP_H
62987 #include <ieeefp.h>
62988 #endif
62991 main ()
62993 fabsl(0);
62995 return 0;
62997 _ACEOF
62998 if ac_fn_cxx_try_compile "$LINENO"; then :
62999 glibcxx_cv_func_fabsl_use=yes
63000 else
63001 glibcxx_cv_func_fabsl_use=no
63003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63004 ac_ext=c
63005 ac_cpp='$CPP $CPPFLAGS'
63006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63015 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63017 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63018 for ac_func in fabsl
63019 do :
63020 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63021 if test "x$ac_cv_func_fabsl" = x""yes; then :
63022 cat >>confdefs.h <<_ACEOF
63023 #define HAVE_FABSL 1
63024 _ACEOF
63027 done
63029 else
63031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63032 $as_echo_n "checking for _fabsl declaration... " >&6; }
63033 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63034 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63035 $as_echo_n "(cached) " >&6
63036 else
63039 ac_ext=cpp
63040 ac_cpp='$CXXCPP $CPPFLAGS'
63041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63046 /* end confdefs.h. */
63047 #include <math.h>
63048 #ifdef HAVE_IEEEFP_H
63049 #include <ieeefp.h>
63050 #endif
63053 main ()
63055 _fabsl(0);
63057 return 0;
63059 _ACEOF
63060 if ac_fn_cxx_try_compile "$LINENO"; then :
63061 glibcxx_cv_func__fabsl_use=yes
63062 else
63063 glibcxx_cv_func__fabsl_use=no
63065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63066 ac_ext=c
63067 ac_cpp='$CPP $CPPFLAGS'
63068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63077 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63079 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63080 for ac_func in _fabsl
63081 do :
63082 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63083 if test "x$ac_cv_func__fabsl" = x""yes; then :
63084 cat >>confdefs.h <<_ACEOF
63085 #define HAVE__FABSL 1
63086 _ACEOF
63089 done
63098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63099 $as_echo_n "checking for fmodl declaration... " >&6; }
63100 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63101 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63102 $as_echo_n "(cached) " >&6
63103 else
63106 ac_ext=cpp
63107 ac_cpp='$CXXCPP $CPPFLAGS'
63108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63113 /* end confdefs.h. */
63114 #include <math.h>
63116 main ()
63118 fmodl(0, 0);
63120 return 0;
63122 _ACEOF
63123 if ac_fn_cxx_try_compile "$LINENO"; then :
63124 glibcxx_cv_func_fmodl_use=yes
63125 else
63126 glibcxx_cv_func_fmodl_use=no
63128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63129 ac_ext=c
63130 ac_cpp='$CPP $CPPFLAGS'
63131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63140 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63142 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63143 for ac_func in fmodl
63144 do :
63145 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63146 if test "x$ac_cv_func_fmodl" = x""yes; then :
63147 cat >>confdefs.h <<_ACEOF
63148 #define HAVE_FMODL 1
63149 _ACEOF
63152 done
63154 else
63156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63157 $as_echo_n "checking for _fmodl declaration... " >&6; }
63158 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63159 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63160 $as_echo_n "(cached) " >&6
63161 else
63164 ac_ext=cpp
63165 ac_cpp='$CXXCPP $CPPFLAGS'
63166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63171 /* end confdefs.h. */
63172 #include <math.h>
63174 main ()
63176 _fmodl(0, 0);
63178 return 0;
63180 _ACEOF
63181 if ac_fn_cxx_try_compile "$LINENO"; then :
63182 glibcxx_cv_func__fmodl_use=yes
63183 else
63184 glibcxx_cv_func__fmodl_use=no
63186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63187 ac_ext=c
63188 ac_cpp='$CPP $CPPFLAGS'
63189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63198 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63200 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63201 for ac_func in _fmodl
63202 do :
63203 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63204 if test "x$ac_cv_func__fmodl" = x""yes; then :
63205 cat >>confdefs.h <<_ACEOF
63206 #define HAVE__FMODL 1
63207 _ACEOF
63210 done
63219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63220 $as_echo_n "checking for frexpl declaration... " >&6; }
63221 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63222 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63223 $as_echo_n "(cached) " >&6
63224 else
63227 ac_ext=cpp
63228 ac_cpp='$CXXCPP $CPPFLAGS'
63229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63234 /* end confdefs.h. */
63235 #include <math.h>
63237 main ()
63239 frexpl(0, 0);
63241 return 0;
63243 _ACEOF
63244 if ac_fn_cxx_try_compile "$LINENO"; then :
63245 glibcxx_cv_func_frexpl_use=yes
63246 else
63247 glibcxx_cv_func_frexpl_use=no
63249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63250 ac_ext=c
63251 ac_cpp='$CPP $CPPFLAGS'
63252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63261 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63263 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63264 for ac_func in frexpl
63265 do :
63266 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63267 if test "x$ac_cv_func_frexpl" = x""yes; then :
63268 cat >>confdefs.h <<_ACEOF
63269 #define HAVE_FREXPL 1
63270 _ACEOF
63273 done
63275 else
63277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63278 $as_echo_n "checking for _frexpl declaration... " >&6; }
63279 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63280 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63281 $as_echo_n "(cached) " >&6
63282 else
63285 ac_ext=cpp
63286 ac_cpp='$CXXCPP $CPPFLAGS'
63287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63292 /* end confdefs.h. */
63293 #include <math.h>
63295 main ()
63297 _frexpl(0, 0);
63299 return 0;
63301 _ACEOF
63302 if ac_fn_cxx_try_compile "$LINENO"; then :
63303 glibcxx_cv_func__frexpl_use=yes
63304 else
63305 glibcxx_cv_func__frexpl_use=no
63307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63308 ac_ext=c
63309 ac_cpp='$CPP $CPPFLAGS'
63310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63319 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63321 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63322 for ac_func in _frexpl
63323 do :
63324 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63325 if test "x$ac_cv_func__frexpl" = x""yes; then :
63326 cat >>confdefs.h <<_ACEOF
63327 #define HAVE__FREXPL 1
63328 _ACEOF
63331 done
63340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63341 $as_echo_n "checking for hypotl declaration... " >&6; }
63342 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63343 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63344 $as_echo_n "(cached) " >&6
63345 else
63348 ac_ext=cpp
63349 ac_cpp='$CXXCPP $CPPFLAGS'
63350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63355 /* end confdefs.h. */
63356 #include <math.h>
63358 main ()
63360 hypotl(0, 0);
63362 return 0;
63364 _ACEOF
63365 if ac_fn_cxx_try_compile "$LINENO"; then :
63366 glibcxx_cv_func_hypotl_use=yes
63367 else
63368 glibcxx_cv_func_hypotl_use=no
63370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63371 ac_ext=c
63372 ac_cpp='$CPP $CPPFLAGS'
63373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63382 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63384 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63385 for ac_func in hypotl
63386 do :
63387 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63388 if test "x$ac_cv_func_hypotl" = x""yes; then :
63389 cat >>confdefs.h <<_ACEOF
63390 #define HAVE_HYPOTL 1
63391 _ACEOF
63394 done
63396 else
63398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63399 $as_echo_n "checking for _hypotl declaration... " >&6; }
63400 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63401 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63402 $as_echo_n "(cached) " >&6
63403 else
63406 ac_ext=cpp
63407 ac_cpp='$CXXCPP $CPPFLAGS'
63408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63413 /* end confdefs.h. */
63414 #include <math.h>
63416 main ()
63418 _hypotl(0, 0);
63420 return 0;
63422 _ACEOF
63423 if ac_fn_cxx_try_compile "$LINENO"; then :
63424 glibcxx_cv_func__hypotl_use=yes
63425 else
63426 glibcxx_cv_func__hypotl_use=no
63428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63429 ac_ext=c
63430 ac_cpp='$CPP $CPPFLAGS'
63431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63440 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63442 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63443 for ac_func in _hypotl
63444 do :
63445 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63446 if test "x$ac_cv_func__hypotl" = x""yes; then :
63447 cat >>confdefs.h <<_ACEOF
63448 #define HAVE__HYPOTL 1
63449 _ACEOF
63452 done
63461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63462 $as_echo_n "checking for ldexpl declaration... " >&6; }
63463 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63464 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63465 $as_echo_n "(cached) " >&6
63466 else
63469 ac_ext=cpp
63470 ac_cpp='$CXXCPP $CPPFLAGS'
63471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63476 /* end confdefs.h. */
63477 #include <math.h>
63479 main ()
63481 ldexpl(0, 0);
63483 return 0;
63485 _ACEOF
63486 if ac_fn_cxx_try_compile "$LINENO"; then :
63487 glibcxx_cv_func_ldexpl_use=yes
63488 else
63489 glibcxx_cv_func_ldexpl_use=no
63491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63492 ac_ext=c
63493 ac_cpp='$CPP $CPPFLAGS'
63494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63503 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63505 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63506 for ac_func in ldexpl
63507 do :
63508 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63509 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63510 cat >>confdefs.h <<_ACEOF
63511 #define HAVE_LDEXPL 1
63512 _ACEOF
63515 done
63517 else
63519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63520 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63521 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63522 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63523 $as_echo_n "(cached) " >&6
63524 else
63527 ac_ext=cpp
63528 ac_cpp='$CXXCPP $CPPFLAGS'
63529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63534 /* end confdefs.h. */
63535 #include <math.h>
63537 main ()
63539 _ldexpl(0, 0);
63541 return 0;
63543 _ACEOF
63544 if ac_fn_cxx_try_compile "$LINENO"; then :
63545 glibcxx_cv_func__ldexpl_use=yes
63546 else
63547 glibcxx_cv_func__ldexpl_use=no
63549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63550 ac_ext=c
63551 ac_cpp='$CPP $CPPFLAGS'
63552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63561 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63563 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63564 for ac_func in _ldexpl
63565 do :
63566 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63567 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63568 cat >>confdefs.h <<_ACEOF
63569 #define HAVE__LDEXPL 1
63570 _ACEOF
63573 done
63582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63583 $as_echo_n "checking for logl declaration... " >&6; }
63584 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63585 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63586 $as_echo_n "(cached) " >&6
63587 else
63590 ac_ext=cpp
63591 ac_cpp='$CXXCPP $CPPFLAGS'
63592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63597 /* end confdefs.h. */
63598 #include <math.h>
63599 #ifdef HAVE_IEEEFP_H
63600 #include <ieeefp.h>
63601 #endif
63604 main ()
63606 logl(0);
63608 return 0;
63610 _ACEOF
63611 if ac_fn_cxx_try_compile "$LINENO"; then :
63612 glibcxx_cv_func_logl_use=yes
63613 else
63614 glibcxx_cv_func_logl_use=no
63616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63617 ac_ext=c
63618 ac_cpp='$CPP $CPPFLAGS'
63619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63628 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63630 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63631 for ac_func in logl
63632 do :
63633 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63634 if test "x$ac_cv_func_logl" = x""yes; then :
63635 cat >>confdefs.h <<_ACEOF
63636 #define HAVE_LOGL 1
63637 _ACEOF
63640 done
63642 else
63644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63645 $as_echo_n "checking for _logl declaration... " >&6; }
63646 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63647 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63648 $as_echo_n "(cached) " >&6
63649 else
63652 ac_ext=cpp
63653 ac_cpp='$CXXCPP $CPPFLAGS'
63654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63659 /* end confdefs.h. */
63660 #include <math.h>
63661 #ifdef HAVE_IEEEFP_H
63662 #include <ieeefp.h>
63663 #endif
63666 main ()
63668 _logl(0);
63670 return 0;
63672 _ACEOF
63673 if ac_fn_cxx_try_compile "$LINENO"; then :
63674 glibcxx_cv_func__logl_use=yes
63675 else
63676 glibcxx_cv_func__logl_use=no
63678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63679 ac_ext=c
63680 ac_cpp='$CPP $CPPFLAGS'
63681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63690 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63692 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63693 for ac_func in _logl
63694 do :
63695 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63696 if test "x$ac_cv_func__logl" = x""yes; then :
63697 cat >>confdefs.h <<_ACEOF
63698 #define HAVE__LOGL 1
63699 _ACEOF
63702 done
63711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63712 $as_echo_n "checking for log10l declaration... " >&6; }
63713 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63714 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63715 $as_echo_n "(cached) " >&6
63716 else
63719 ac_ext=cpp
63720 ac_cpp='$CXXCPP $CPPFLAGS'
63721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63726 /* end confdefs.h. */
63727 #include <math.h>
63728 #ifdef HAVE_IEEEFP_H
63729 #include <ieeefp.h>
63730 #endif
63733 main ()
63735 log10l(0);
63737 return 0;
63739 _ACEOF
63740 if ac_fn_cxx_try_compile "$LINENO"; then :
63741 glibcxx_cv_func_log10l_use=yes
63742 else
63743 glibcxx_cv_func_log10l_use=no
63745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63746 ac_ext=c
63747 ac_cpp='$CPP $CPPFLAGS'
63748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63757 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63759 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63760 for ac_func in log10l
63761 do :
63762 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63763 if test "x$ac_cv_func_log10l" = x""yes; then :
63764 cat >>confdefs.h <<_ACEOF
63765 #define HAVE_LOG10L 1
63766 _ACEOF
63769 done
63771 else
63773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63774 $as_echo_n "checking for _log10l declaration... " >&6; }
63775 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63776 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63777 $as_echo_n "(cached) " >&6
63778 else
63781 ac_ext=cpp
63782 ac_cpp='$CXXCPP $CPPFLAGS'
63783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63788 /* end confdefs.h. */
63789 #include <math.h>
63790 #ifdef HAVE_IEEEFP_H
63791 #include <ieeefp.h>
63792 #endif
63795 main ()
63797 _log10l(0);
63799 return 0;
63801 _ACEOF
63802 if ac_fn_cxx_try_compile "$LINENO"; then :
63803 glibcxx_cv_func__log10l_use=yes
63804 else
63805 glibcxx_cv_func__log10l_use=no
63807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63808 ac_ext=c
63809 ac_cpp='$CPP $CPPFLAGS'
63810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63819 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63821 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63822 for ac_func in _log10l
63823 do :
63824 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63825 if test "x$ac_cv_func__log10l" = x""yes; then :
63826 cat >>confdefs.h <<_ACEOF
63827 #define HAVE__LOG10L 1
63828 _ACEOF
63831 done
63840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63841 $as_echo_n "checking for modfl declaration... " >&6; }
63842 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63843 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63844 $as_echo_n "(cached) " >&6
63845 else
63848 ac_ext=cpp
63849 ac_cpp='$CXXCPP $CPPFLAGS'
63850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63855 /* end confdefs.h. */
63856 #include <math.h>
63858 main ()
63860 modfl(0, 0);
63862 return 0;
63864 _ACEOF
63865 if ac_fn_cxx_try_compile "$LINENO"; then :
63866 glibcxx_cv_func_modfl_use=yes
63867 else
63868 glibcxx_cv_func_modfl_use=no
63870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63871 ac_ext=c
63872 ac_cpp='$CPP $CPPFLAGS'
63873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63882 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63884 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63885 for ac_func in modfl
63886 do :
63887 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63888 if test "x$ac_cv_func_modfl" = x""yes; then :
63889 cat >>confdefs.h <<_ACEOF
63890 #define HAVE_MODFL 1
63891 _ACEOF
63894 done
63896 else
63898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63899 $as_echo_n "checking for _modfl declaration... " >&6; }
63900 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63901 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63902 $as_echo_n "(cached) " >&6
63903 else
63906 ac_ext=cpp
63907 ac_cpp='$CXXCPP $CPPFLAGS'
63908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63913 /* end confdefs.h. */
63914 #include <math.h>
63916 main ()
63918 _modfl(0, 0);
63920 return 0;
63922 _ACEOF
63923 if ac_fn_cxx_try_compile "$LINENO"; then :
63924 glibcxx_cv_func__modfl_use=yes
63925 else
63926 glibcxx_cv_func__modfl_use=no
63928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63929 ac_ext=c
63930 ac_cpp='$CPP $CPPFLAGS'
63931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63940 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63942 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63943 for ac_func in _modfl
63944 do :
63945 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63946 if test "x$ac_cv_func__modfl" = x""yes; then :
63947 cat >>confdefs.h <<_ACEOF
63948 #define HAVE__MODFL 1
63949 _ACEOF
63952 done
63961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
63962 $as_echo_n "checking for powl declaration... " >&6; }
63963 if test x${glibcxx_cv_func_powl_use+set} != xset; then
63964 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
63965 $as_echo_n "(cached) " >&6
63966 else
63969 ac_ext=cpp
63970 ac_cpp='$CXXCPP $CPPFLAGS'
63971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63976 /* end confdefs.h. */
63977 #include <math.h>
63979 main ()
63981 powl(0, 0);
63983 return 0;
63985 _ACEOF
63986 if ac_fn_cxx_try_compile "$LINENO"; then :
63987 glibcxx_cv_func_powl_use=yes
63988 else
63989 glibcxx_cv_func_powl_use=no
63991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63992 ac_ext=c
63993 ac_cpp='$CPP $CPPFLAGS'
63994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64003 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64005 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64006 for ac_func in powl
64007 do :
64008 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64009 if test "x$ac_cv_func_powl" = x""yes; then :
64010 cat >>confdefs.h <<_ACEOF
64011 #define HAVE_POWL 1
64012 _ACEOF
64015 done
64017 else
64019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64020 $as_echo_n "checking for _powl declaration... " >&6; }
64021 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64022 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64023 $as_echo_n "(cached) " >&6
64024 else
64027 ac_ext=cpp
64028 ac_cpp='$CXXCPP $CPPFLAGS'
64029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64034 /* end confdefs.h. */
64035 #include <math.h>
64037 main ()
64039 _powl(0, 0);
64041 return 0;
64043 _ACEOF
64044 if ac_fn_cxx_try_compile "$LINENO"; then :
64045 glibcxx_cv_func__powl_use=yes
64046 else
64047 glibcxx_cv_func__powl_use=no
64049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64050 ac_ext=c
64051 ac_cpp='$CPP $CPPFLAGS'
64052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64061 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64063 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64064 for ac_func in _powl
64065 do :
64066 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64067 if test "x$ac_cv_func__powl" = x""yes; then :
64068 cat >>confdefs.h <<_ACEOF
64069 #define HAVE__POWL 1
64070 _ACEOF
64073 done
64082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64083 $as_echo_n "checking for sqrtl declaration... " >&6; }
64084 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64085 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64086 $as_echo_n "(cached) " >&6
64087 else
64090 ac_ext=cpp
64091 ac_cpp='$CXXCPP $CPPFLAGS'
64092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64097 /* end confdefs.h. */
64098 #include <math.h>
64099 #ifdef HAVE_IEEEFP_H
64100 #include <ieeefp.h>
64101 #endif
64104 main ()
64106 sqrtl(0);
64108 return 0;
64110 _ACEOF
64111 if ac_fn_cxx_try_compile "$LINENO"; then :
64112 glibcxx_cv_func_sqrtl_use=yes
64113 else
64114 glibcxx_cv_func_sqrtl_use=no
64116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64117 ac_ext=c
64118 ac_cpp='$CPP $CPPFLAGS'
64119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64128 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64130 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64131 for ac_func in sqrtl
64132 do :
64133 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64134 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64135 cat >>confdefs.h <<_ACEOF
64136 #define HAVE_SQRTL 1
64137 _ACEOF
64140 done
64142 else
64144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64145 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64146 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64147 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64148 $as_echo_n "(cached) " >&6
64149 else
64152 ac_ext=cpp
64153 ac_cpp='$CXXCPP $CPPFLAGS'
64154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64159 /* end confdefs.h. */
64160 #include <math.h>
64161 #ifdef HAVE_IEEEFP_H
64162 #include <ieeefp.h>
64163 #endif
64166 main ()
64168 _sqrtl(0);
64170 return 0;
64172 _ACEOF
64173 if ac_fn_cxx_try_compile "$LINENO"; then :
64174 glibcxx_cv_func__sqrtl_use=yes
64175 else
64176 glibcxx_cv_func__sqrtl_use=no
64178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64179 ac_ext=c
64180 ac_cpp='$CPP $CPPFLAGS'
64181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64190 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64192 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64193 for ac_func in _sqrtl
64194 do :
64195 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64196 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64197 cat >>confdefs.h <<_ACEOF
64198 #define HAVE__SQRTL 1
64199 _ACEOF
64202 done
64211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64212 $as_echo_n "checking for sincosl declaration... " >&6; }
64213 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64214 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64215 $as_echo_n "(cached) " >&6
64216 else
64219 ac_ext=cpp
64220 ac_cpp='$CXXCPP $CPPFLAGS'
64221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64226 /* end confdefs.h. */
64227 #include <math.h>
64229 main ()
64231 sincosl(0, 0, 0);
64233 return 0;
64235 _ACEOF
64236 if ac_fn_cxx_try_compile "$LINENO"; then :
64237 glibcxx_cv_func_sincosl_use=yes
64238 else
64239 glibcxx_cv_func_sincosl_use=no
64241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64242 ac_ext=c
64243 ac_cpp='$CPP $CPPFLAGS'
64244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64253 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64255 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64256 for ac_func in sincosl
64257 do :
64258 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64259 if test "x$ac_cv_func_sincosl" = x""yes; then :
64260 cat >>confdefs.h <<_ACEOF
64261 #define HAVE_SINCOSL 1
64262 _ACEOF
64265 done
64267 else
64269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64270 $as_echo_n "checking for _sincosl declaration... " >&6; }
64271 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64272 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64273 $as_echo_n "(cached) " >&6
64274 else
64277 ac_ext=cpp
64278 ac_cpp='$CXXCPP $CPPFLAGS'
64279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64284 /* end confdefs.h. */
64285 #include <math.h>
64287 main ()
64289 _sincosl(0, 0, 0);
64291 return 0;
64293 _ACEOF
64294 if ac_fn_cxx_try_compile "$LINENO"; then :
64295 glibcxx_cv_func__sincosl_use=yes
64296 else
64297 glibcxx_cv_func__sincosl_use=no
64299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64300 ac_ext=c
64301 ac_cpp='$CPP $CPPFLAGS'
64302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64311 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64313 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64314 for ac_func in _sincosl
64315 do :
64316 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64317 if test "x$ac_cv_func__sincosl" = x""yes; then :
64318 cat >>confdefs.h <<_ACEOF
64319 #define HAVE__SINCOSL 1
64320 _ACEOF
64323 done
64332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64333 $as_echo_n "checking for finitel declaration... " >&6; }
64334 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64335 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64336 $as_echo_n "(cached) " >&6
64337 else
64340 ac_ext=cpp
64341 ac_cpp='$CXXCPP $CPPFLAGS'
64342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64347 /* end confdefs.h. */
64348 #include <math.h>
64349 #ifdef HAVE_IEEEFP_H
64350 #include <ieeefp.h>
64351 #endif
64354 main ()
64356 finitel(0);
64358 return 0;
64360 _ACEOF
64361 if ac_fn_cxx_try_compile "$LINENO"; then :
64362 glibcxx_cv_func_finitel_use=yes
64363 else
64364 glibcxx_cv_func_finitel_use=no
64366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64367 ac_ext=c
64368 ac_cpp='$CPP $CPPFLAGS'
64369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64378 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64380 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64381 for ac_func in finitel
64382 do :
64383 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64384 if test "x$ac_cv_func_finitel" = x""yes; then :
64385 cat >>confdefs.h <<_ACEOF
64386 #define HAVE_FINITEL 1
64387 _ACEOF
64390 done
64392 else
64394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64395 $as_echo_n "checking for _finitel declaration... " >&6; }
64396 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64397 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64398 $as_echo_n "(cached) " >&6
64399 else
64402 ac_ext=cpp
64403 ac_cpp='$CXXCPP $CPPFLAGS'
64404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64409 /* end confdefs.h. */
64410 #include <math.h>
64411 #ifdef HAVE_IEEEFP_H
64412 #include <ieeefp.h>
64413 #endif
64416 main ()
64418 _finitel(0);
64420 return 0;
64422 _ACEOF
64423 if ac_fn_cxx_try_compile "$LINENO"; then :
64424 glibcxx_cv_func__finitel_use=yes
64425 else
64426 glibcxx_cv_func__finitel_use=no
64428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64429 ac_ext=c
64430 ac_cpp='$CPP $CPPFLAGS'
64431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64440 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64442 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64443 for ac_func in _finitel
64444 do :
64445 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64446 if test "x$ac_cv_func__finitel" = x""yes; then :
64447 cat >>confdefs.h <<_ACEOF
64448 #define HAVE__FINITEL 1
64449 _ACEOF
64452 done
64460 LIBS="$ac_save_LIBS"
64461 CXXFLAGS="$ac_save_CXXFLAGS"
64464 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64465 ac_save_CXXFLAGS="$CXXFLAGS"
64466 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64470 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64471 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64472 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64473 $as_echo_n "(cached) " >&6
64474 else
64477 ac_ext=cpp
64478 ac_cpp='$CXXCPP $CPPFLAGS'
64479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64484 /* end confdefs.h. */
64485 #include <stdlib.h>
64487 main ()
64489 at_quick_exit(0);
64491 return 0;
64493 _ACEOF
64494 if ac_fn_cxx_try_compile "$LINENO"; then :
64495 glibcxx_cv_func_at_quick_exit_use=yes
64496 else
64497 glibcxx_cv_func_at_quick_exit_use=no
64499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64500 ac_ext=c
64501 ac_cpp='$CPP $CPPFLAGS'
64502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64511 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64512 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64513 for ac_func in at_quick_exit
64514 do :
64515 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64516 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64517 cat >>confdefs.h <<_ACEOF
64518 #define HAVE_AT_QUICK_EXIT 1
64519 _ACEOF
64522 done
64527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64528 $as_echo_n "checking for quick_exit declaration... " >&6; }
64529 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64530 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64531 $as_echo_n "(cached) " >&6
64532 else
64535 ac_ext=cpp
64536 ac_cpp='$CXXCPP $CPPFLAGS'
64537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64542 /* end confdefs.h. */
64543 #include <stdlib.h>
64545 main ()
64547 quick_exit(0);
64549 return 0;
64551 _ACEOF
64552 if ac_fn_cxx_try_compile "$LINENO"; then :
64553 glibcxx_cv_func_quick_exit_use=yes
64554 else
64555 glibcxx_cv_func_quick_exit_use=no
64557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64558 ac_ext=c
64559 ac_cpp='$CPP $CPPFLAGS'
64560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64569 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64570 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64571 for ac_func in quick_exit
64572 do :
64573 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64574 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64575 cat >>confdefs.h <<_ACEOF
64576 #define HAVE_QUICK_EXIT 1
64577 _ACEOF
64580 done
64585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64586 $as_echo_n "checking for strtold declaration... " >&6; }
64587 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64588 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64589 $as_echo_n "(cached) " >&6
64590 else
64593 ac_ext=cpp
64594 ac_cpp='$CXXCPP $CPPFLAGS'
64595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64600 /* end confdefs.h. */
64601 #include <stdlib.h>
64603 main ()
64605 strtold(0, 0);
64607 return 0;
64609 _ACEOF
64610 if ac_fn_cxx_try_compile "$LINENO"; then :
64611 glibcxx_cv_func_strtold_use=yes
64612 else
64613 glibcxx_cv_func_strtold_use=no
64615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64616 ac_ext=c
64617 ac_cpp='$CPP $CPPFLAGS'
64618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64627 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64628 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64629 for ac_func in strtold
64630 do :
64631 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64632 if test "x$ac_cv_func_strtold" = x""yes; then :
64633 cat >>confdefs.h <<_ACEOF
64634 #define HAVE_STRTOLD 1
64635 _ACEOF
64638 done
64645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64646 $as_echo_n "checking for strtof declaration... " >&6; }
64647 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64648 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64649 $as_echo_n "(cached) " >&6
64650 else
64653 ac_ext=cpp
64654 ac_cpp='$CXXCPP $CPPFLAGS'
64655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64660 /* end confdefs.h. */
64661 #include <stdlib.h>
64663 main ()
64665 strtof(0, 0);
64667 return 0;
64669 _ACEOF
64670 if ac_fn_cxx_try_compile "$LINENO"; then :
64671 glibcxx_cv_func_strtof_use=yes
64672 else
64673 glibcxx_cv_func_strtof_use=no
64675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64676 ac_ext=c
64677 ac_cpp='$CPP $CPPFLAGS'
64678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64687 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64688 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64689 for ac_func in strtof
64690 do :
64691 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64692 if test "x$ac_cv_func_strtof" = x""yes; then :
64693 cat >>confdefs.h <<_ACEOF
64694 #define HAVE_STRTOF 1
64695 _ACEOF
64698 done
64705 CXXFLAGS="$ac_save_CXXFLAGS"
64708 *-solaris*)
64709 case "$target" in
64710 *-solaris2.9 | *-solaris2.10)
64712 # If we're not using GNU ld, then there's no point in even trying these
64713 # tests. Check for that first. We should have already tested for gld
64714 # by now (in libtool), but require it now just to be safe...
64715 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64716 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64720 # The name set by libtool depends on the version of libtool. Shame on us
64721 # for depending on an impl detail, but c'est la vie. Older versions used
64722 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64723 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64724 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64725 # set (hence we're using an older libtool), then set it.
64726 if test x${with_gnu_ld+set} != xset; then
64727 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64728 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64729 with_gnu_ld=no
64730 else
64731 with_gnu_ld=$ac_cv_prog_gnu_ld
64735 # Start by getting the version number. I think the libtool test already
64736 # does some of this, but throws away the result.
64737 glibcxx_ld_is_gold=no
64738 if test x"$with_gnu_ld" = x"yes"; then
64739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64740 $as_echo_n "checking for ld version... " >&6; }
64742 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64743 glibcxx_ld_is_gold=yes
64745 ldver=`$LD --version 2>/dev/null |
64746 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'`
64748 glibcxx_gnu_ld_version=`echo $ldver | \
64749 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64751 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64754 # Set --gc-sections.
64755 glibcxx_have_gc_sections=no
64756 if test "$glibcxx_ld_is_gold" = "yes"; then
64757 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64758 glibcxx_have_gc_sections=yes
64760 else
64761 glibcxx_gcsections_min_ld=21602
64762 if test x"$with_gnu_ld" = x"yes" &&
64763 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64764 glibcxx_have_gc_sections=yes
64767 if test "$glibcxx_have_gc_sections" = "yes"; then
64768 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64769 # NB: This flag only works reliably after 2.16.1. Configure tests
64770 # for this are difficult, so hard wire a value that should work.
64772 ac_test_CFLAGS="${CFLAGS+set}"
64773 ac_save_CFLAGS="$CFLAGS"
64774 CFLAGS='-Wl,--gc-sections'
64776 # Check for -Wl,--gc-sections
64777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64778 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64779 if test x$gcc_no_link = xyes; then
64780 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64783 /* end confdefs.h. */
64784 int one(void) { return 1; }
64785 int two(void) { return 2; }
64788 main ()
64790 two();
64792 return 0;
64794 _ACEOF
64795 if ac_fn_c_try_link "$LINENO"; then :
64796 ac_gcsections=yes
64797 else
64798 ac_gcsections=no
64800 rm -f core conftest.err conftest.$ac_objext \
64801 conftest$ac_exeext conftest.$ac_ext
64802 if test "$ac_gcsections" = "yes"; then
64803 rm -f conftest.c
64804 touch conftest.c
64805 if $CC -c conftest.c; then
64806 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64807 grep "Warning: gc-sections option ignored" > /dev/null; then
64808 ac_gcsections=no
64811 rm -f conftest.c conftest.o conftest
64813 if test "$ac_gcsections" = "yes"; then
64814 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64817 $as_echo "$ac_gcsections" >&6; }
64819 if test "$ac_test_CFLAGS" = set; then
64820 CFLAGS="$ac_save_CFLAGS"
64821 else
64822 # this is the suspicious part
64823 CFLAGS=''
64827 # Set -z,relro.
64828 # Note this is only for shared objects.
64829 ac_ld_relro=no
64830 if test x"$with_gnu_ld" = x"yes"; then
64831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64832 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64833 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64834 if test -n "$cxx_z_relo"; then
64835 OPT_LDFLAGS="-Wl,-z,relro"
64836 ac_ld_relro=yes
64838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64839 $as_echo "$ac_ld_relro" >&6; }
64842 # Set linker optimization flags.
64843 if test x"$with_gnu_ld" = x"yes"; then
64844 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64850 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
64852 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64854 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
64856 # All of the dependencies for wide character support are here, so
64857 # turn it on.
64858 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
64861 esac
64862 case "$target" in
64863 *-*-solaris2.10)
64864 # These two C99 functions are present only in Solaris >= 10
64865 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
64867 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
64870 esac
64871 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64873 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64875 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
64877 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
64880 *-tpf)
64881 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64882 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
64884 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64886 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64888 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64890 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64892 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64894 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64896 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64898 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64900 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
64902 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
64904 if test x"long_double_math_on_this_cpu" = x"yes"; then
64905 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64907 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
64909 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64911 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64915 *-*vms*)
64916 # Check for available headers.
64917 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
64919 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64920 ac_save_CXXFLAGS="$CXXFLAGS"
64921 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
64924 $as_echo_n "checking for sin in -lm... " >&6; }
64925 if test "${ac_cv_lib_m_sin+set}" = set; then :
64926 $as_echo_n "(cached) " >&6
64927 else
64928 ac_check_lib_save_LIBS=$LIBS
64929 LIBS="-lm $LIBS"
64930 if test x$gcc_no_link = xyes; then
64931 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64934 /* end confdefs.h. */
64936 /* Override any GCC internal prototype to avoid an error.
64937 Use char because int might match the return type of a GCC
64938 builtin and then its argument prototype would still apply. */
64939 #ifdef __cplusplus
64940 extern "C"
64941 #endif
64942 char sin ();
64944 main ()
64946 return sin ();
64948 return 0;
64950 _ACEOF
64951 if ac_fn_c_try_link "$LINENO"; then :
64952 ac_cv_lib_m_sin=yes
64953 else
64954 ac_cv_lib_m_sin=no
64956 rm -f core conftest.err conftest.$ac_objext \
64957 conftest$ac_exeext conftest.$ac_ext
64958 LIBS=$ac_check_lib_save_LIBS
64960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
64961 $as_echo "$ac_cv_lib_m_sin" >&6; }
64962 if test "x$ac_cv_lib_m_sin" = x""yes; then :
64963 libm="-lm"
64966 ac_save_LIBS="$LIBS"
64967 LIBS="$LIBS $libm"
64971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
64972 $as_echo_n "checking for isinf declaration... " >&6; }
64973 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
64974 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
64975 $as_echo_n "(cached) " >&6
64976 else
64979 ac_ext=cpp
64980 ac_cpp='$CXXCPP $CPPFLAGS'
64981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64986 /* end confdefs.h. */
64987 #include <math.h>
64988 #ifdef HAVE_IEEEFP_H
64989 #include <ieeefp.h>
64990 #endif
64993 main ()
64995 isinf(0);
64997 return 0;
64999 _ACEOF
65000 if ac_fn_cxx_try_compile "$LINENO"; then :
65001 glibcxx_cv_func_isinf_use=yes
65002 else
65003 glibcxx_cv_func_isinf_use=no
65005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65006 ac_ext=c
65007 ac_cpp='$CPP $CPPFLAGS'
65008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65017 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65019 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65020 for ac_func in isinf
65021 do :
65022 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65023 if test "x$ac_cv_func_isinf" = x""yes; then :
65024 cat >>confdefs.h <<_ACEOF
65025 #define HAVE_ISINF 1
65026 _ACEOF
65029 done
65031 else
65033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65034 $as_echo_n "checking for _isinf declaration... " >&6; }
65035 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65036 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65037 $as_echo_n "(cached) " >&6
65038 else
65041 ac_ext=cpp
65042 ac_cpp='$CXXCPP $CPPFLAGS'
65043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65048 /* end confdefs.h. */
65049 #include <math.h>
65050 #ifdef HAVE_IEEEFP_H
65051 #include <ieeefp.h>
65052 #endif
65055 main ()
65057 _isinf(0);
65059 return 0;
65061 _ACEOF
65062 if ac_fn_cxx_try_compile "$LINENO"; then :
65063 glibcxx_cv_func__isinf_use=yes
65064 else
65065 glibcxx_cv_func__isinf_use=no
65067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65068 ac_ext=c
65069 ac_cpp='$CPP $CPPFLAGS'
65070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65079 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65081 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65082 for ac_func in _isinf
65083 do :
65084 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65085 if test "x$ac_cv_func__isinf" = x""yes; then :
65086 cat >>confdefs.h <<_ACEOF
65087 #define HAVE__ISINF 1
65088 _ACEOF
65091 done
65100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65101 $as_echo_n "checking for isnan declaration... " >&6; }
65102 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65103 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65104 $as_echo_n "(cached) " >&6
65105 else
65108 ac_ext=cpp
65109 ac_cpp='$CXXCPP $CPPFLAGS'
65110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65115 /* end confdefs.h. */
65116 #include <math.h>
65117 #ifdef HAVE_IEEEFP_H
65118 #include <ieeefp.h>
65119 #endif
65122 main ()
65124 isnan(0);
65126 return 0;
65128 _ACEOF
65129 if ac_fn_cxx_try_compile "$LINENO"; then :
65130 glibcxx_cv_func_isnan_use=yes
65131 else
65132 glibcxx_cv_func_isnan_use=no
65134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65135 ac_ext=c
65136 ac_cpp='$CPP $CPPFLAGS'
65137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65146 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65148 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65149 for ac_func in isnan
65150 do :
65151 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65152 if test "x$ac_cv_func_isnan" = x""yes; then :
65153 cat >>confdefs.h <<_ACEOF
65154 #define HAVE_ISNAN 1
65155 _ACEOF
65158 done
65160 else
65162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65163 $as_echo_n "checking for _isnan declaration... " >&6; }
65164 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65165 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65166 $as_echo_n "(cached) " >&6
65167 else
65170 ac_ext=cpp
65171 ac_cpp='$CXXCPP $CPPFLAGS'
65172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65177 /* end confdefs.h. */
65178 #include <math.h>
65179 #ifdef HAVE_IEEEFP_H
65180 #include <ieeefp.h>
65181 #endif
65184 main ()
65186 _isnan(0);
65188 return 0;
65190 _ACEOF
65191 if ac_fn_cxx_try_compile "$LINENO"; then :
65192 glibcxx_cv_func__isnan_use=yes
65193 else
65194 glibcxx_cv_func__isnan_use=no
65196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65197 ac_ext=c
65198 ac_cpp='$CPP $CPPFLAGS'
65199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65208 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65210 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65211 for ac_func in _isnan
65212 do :
65213 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65214 if test "x$ac_cv_func__isnan" = x""yes; then :
65215 cat >>confdefs.h <<_ACEOF
65216 #define HAVE__ISNAN 1
65217 _ACEOF
65220 done
65229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65230 $as_echo_n "checking for finite declaration... " >&6; }
65231 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65232 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65233 $as_echo_n "(cached) " >&6
65234 else
65237 ac_ext=cpp
65238 ac_cpp='$CXXCPP $CPPFLAGS'
65239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65244 /* end confdefs.h. */
65245 #include <math.h>
65246 #ifdef HAVE_IEEEFP_H
65247 #include <ieeefp.h>
65248 #endif
65251 main ()
65253 finite(0);
65255 return 0;
65257 _ACEOF
65258 if ac_fn_cxx_try_compile "$LINENO"; then :
65259 glibcxx_cv_func_finite_use=yes
65260 else
65261 glibcxx_cv_func_finite_use=no
65263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65264 ac_ext=c
65265 ac_cpp='$CPP $CPPFLAGS'
65266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65275 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65277 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65278 for ac_func in finite
65279 do :
65280 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65281 if test "x$ac_cv_func_finite" = x""yes; then :
65282 cat >>confdefs.h <<_ACEOF
65283 #define HAVE_FINITE 1
65284 _ACEOF
65287 done
65289 else
65291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65292 $as_echo_n "checking for _finite declaration... " >&6; }
65293 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65294 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65295 $as_echo_n "(cached) " >&6
65296 else
65299 ac_ext=cpp
65300 ac_cpp='$CXXCPP $CPPFLAGS'
65301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65306 /* end confdefs.h. */
65307 #include <math.h>
65308 #ifdef HAVE_IEEEFP_H
65309 #include <ieeefp.h>
65310 #endif
65313 main ()
65315 _finite(0);
65317 return 0;
65319 _ACEOF
65320 if ac_fn_cxx_try_compile "$LINENO"; then :
65321 glibcxx_cv_func__finite_use=yes
65322 else
65323 glibcxx_cv_func__finite_use=no
65325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65326 ac_ext=c
65327 ac_cpp='$CPP $CPPFLAGS'
65328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65337 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65339 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65340 for ac_func in _finite
65341 do :
65342 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65343 if test "x$ac_cv_func__finite" = x""yes; then :
65344 cat >>confdefs.h <<_ACEOF
65345 #define HAVE__FINITE 1
65346 _ACEOF
65349 done
65358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65359 $as_echo_n "checking for sincos declaration... " >&6; }
65360 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65361 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65362 $as_echo_n "(cached) " >&6
65363 else
65366 ac_ext=cpp
65367 ac_cpp='$CXXCPP $CPPFLAGS'
65368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65373 /* end confdefs.h. */
65374 #include <math.h>
65376 main ()
65378 sincos(0, 0, 0);
65380 return 0;
65382 _ACEOF
65383 if ac_fn_cxx_try_compile "$LINENO"; then :
65384 glibcxx_cv_func_sincos_use=yes
65385 else
65386 glibcxx_cv_func_sincos_use=no
65388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65389 ac_ext=c
65390 ac_cpp='$CPP $CPPFLAGS'
65391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65400 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65402 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65403 for ac_func in sincos
65404 do :
65405 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65406 if test "x$ac_cv_func_sincos" = x""yes; then :
65407 cat >>confdefs.h <<_ACEOF
65408 #define HAVE_SINCOS 1
65409 _ACEOF
65412 done
65414 else
65416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65417 $as_echo_n "checking for _sincos declaration... " >&6; }
65418 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65419 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65420 $as_echo_n "(cached) " >&6
65421 else
65424 ac_ext=cpp
65425 ac_cpp='$CXXCPP $CPPFLAGS'
65426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65431 /* end confdefs.h. */
65432 #include <math.h>
65434 main ()
65436 _sincos(0, 0, 0);
65438 return 0;
65440 _ACEOF
65441 if ac_fn_cxx_try_compile "$LINENO"; then :
65442 glibcxx_cv_func__sincos_use=yes
65443 else
65444 glibcxx_cv_func__sincos_use=no
65446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65447 ac_ext=c
65448 ac_cpp='$CPP $CPPFLAGS'
65449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65458 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65460 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65461 for ac_func in _sincos
65462 do :
65463 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65464 if test "x$ac_cv_func__sincos" = x""yes; then :
65465 cat >>confdefs.h <<_ACEOF
65466 #define HAVE__SINCOS 1
65467 _ACEOF
65470 done
65479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65480 $as_echo_n "checking for fpclass declaration... " >&6; }
65481 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65482 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65483 $as_echo_n "(cached) " >&6
65484 else
65487 ac_ext=cpp
65488 ac_cpp='$CXXCPP $CPPFLAGS'
65489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65494 /* end confdefs.h. */
65495 #include <math.h>
65496 #ifdef HAVE_IEEEFP_H
65497 #include <ieeefp.h>
65498 #endif
65501 main ()
65503 fpclass(0);
65505 return 0;
65507 _ACEOF
65508 if ac_fn_cxx_try_compile "$LINENO"; then :
65509 glibcxx_cv_func_fpclass_use=yes
65510 else
65511 glibcxx_cv_func_fpclass_use=no
65513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65514 ac_ext=c
65515 ac_cpp='$CPP $CPPFLAGS'
65516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65525 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65527 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65528 for ac_func in fpclass
65529 do :
65530 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65531 if test "x$ac_cv_func_fpclass" = x""yes; then :
65532 cat >>confdefs.h <<_ACEOF
65533 #define HAVE_FPCLASS 1
65534 _ACEOF
65537 done
65539 else
65541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65542 $as_echo_n "checking for _fpclass declaration... " >&6; }
65543 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65544 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65545 $as_echo_n "(cached) " >&6
65546 else
65549 ac_ext=cpp
65550 ac_cpp='$CXXCPP $CPPFLAGS'
65551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65556 /* end confdefs.h. */
65557 #include <math.h>
65558 #ifdef HAVE_IEEEFP_H
65559 #include <ieeefp.h>
65560 #endif
65563 main ()
65565 _fpclass(0);
65567 return 0;
65569 _ACEOF
65570 if ac_fn_cxx_try_compile "$LINENO"; then :
65571 glibcxx_cv_func__fpclass_use=yes
65572 else
65573 glibcxx_cv_func__fpclass_use=no
65575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65576 ac_ext=c
65577 ac_cpp='$CPP $CPPFLAGS'
65578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65587 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65589 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65590 for ac_func in _fpclass
65591 do :
65592 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65593 if test "x$ac_cv_func__fpclass" = x""yes; then :
65594 cat >>confdefs.h <<_ACEOF
65595 #define HAVE__FPCLASS 1
65596 _ACEOF
65599 done
65608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
65609 $as_echo_n "checking for qfpclass declaration... " >&6; }
65610 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65611 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
65612 $as_echo_n "(cached) " >&6
65613 else
65616 ac_ext=cpp
65617 ac_cpp='$CXXCPP $CPPFLAGS'
65618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65623 /* end confdefs.h. */
65624 #include <math.h>
65625 #ifdef HAVE_IEEEFP_H
65626 #include <ieeefp.h>
65627 #endif
65630 main ()
65632 qfpclass(0);
65634 return 0;
65636 _ACEOF
65637 if ac_fn_cxx_try_compile "$LINENO"; then :
65638 glibcxx_cv_func_qfpclass_use=yes
65639 else
65640 glibcxx_cv_func_qfpclass_use=no
65642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65643 ac_ext=c
65644 ac_cpp='$CPP $CPPFLAGS'
65645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
65654 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
65656 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
65657 for ac_func in qfpclass
65658 do :
65659 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
65660 if test "x$ac_cv_func_qfpclass" = x""yes; then :
65661 cat >>confdefs.h <<_ACEOF
65662 #define HAVE_QFPCLASS 1
65663 _ACEOF
65666 done
65668 else
65670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
65671 $as_echo_n "checking for _qfpclass declaration... " >&6; }
65672 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
65673 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
65674 $as_echo_n "(cached) " >&6
65675 else
65678 ac_ext=cpp
65679 ac_cpp='$CXXCPP $CPPFLAGS'
65680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65685 /* end confdefs.h. */
65686 #include <math.h>
65687 #ifdef HAVE_IEEEFP_H
65688 #include <ieeefp.h>
65689 #endif
65692 main ()
65694 _qfpclass(0);
65696 return 0;
65698 _ACEOF
65699 if ac_fn_cxx_try_compile "$LINENO"; then :
65700 glibcxx_cv_func__qfpclass_use=yes
65701 else
65702 glibcxx_cv_func__qfpclass_use=no
65704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65705 ac_ext=c
65706 ac_cpp='$CPP $CPPFLAGS'
65707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
65716 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
65718 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
65719 for ac_func in _qfpclass
65720 do :
65721 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
65722 if test "x$ac_cv_func__qfpclass" = x""yes; then :
65723 cat >>confdefs.h <<_ACEOF
65724 #define HAVE__QFPCLASS 1
65725 _ACEOF
65728 done
65737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
65738 $as_echo_n "checking for hypot declaration... " >&6; }
65739 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
65740 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
65741 $as_echo_n "(cached) " >&6
65742 else
65745 ac_ext=cpp
65746 ac_cpp='$CXXCPP $CPPFLAGS'
65747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65752 /* end confdefs.h. */
65753 #include <math.h>
65755 main ()
65757 hypot(0, 0);
65759 return 0;
65761 _ACEOF
65762 if ac_fn_cxx_try_compile "$LINENO"; then :
65763 glibcxx_cv_func_hypot_use=yes
65764 else
65765 glibcxx_cv_func_hypot_use=no
65767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65768 ac_ext=c
65769 ac_cpp='$CPP $CPPFLAGS'
65770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
65779 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
65781 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
65782 for ac_func in hypot
65783 do :
65784 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
65785 if test "x$ac_cv_func_hypot" = x""yes; then :
65786 cat >>confdefs.h <<_ACEOF
65787 #define HAVE_HYPOT 1
65788 _ACEOF
65791 done
65793 else
65795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
65796 $as_echo_n "checking for _hypot declaration... " >&6; }
65797 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
65798 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
65799 $as_echo_n "(cached) " >&6
65800 else
65803 ac_ext=cpp
65804 ac_cpp='$CXXCPP $CPPFLAGS'
65805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65810 /* end confdefs.h. */
65811 #include <math.h>
65813 main ()
65815 _hypot(0, 0);
65817 return 0;
65819 _ACEOF
65820 if ac_fn_cxx_try_compile "$LINENO"; then :
65821 glibcxx_cv_func__hypot_use=yes
65822 else
65823 glibcxx_cv_func__hypot_use=no
65825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65826 ac_ext=c
65827 ac_cpp='$CPP $CPPFLAGS'
65828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
65837 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
65839 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
65840 for ac_func in _hypot
65841 do :
65842 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
65843 if test "x$ac_cv_func__hypot" = x""yes; then :
65844 cat >>confdefs.h <<_ACEOF
65845 #define HAVE__HYPOT 1
65846 _ACEOF
65849 done
65858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
65859 $as_echo_n "checking for float trig functions... " >&6; }
65860 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
65861 $as_echo_n "(cached) " >&6
65862 else
65865 ac_ext=cpp
65866 ac_cpp='$CXXCPP $CPPFLAGS'
65867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65872 /* end confdefs.h. */
65873 #include <math.h>
65875 main ()
65877 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
65879 return 0;
65881 _ACEOF
65882 if ac_fn_cxx_try_compile "$LINENO"; then :
65883 glibcxx_cv_func_float_trig_use=yes
65884 else
65885 glibcxx_cv_func_float_trig_use=no
65887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65888 ac_ext=c
65889 ac_cpp='$CPP $CPPFLAGS'
65890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
65897 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
65898 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
65899 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
65900 do :
65901 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65902 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65903 eval as_val=\$$as_ac_var
65904 if test "x$as_val" = x""yes; then :
65905 cat >>confdefs.h <<_ACEOF
65906 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65907 _ACEOF
65910 done
65912 else
65913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
65914 $as_echo_n "checking for _float trig functions... " >&6; }
65915 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
65916 $as_echo_n "(cached) " >&6
65917 else
65920 ac_ext=cpp
65921 ac_cpp='$CXXCPP $CPPFLAGS'
65922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65927 /* end confdefs.h. */
65928 #include <math.h>
65930 main ()
65932 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
65934 return 0;
65936 _ACEOF
65937 if ac_fn_cxx_try_compile "$LINENO"; then :
65938 glibcxx_cv_func__float_trig_use=yes
65939 else
65940 glibcxx_cv_func__float_trig_use=no
65942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65943 ac_ext=c
65944 ac_cpp='$CPP $CPPFLAGS'
65945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
65952 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
65953 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
65954 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
65955 do :
65956 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65957 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65958 eval as_val=\$$as_ac_var
65959 if test "x$as_val" = x""yes; then :
65960 cat >>confdefs.h <<_ACEOF
65961 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65962 _ACEOF
65965 done
65974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
65975 $as_echo_n "checking for float round functions... " >&6; }
65976 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
65977 $as_echo_n "(cached) " >&6
65978 else
65981 ac_ext=cpp
65982 ac_cpp='$CXXCPP $CPPFLAGS'
65983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65988 /* end confdefs.h. */
65989 #include <math.h>
65991 main ()
65993 ceilf (0); floorf (0);
65995 return 0;
65997 _ACEOF
65998 if ac_fn_cxx_try_compile "$LINENO"; then :
65999 glibcxx_cv_func_float_round_use=yes
66000 else
66001 glibcxx_cv_func_float_round_use=no
66003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66004 ac_ext=c
66005 ac_cpp='$CPP $CPPFLAGS'
66006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66013 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66014 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66015 for ac_func in ceilf floorf
66016 do :
66017 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66018 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66019 eval as_val=\$$as_ac_var
66020 if test "x$as_val" = x""yes; then :
66021 cat >>confdefs.h <<_ACEOF
66022 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66023 _ACEOF
66026 done
66028 else
66029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66030 $as_echo_n "checking for _float round functions... " >&6; }
66031 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66032 $as_echo_n "(cached) " >&6
66033 else
66036 ac_ext=cpp
66037 ac_cpp='$CXXCPP $CPPFLAGS'
66038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66043 /* end confdefs.h. */
66044 #include <math.h>
66046 main ()
66048 _ceilf (0); _floorf (0);
66050 return 0;
66052 _ACEOF
66053 if ac_fn_cxx_try_compile "$LINENO"; then :
66054 glibcxx_cv_func__float_round_use=yes
66055 else
66056 glibcxx_cv_func__float_round_use=no
66058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66059 ac_ext=c
66060 ac_cpp='$CPP $CPPFLAGS'
66061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66068 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66069 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66070 for ac_func in _ceilf _floorf
66071 do :
66072 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66073 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66074 eval as_val=\$$as_ac_var
66075 if test "x$as_val" = x""yes; then :
66076 cat >>confdefs.h <<_ACEOF
66077 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66078 _ACEOF
66081 done
66091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66092 $as_echo_n "checking for expf declaration... " >&6; }
66093 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66094 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66095 $as_echo_n "(cached) " >&6
66096 else
66099 ac_ext=cpp
66100 ac_cpp='$CXXCPP $CPPFLAGS'
66101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66106 /* end confdefs.h. */
66107 #include <math.h>
66108 #ifdef HAVE_IEEEFP_H
66109 #include <ieeefp.h>
66110 #endif
66113 main ()
66115 expf(0);
66117 return 0;
66119 _ACEOF
66120 if ac_fn_cxx_try_compile "$LINENO"; then :
66121 glibcxx_cv_func_expf_use=yes
66122 else
66123 glibcxx_cv_func_expf_use=no
66125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66126 ac_ext=c
66127 ac_cpp='$CPP $CPPFLAGS'
66128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66137 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66139 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66140 for ac_func in expf
66141 do :
66142 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66143 if test "x$ac_cv_func_expf" = x""yes; then :
66144 cat >>confdefs.h <<_ACEOF
66145 #define HAVE_EXPF 1
66146 _ACEOF
66149 done
66151 else
66153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66154 $as_echo_n "checking for _expf declaration... " >&6; }
66155 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66156 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66157 $as_echo_n "(cached) " >&6
66158 else
66161 ac_ext=cpp
66162 ac_cpp='$CXXCPP $CPPFLAGS'
66163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66168 /* end confdefs.h. */
66169 #include <math.h>
66170 #ifdef HAVE_IEEEFP_H
66171 #include <ieeefp.h>
66172 #endif
66175 main ()
66177 _expf(0);
66179 return 0;
66181 _ACEOF
66182 if ac_fn_cxx_try_compile "$LINENO"; then :
66183 glibcxx_cv_func__expf_use=yes
66184 else
66185 glibcxx_cv_func__expf_use=no
66187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66188 ac_ext=c
66189 ac_cpp='$CPP $CPPFLAGS'
66190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66199 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66201 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66202 for ac_func in _expf
66203 do :
66204 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66205 if test "x$ac_cv_func__expf" = x""yes; then :
66206 cat >>confdefs.h <<_ACEOF
66207 #define HAVE__EXPF 1
66208 _ACEOF
66211 done
66220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66221 $as_echo_n "checking for isnanf declaration... " >&6; }
66222 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66223 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66224 $as_echo_n "(cached) " >&6
66225 else
66228 ac_ext=cpp
66229 ac_cpp='$CXXCPP $CPPFLAGS'
66230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66235 /* end confdefs.h. */
66236 #include <math.h>
66237 #ifdef HAVE_IEEEFP_H
66238 #include <ieeefp.h>
66239 #endif
66242 main ()
66244 isnanf(0);
66246 return 0;
66248 _ACEOF
66249 if ac_fn_cxx_try_compile "$LINENO"; then :
66250 glibcxx_cv_func_isnanf_use=yes
66251 else
66252 glibcxx_cv_func_isnanf_use=no
66254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66255 ac_ext=c
66256 ac_cpp='$CPP $CPPFLAGS'
66257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66266 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66268 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66269 for ac_func in isnanf
66270 do :
66271 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66272 if test "x$ac_cv_func_isnanf" = x""yes; then :
66273 cat >>confdefs.h <<_ACEOF
66274 #define HAVE_ISNANF 1
66275 _ACEOF
66278 done
66280 else
66282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66283 $as_echo_n "checking for _isnanf declaration... " >&6; }
66284 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66285 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66286 $as_echo_n "(cached) " >&6
66287 else
66290 ac_ext=cpp
66291 ac_cpp='$CXXCPP $CPPFLAGS'
66292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66297 /* end confdefs.h. */
66298 #include <math.h>
66299 #ifdef HAVE_IEEEFP_H
66300 #include <ieeefp.h>
66301 #endif
66304 main ()
66306 _isnanf(0);
66308 return 0;
66310 _ACEOF
66311 if ac_fn_cxx_try_compile "$LINENO"; then :
66312 glibcxx_cv_func__isnanf_use=yes
66313 else
66314 glibcxx_cv_func__isnanf_use=no
66316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66317 ac_ext=c
66318 ac_cpp='$CPP $CPPFLAGS'
66319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66328 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66330 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66331 for ac_func in _isnanf
66332 do :
66333 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66334 if test "x$ac_cv_func__isnanf" = x""yes; then :
66335 cat >>confdefs.h <<_ACEOF
66336 #define HAVE__ISNANF 1
66337 _ACEOF
66340 done
66349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66350 $as_echo_n "checking for isinff declaration... " >&6; }
66351 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66352 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66353 $as_echo_n "(cached) " >&6
66354 else
66357 ac_ext=cpp
66358 ac_cpp='$CXXCPP $CPPFLAGS'
66359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66364 /* end confdefs.h. */
66365 #include <math.h>
66366 #ifdef HAVE_IEEEFP_H
66367 #include <ieeefp.h>
66368 #endif
66371 main ()
66373 isinff(0);
66375 return 0;
66377 _ACEOF
66378 if ac_fn_cxx_try_compile "$LINENO"; then :
66379 glibcxx_cv_func_isinff_use=yes
66380 else
66381 glibcxx_cv_func_isinff_use=no
66383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66384 ac_ext=c
66385 ac_cpp='$CPP $CPPFLAGS'
66386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66395 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66397 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66398 for ac_func in isinff
66399 do :
66400 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66401 if test "x$ac_cv_func_isinff" = x""yes; then :
66402 cat >>confdefs.h <<_ACEOF
66403 #define HAVE_ISINFF 1
66404 _ACEOF
66407 done
66409 else
66411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66412 $as_echo_n "checking for _isinff declaration... " >&6; }
66413 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66414 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66415 $as_echo_n "(cached) " >&6
66416 else
66419 ac_ext=cpp
66420 ac_cpp='$CXXCPP $CPPFLAGS'
66421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66426 /* end confdefs.h. */
66427 #include <math.h>
66428 #ifdef HAVE_IEEEFP_H
66429 #include <ieeefp.h>
66430 #endif
66433 main ()
66435 _isinff(0);
66437 return 0;
66439 _ACEOF
66440 if ac_fn_cxx_try_compile "$LINENO"; then :
66441 glibcxx_cv_func__isinff_use=yes
66442 else
66443 glibcxx_cv_func__isinff_use=no
66445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66446 ac_ext=c
66447 ac_cpp='$CPP $CPPFLAGS'
66448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66457 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66459 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66460 for ac_func in _isinff
66461 do :
66462 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66463 if test "x$ac_cv_func__isinff" = x""yes; then :
66464 cat >>confdefs.h <<_ACEOF
66465 #define HAVE__ISINFF 1
66466 _ACEOF
66469 done
66478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66479 $as_echo_n "checking for atan2f declaration... " >&6; }
66480 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66481 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66482 $as_echo_n "(cached) " >&6
66483 else
66486 ac_ext=cpp
66487 ac_cpp='$CXXCPP $CPPFLAGS'
66488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66493 /* end confdefs.h. */
66494 #include <math.h>
66496 main ()
66498 atan2f(0, 0);
66500 return 0;
66502 _ACEOF
66503 if ac_fn_cxx_try_compile "$LINENO"; then :
66504 glibcxx_cv_func_atan2f_use=yes
66505 else
66506 glibcxx_cv_func_atan2f_use=no
66508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66509 ac_ext=c
66510 ac_cpp='$CPP $CPPFLAGS'
66511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66520 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66522 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66523 for ac_func in atan2f
66524 do :
66525 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66526 if test "x$ac_cv_func_atan2f" = x""yes; then :
66527 cat >>confdefs.h <<_ACEOF
66528 #define HAVE_ATAN2F 1
66529 _ACEOF
66532 done
66534 else
66536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66537 $as_echo_n "checking for _atan2f declaration... " >&6; }
66538 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66539 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66540 $as_echo_n "(cached) " >&6
66541 else
66544 ac_ext=cpp
66545 ac_cpp='$CXXCPP $CPPFLAGS'
66546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66551 /* end confdefs.h. */
66552 #include <math.h>
66554 main ()
66556 _atan2f(0, 0);
66558 return 0;
66560 _ACEOF
66561 if ac_fn_cxx_try_compile "$LINENO"; then :
66562 glibcxx_cv_func__atan2f_use=yes
66563 else
66564 glibcxx_cv_func__atan2f_use=no
66566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66567 ac_ext=c
66568 ac_cpp='$CPP $CPPFLAGS'
66569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66578 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66580 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66581 for ac_func in _atan2f
66582 do :
66583 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66584 if test "x$ac_cv_func__atan2f" = x""yes; then :
66585 cat >>confdefs.h <<_ACEOF
66586 #define HAVE__ATAN2F 1
66587 _ACEOF
66590 done
66599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
66600 $as_echo_n "checking for fabsf declaration... " >&6; }
66601 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66602 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
66603 $as_echo_n "(cached) " >&6
66604 else
66607 ac_ext=cpp
66608 ac_cpp='$CXXCPP $CPPFLAGS'
66609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66614 /* end confdefs.h. */
66615 #include <math.h>
66616 #ifdef HAVE_IEEEFP_H
66617 #include <ieeefp.h>
66618 #endif
66621 main ()
66623 fabsf(0);
66625 return 0;
66627 _ACEOF
66628 if ac_fn_cxx_try_compile "$LINENO"; then :
66629 glibcxx_cv_func_fabsf_use=yes
66630 else
66631 glibcxx_cv_func_fabsf_use=no
66633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66634 ac_ext=c
66635 ac_cpp='$CPP $CPPFLAGS'
66636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
66645 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
66647 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
66648 for ac_func in fabsf
66649 do :
66650 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
66651 if test "x$ac_cv_func_fabsf" = x""yes; then :
66652 cat >>confdefs.h <<_ACEOF
66653 #define HAVE_FABSF 1
66654 _ACEOF
66657 done
66659 else
66661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
66662 $as_echo_n "checking for _fabsf declaration... " >&6; }
66663 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
66664 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
66665 $as_echo_n "(cached) " >&6
66666 else
66669 ac_ext=cpp
66670 ac_cpp='$CXXCPP $CPPFLAGS'
66671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66676 /* end confdefs.h. */
66677 #include <math.h>
66678 #ifdef HAVE_IEEEFP_H
66679 #include <ieeefp.h>
66680 #endif
66683 main ()
66685 _fabsf(0);
66687 return 0;
66689 _ACEOF
66690 if ac_fn_cxx_try_compile "$LINENO"; then :
66691 glibcxx_cv_func__fabsf_use=yes
66692 else
66693 glibcxx_cv_func__fabsf_use=no
66695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66696 ac_ext=c
66697 ac_cpp='$CPP $CPPFLAGS'
66698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
66707 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
66709 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
66710 for ac_func in _fabsf
66711 do :
66712 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
66713 if test "x$ac_cv_func__fabsf" = x""yes; then :
66714 cat >>confdefs.h <<_ACEOF
66715 #define HAVE__FABSF 1
66716 _ACEOF
66719 done
66728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
66729 $as_echo_n "checking for fmodf declaration... " >&6; }
66730 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
66731 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
66732 $as_echo_n "(cached) " >&6
66733 else
66736 ac_ext=cpp
66737 ac_cpp='$CXXCPP $CPPFLAGS'
66738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66743 /* end confdefs.h. */
66744 #include <math.h>
66746 main ()
66748 fmodf(0, 0);
66750 return 0;
66752 _ACEOF
66753 if ac_fn_cxx_try_compile "$LINENO"; then :
66754 glibcxx_cv_func_fmodf_use=yes
66755 else
66756 glibcxx_cv_func_fmodf_use=no
66758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66759 ac_ext=c
66760 ac_cpp='$CPP $CPPFLAGS'
66761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
66770 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
66772 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
66773 for ac_func in fmodf
66774 do :
66775 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
66776 if test "x$ac_cv_func_fmodf" = x""yes; then :
66777 cat >>confdefs.h <<_ACEOF
66778 #define HAVE_FMODF 1
66779 _ACEOF
66782 done
66784 else
66786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
66787 $as_echo_n "checking for _fmodf declaration... " >&6; }
66788 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
66789 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
66790 $as_echo_n "(cached) " >&6
66791 else
66794 ac_ext=cpp
66795 ac_cpp='$CXXCPP $CPPFLAGS'
66796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66801 /* end confdefs.h. */
66802 #include <math.h>
66804 main ()
66806 _fmodf(0, 0);
66808 return 0;
66810 _ACEOF
66811 if ac_fn_cxx_try_compile "$LINENO"; then :
66812 glibcxx_cv_func__fmodf_use=yes
66813 else
66814 glibcxx_cv_func__fmodf_use=no
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
66827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
66828 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
66830 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
66831 for ac_func in _fmodf
66832 do :
66833 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
66834 if test "x$ac_cv_func__fmodf" = x""yes; then :
66835 cat >>confdefs.h <<_ACEOF
66836 #define HAVE__FMODF 1
66837 _ACEOF
66840 done
66849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
66850 $as_echo_n "checking for frexpf declaration... " >&6; }
66851 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
66852 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
66853 $as_echo_n "(cached) " >&6
66854 else
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
66863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66864 /* end confdefs.h. */
66865 #include <math.h>
66867 main ()
66869 frexpf(0, 0);
66871 return 0;
66873 _ACEOF
66874 if ac_fn_cxx_try_compile "$LINENO"; then :
66875 glibcxx_cv_func_frexpf_use=yes
66876 else
66877 glibcxx_cv_func_frexpf_use=no
66879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66880 ac_ext=c
66881 ac_cpp='$CPP $CPPFLAGS'
66882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
66891 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
66893 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
66894 for ac_func in frexpf
66895 do :
66896 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
66897 if test "x$ac_cv_func_frexpf" = x""yes; then :
66898 cat >>confdefs.h <<_ACEOF
66899 #define HAVE_FREXPF 1
66900 _ACEOF
66903 done
66905 else
66907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
66908 $as_echo_n "checking for _frexpf declaration... " >&6; }
66909 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
66910 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
66911 $as_echo_n "(cached) " >&6
66912 else
66915 ac_ext=cpp
66916 ac_cpp='$CXXCPP $CPPFLAGS'
66917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66922 /* end confdefs.h. */
66923 #include <math.h>
66925 main ()
66927 _frexpf(0, 0);
66929 return 0;
66931 _ACEOF
66932 if ac_fn_cxx_try_compile "$LINENO"; then :
66933 glibcxx_cv_func__frexpf_use=yes
66934 else
66935 glibcxx_cv_func__frexpf_use=no
66937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66938 ac_ext=c
66939 ac_cpp='$CPP $CPPFLAGS'
66940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
66949 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
66951 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
66952 for ac_func in _frexpf
66953 do :
66954 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
66955 if test "x$ac_cv_func__frexpf" = x""yes; then :
66956 cat >>confdefs.h <<_ACEOF
66957 #define HAVE__FREXPF 1
66958 _ACEOF
66961 done
66970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
66971 $as_echo_n "checking for hypotf declaration... " >&6; }
66972 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
66973 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
66974 $as_echo_n "(cached) " >&6
66975 else
66978 ac_ext=cpp
66979 ac_cpp='$CXXCPP $CPPFLAGS'
66980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66985 /* end confdefs.h. */
66986 #include <math.h>
66988 main ()
66990 hypotf(0, 0);
66992 return 0;
66994 _ACEOF
66995 if ac_fn_cxx_try_compile "$LINENO"; then :
66996 glibcxx_cv_func_hypotf_use=yes
66997 else
66998 glibcxx_cv_func_hypotf_use=no
67000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67001 ac_ext=c
67002 ac_cpp='$CPP $CPPFLAGS'
67003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67012 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67014 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67015 for ac_func in hypotf
67016 do :
67017 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67018 if test "x$ac_cv_func_hypotf" = x""yes; then :
67019 cat >>confdefs.h <<_ACEOF
67020 #define HAVE_HYPOTF 1
67021 _ACEOF
67024 done
67026 else
67028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67029 $as_echo_n "checking for _hypotf declaration... " >&6; }
67030 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67031 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67032 $as_echo_n "(cached) " >&6
67033 else
67036 ac_ext=cpp
67037 ac_cpp='$CXXCPP $CPPFLAGS'
67038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67043 /* end confdefs.h. */
67044 #include <math.h>
67046 main ()
67048 _hypotf(0, 0);
67050 return 0;
67052 _ACEOF
67053 if ac_fn_cxx_try_compile "$LINENO"; then :
67054 glibcxx_cv_func__hypotf_use=yes
67055 else
67056 glibcxx_cv_func__hypotf_use=no
67058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67059 ac_ext=c
67060 ac_cpp='$CPP $CPPFLAGS'
67061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67070 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67072 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67073 for ac_func in _hypotf
67074 do :
67075 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67076 if test "x$ac_cv_func__hypotf" = x""yes; then :
67077 cat >>confdefs.h <<_ACEOF
67078 #define HAVE__HYPOTF 1
67079 _ACEOF
67082 done
67091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67092 $as_echo_n "checking for ldexpf declaration... " >&6; }
67093 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67094 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67095 $as_echo_n "(cached) " >&6
67096 else
67099 ac_ext=cpp
67100 ac_cpp='$CXXCPP $CPPFLAGS'
67101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67106 /* end confdefs.h. */
67107 #include <math.h>
67109 main ()
67111 ldexpf(0, 0);
67113 return 0;
67115 _ACEOF
67116 if ac_fn_cxx_try_compile "$LINENO"; then :
67117 glibcxx_cv_func_ldexpf_use=yes
67118 else
67119 glibcxx_cv_func_ldexpf_use=no
67121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67122 ac_ext=c
67123 ac_cpp='$CPP $CPPFLAGS'
67124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67133 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67135 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67136 for ac_func in ldexpf
67137 do :
67138 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67139 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67140 cat >>confdefs.h <<_ACEOF
67141 #define HAVE_LDEXPF 1
67142 _ACEOF
67145 done
67147 else
67149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67150 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67151 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67152 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67153 $as_echo_n "(cached) " >&6
67154 else
67157 ac_ext=cpp
67158 ac_cpp='$CXXCPP $CPPFLAGS'
67159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67164 /* end confdefs.h. */
67165 #include <math.h>
67167 main ()
67169 _ldexpf(0, 0);
67171 return 0;
67173 _ACEOF
67174 if ac_fn_cxx_try_compile "$LINENO"; then :
67175 glibcxx_cv_func__ldexpf_use=yes
67176 else
67177 glibcxx_cv_func__ldexpf_use=no
67179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67180 ac_ext=c
67181 ac_cpp='$CPP $CPPFLAGS'
67182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67191 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67193 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67194 for ac_func in _ldexpf
67195 do :
67196 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67197 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67198 cat >>confdefs.h <<_ACEOF
67199 #define HAVE__LDEXPF 1
67200 _ACEOF
67203 done
67212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67213 $as_echo_n "checking for logf declaration... " >&6; }
67214 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67215 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67216 $as_echo_n "(cached) " >&6
67217 else
67220 ac_ext=cpp
67221 ac_cpp='$CXXCPP $CPPFLAGS'
67222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67227 /* end confdefs.h. */
67228 #include <math.h>
67229 #ifdef HAVE_IEEEFP_H
67230 #include <ieeefp.h>
67231 #endif
67234 main ()
67236 logf(0);
67238 return 0;
67240 _ACEOF
67241 if ac_fn_cxx_try_compile "$LINENO"; then :
67242 glibcxx_cv_func_logf_use=yes
67243 else
67244 glibcxx_cv_func_logf_use=no
67246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67247 ac_ext=c
67248 ac_cpp='$CPP $CPPFLAGS'
67249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67258 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67260 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67261 for ac_func in logf
67262 do :
67263 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67264 if test "x$ac_cv_func_logf" = x""yes; then :
67265 cat >>confdefs.h <<_ACEOF
67266 #define HAVE_LOGF 1
67267 _ACEOF
67270 done
67272 else
67274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67275 $as_echo_n "checking for _logf declaration... " >&6; }
67276 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67277 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67278 $as_echo_n "(cached) " >&6
67279 else
67282 ac_ext=cpp
67283 ac_cpp='$CXXCPP $CPPFLAGS'
67284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67289 /* end confdefs.h. */
67290 #include <math.h>
67291 #ifdef HAVE_IEEEFP_H
67292 #include <ieeefp.h>
67293 #endif
67296 main ()
67298 _logf(0);
67300 return 0;
67302 _ACEOF
67303 if ac_fn_cxx_try_compile "$LINENO"; then :
67304 glibcxx_cv_func__logf_use=yes
67305 else
67306 glibcxx_cv_func__logf_use=no
67308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67309 ac_ext=c
67310 ac_cpp='$CPP $CPPFLAGS'
67311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67320 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67322 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67323 for ac_func in _logf
67324 do :
67325 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67326 if test "x$ac_cv_func__logf" = x""yes; then :
67327 cat >>confdefs.h <<_ACEOF
67328 #define HAVE__LOGF 1
67329 _ACEOF
67332 done
67341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67342 $as_echo_n "checking for log10f declaration... " >&6; }
67343 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67344 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67345 $as_echo_n "(cached) " >&6
67346 else
67349 ac_ext=cpp
67350 ac_cpp='$CXXCPP $CPPFLAGS'
67351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67356 /* end confdefs.h. */
67357 #include <math.h>
67358 #ifdef HAVE_IEEEFP_H
67359 #include <ieeefp.h>
67360 #endif
67363 main ()
67365 log10f(0);
67367 return 0;
67369 _ACEOF
67370 if ac_fn_cxx_try_compile "$LINENO"; then :
67371 glibcxx_cv_func_log10f_use=yes
67372 else
67373 glibcxx_cv_func_log10f_use=no
67375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67376 ac_ext=c
67377 ac_cpp='$CPP $CPPFLAGS'
67378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67387 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67389 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67390 for ac_func in log10f
67391 do :
67392 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67393 if test "x$ac_cv_func_log10f" = x""yes; then :
67394 cat >>confdefs.h <<_ACEOF
67395 #define HAVE_LOG10F 1
67396 _ACEOF
67399 done
67401 else
67403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67404 $as_echo_n "checking for _log10f declaration... " >&6; }
67405 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67406 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67407 $as_echo_n "(cached) " >&6
67408 else
67411 ac_ext=cpp
67412 ac_cpp='$CXXCPP $CPPFLAGS'
67413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67418 /* end confdefs.h. */
67419 #include <math.h>
67420 #ifdef HAVE_IEEEFP_H
67421 #include <ieeefp.h>
67422 #endif
67425 main ()
67427 _log10f(0);
67429 return 0;
67431 _ACEOF
67432 if ac_fn_cxx_try_compile "$LINENO"; then :
67433 glibcxx_cv_func__log10f_use=yes
67434 else
67435 glibcxx_cv_func__log10f_use=no
67437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67438 ac_ext=c
67439 ac_cpp='$CPP $CPPFLAGS'
67440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67449 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67451 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67452 for ac_func in _log10f
67453 do :
67454 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67455 if test "x$ac_cv_func__log10f" = x""yes; then :
67456 cat >>confdefs.h <<_ACEOF
67457 #define HAVE__LOG10F 1
67458 _ACEOF
67461 done
67470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67471 $as_echo_n "checking for modff declaration... " >&6; }
67472 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67473 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67474 $as_echo_n "(cached) " >&6
67475 else
67478 ac_ext=cpp
67479 ac_cpp='$CXXCPP $CPPFLAGS'
67480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67485 /* end confdefs.h. */
67486 #include <math.h>
67488 main ()
67490 modff(0, 0);
67492 return 0;
67494 _ACEOF
67495 if ac_fn_cxx_try_compile "$LINENO"; then :
67496 glibcxx_cv_func_modff_use=yes
67497 else
67498 glibcxx_cv_func_modff_use=no
67500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67501 ac_ext=c
67502 ac_cpp='$CPP $CPPFLAGS'
67503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67512 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67514 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67515 for ac_func in modff
67516 do :
67517 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67518 if test "x$ac_cv_func_modff" = x""yes; then :
67519 cat >>confdefs.h <<_ACEOF
67520 #define HAVE_MODFF 1
67521 _ACEOF
67524 done
67526 else
67528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67529 $as_echo_n "checking for _modff declaration... " >&6; }
67530 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67531 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67532 $as_echo_n "(cached) " >&6
67533 else
67536 ac_ext=cpp
67537 ac_cpp='$CXXCPP $CPPFLAGS'
67538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67543 /* end confdefs.h. */
67544 #include <math.h>
67546 main ()
67548 _modff(0, 0);
67550 return 0;
67552 _ACEOF
67553 if ac_fn_cxx_try_compile "$LINENO"; then :
67554 glibcxx_cv_func__modff_use=yes
67555 else
67556 glibcxx_cv_func__modff_use=no
67558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67559 ac_ext=c
67560 ac_cpp='$CPP $CPPFLAGS'
67561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67570 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67572 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67573 for ac_func in _modff
67574 do :
67575 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67576 if test "x$ac_cv_func__modff" = x""yes; then :
67577 cat >>confdefs.h <<_ACEOF
67578 #define HAVE__MODFF 1
67579 _ACEOF
67582 done
67591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67592 $as_echo_n "checking for modf declaration... " >&6; }
67593 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67594 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67595 $as_echo_n "(cached) " >&6
67596 else
67599 ac_ext=cpp
67600 ac_cpp='$CXXCPP $CPPFLAGS'
67601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67606 /* end confdefs.h. */
67607 #include <math.h>
67609 main ()
67611 modf(0, 0);
67613 return 0;
67615 _ACEOF
67616 if ac_fn_cxx_try_compile "$LINENO"; then :
67617 glibcxx_cv_func_modf_use=yes
67618 else
67619 glibcxx_cv_func_modf_use=no
67621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67622 ac_ext=c
67623 ac_cpp='$CPP $CPPFLAGS'
67624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
67633 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
67635 if test x$glibcxx_cv_func_modf_use = x"yes"; then
67636 for ac_func in modf
67637 do :
67638 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
67639 if test "x$ac_cv_func_modf" = x""yes; then :
67640 cat >>confdefs.h <<_ACEOF
67641 #define HAVE_MODF 1
67642 _ACEOF
67645 done
67647 else
67649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
67650 $as_echo_n "checking for _modf declaration... " >&6; }
67651 if test x${glibcxx_cv_func__modf_use+set} != xset; then
67652 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
67653 $as_echo_n "(cached) " >&6
67654 else
67657 ac_ext=cpp
67658 ac_cpp='$CXXCPP $CPPFLAGS'
67659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67664 /* end confdefs.h. */
67665 #include <math.h>
67667 main ()
67669 _modf(0, 0);
67671 return 0;
67673 _ACEOF
67674 if ac_fn_cxx_try_compile "$LINENO"; then :
67675 glibcxx_cv_func__modf_use=yes
67676 else
67677 glibcxx_cv_func__modf_use=no
67679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67680 ac_ext=c
67681 ac_cpp='$CPP $CPPFLAGS'
67682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
67691 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
67693 if test x$glibcxx_cv_func__modf_use = x"yes"; then
67694 for ac_func in _modf
67695 do :
67696 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
67697 if test "x$ac_cv_func__modf" = x""yes; then :
67698 cat >>confdefs.h <<_ACEOF
67699 #define HAVE__MODF 1
67700 _ACEOF
67703 done
67712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
67713 $as_echo_n "checking for powf declaration... " >&6; }
67714 if test x${glibcxx_cv_func_powf_use+set} != xset; then
67715 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
67716 $as_echo_n "(cached) " >&6
67717 else
67720 ac_ext=cpp
67721 ac_cpp='$CXXCPP $CPPFLAGS'
67722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67727 /* end confdefs.h. */
67728 #include <math.h>
67730 main ()
67732 powf(0, 0);
67734 return 0;
67736 _ACEOF
67737 if ac_fn_cxx_try_compile "$LINENO"; then :
67738 glibcxx_cv_func_powf_use=yes
67739 else
67740 glibcxx_cv_func_powf_use=no
67742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67743 ac_ext=c
67744 ac_cpp='$CPP $CPPFLAGS'
67745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
67754 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
67756 if test x$glibcxx_cv_func_powf_use = x"yes"; then
67757 for ac_func in powf
67758 do :
67759 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
67760 if test "x$ac_cv_func_powf" = x""yes; then :
67761 cat >>confdefs.h <<_ACEOF
67762 #define HAVE_POWF 1
67763 _ACEOF
67766 done
67768 else
67770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
67771 $as_echo_n "checking for _powf declaration... " >&6; }
67772 if test x${glibcxx_cv_func__powf_use+set} != xset; then
67773 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
67774 $as_echo_n "(cached) " >&6
67775 else
67778 ac_ext=cpp
67779 ac_cpp='$CXXCPP $CPPFLAGS'
67780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67785 /* end confdefs.h. */
67786 #include <math.h>
67788 main ()
67790 _powf(0, 0);
67792 return 0;
67794 _ACEOF
67795 if ac_fn_cxx_try_compile "$LINENO"; then :
67796 glibcxx_cv_func__powf_use=yes
67797 else
67798 glibcxx_cv_func__powf_use=no
67800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67801 ac_ext=c
67802 ac_cpp='$CPP $CPPFLAGS'
67803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
67812 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
67814 if test x$glibcxx_cv_func__powf_use = x"yes"; then
67815 for ac_func in _powf
67816 do :
67817 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
67818 if test "x$ac_cv_func__powf" = x""yes; then :
67819 cat >>confdefs.h <<_ACEOF
67820 #define HAVE__POWF 1
67821 _ACEOF
67824 done
67833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
67834 $as_echo_n "checking for sqrtf declaration... " >&6; }
67835 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
67836 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
67837 $as_echo_n "(cached) " >&6
67838 else
67841 ac_ext=cpp
67842 ac_cpp='$CXXCPP $CPPFLAGS'
67843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67848 /* end confdefs.h. */
67849 #include <math.h>
67850 #ifdef HAVE_IEEEFP_H
67851 #include <ieeefp.h>
67852 #endif
67855 main ()
67857 sqrtf(0);
67859 return 0;
67861 _ACEOF
67862 if ac_fn_cxx_try_compile "$LINENO"; then :
67863 glibcxx_cv_func_sqrtf_use=yes
67864 else
67865 glibcxx_cv_func_sqrtf_use=no
67867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67868 ac_ext=c
67869 ac_cpp='$CPP $CPPFLAGS'
67870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
67879 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
67881 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
67882 for ac_func in sqrtf
67883 do :
67884 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
67885 if test "x$ac_cv_func_sqrtf" = x""yes; then :
67886 cat >>confdefs.h <<_ACEOF
67887 #define HAVE_SQRTF 1
67888 _ACEOF
67891 done
67893 else
67895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
67896 $as_echo_n "checking for _sqrtf declaration... " >&6; }
67897 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
67898 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
67899 $as_echo_n "(cached) " >&6
67900 else
67903 ac_ext=cpp
67904 ac_cpp='$CXXCPP $CPPFLAGS'
67905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67910 /* end confdefs.h. */
67911 #include <math.h>
67912 #ifdef HAVE_IEEEFP_H
67913 #include <ieeefp.h>
67914 #endif
67917 main ()
67919 _sqrtf(0);
67921 return 0;
67923 _ACEOF
67924 if ac_fn_cxx_try_compile "$LINENO"; then :
67925 glibcxx_cv_func__sqrtf_use=yes
67926 else
67927 glibcxx_cv_func__sqrtf_use=no
67929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67930 ac_ext=c
67931 ac_cpp='$CPP $CPPFLAGS'
67932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
67941 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
67943 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
67944 for ac_func in _sqrtf
67945 do :
67946 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
67947 if test "x$ac_cv_func__sqrtf" = x""yes; then :
67948 cat >>confdefs.h <<_ACEOF
67949 #define HAVE__SQRTF 1
67950 _ACEOF
67953 done
67962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
67963 $as_echo_n "checking for sincosf declaration... " >&6; }
67964 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
67965 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
67966 $as_echo_n "(cached) " >&6
67967 else
67970 ac_ext=cpp
67971 ac_cpp='$CXXCPP $CPPFLAGS'
67972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67977 /* end confdefs.h. */
67978 #include <math.h>
67980 main ()
67982 sincosf(0, 0, 0);
67984 return 0;
67986 _ACEOF
67987 if ac_fn_cxx_try_compile "$LINENO"; then :
67988 glibcxx_cv_func_sincosf_use=yes
67989 else
67990 glibcxx_cv_func_sincosf_use=no
67992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67993 ac_ext=c
67994 ac_cpp='$CPP $CPPFLAGS'
67995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68004 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68006 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68007 for ac_func in sincosf
68008 do :
68009 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68010 if test "x$ac_cv_func_sincosf" = x""yes; then :
68011 cat >>confdefs.h <<_ACEOF
68012 #define HAVE_SINCOSF 1
68013 _ACEOF
68016 done
68018 else
68020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68021 $as_echo_n "checking for _sincosf declaration... " >&6; }
68022 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68023 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68024 $as_echo_n "(cached) " >&6
68025 else
68028 ac_ext=cpp
68029 ac_cpp='$CXXCPP $CPPFLAGS'
68030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68035 /* end confdefs.h. */
68036 #include <math.h>
68038 main ()
68040 _sincosf(0, 0, 0);
68042 return 0;
68044 _ACEOF
68045 if ac_fn_cxx_try_compile "$LINENO"; then :
68046 glibcxx_cv_func__sincosf_use=yes
68047 else
68048 glibcxx_cv_func__sincosf_use=no
68050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68051 ac_ext=c
68052 ac_cpp='$CPP $CPPFLAGS'
68053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68062 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68064 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68065 for ac_func in _sincosf
68066 do :
68067 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68068 if test "x$ac_cv_func__sincosf" = x""yes; then :
68069 cat >>confdefs.h <<_ACEOF
68070 #define HAVE__SINCOSF 1
68071 _ACEOF
68074 done
68083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68084 $as_echo_n "checking for finitef declaration... " >&6; }
68085 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68086 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68087 $as_echo_n "(cached) " >&6
68088 else
68091 ac_ext=cpp
68092 ac_cpp='$CXXCPP $CPPFLAGS'
68093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68098 /* end confdefs.h. */
68099 #include <math.h>
68100 #ifdef HAVE_IEEEFP_H
68101 #include <ieeefp.h>
68102 #endif
68105 main ()
68107 finitef(0);
68109 return 0;
68111 _ACEOF
68112 if ac_fn_cxx_try_compile "$LINENO"; then :
68113 glibcxx_cv_func_finitef_use=yes
68114 else
68115 glibcxx_cv_func_finitef_use=no
68117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68118 ac_ext=c
68119 ac_cpp='$CPP $CPPFLAGS'
68120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68129 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68131 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68132 for ac_func in finitef
68133 do :
68134 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68135 if test "x$ac_cv_func_finitef" = x""yes; then :
68136 cat >>confdefs.h <<_ACEOF
68137 #define HAVE_FINITEF 1
68138 _ACEOF
68141 done
68143 else
68145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68146 $as_echo_n "checking for _finitef declaration... " >&6; }
68147 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68148 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68149 $as_echo_n "(cached) " >&6
68150 else
68153 ac_ext=cpp
68154 ac_cpp='$CXXCPP $CPPFLAGS'
68155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68160 /* end confdefs.h. */
68161 #include <math.h>
68162 #ifdef HAVE_IEEEFP_H
68163 #include <ieeefp.h>
68164 #endif
68167 main ()
68169 _finitef(0);
68171 return 0;
68173 _ACEOF
68174 if ac_fn_cxx_try_compile "$LINENO"; then :
68175 glibcxx_cv_func__finitef_use=yes
68176 else
68177 glibcxx_cv_func__finitef_use=no
68179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68180 ac_ext=c
68181 ac_cpp='$CPP $CPPFLAGS'
68182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68191 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68193 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68194 for ac_func in _finitef
68195 do :
68196 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68197 if test "x$ac_cv_func__finitef" = x""yes; then :
68198 cat >>confdefs.h <<_ACEOF
68199 #define HAVE__FINITEF 1
68200 _ACEOF
68203 done
68212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68213 $as_echo_n "checking for long double trig functions... " >&6; }
68214 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68215 $as_echo_n "(cached) " >&6
68216 else
68219 ac_ext=cpp
68220 ac_cpp='$CXXCPP $CPPFLAGS'
68221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68226 /* end confdefs.h. */
68227 #include <math.h>
68229 main ()
68231 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68233 return 0;
68235 _ACEOF
68236 if ac_fn_cxx_try_compile "$LINENO"; then :
68237 glibcxx_cv_func_long_double_trig_use=yes
68238 else
68239 glibcxx_cv_func_long_double_trig_use=no
68241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68242 ac_ext=c
68243 ac_cpp='$CPP $CPPFLAGS'
68244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68251 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68252 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68253 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68254 do :
68255 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68256 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68257 eval as_val=\$$as_ac_var
68258 if test "x$as_val" = x""yes; then :
68259 cat >>confdefs.h <<_ACEOF
68260 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68261 _ACEOF
68264 done
68266 else
68267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68268 $as_echo_n "checking for _long double trig functions... " >&6; }
68269 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68270 $as_echo_n "(cached) " >&6
68271 else
68274 ac_ext=cpp
68275 ac_cpp='$CXXCPP $CPPFLAGS'
68276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68281 /* end confdefs.h. */
68282 #include <math.h>
68284 main ()
68286 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68288 return 0;
68290 _ACEOF
68291 if ac_fn_cxx_try_compile "$LINENO"; then :
68292 glibcxx_cv_func__long_double_trig_use=yes
68293 else
68294 glibcxx_cv_func__long_double_trig_use=no
68296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68297 ac_ext=c
68298 ac_cpp='$CPP $CPPFLAGS'
68299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68306 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68307 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68308 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68309 do :
68310 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68311 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68312 eval as_val=\$$as_ac_var
68313 if test "x$as_val" = x""yes; then :
68314 cat >>confdefs.h <<_ACEOF
68315 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68316 _ACEOF
68319 done
68328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68329 $as_echo_n "checking for long double round functions... " >&6; }
68330 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68331 $as_echo_n "(cached) " >&6
68332 else
68335 ac_ext=cpp
68336 ac_cpp='$CXXCPP $CPPFLAGS'
68337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68342 /* end confdefs.h. */
68343 #include <math.h>
68345 main ()
68347 ceill (0); floorl (0);
68349 return 0;
68351 _ACEOF
68352 if ac_fn_cxx_try_compile "$LINENO"; then :
68353 glibcxx_cv_func_long_double_round_use=yes
68354 else
68355 glibcxx_cv_func_long_double_round_use=no
68357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68358 ac_ext=c
68359 ac_cpp='$CPP $CPPFLAGS'
68360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68367 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68368 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68369 for ac_func in ceill floorl
68370 do :
68371 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68372 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68373 eval as_val=\$$as_ac_var
68374 if test "x$as_val" = x""yes; then :
68375 cat >>confdefs.h <<_ACEOF
68376 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68377 _ACEOF
68380 done
68382 else
68383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68384 $as_echo_n "checking for _long double round functions... " >&6; }
68385 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68386 $as_echo_n "(cached) " >&6
68387 else
68390 ac_ext=cpp
68391 ac_cpp='$CXXCPP $CPPFLAGS'
68392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68397 /* end confdefs.h. */
68398 #include <math.h>
68400 main ()
68402 _ceill (0); _floorl (0);
68404 return 0;
68406 _ACEOF
68407 if ac_fn_cxx_try_compile "$LINENO"; then :
68408 glibcxx_cv_func__long_double_round_use=yes
68409 else
68410 glibcxx_cv_func__long_double_round_use=no
68412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68413 ac_ext=c
68414 ac_cpp='$CPP $CPPFLAGS'
68415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68422 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68423 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68424 for ac_func in _ceill _floorl
68425 do :
68426 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68427 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68428 eval as_val=\$$as_ac_var
68429 if test "x$as_val" = x""yes; then :
68430 cat >>confdefs.h <<_ACEOF
68431 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68432 _ACEOF
68435 done
68445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68446 $as_echo_n "checking for isnanl declaration... " >&6; }
68447 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68448 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68449 $as_echo_n "(cached) " >&6
68450 else
68453 ac_ext=cpp
68454 ac_cpp='$CXXCPP $CPPFLAGS'
68455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68460 /* end confdefs.h. */
68461 #include <math.h>
68462 #ifdef HAVE_IEEEFP_H
68463 #include <ieeefp.h>
68464 #endif
68467 main ()
68469 isnanl(0);
68471 return 0;
68473 _ACEOF
68474 if ac_fn_cxx_try_compile "$LINENO"; then :
68475 glibcxx_cv_func_isnanl_use=yes
68476 else
68477 glibcxx_cv_func_isnanl_use=no
68479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68480 ac_ext=c
68481 ac_cpp='$CPP $CPPFLAGS'
68482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68491 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68493 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68494 for ac_func in isnanl
68495 do :
68496 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68497 if test "x$ac_cv_func_isnanl" = x""yes; then :
68498 cat >>confdefs.h <<_ACEOF
68499 #define HAVE_ISNANL 1
68500 _ACEOF
68503 done
68505 else
68507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68508 $as_echo_n "checking for _isnanl declaration... " >&6; }
68509 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68510 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68511 $as_echo_n "(cached) " >&6
68512 else
68515 ac_ext=cpp
68516 ac_cpp='$CXXCPP $CPPFLAGS'
68517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68522 /* end confdefs.h. */
68523 #include <math.h>
68524 #ifdef HAVE_IEEEFP_H
68525 #include <ieeefp.h>
68526 #endif
68529 main ()
68531 _isnanl(0);
68533 return 0;
68535 _ACEOF
68536 if ac_fn_cxx_try_compile "$LINENO"; then :
68537 glibcxx_cv_func__isnanl_use=yes
68538 else
68539 glibcxx_cv_func__isnanl_use=no
68541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68542 ac_ext=c
68543 ac_cpp='$CPP $CPPFLAGS'
68544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68553 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68555 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68556 for ac_func in _isnanl
68557 do :
68558 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68559 if test "x$ac_cv_func__isnanl" = x""yes; then :
68560 cat >>confdefs.h <<_ACEOF
68561 #define HAVE__ISNANL 1
68562 _ACEOF
68565 done
68574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68575 $as_echo_n "checking for isinfl declaration... " >&6; }
68576 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68577 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68578 $as_echo_n "(cached) " >&6
68579 else
68582 ac_ext=cpp
68583 ac_cpp='$CXXCPP $CPPFLAGS'
68584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68589 /* end confdefs.h. */
68590 #include <math.h>
68591 #ifdef HAVE_IEEEFP_H
68592 #include <ieeefp.h>
68593 #endif
68596 main ()
68598 isinfl(0);
68600 return 0;
68602 _ACEOF
68603 if ac_fn_cxx_try_compile "$LINENO"; then :
68604 glibcxx_cv_func_isinfl_use=yes
68605 else
68606 glibcxx_cv_func_isinfl_use=no
68608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68609 ac_ext=c
68610 ac_cpp='$CPP $CPPFLAGS'
68611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
68620 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
68622 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
68623 for ac_func in isinfl
68624 do :
68625 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
68626 if test "x$ac_cv_func_isinfl" = x""yes; then :
68627 cat >>confdefs.h <<_ACEOF
68628 #define HAVE_ISINFL 1
68629 _ACEOF
68632 done
68634 else
68636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
68637 $as_echo_n "checking for _isinfl declaration... " >&6; }
68638 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
68639 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
68640 $as_echo_n "(cached) " >&6
68641 else
68644 ac_ext=cpp
68645 ac_cpp='$CXXCPP $CPPFLAGS'
68646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68651 /* end confdefs.h. */
68652 #include <math.h>
68653 #ifdef HAVE_IEEEFP_H
68654 #include <ieeefp.h>
68655 #endif
68658 main ()
68660 _isinfl(0);
68662 return 0;
68664 _ACEOF
68665 if ac_fn_cxx_try_compile "$LINENO"; then :
68666 glibcxx_cv_func__isinfl_use=yes
68667 else
68668 glibcxx_cv_func__isinfl_use=no
68670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68671 ac_ext=c
68672 ac_cpp='$CPP $CPPFLAGS'
68673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
68682 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
68684 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
68685 for ac_func in _isinfl
68686 do :
68687 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
68688 if test "x$ac_cv_func__isinfl" = x""yes; then :
68689 cat >>confdefs.h <<_ACEOF
68690 #define HAVE__ISINFL 1
68691 _ACEOF
68694 done
68703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
68704 $as_echo_n "checking for atan2l declaration... " >&6; }
68705 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
68706 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
68707 $as_echo_n "(cached) " >&6
68708 else
68711 ac_ext=cpp
68712 ac_cpp='$CXXCPP $CPPFLAGS'
68713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68718 /* end confdefs.h. */
68719 #include <math.h>
68721 main ()
68723 atan2l(0, 0);
68725 return 0;
68727 _ACEOF
68728 if ac_fn_cxx_try_compile "$LINENO"; then :
68729 glibcxx_cv_func_atan2l_use=yes
68730 else
68731 glibcxx_cv_func_atan2l_use=no
68733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68734 ac_ext=c
68735 ac_cpp='$CPP $CPPFLAGS'
68736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
68745 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
68747 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
68748 for ac_func in atan2l
68749 do :
68750 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
68751 if test "x$ac_cv_func_atan2l" = x""yes; then :
68752 cat >>confdefs.h <<_ACEOF
68753 #define HAVE_ATAN2L 1
68754 _ACEOF
68757 done
68759 else
68761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
68762 $as_echo_n "checking for _atan2l declaration... " >&6; }
68763 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
68764 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
68765 $as_echo_n "(cached) " >&6
68766 else
68769 ac_ext=cpp
68770 ac_cpp='$CXXCPP $CPPFLAGS'
68771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68776 /* end confdefs.h. */
68777 #include <math.h>
68779 main ()
68781 _atan2l(0, 0);
68783 return 0;
68785 _ACEOF
68786 if ac_fn_cxx_try_compile "$LINENO"; then :
68787 glibcxx_cv_func__atan2l_use=yes
68788 else
68789 glibcxx_cv_func__atan2l_use=no
68791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68792 ac_ext=c
68793 ac_cpp='$CPP $CPPFLAGS'
68794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
68803 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
68805 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
68806 for ac_func in _atan2l
68807 do :
68808 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
68809 if test "x$ac_cv_func__atan2l" = x""yes; then :
68810 cat >>confdefs.h <<_ACEOF
68811 #define HAVE__ATAN2L 1
68812 _ACEOF
68815 done
68824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
68825 $as_echo_n "checking for expl declaration... " >&6; }
68826 if test x${glibcxx_cv_func_expl_use+set} != xset; then
68827 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
68828 $as_echo_n "(cached) " >&6
68829 else
68832 ac_ext=cpp
68833 ac_cpp='$CXXCPP $CPPFLAGS'
68834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68839 /* end confdefs.h. */
68840 #include <math.h>
68841 #ifdef HAVE_IEEEFP_H
68842 #include <ieeefp.h>
68843 #endif
68846 main ()
68848 expl(0);
68850 return 0;
68852 _ACEOF
68853 if ac_fn_cxx_try_compile "$LINENO"; then :
68854 glibcxx_cv_func_expl_use=yes
68855 else
68856 glibcxx_cv_func_expl_use=no
68858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68859 ac_ext=c
68860 ac_cpp='$CPP $CPPFLAGS'
68861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
68870 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
68872 if test x$glibcxx_cv_func_expl_use = x"yes"; then
68873 for ac_func in expl
68874 do :
68875 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
68876 if test "x$ac_cv_func_expl" = x""yes; then :
68877 cat >>confdefs.h <<_ACEOF
68878 #define HAVE_EXPL 1
68879 _ACEOF
68882 done
68884 else
68886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
68887 $as_echo_n "checking for _expl declaration... " >&6; }
68888 if test x${glibcxx_cv_func__expl_use+set} != xset; then
68889 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
68890 $as_echo_n "(cached) " >&6
68891 else
68894 ac_ext=cpp
68895 ac_cpp='$CXXCPP $CPPFLAGS'
68896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68901 /* end confdefs.h. */
68902 #include <math.h>
68903 #ifdef HAVE_IEEEFP_H
68904 #include <ieeefp.h>
68905 #endif
68908 main ()
68910 _expl(0);
68912 return 0;
68914 _ACEOF
68915 if ac_fn_cxx_try_compile "$LINENO"; then :
68916 glibcxx_cv_func__expl_use=yes
68917 else
68918 glibcxx_cv_func__expl_use=no
68920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68921 ac_ext=c
68922 ac_cpp='$CPP $CPPFLAGS'
68923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
68932 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
68934 if test x$glibcxx_cv_func__expl_use = x"yes"; then
68935 for ac_func in _expl
68936 do :
68937 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
68938 if test "x$ac_cv_func__expl" = x""yes; then :
68939 cat >>confdefs.h <<_ACEOF
68940 #define HAVE__EXPL 1
68941 _ACEOF
68944 done
68953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
68954 $as_echo_n "checking for fabsl declaration... " >&6; }
68955 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
68956 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
68957 $as_echo_n "(cached) " >&6
68958 else
68961 ac_ext=cpp
68962 ac_cpp='$CXXCPP $CPPFLAGS'
68963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68968 /* end confdefs.h. */
68969 #include <math.h>
68970 #ifdef HAVE_IEEEFP_H
68971 #include <ieeefp.h>
68972 #endif
68975 main ()
68977 fabsl(0);
68979 return 0;
68981 _ACEOF
68982 if ac_fn_cxx_try_compile "$LINENO"; then :
68983 glibcxx_cv_func_fabsl_use=yes
68984 else
68985 glibcxx_cv_func_fabsl_use=no
68987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68988 ac_ext=c
68989 ac_cpp='$CPP $CPPFLAGS'
68990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
68999 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69001 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69002 for ac_func in fabsl
69003 do :
69004 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69005 if test "x$ac_cv_func_fabsl" = x""yes; then :
69006 cat >>confdefs.h <<_ACEOF
69007 #define HAVE_FABSL 1
69008 _ACEOF
69011 done
69013 else
69015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69016 $as_echo_n "checking for _fabsl declaration... " >&6; }
69017 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69018 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69019 $as_echo_n "(cached) " >&6
69020 else
69023 ac_ext=cpp
69024 ac_cpp='$CXXCPP $CPPFLAGS'
69025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69030 /* end confdefs.h. */
69031 #include <math.h>
69032 #ifdef HAVE_IEEEFP_H
69033 #include <ieeefp.h>
69034 #endif
69037 main ()
69039 _fabsl(0);
69041 return 0;
69043 _ACEOF
69044 if ac_fn_cxx_try_compile "$LINENO"; then :
69045 glibcxx_cv_func__fabsl_use=yes
69046 else
69047 glibcxx_cv_func__fabsl_use=no
69049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69050 ac_ext=c
69051 ac_cpp='$CPP $CPPFLAGS'
69052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69061 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69063 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69064 for ac_func in _fabsl
69065 do :
69066 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69067 if test "x$ac_cv_func__fabsl" = x""yes; then :
69068 cat >>confdefs.h <<_ACEOF
69069 #define HAVE__FABSL 1
69070 _ACEOF
69073 done
69082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69083 $as_echo_n "checking for fmodl declaration... " >&6; }
69084 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69085 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69086 $as_echo_n "(cached) " >&6
69087 else
69090 ac_ext=cpp
69091 ac_cpp='$CXXCPP $CPPFLAGS'
69092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69097 /* end confdefs.h. */
69098 #include <math.h>
69100 main ()
69102 fmodl(0, 0);
69104 return 0;
69106 _ACEOF
69107 if ac_fn_cxx_try_compile "$LINENO"; then :
69108 glibcxx_cv_func_fmodl_use=yes
69109 else
69110 glibcxx_cv_func_fmodl_use=no
69112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69113 ac_ext=c
69114 ac_cpp='$CPP $CPPFLAGS'
69115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69124 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69126 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69127 for ac_func in fmodl
69128 do :
69129 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69130 if test "x$ac_cv_func_fmodl" = x""yes; then :
69131 cat >>confdefs.h <<_ACEOF
69132 #define HAVE_FMODL 1
69133 _ACEOF
69136 done
69138 else
69140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69141 $as_echo_n "checking for _fmodl declaration... " >&6; }
69142 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69143 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69144 $as_echo_n "(cached) " >&6
69145 else
69148 ac_ext=cpp
69149 ac_cpp='$CXXCPP $CPPFLAGS'
69150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69155 /* end confdefs.h. */
69156 #include <math.h>
69158 main ()
69160 _fmodl(0, 0);
69162 return 0;
69164 _ACEOF
69165 if ac_fn_cxx_try_compile "$LINENO"; then :
69166 glibcxx_cv_func__fmodl_use=yes
69167 else
69168 glibcxx_cv_func__fmodl_use=no
69170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69171 ac_ext=c
69172 ac_cpp='$CPP $CPPFLAGS'
69173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69182 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69184 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69185 for ac_func in _fmodl
69186 do :
69187 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69188 if test "x$ac_cv_func__fmodl" = x""yes; then :
69189 cat >>confdefs.h <<_ACEOF
69190 #define HAVE__FMODL 1
69191 _ACEOF
69194 done
69203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69204 $as_echo_n "checking for frexpl declaration... " >&6; }
69205 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69206 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69207 $as_echo_n "(cached) " >&6
69208 else
69211 ac_ext=cpp
69212 ac_cpp='$CXXCPP $CPPFLAGS'
69213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69218 /* end confdefs.h. */
69219 #include <math.h>
69221 main ()
69223 frexpl(0, 0);
69225 return 0;
69227 _ACEOF
69228 if ac_fn_cxx_try_compile "$LINENO"; then :
69229 glibcxx_cv_func_frexpl_use=yes
69230 else
69231 glibcxx_cv_func_frexpl_use=no
69233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69234 ac_ext=c
69235 ac_cpp='$CPP $CPPFLAGS'
69236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69245 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69247 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69248 for ac_func in frexpl
69249 do :
69250 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69251 if test "x$ac_cv_func_frexpl" = x""yes; then :
69252 cat >>confdefs.h <<_ACEOF
69253 #define HAVE_FREXPL 1
69254 _ACEOF
69257 done
69259 else
69261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69262 $as_echo_n "checking for _frexpl declaration... " >&6; }
69263 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69264 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69265 $as_echo_n "(cached) " >&6
69266 else
69269 ac_ext=cpp
69270 ac_cpp='$CXXCPP $CPPFLAGS'
69271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69276 /* end confdefs.h. */
69277 #include <math.h>
69279 main ()
69281 _frexpl(0, 0);
69283 return 0;
69285 _ACEOF
69286 if ac_fn_cxx_try_compile "$LINENO"; then :
69287 glibcxx_cv_func__frexpl_use=yes
69288 else
69289 glibcxx_cv_func__frexpl_use=no
69291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69292 ac_ext=c
69293 ac_cpp='$CPP $CPPFLAGS'
69294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69303 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69305 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69306 for ac_func in _frexpl
69307 do :
69308 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69309 if test "x$ac_cv_func__frexpl" = x""yes; then :
69310 cat >>confdefs.h <<_ACEOF
69311 #define HAVE__FREXPL 1
69312 _ACEOF
69315 done
69324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69325 $as_echo_n "checking for hypotl declaration... " >&6; }
69326 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69327 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69328 $as_echo_n "(cached) " >&6
69329 else
69332 ac_ext=cpp
69333 ac_cpp='$CXXCPP $CPPFLAGS'
69334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69339 /* end confdefs.h. */
69340 #include <math.h>
69342 main ()
69344 hypotl(0, 0);
69346 return 0;
69348 _ACEOF
69349 if ac_fn_cxx_try_compile "$LINENO"; then :
69350 glibcxx_cv_func_hypotl_use=yes
69351 else
69352 glibcxx_cv_func_hypotl_use=no
69354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69355 ac_ext=c
69356 ac_cpp='$CPP $CPPFLAGS'
69357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69366 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69368 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69369 for ac_func in hypotl
69370 do :
69371 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69372 if test "x$ac_cv_func_hypotl" = x""yes; then :
69373 cat >>confdefs.h <<_ACEOF
69374 #define HAVE_HYPOTL 1
69375 _ACEOF
69378 done
69380 else
69382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69383 $as_echo_n "checking for _hypotl declaration... " >&6; }
69384 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69385 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69386 $as_echo_n "(cached) " >&6
69387 else
69390 ac_ext=cpp
69391 ac_cpp='$CXXCPP $CPPFLAGS'
69392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69397 /* end confdefs.h. */
69398 #include <math.h>
69400 main ()
69402 _hypotl(0, 0);
69404 return 0;
69406 _ACEOF
69407 if ac_fn_cxx_try_compile "$LINENO"; then :
69408 glibcxx_cv_func__hypotl_use=yes
69409 else
69410 glibcxx_cv_func__hypotl_use=no
69412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69413 ac_ext=c
69414 ac_cpp='$CPP $CPPFLAGS'
69415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69424 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69426 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69427 for ac_func in _hypotl
69428 do :
69429 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69430 if test "x$ac_cv_func__hypotl" = x""yes; then :
69431 cat >>confdefs.h <<_ACEOF
69432 #define HAVE__HYPOTL 1
69433 _ACEOF
69436 done
69445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69446 $as_echo_n "checking for ldexpl declaration... " >&6; }
69447 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69448 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69449 $as_echo_n "(cached) " >&6
69450 else
69453 ac_ext=cpp
69454 ac_cpp='$CXXCPP $CPPFLAGS'
69455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69460 /* end confdefs.h. */
69461 #include <math.h>
69463 main ()
69465 ldexpl(0, 0);
69467 return 0;
69469 _ACEOF
69470 if ac_fn_cxx_try_compile "$LINENO"; then :
69471 glibcxx_cv_func_ldexpl_use=yes
69472 else
69473 glibcxx_cv_func_ldexpl_use=no
69475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69476 ac_ext=c
69477 ac_cpp='$CPP $CPPFLAGS'
69478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69487 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69489 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69490 for ac_func in ldexpl
69491 do :
69492 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69493 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69494 cat >>confdefs.h <<_ACEOF
69495 #define HAVE_LDEXPL 1
69496 _ACEOF
69499 done
69501 else
69503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69504 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69505 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69506 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69507 $as_echo_n "(cached) " >&6
69508 else
69511 ac_ext=cpp
69512 ac_cpp='$CXXCPP $CPPFLAGS'
69513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69518 /* end confdefs.h. */
69519 #include <math.h>
69521 main ()
69523 _ldexpl(0, 0);
69525 return 0;
69527 _ACEOF
69528 if ac_fn_cxx_try_compile "$LINENO"; then :
69529 glibcxx_cv_func__ldexpl_use=yes
69530 else
69531 glibcxx_cv_func__ldexpl_use=no
69533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69534 ac_ext=c
69535 ac_cpp='$CPP $CPPFLAGS'
69536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69545 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69547 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69548 for ac_func in _ldexpl
69549 do :
69550 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69551 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69552 cat >>confdefs.h <<_ACEOF
69553 #define HAVE__LDEXPL 1
69554 _ACEOF
69557 done
69566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69567 $as_echo_n "checking for logl declaration... " >&6; }
69568 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69569 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69570 $as_echo_n "(cached) " >&6
69571 else
69574 ac_ext=cpp
69575 ac_cpp='$CXXCPP $CPPFLAGS'
69576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69581 /* end confdefs.h. */
69582 #include <math.h>
69583 #ifdef HAVE_IEEEFP_H
69584 #include <ieeefp.h>
69585 #endif
69588 main ()
69590 logl(0);
69592 return 0;
69594 _ACEOF
69595 if ac_fn_cxx_try_compile "$LINENO"; then :
69596 glibcxx_cv_func_logl_use=yes
69597 else
69598 glibcxx_cv_func_logl_use=no
69600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69601 ac_ext=c
69602 ac_cpp='$CPP $CPPFLAGS'
69603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69612 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69614 if test x$glibcxx_cv_func_logl_use = x"yes"; then
69615 for ac_func in logl
69616 do :
69617 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
69618 if test "x$ac_cv_func_logl" = x""yes; then :
69619 cat >>confdefs.h <<_ACEOF
69620 #define HAVE_LOGL 1
69621 _ACEOF
69624 done
69626 else
69628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
69629 $as_echo_n "checking for _logl declaration... " >&6; }
69630 if test x${glibcxx_cv_func__logl_use+set} != xset; then
69631 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
69632 $as_echo_n "(cached) " >&6
69633 else
69636 ac_ext=cpp
69637 ac_cpp='$CXXCPP $CPPFLAGS'
69638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69643 /* end confdefs.h. */
69644 #include <math.h>
69645 #ifdef HAVE_IEEEFP_H
69646 #include <ieeefp.h>
69647 #endif
69650 main ()
69652 _logl(0);
69654 return 0;
69656 _ACEOF
69657 if ac_fn_cxx_try_compile "$LINENO"; then :
69658 glibcxx_cv_func__logl_use=yes
69659 else
69660 glibcxx_cv_func__logl_use=no
69662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69663 ac_ext=c
69664 ac_cpp='$CPP $CPPFLAGS'
69665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
69674 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
69676 if test x$glibcxx_cv_func__logl_use = x"yes"; then
69677 for ac_func in _logl
69678 do :
69679 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
69680 if test "x$ac_cv_func__logl" = x""yes; then :
69681 cat >>confdefs.h <<_ACEOF
69682 #define HAVE__LOGL 1
69683 _ACEOF
69686 done
69695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
69696 $as_echo_n "checking for log10l declaration... " >&6; }
69697 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69698 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
69699 $as_echo_n "(cached) " >&6
69700 else
69703 ac_ext=cpp
69704 ac_cpp='$CXXCPP $CPPFLAGS'
69705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69710 /* end confdefs.h. */
69711 #include <math.h>
69712 #ifdef HAVE_IEEEFP_H
69713 #include <ieeefp.h>
69714 #endif
69717 main ()
69719 log10l(0);
69721 return 0;
69723 _ACEOF
69724 if ac_fn_cxx_try_compile "$LINENO"; then :
69725 glibcxx_cv_func_log10l_use=yes
69726 else
69727 glibcxx_cv_func_log10l_use=no
69729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69730 ac_ext=c
69731 ac_cpp='$CPP $CPPFLAGS'
69732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
69741 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
69743 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69744 for ac_func in log10l
69745 do :
69746 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
69747 if test "x$ac_cv_func_log10l" = x""yes; then :
69748 cat >>confdefs.h <<_ACEOF
69749 #define HAVE_LOG10L 1
69750 _ACEOF
69753 done
69755 else
69757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
69758 $as_echo_n "checking for _log10l declaration... " >&6; }
69759 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69760 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
69761 $as_echo_n "(cached) " >&6
69762 else
69765 ac_ext=cpp
69766 ac_cpp='$CXXCPP $CPPFLAGS'
69767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69772 /* end confdefs.h. */
69773 #include <math.h>
69774 #ifdef HAVE_IEEEFP_H
69775 #include <ieeefp.h>
69776 #endif
69779 main ()
69781 _log10l(0);
69783 return 0;
69785 _ACEOF
69786 if ac_fn_cxx_try_compile "$LINENO"; then :
69787 glibcxx_cv_func__log10l_use=yes
69788 else
69789 glibcxx_cv_func__log10l_use=no
69791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69792 ac_ext=c
69793 ac_cpp='$CPP $CPPFLAGS'
69794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
69803 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
69805 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69806 for ac_func in _log10l
69807 do :
69808 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
69809 if test "x$ac_cv_func__log10l" = x""yes; then :
69810 cat >>confdefs.h <<_ACEOF
69811 #define HAVE__LOG10L 1
69812 _ACEOF
69815 done
69824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
69825 $as_echo_n "checking for modfl declaration... " >&6; }
69826 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
69827 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
69828 $as_echo_n "(cached) " >&6
69829 else
69832 ac_ext=cpp
69833 ac_cpp='$CXXCPP $CPPFLAGS'
69834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69839 /* end confdefs.h. */
69840 #include <math.h>
69842 main ()
69844 modfl(0, 0);
69846 return 0;
69848 _ACEOF
69849 if ac_fn_cxx_try_compile "$LINENO"; then :
69850 glibcxx_cv_func_modfl_use=yes
69851 else
69852 glibcxx_cv_func_modfl_use=no
69854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69855 ac_ext=c
69856 ac_cpp='$CPP $CPPFLAGS'
69857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
69866 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
69868 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
69869 for ac_func in modfl
69870 do :
69871 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
69872 if test "x$ac_cv_func_modfl" = x""yes; then :
69873 cat >>confdefs.h <<_ACEOF
69874 #define HAVE_MODFL 1
69875 _ACEOF
69878 done
69880 else
69882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
69883 $as_echo_n "checking for _modfl declaration... " >&6; }
69884 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
69885 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
69886 $as_echo_n "(cached) " >&6
69887 else
69890 ac_ext=cpp
69891 ac_cpp='$CXXCPP $CPPFLAGS'
69892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69897 /* end confdefs.h. */
69898 #include <math.h>
69900 main ()
69902 _modfl(0, 0);
69904 return 0;
69906 _ACEOF
69907 if ac_fn_cxx_try_compile "$LINENO"; then :
69908 glibcxx_cv_func__modfl_use=yes
69909 else
69910 glibcxx_cv_func__modfl_use=no
69912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69913 ac_ext=c
69914 ac_cpp='$CPP $CPPFLAGS'
69915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
69924 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
69926 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
69927 for ac_func in _modfl
69928 do :
69929 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
69930 if test "x$ac_cv_func__modfl" = x""yes; then :
69931 cat >>confdefs.h <<_ACEOF
69932 #define HAVE__MODFL 1
69933 _ACEOF
69936 done
69945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
69946 $as_echo_n "checking for powl declaration... " >&6; }
69947 if test x${glibcxx_cv_func_powl_use+set} != xset; then
69948 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
69949 $as_echo_n "(cached) " >&6
69950 else
69953 ac_ext=cpp
69954 ac_cpp='$CXXCPP $CPPFLAGS'
69955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69960 /* end confdefs.h. */
69961 #include <math.h>
69963 main ()
69965 powl(0, 0);
69967 return 0;
69969 _ACEOF
69970 if ac_fn_cxx_try_compile "$LINENO"; then :
69971 glibcxx_cv_func_powl_use=yes
69972 else
69973 glibcxx_cv_func_powl_use=no
69975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69976 ac_ext=c
69977 ac_cpp='$CPP $CPPFLAGS'
69978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
69987 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
69989 if test x$glibcxx_cv_func_powl_use = x"yes"; then
69990 for ac_func in powl
69991 do :
69992 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
69993 if test "x$ac_cv_func_powl" = x""yes; then :
69994 cat >>confdefs.h <<_ACEOF
69995 #define HAVE_POWL 1
69996 _ACEOF
69999 done
70001 else
70003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70004 $as_echo_n "checking for _powl declaration... " >&6; }
70005 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70006 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70007 $as_echo_n "(cached) " >&6
70008 else
70011 ac_ext=cpp
70012 ac_cpp='$CXXCPP $CPPFLAGS'
70013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70018 /* end confdefs.h. */
70019 #include <math.h>
70021 main ()
70023 _powl(0, 0);
70025 return 0;
70027 _ACEOF
70028 if ac_fn_cxx_try_compile "$LINENO"; then :
70029 glibcxx_cv_func__powl_use=yes
70030 else
70031 glibcxx_cv_func__powl_use=no
70033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70034 ac_ext=c
70035 ac_cpp='$CPP $CPPFLAGS'
70036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70045 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70047 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70048 for ac_func in _powl
70049 do :
70050 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70051 if test "x$ac_cv_func__powl" = x""yes; then :
70052 cat >>confdefs.h <<_ACEOF
70053 #define HAVE__POWL 1
70054 _ACEOF
70057 done
70066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70067 $as_echo_n "checking for sqrtl declaration... " >&6; }
70068 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70069 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70070 $as_echo_n "(cached) " >&6
70071 else
70074 ac_ext=cpp
70075 ac_cpp='$CXXCPP $CPPFLAGS'
70076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70081 /* end confdefs.h. */
70082 #include <math.h>
70083 #ifdef HAVE_IEEEFP_H
70084 #include <ieeefp.h>
70085 #endif
70088 main ()
70090 sqrtl(0);
70092 return 0;
70094 _ACEOF
70095 if ac_fn_cxx_try_compile "$LINENO"; then :
70096 glibcxx_cv_func_sqrtl_use=yes
70097 else
70098 glibcxx_cv_func_sqrtl_use=no
70100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70101 ac_ext=c
70102 ac_cpp='$CPP $CPPFLAGS'
70103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70112 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70114 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70115 for ac_func in sqrtl
70116 do :
70117 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70118 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70119 cat >>confdefs.h <<_ACEOF
70120 #define HAVE_SQRTL 1
70121 _ACEOF
70124 done
70126 else
70128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70129 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70130 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70131 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70132 $as_echo_n "(cached) " >&6
70133 else
70136 ac_ext=cpp
70137 ac_cpp='$CXXCPP $CPPFLAGS'
70138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70143 /* end confdefs.h. */
70144 #include <math.h>
70145 #ifdef HAVE_IEEEFP_H
70146 #include <ieeefp.h>
70147 #endif
70150 main ()
70152 _sqrtl(0);
70154 return 0;
70156 _ACEOF
70157 if ac_fn_cxx_try_compile "$LINENO"; then :
70158 glibcxx_cv_func__sqrtl_use=yes
70159 else
70160 glibcxx_cv_func__sqrtl_use=no
70162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70163 ac_ext=c
70164 ac_cpp='$CPP $CPPFLAGS'
70165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70174 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70176 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70177 for ac_func in _sqrtl
70178 do :
70179 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70180 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70181 cat >>confdefs.h <<_ACEOF
70182 #define HAVE__SQRTL 1
70183 _ACEOF
70186 done
70195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70196 $as_echo_n "checking for sincosl declaration... " >&6; }
70197 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70198 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70199 $as_echo_n "(cached) " >&6
70200 else
70203 ac_ext=cpp
70204 ac_cpp='$CXXCPP $CPPFLAGS'
70205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70210 /* end confdefs.h. */
70211 #include <math.h>
70213 main ()
70215 sincosl(0, 0, 0);
70217 return 0;
70219 _ACEOF
70220 if ac_fn_cxx_try_compile "$LINENO"; then :
70221 glibcxx_cv_func_sincosl_use=yes
70222 else
70223 glibcxx_cv_func_sincosl_use=no
70225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70226 ac_ext=c
70227 ac_cpp='$CPP $CPPFLAGS'
70228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70237 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70239 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70240 for ac_func in sincosl
70241 do :
70242 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70243 if test "x$ac_cv_func_sincosl" = x""yes; then :
70244 cat >>confdefs.h <<_ACEOF
70245 #define HAVE_SINCOSL 1
70246 _ACEOF
70249 done
70251 else
70253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70254 $as_echo_n "checking for _sincosl declaration... " >&6; }
70255 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70256 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70257 $as_echo_n "(cached) " >&6
70258 else
70261 ac_ext=cpp
70262 ac_cpp='$CXXCPP $CPPFLAGS'
70263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70268 /* end confdefs.h. */
70269 #include <math.h>
70271 main ()
70273 _sincosl(0, 0, 0);
70275 return 0;
70277 _ACEOF
70278 if ac_fn_cxx_try_compile "$LINENO"; then :
70279 glibcxx_cv_func__sincosl_use=yes
70280 else
70281 glibcxx_cv_func__sincosl_use=no
70283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70284 ac_ext=c
70285 ac_cpp='$CPP $CPPFLAGS'
70286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70295 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70297 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70298 for ac_func in _sincosl
70299 do :
70300 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70301 if test "x$ac_cv_func__sincosl" = x""yes; then :
70302 cat >>confdefs.h <<_ACEOF
70303 #define HAVE__SINCOSL 1
70304 _ACEOF
70307 done
70316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70317 $as_echo_n "checking for finitel declaration... " >&6; }
70318 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70319 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70320 $as_echo_n "(cached) " >&6
70321 else
70324 ac_ext=cpp
70325 ac_cpp='$CXXCPP $CPPFLAGS'
70326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70331 /* end confdefs.h. */
70332 #include <math.h>
70333 #ifdef HAVE_IEEEFP_H
70334 #include <ieeefp.h>
70335 #endif
70338 main ()
70340 finitel(0);
70342 return 0;
70344 _ACEOF
70345 if ac_fn_cxx_try_compile "$LINENO"; then :
70346 glibcxx_cv_func_finitel_use=yes
70347 else
70348 glibcxx_cv_func_finitel_use=no
70350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70351 ac_ext=c
70352 ac_cpp='$CPP $CPPFLAGS'
70353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70362 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70364 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70365 for ac_func in finitel
70366 do :
70367 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70368 if test "x$ac_cv_func_finitel" = x""yes; then :
70369 cat >>confdefs.h <<_ACEOF
70370 #define HAVE_FINITEL 1
70371 _ACEOF
70374 done
70376 else
70378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70379 $as_echo_n "checking for _finitel declaration... " >&6; }
70380 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70381 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70382 $as_echo_n "(cached) " >&6
70383 else
70386 ac_ext=cpp
70387 ac_cpp='$CXXCPP $CPPFLAGS'
70388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70393 /* end confdefs.h. */
70394 #include <math.h>
70395 #ifdef HAVE_IEEEFP_H
70396 #include <ieeefp.h>
70397 #endif
70400 main ()
70402 _finitel(0);
70404 return 0;
70406 _ACEOF
70407 if ac_fn_cxx_try_compile "$LINENO"; then :
70408 glibcxx_cv_func__finitel_use=yes
70409 else
70410 glibcxx_cv_func__finitel_use=no
70412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70413 ac_ext=c
70414 ac_cpp='$CPP $CPPFLAGS'
70415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70424 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70426 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70427 for ac_func in _finitel
70428 do :
70429 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70430 if test "x$ac_cv_func__finitel" = x""yes; then :
70431 cat >>confdefs.h <<_ACEOF
70432 #define HAVE__FINITEL 1
70433 _ACEOF
70436 done
70444 LIBS="$ac_save_LIBS"
70445 CXXFLAGS="$ac_save_CXXFLAGS"
70448 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70449 ac_save_CXXFLAGS="$CXXFLAGS"
70450 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70454 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70455 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70456 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70457 $as_echo_n "(cached) " >&6
70458 else
70461 ac_ext=cpp
70462 ac_cpp='$CXXCPP $CPPFLAGS'
70463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70468 /* end confdefs.h. */
70469 #include <stdlib.h>
70471 main ()
70473 at_quick_exit(0);
70475 return 0;
70477 _ACEOF
70478 if ac_fn_cxx_try_compile "$LINENO"; then :
70479 glibcxx_cv_func_at_quick_exit_use=yes
70480 else
70481 glibcxx_cv_func_at_quick_exit_use=no
70483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70484 ac_ext=c
70485 ac_cpp='$CPP $CPPFLAGS'
70486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70495 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70496 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70497 for ac_func in at_quick_exit
70498 do :
70499 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70500 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70501 cat >>confdefs.h <<_ACEOF
70502 #define HAVE_AT_QUICK_EXIT 1
70503 _ACEOF
70506 done
70511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70512 $as_echo_n "checking for quick_exit declaration... " >&6; }
70513 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70514 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70515 $as_echo_n "(cached) " >&6
70516 else
70519 ac_ext=cpp
70520 ac_cpp='$CXXCPP $CPPFLAGS'
70521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70526 /* end confdefs.h. */
70527 #include <stdlib.h>
70529 main ()
70531 quick_exit(0);
70533 return 0;
70535 _ACEOF
70536 if ac_fn_cxx_try_compile "$LINENO"; then :
70537 glibcxx_cv_func_quick_exit_use=yes
70538 else
70539 glibcxx_cv_func_quick_exit_use=no
70541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70542 ac_ext=c
70543 ac_cpp='$CPP $CPPFLAGS'
70544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70553 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70554 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70555 for ac_func in quick_exit
70556 do :
70557 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70558 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70559 cat >>confdefs.h <<_ACEOF
70560 #define HAVE_QUICK_EXIT 1
70561 _ACEOF
70564 done
70569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70570 $as_echo_n "checking for strtold declaration... " >&6; }
70571 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70572 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70573 $as_echo_n "(cached) " >&6
70574 else
70577 ac_ext=cpp
70578 ac_cpp='$CXXCPP $CPPFLAGS'
70579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70584 /* end confdefs.h. */
70585 #include <stdlib.h>
70587 main ()
70589 strtold(0, 0);
70591 return 0;
70593 _ACEOF
70594 if ac_fn_cxx_try_compile "$LINENO"; then :
70595 glibcxx_cv_func_strtold_use=yes
70596 else
70597 glibcxx_cv_func_strtold_use=no
70599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70600 ac_ext=c
70601 ac_cpp='$CPP $CPPFLAGS'
70602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
70611 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
70612 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
70613 for ac_func in strtold
70614 do :
70615 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
70616 if test "x$ac_cv_func_strtold" = x""yes; then :
70617 cat >>confdefs.h <<_ACEOF
70618 #define HAVE_STRTOLD 1
70619 _ACEOF
70622 done
70629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
70630 $as_echo_n "checking for strtof declaration... " >&6; }
70631 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
70632 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
70633 $as_echo_n "(cached) " >&6
70634 else
70637 ac_ext=cpp
70638 ac_cpp='$CXXCPP $CPPFLAGS'
70639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70644 /* end confdefs.h. */
70645 #include <stdlib.h>
70647 main ()
70649 strtof(0, 0);
70651 return 0;
70653 _ACEOF
70654 if ac_fn_cxx_try_compile "$LINENO"; then :
70655 glibcxx_cv_func_strtof_use=yes
70656 else
70657 glibcxx_cv_func_strtof_use=no
70659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70660 ac_ext=c
70661 ac_cpp='$CPP $CPPFLAGS'
70662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
70671 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
70672 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
70673 for ac_func in strtof
70674 do :
70675 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
70676 if test "x$ac_cv_func_strtof" = x""yes; then :
70677 cat >>confdefs.h <<_ACEOF
70678 #define HAVE_STRTOF 1
70679 _ACEOF
70682 done
70689 CXXFLAGS="$ac_save_CXXFLAGS"
70692 *-vxworks)
70693 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
70695 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
70697 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
70699 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
70701 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
70703 $as_echo "#define HAVE_COSF 1" >>confdefs.h
70705 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
70707 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
70709 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
70711 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
70713 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
70715 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
70717 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
70719 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
70721 $as_echo "#define HAVE_POWF 1" >>confdefs.h
70723 $as_echo "#define HAVE_SINF 1" >>confdefs.h
70725 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
70727 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
70729 $as_echo "#define HAVE_TANF 1" >>confdefs.h
70731 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
70735 as_fn_error "No support for this host/target combination." "$LINENO" 5
70737 esac
70741 # At some point, we should differentiate between architectures
70742 # like x86, which have long double versions, and alpha/powerpc/etc.,
70743 # which don't. For the time being, punt.
70744 if test x"long_double_math_on_this_cpu" = x"yes"; then
70745 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
70747 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
70749 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
70751 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
70753 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
70755 $as_echo "#define HAVE_COSL 1" >>confdefs.h
70757 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
70759 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
70761 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
70763 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
70765 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
70767 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
70769 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
70771 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
70773 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
70775 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
70777 $as_echo "#define HAVE_POWL 1" >>confdefs.h
70779 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
70781 $as_echo "#define HAVE_SINL 1" >>confdefs.h
70783 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
70785 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
70787 $as_echo "#define HAVE_TANL 1" >>confdefs.h
70789 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
70794 # Check for _Unwind_GetIPInfo.
70797 # Check whether --with-system-libunwind was given.
70798 if test "${with_system_libunwind+set}" = set; then :
70799 withval=$with_system_libunwind;
70802 # If system-libunwind was not specifically set, pick a default setting.
70803 if test x$with_system_libunwind = x; then
70804 case ${target} in
70805 ia64-*-hpux*) with_system_libunwind=yes ;;
70806 *) with_system_libunwind=no ;;
70807 esac
70809 # Based on system-libunwind and target, do we have ipinfo?
70810 if test x$with_system_libunwind = xyes; then
70811 case ${target} in
70812 ia64-*-*) have_unwind_getipinfo=no ;;
70813 *) have_unwind_getipinfo=yes ;;
70814 esac
70815 else
70816 # Darwin before version 9 does not have _Unwind_GetIPInfo.
70818 case ${target} in
70819 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
70820 *) have_unwind_getipinfo=yes ;;
70821 esac
70825 if test x$have_unwind_getipinfo = xyes; then
70827 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
70832 # Check whether --enable-linux-futex was given.
70833 if test "${enable_linux_futex+set}" = set; then :
70834 enableval=$enable_linux_futex;
70835 case "$enableval" in
70836 yes|no|default) ;;
70837 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
70838 esac
70840 else
70841 enable_linux_futex=default
70845 case "$target" in
70846 *-linux*)
70847 case "$enable_linux_futex" in
70848 default)
70849 # If headers don't have gettid/futex syscalls definition, then
70850 # default to no, otherwise there will be compile time failures.
70851 # Otherwise, default to yes. If we don't detect we are
70852 # compiled/linked against NPTL and not cross-compiling, check
70853 # if programs are run by default against NPTL and if not, issue
70854 # a warning.
70855 enable_linux_futex=no
70856 if test x$gcc_no_link = xyes; then
70857 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70860 /* end confdefs.h. */
70861 #include <sys/syscall.h>
70862 int lk;
70864 main ()
70866 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70868 return 0;
70870 _ACEOF
70871 if ac_fn_c_try_link "$LINENO"; then :
70872 save_LIBS="$LIBS"
70873 LIBS="-lpthread $LIBS"
70874 if test x$gcc_no_link = xyes; then
70875 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70878 /* end confdefs.h. */
70879 #ifndef _GNU_SOURCE
70880 #define _GNU_SOURCE 1
70881 #endif
70882 #include <pthread.h>
70883 pthread_t th; void *status;
70885 main ()
70887 pthread_tryjoin_np (th, &status);
70889 return 0;
70891 _ACEOF
70892 if ac_fn_c_try_link "$LINENO"; then :
70893 enable_linux_futex=yes
70894 else
70895 if test x$cross_compiling = xno; then
70896 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
70897 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
70898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
70899 If so, please configure with --disable-linux-futex" >&5
70900 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
70901 If so, please configure with --disable-linux-futex" >&2;}
70904 enable_linux_futex=yes
70906 rm -f core conftest.err conftest.$ac_objext \
70907 conftest$ac_exeext conftest.$ac_ext
70908 LIBS="$save_LIBS"
70910 rm -f core conftest.err conftest.$ac_objext \
70911 conftest$ac_exeext conftest.$ac_ext
70913 yes)
70914 if test x$gcc_no_link = xyes; then
70915 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70918 /* end confdefs.h. */
70919 #include <sys/syscall.h>
70920 int lk;
70922 main ()
70924 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70926 return 0;
70928 _ACEOF
70929 if ac_fn_c_try_link "$LINENO"; then :
70931 else
70932 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
70934 rm -f core conftest.err conftest.$ac_objext \
70935 conftest$ac_exeext conftest.$ac_ext
70937 esac
70940 enable_linux_futex=no
70942 esac
70943 if test x$enable_linux_futex = xyes; then
70945 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
70952 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
70954 acx_cv_header_stdint=stddef.h
70955 acx_cv_header_stdint_kind="(already complete)"
70956 for i in stdint.h $inttype_headers; do
70957 unset ac_cv_type_uintptr_t
70958 unset ac_cv_type_uintmax_t
70959 unset ac_cv_type_int_least32_t
70960 unset ac_cv_type_int_fast32_t
70961 unset ac_cv_type_uint64_t
70962 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
70963 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
70964 #include <$i>
70966 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
70967 acx_cv_header_stdint=$i
70968 else
70969 continue
70972 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
70973 #include <$i>
70975 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
70977 else
70978 acx_cv_header_stdint_kind="(mostly complete)"
70981 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
70982 #include <$i>
70984 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
70986 else
70987 acx_cv_header_stdint_kind="(mostly complete)"
70990 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
70991 #include <$i>
70993 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
70995 else
70996 acx_cv_header_stdint_kind="(mostly complete)"
70999 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
71000 #include <$i>
71002 if test "x$ac_cv_type_uint64_t" = x""yes; then :
71004 else
71005 acx_cv_header_stdint_kind="(lacks uint64_t)"
71008 break
71009 done
71010 if test "$acx_cv_header_stdint" = stddef.h; then
71011 acx_cv_header_stdint_kind="(lacks uintmax_t)"
71012 for i in stdint.h $inttype_headers; do
71013 unset ac_cv_type_uintptr_t
71014 unset ac_cv_type_uint32_t
71015 unset ac_cv_type_uint64_t
71016 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
71017 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
71018 #include <$i>
71020 if test "x$ac_cv_type_uint32_t" = x""yes; then :
71021 acx_cv_header_stdint=$i
71022 else
71023 continue
71026 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
71027 #include <$i>
71029 if test "x$ac_cv_type_uint64_t" = x""yes; then :
71033 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
71034 #include <$i>
71036 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
71040 break
71041 done
71043 if test "$acx_cv_header_stdint" = stddef.h; then
71044 acx_cv_header_stdint_kind="(u_intXX_t style)"
71045 for i in sys/types.h $inttype_headers; do
71046 unset ac_cv_type_u_int32_t
71047 unset ac_cv_type_u_int64_t
71048 $as_echo_n "looking for u_intXX_t types in $i, " >&6
71049 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
71050 #include <$i>
71052 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
71053 acx_cv_header_stdint=$i
71054 else
71055 continue
71058 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
71059 #include <$i>
71061 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
71065 break
71066 done
71068 if test "$acx_cv_header_stdint" = stddef.h; then
71069 acx_cv_header_stdint_kind="(using manual detection)"
71072 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
71073 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
71074 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
71075 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
71076 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
71078 # ----------------- Summarize what we found so far
71080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
71081 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
71083 case `$as_basename -- include/gstdint.h ||
71084 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
71085 Xinclude/gstdint.h : 'X\(//\)$' \| \
71086 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
71087 $as_echo X/include/gstdint.h |
71088 sed '/^.*\/\([^/][^/]*\)\/*$/{
71089 s//\1/
71092 /^X\/\(\/\/\)$/{
71093 s//\1/
71096 /^X\/\(\/\).*/{
71097 s//\1/
71100 s/.*/./; q'` in
71101 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
71102 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
71103 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
71104 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
71105 *) ;;
71106 esac
71108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
71109 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
71111 # ----------------- done included file, check C basic types --------
71113 # Lacking an uintptr_t? Test size of void *
71114 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
71115 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
71116 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71117 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71118 # This bug is HP SR number 8606223364.
71119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
71120 $as_echo_n "checking size of void *... " >&6; }
71121 if test "${ac_cv_sizeof_void_p+set}" = set; then :
71122 $as_echo_n "(cached) " >&6
71123 else
71124 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
71126 else
71127 if test "$ac_cv_type_void_p" = yes; then
71128 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71130 { as_fn_set_status 77
71131 as_fn_error "cannot compute sizeof (void *)
71132 See \`config.log' for more details." "$LINENO" 5; }; }
71133 else
71134 ac_cv_sizeof_void_p=0
71139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
71140 $as_echo "$ac_cv_sizeof_void_p" >&6; }
71144 cat >>confdefs.h <<_ACEOF
71145 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
71146 _ACEOF
71149 esac
71151 # Lacking an uint64_t? Test size of long
71152 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
71153 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
71154 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71155 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71156 # This bug is HP SR number 8606223364.
71157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
71158 $as_echo_n "checking size of long... " >&6; }
71159 if test "${ac_cv_sizeof_long+set}" = set; then :
71160 $as_echo_n "(cached) " >&6
71161 else
71162 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
71164 else
71165 if test "$ac_cv_type_long" = yes; then
71166 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71167 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71168 { as_fn_set_status 77
71169 as_fn_error "cannot compute sizeof (long)
71170 See \`config.log' for more details." "$LINENO" 5; }; }
71171 else
71172 ac_cv_sizeof_long=0
71177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
71178 $as_echo "$ac_cv_sizeof_long" >&6; }
71182 cat >>confdefs.h <<_ACEOF
71183 #define SIZEOF_LONG $ac_cv_sizeof_long
71184 _ACEOF
71187 esac
71189 if test $acx_cv_header_stdint = stddef.h; then
71190 # Lacking a good header? Test size of everything and deduce all types.
71191 # The cast to long int works around a bug in the HP C Compiler
71192 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71193 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71194 # This bug is HP SR number 8606223364.
71195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
71196 $as_echo_n "checking size of int... " >&6; }
71197 if test "${ac_cv_sizeof_int+set}" = set; then :
71198 $as_echo_n "(cached) " >&6
71199 else
71200 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
71202 else
71203 if test "$ac_cv_type_int" = yes; then
71204 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71206 { as_fn_set_status 77
71207 as_fn_error "cannot compute sizeof (int)
71208 See \`config.log' for more details." "$LINENO" 5; }; }
71209 else
71210 ac_cv_sizeof_int=0
71215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
71216 $as_echo "$ac_cv_sizeof_int" >&6; }
71220 cat >>confdefs.h <<_ACEOF
71221 #define SIZEOF_INT $ac_cv_sizeof_int
71222 _ACEOF
71225 # The cast to long int works around a bug in the HP C Compiler
71226 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71227 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71228 # This bug is HP SR number 8606223364.
71229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
71230 $as_echo_n "checking size of short... " >&6; }
71231 if test "${ac_cv_sizeof_short+set}" = set; then :
71232 $as_echo_n "(cached) " >&6
71233 else
71234 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
71236 else
71237 if test "$ac_cv_type_short" = yes; then
71238 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71240 { as_fn_set_status 77
71241 as_fn_error "cannot compute sizeof (short)
71242 See \`config.log' for more details." "$LINENO" 5; }; }
71243 else
71244 ac_cv_sizeof_short=0
71249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
71250 $as_echo "$ac_cv_sizeof_short" >&6; }
71254 cat >>confdefs.h <<_ACEOF
71255 #define SIZEOF_SHORT $ac_cv_sizeof_short
71256 _ACEOF
71259 # The cast to long int works around a bug in the HP C Compiler
71260 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71261 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71262 # This bug is HP SR number 8606223364.
71263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
71264 $as_echo_n "checking size of char... " >&6; }
71265 if test "${ac_cv_sizeof_char+set}" = set; then :
71266 $as_echo_n "(cached) " >&6
71267 else
71268 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
71270 else
71271 if test "$ac_cv_type_char" = yes; then
71272 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71274 { as_fn_set_status 77
71275 as_fn_error "cannot compute sizeof (char)
71276 See \`config.log' for more details." "$LINENO" 5; }; }
71277 else
71278 ac_cv_sizeof_char=0
71283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
71284 $as_echo "$ac_cv_sizeof_char" >&6; }
71288 cat >>confdefs.h <<_ACEOF
71289 #define SIZEOF_CHAR $ac_cv_sizeof_char
71290 _ACEOF
71294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
71295 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
71296 case "$ac_cv_sizeof_char" in
71297 1) acx_cv_type_int8_t=char ;;
71298 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
71299 esac
71300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
71301 $as_echo "$acx_cv_type_int8_t" >&6; }
71303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
71304 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
71305 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
71306 2:*) acx_cv_type_int16_t=int ;;
71307 *:2) acx_cv_type_int16_t=short ;;
71308 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
71309 esac
71310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
71311 $as_echo "$acx_cv_type_int16_t" >&6; }
71313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
71314 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
71315 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
71316 4:*) acx_cv_type_int32_t=int ;;
71317 *:4) acx_cv_type_int32_t=long ;;
71318 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
71319 esac
71320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
71321 $as_echo "$acx_cv_type_int32_t" >&6; }
71324 # These tests are here to make the output prettier
71326 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
71327 case "$ac_cv_sizeof_long" in
71328 8) acx_cv_type_int64_t=long ;;
71329 esac
71330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
71331 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
71332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
71333 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
71336 # Now we can use the above types
71338 if test "$ac_cv_type_uintptr_t" != yes; then
71339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
71340 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
71341 case $ac_cv_sizeof_void_p in
71342 2) acx_cv_type_intptr_t=int16_t ;;
71343 4) acx_cv_type_intptr_t=int32_t ;;
71344 8) acx_cv_type_intptr_t=int64_t ;;
71345 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
71346 esac
71347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
71348 $as_echo "$acx_cv_type_intptr_t" >&6; }
71351 # ----------------- done all checks, emit header -------------
71352 ac_config_commands="$ac_config_commands include/gstdint.h"
71358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
71359 $as_echo_n "checking for GNU c++filt... " >&6; }
71360 if test "${ac_cv_path_CXXFILT+set}" = set; then :
71361 $as_echo_n "(cached) " >&6
71362 else
71363 if test -z "$CXXFILT"; then
71364 ac_path_CXXFILT_found=false
71365 # Loop through the user's path and test for each of PROGNAME-LIST
71366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71367 for as_dir in $PATH
71369 IFS=$as_save_IFS
71370 test -z "$as_dir" && as_dir=.
71371 for ac_prog in c++filt gc++filt; do
71372 for ac_exec_ext in '' $ac_executable_extensions; do
71373 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
71374 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
71375 # Check for GNU $ac_path_CXXFILT
71376 case `"$ac_path_CXXFILT" --version 2>&1` in
71377 *GNU*)
71378 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
71379 esac
71381 $ac_path_CXXFILT_found && break 3
71382 done
71383 done
71384 done
71385 IFS=$as_save_IFS
71386 if test -z "$ac_cv_path_CXXFILT"; then
71389 else
71390 ac_cv_path_CXXFILT=$CXXFILT
71394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
71395 $as_echo "$ac_cv_path_CXXFILT" >&6; }
71396 CXXFILT=$ac_cv_path_CXXFILT
71400 # Check whether --enable-symvers was given.
71401 if test "${enable_symvers+set}" = set; then :
71402 enableval=$enable_symvers;
71403 case "$enableval" in
71404 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
71405 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
71406 esac
71408 else
71409 enable_symvers=yes
71414 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
71415 # don't know enough about $LD to do tricks...
71417 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
71418 # with extern "C++" in version scripts.
71421 # Turn a 'yes' into a suitable default.
71422 if test x$enable_symvers = xyes ; then
71423 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
71424 enable_symvers=no
71425 else
71426 if test $with_gnu_ld = yes ; then
71427 case ${target_os} in
71428 hpux*)
71429 enable_symvers=no ;;
71431 enable_symvers=gnu ;;
71432 esac
71433 else
71434 case ${target_os} in
71435 darwin*)
71436 enable_symvers=darwin ;;
71437 # Sun symbol versioning exists since Solaris 2.5.
71438 solaris2.[5-9]* | solaris2.1[0-9]*)
71439 # make_sunver.pl needs GNU c++filt to support extern "C++" in
71440 # version scripts, so disable symbol versioning if none can be
71441 # found.
71442 if test -z "$ac_cv_path_CXXFILT"; then
71443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71444 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
71446 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
71447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71448 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71449 enable_symvers=no
71450 else
71451 enable_symvers=sun
71455 enable_symvers=no ;;
71456 esac
71461 # Check to see if 'darwin' or 'darwin-export' can win.
71462 if test x$enable_symvers = xdarwin-export ; then
71463 enable_symvers=darwin
71466 # Check if 'sun' was requested on non-Solaris 2 platforms.
71467 if test x$enable_symvers = xsun ; then
71468 case ${target_os} in
71469 solaris2*)
71470 # All fine.
71473 # Unlikely to work.
71474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71475 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
71477 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
71478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71479 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71480 enable_symvers=no
71482 esac
71485 # Check to see if 'gnu' can win.
71486 if test $enable_symvers = gnu ||
71487 test $enable_symvers = gnu-versioned-namespace ||
71488 test $enable_symvers = sun; then
71489 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
71490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
71491 $as_echo_n "checking for shared libgcc... " >&6; }
71492 ac_save_CFLAGS="$CFLAGS"
71493 CFLAGS=' -lgcc_s'
71494 if test x$gcc_no_link = xyes; then
71495 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71498 /* end confdefs.h. */
71501 main ()
71503 return 0;
71505 return 0;
71507 _ACEOF
71508 if ac_fn_c_try_link "$LINENO"; then :
71509 glibcxx_shared_libgcc=yes
71510 else
71511 glibcxx_shared_libgcc=no
71513 rm -f core conftest.err conftest.$ac_objext \
71514 conftest$ac_exeext conftest.$ac_ext
71515 CFLAGS="$ac_save_CFLAGS"
71516 if test $glibcxx_shared_libgcc = no; then
71517 cat > conftest.c <<EOF
71518 int main (void) { return 0; }
71520 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
71521 -shared -shared-libgcc -o conftest.so \
71522 conftest.c -v 2>&1 >/dev/null \
71523 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
71524 rm -f conftest.c conftest.so
71525 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
71526 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
71527 if test x$gcc_no_link = xyes; then
71528 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71531 /* end confdefs.h. */
71534 main ()
71536 return 0;
71538 return 0;
71540 _ACEOF
71541 if ac_fn_c_try_link "$LINENO"; then :
71542 glibcxx_shared_libgcc=yes
71544 rm -f core conftest.err conftest.$ac_objext \
71545 conftest$ac_exeext conftest.$ac_ext
71546 CFLAGS="$ac_save_CFLAGS"
71549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
71550 $as_echo "$glibcxx_shared_libgcc" >&6; }
71552 # For GNU ld, we need at least this version. The format is described in
71553 # GLIBCXX_CHECK_LINKER_FEATURES above.
71554 glibcxx_min_gnu_ld_version=21400
71556 # If no shared libgcc, can't win.
71557 if test $glibcxx_shared_libgcc != yes; then
71558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71559 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
71561 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
71562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71563 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71564 enable_symvers=no
71565 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
71566 : All interesting versions of Sun ld support sun style symbol versioning.
71567 elif test $with_gnu_ld != yes ; then
71568 # just fail for now
71569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71570 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
71572 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
71573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71574 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71575 enable_symvers=no
71576 elif test $glibcxx_ld_is_gold = yes ; then
71577 : All versions of gold support symbol versioning.
71578 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
71579 # The right tools, the right setup, but too old. Fallbacks?
71580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
71581 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
71582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
71583 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
71584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
71585 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
71586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
71587 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
71588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71589 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71590 enable_symvers=no
71594 # For libtool versioning info, format is CURRENT:REVISION:AGE
71595 libtool_VERSION=6:19:0
71597 # Everything parsed; figure out what files and settings to use.
71598 case $enable_symvers in
71600 SYMVER_FILE=config/abi/pre/none.ver
71602 gnu)
71603 SYMVER_FILE=config/abi/pre/gnu.ver
71605 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
71608 gnu-versioned-namespace)
71609 libtool_VERSION=7:0:0
71610 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
71612 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
71615 darwin)
71616 SYMVER_FILE=config/abi/pre/gnu.ver
71618 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
71621 sun)
71622 SYMVER_FILE=config/abi/pre/gnu.ver
71624 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
71627 esac
71629 if test x$enable_symvers != xno ; then
71631 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
71635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
71636 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
71637 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
71638 $as_echo_n "(cached) " >&6
71639 else
71641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71642 /* end confdefs.h. */
71643 void foo (void); __asm (".symver foo, bar@SYMVER");
71645 main ()
71649 return 0;
71651 _ACEOF
71652 if ac_fn_c_try_compile "$LINENO"; then :
71653 glibcxx_cv_have_as_symver_directive=yes
71654 else
71655 glibcxx_cv_have_as_symver_directive=no
71657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
71660 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
71661 if test $glibcxx_cv_have_as_symver_directive = yes; then
71663 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
71674 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
71675 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
71677 if test $enable_symvers != no ; then
71678 case ${target_os} in
71679 # The Solaris 2 runtime linker doesn't support the GNU extension of
71680 # binding the same symbol to different versions
71681 solaris2*)
71683 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
71686 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
71689 esac
71692 # Now, set up compatibility support, if any.
71693 # In addition, need this to deal with std::size_t mangling in
71694 # src/compatibility.cc. In a perfect world, could use
71695 # typeid(std::size_t).name()[0] to do direct substitution.
71696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
71697 $as_echo_n "checking for size_t as unsigned int... " >&6; }
71698 ac_save_CFLAGS="$CFLAGS"
71699 CFLAGS="-Werror"
71700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71701 /* end confdefs.h. */
71704 main ()
71706 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
71708 return 0;
71710 _ACEOF
71711 if ac_fn_c_try_compile "$LINENO"; then :
71712 glibcxx_size_t_is_i=yes
71713 else
71714 glibcxx_size_t_is_i=no
71716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71717 CFLAGS=$ac_save_CFLAGS
71718 if test "$glibcxx_size_t_is_i" = yes; then
71720 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
71723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
71724 $as_echo "$glibcxx_size_t_is_i" >&6; }
71726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
71727 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
71728 ac_save_CFLAGS="$CFLAGS"
71729 CFLAGS="-Werror"
71730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71731 /* end confdefs.h. */
71734 main ()
71736 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
71738 return 0;
71740 _ACEOF
71741 if ac_fn_c_try_compile "$LINENO"; then :
71742 glibcxx_ptrdiff_t_is_i=yes
71743 else
71744 glibcxx_ptrdiff_t_is_i=no
71746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71747 CFLAGS=$ac_save_CFLAGS
71748 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
71750 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
71753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
71754 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
71759 # Check whether --enable-libstdcxx-visibility was given.
71760 if test "${enable_libstdcxx_visibility+set}" = set; then :
71761 enableval=$enable_libstdcxx_visibility;
71762 case "$enableval" in
71763 yes|no) ;;
71764 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
71765 esac
71767 else
71768 enable_libstdcxx_visibility=yes
71773 if test x$enable_libstdcxx_visibility = xyes ; then
71774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
71775 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
71776 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
71777 $as_echo_n "(cached) " >&6
71778 else
71780 save_CFLAGS="$CFLAGS"
71781 CFLAGS="$CFLAGS -Werror"
71782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71783 /* end confdefs.h. */
71784 void __attribute__((visibility("hidden"))) foo(void) { }
71786 main ()
71790 return 0;
71792 _ACEOF
71793 if ac_fn_c_try_compile "$LINENO"; then :
71794 glibcxx_cv_have_attribute_visibility=yes
71795 else
71796 glibcxx_cv_have_attribute_visibility=no
71798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71799 CFLAGS="$save_CFLAGS"
71801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
71802 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
71803 if test $glibcxx_cv_have_attribute_visibility = no; then
71804 enable_libstdcxx_visibility=no
71809 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
71810 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
71813 ac_ldbl_compat=no
71814 case "$target" in
71815 powerpc*-*-linux* | \
71816 sparc*-*-linux* | \
71817 s390*-*-linux* | \
71818 alpha*-*-linux*)
71819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71820 /* end confdefs.h. */
71823 main ()
71826 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
71827 #error no need for long double compatibility
71828 #endif
71831 return 0;
71833 _ACEOF
71834 if ac_fn_c_try_compile "$LINENO"; then :
71835 ac_ldbl_compat=yes
71836 else
71837 ac_ldbl_compat=no
71839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71840 if test "$ac_ldbl_compat" = yes; then
71842 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
71844 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
71846 esac
71849 # Check if assembler supports disabling hardware capability support.
71851 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
71853 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
71854 # with a different meaning.
71855 case ${target_os} in
71856 solaris2*)
71857 ac_save_CFLAGS="$CFLAGS"
71858 CFLAGS="$CFLAGS -Wa,-nH"
71860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
71861 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
71862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71863 /* end confdefs.h. */
71866 main ()
71868 return 0;
71870 return 0;
71872 _ACEOF
71873 if ac_fn_c_try_compile "$LINENO"; then :
71874 ac_hwcap_flags=yes
71875 else
71876 ac_hwcap_flags=no
71878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71879 if test "$ac_hwcap_flags" = "yes"; then
71880 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
71882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
71883 $as_echo "$ac_hwcap_flags" >&6; }
71885 CFLAGS="$ac_save_CFLAGS"
71887 esac
71892 # Check if assembler supports rdrand opcode.
71894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
71895 $as_echo_n "checking for rdrand support in assembler... " >&6; }
71896 if test "${ac_cv_x86_rdrand+set}" = set; then :
71897 $as_echo_n "(cached) " >&6
71898 else
71900 ac_cv_x86_rdrand=no
71901 case "$target" in
71902 i?86-*-* | \
71903 x86_64-*-*)
71904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71905 /* end confdefs.h. */
71908 main ()
71910 asm("rdrand %eax");
71912 return 0;
71914 _ACEOF
71915 if ac_fn_c_try_compile "$LINENO"; then :
71916 ac_cv_x86_rdrand=yes
71917 else
71918 ac_cv_x86_rdrand=no
71920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71921 esac
71925 if test $ac_cv_x86_rdrand = yes; then
71927 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
71930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
71931 $as_echo "$ac_cv_x86_rdrand" >&6; }
71934 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
71936 if $GLIBCXX_IS_NATIVE ; then
71937 # Do checks for resource limit functions.
71939 setrlimit_have_headers=yes
71940 for ac_header in unistd.h sys/time.h sys/resource.h
71941 do :
71942 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
71943 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
71944 eval as_val=\$$as_ac_Header
71945 if test "x$as_val" = x""yes; then :
71946 cat >>confdefs.h <<_ACEOF
71947 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
71948 _ACEOF
71950 else
71951 setrlimit_have_headers=no
71954 done
71956 # If don't have the headers, then we can't run the tests now, and we
71957 # won't be seeing any of these during testsuite compilation.
71958 if test $setrlimit_have_headers = yes; then
71959 # Can't do these in a loop, else the resulting syntax is wrong.
71961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
71962 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
71963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71964 /* end confdefs.h. */
71965 #include <unistd.h>
71966 #include <sys/time.h>
71967 #include <sys/resource.h>
71970 main ()
71972 int f = RLIMIT_DATA ;
71974 return 0;
71976 _ACEOF
71977 if ac_fn_c_try_compile "$LINENO"; then :
71978 glibcxx_mresult=1
71979 else
71980 glibcxx_mresult=0
71982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71984 cat >>confdefs.h <<_ACEOF
71985 #define HAVE_LIMIT_DATA $glibcxx_mresult
71986 _ACEOF
71988 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71990 $as_echo "$res" >&6; }
71993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
71994 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
71995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71996 /* end confdefs.h. */
71997 #include <unistd.h>
71998 #include <sys/time.h>
71999 #include <sys/resource.h>
72002 main ()
72004 int f = RLIMIT_RSS ;
72006 return 0;
72008 _ACEOF
72009 if ac_fn_c_try_compile "$LINENO"; then :
72010 glibcxx_mresult=1
72011 else
72012 glibcxx_mresult=0
72014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72016 cat >>confdefs.h <<_ACEOF
72017 #define HAVE_LIMIT_RSS $glibcxx_mresult
72018 _ACEOF
72020 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72022 $as_echo "$res" >&6; }
72025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
72026 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
72027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72028 /* end confdefs.h. */
72029 #include <unistd.h>
72030 #include <sys/time.h>
72031 #include <sys/resource.h>
72034 main ()
72036 int f = RLIMIT_VMEM ;
72038 return 0;
72040 _ACEOF
72041 if ac_fn_c_try_compile "$LINENO"; then :
72042 glibcxx_mresult=1
72043 else
72044 glibcxx_mresult=0
72046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72048 cat >>confdefs.h <<_ACEOF
72049 #define HAVE_LIMIT_VMEM $glibcxx_mresult
72050 _ACEOF
72052 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72054 $as_echo "$res" >&6; }
72057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
72058 $as_echo_n "checking for RLIMIT_AS... " >&6; }
72059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72060 /* end confdefs.h. */
72061 #include <unistd.h>
72062 #include <sys/time.h>
72063 #include <sys/resource.h>
72066 main ()
72068 int f = RLIMIT_AS ;
72070 return 0;
72072 _ACEOF
72073 if ac_fn_c_try_compile "$LINENO"; then :
72074 glibcxx_mresult=1
72075 else
72076 glibcxx_mresult=0
72078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72080 cat >>confdefs.h <<_ACEOF
72081 #define HAVE_LIMIT_AS $glibcxx_mresult
72082 _ACEOF
72084 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72086 $as_echo "$res" >&6; }
72089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
72090 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
72091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72092 /* end confdefs.h. */
72093 #include <unistd.h>
72094 #include <sys/time.h>
72095 #include <sys/resource.h>
72098 main ()
72100 int f = RLIMIT_FSIZE ;
72102 return 0;
72104 _ACEOF
72105 if ac_fn_c_try_compile "$LINENO"; then :
72106 glibcxx_mresult=1
72107 else
72108 glibcxx_mresult=0
72110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72112 cat >>confdefs.h <<_ACEOF
72113 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
72114 _ACEOF
72116 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72118 $as_echo "$res" >&6; }
72121 # Check for rlimit, setrlimit.
72122 if test "${glibcxx_cv_setrlimit+set}" = set; then :
72123 $as_echo_n "(cached) " >&6
72124 else
72126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72127 /* end confdefs.h. */
72128 #include <unistd.h>
72129 #include <sys/time.h>
72130 #include <sys/resource.h>
72133 main ()
72135 struct rlimit r;
72136 setrlimit(0, &r);
72138 return 0;
72140 _ACEOF
72141 if ac_fn_c_try_compile "$LINENO"; then :
72142 glibcxx_cv_setrlimit=yes
72143 else
72144 glibcxx_cv_setrlimit=no
72146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
72153 $as_echo_n "checking for testsuite resource limits support... " >&6; }
72154 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
72155 ac_res_limits=yes
72157 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
72159 else
72160 ac_res_limits=no
72162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
72163 $as_echo "$ac_res_limits" >&6; }
72166 # Look for setenv, so that extended locale tests can be performed.
72168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
72169 $as_echo_n "checking for setenv declaration... " >&6; }
72170 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
72171 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
72172 $as_echo_n "(cached) " >&6
72173 else
72176 ac_ext=cpp
72177 ac_cpp='$CXXCPP $CPPFLAGS'
72178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72183 /* end confdefs.h. */
72184 #include <stdlib.h>
72186 main ()
72188 setenv(0, 0, 0);
72190 return 0;
72192 _ACEOF
72193 if ac_fn_cxx_try_compile "$LINENO"; then :
72194 glibcxx_cv_func_setenv_use=yes
72195 else
72196 glibcxx_cv_func_setenv_use=no
72198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72199 ac_ext=c
72200 ac_cpp='$CPP $CPPFLAGS'
72201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
72210 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
72211 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
72212 for ac_func in setenv
72213 do :
72214 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
72215 if test "x$ac_cv_func_setenv" = x""yes; then :
72216 cat >>confdefs.h <<_ACEOF
72217 #define HAVE_SETENV 1
72218 _ACEOF
72221 done
72227 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
72228 test $enable_symvers != no; then
72229 case "$host" in
72230 *-*-cygwin*)
72231 enable_abi_check=no ;;
72233 enable_abi_check=yes ;;
72234 esac
72235 else
72236 # Only build this as native, since automake does not understand
72237 # CXX_FOR_BUILD.
72238 enable_abi_check=no
72241 # Export file names for ABI checking.
72242 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
72244 baseline_subdir_switch="$abi_baseline_subdir_switch"
72248 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
72250 # Check whether --enable-libstdcxx-threads was given.
72251 if test "${enable_libstdcxx_threads+set}" = set; then :
72252 enableval=$enable_libstdcxx_threads;
72253 case "$enableval" in
72254 yes|no) ;;
72255 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
72256 esac
72258 else
72259 enable_libstdcxx_threads=auto
72264 if test x$enable_libstdcxx_threads = xauto ||
72265 test x$enable_libstdcxx_threads = xyes; then
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
72275 ac_save_CXXFLAGS="$CXXFLAGS"
72276 CXXFLAGS="$CXXFLAGS -fno-exceptions \
72277 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
72279 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
72280 case $target_thread_file in
72281 posix)
72282 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
72283 esac
72285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
72286 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
72288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72289 /* end confdefs.h. */
72290 #include <unistd.h>
72292 main ()
72295 // In case of POSIX threads check _POSIX_TIMEOUTS.
72296 #if (defined(_PTHREADS) \
72297 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
72298 #error
72299 #endif
72302 return 0;
72304 _ACEOF
72305 if ac_fn_cxx_try_compile "$LINENO"; then :
72306 ac_gthread_use_mutex_timedlock=1
72307 else
72308 ac_gthread_use_mutex_timedlock=0
72310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72313 cat >>confdefs.h <<_ACEOF
72314 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
72315 _ACEOF
72318 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
72319 else res_mutex_timedlock=no ; fi
72320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
72321 $as_echo "$res_mutex_timedlock" >&6; }
72323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
72324 $as_echo_n "checking for gthreads library... " >&6; }
72326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72327 /* end confdefs.h. */
72328 #include "gthr.h"
72330 main ()
72333 #ifndef __GTHREADS_CXX0X
72334 #error
72335 #endif
72338 return 0;
72340 _ACEOF
72341 if ac_fn_cxx_try_compile "$LINENO"; then :
72342 case $target_os in
72343 # gthreads support breaks symbol versioning on Solaris 9 (PR
72344 # libstdc++/52189).
72345 solaris2.9*)
72346 if test x$enable_symvers = xno; then
72347 ac_has_gthreads=yes
72348 elif test x$enable_libstdcxx_threads = xyes; then
72349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
72350 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
72351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
72352 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
72353 ac_has_gthreads=yes
72354 else
72355 ac_has_gthreads=no
72359 ac_has_gthreads=yes
72361 esac
72362 else
72363 ac_has_gthreads=no
72365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72366 else
72367 ac_has_gthreads=no
72370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
72371 $as_echo "$ac_has_gthreads" >&6; }
72373 if test x"$ac_has_gthreads" = x"yes"; then
72375 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
72379 CXXFLAGS="$ac_save_CXXFLAGS"
72380 ac_ext=c
72381 ac_cpp='$CPP $CPPFLAGS'
72382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72388 # Define documentation rules conditionally.
72390 # See if makeinfo has been installed and is modern enough
72391 # that we can use it.
72393 # Extract the first word of "makeinfo", so it can be a program name with args.
72394 set dummy makeinfo; ac_word=$2
72395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72396 $as_echo_n "checking for $ac_word... " >&6; }
72397 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
72398 $as_echo_n "(cached) " >&6
72399 else
72400 if test -n "$MAKEINFO"; then
72401 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
72402 else
72403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72404 for as_dir in $PATH
72406 IFS=$as_save_IFS
72407 test -z "$as_dir" && as_dir=.
72408 for ac_exec_ext in '' $ac_executable_extensions; do
72409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72410 ac_cv_prog_MAKEINFO="makeinfo"
72411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72412 break 2
72414 done
72415 done
72416 IFS=$as_save_IFS
72420 MAKEINFO=$ac_cv_prog_MAKEINFO
72421 if test -n "$MAKEINFO"; then
72422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
72423 $as_echo "$MAKEINFO" >&6; }
72424 else
72425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72426 $as_echo "no" >&6; }
72430 if test -n "$MAKEINFO"; then
72431 # Found it, now check the version.
72432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
72433 $as_echo_n "checking for modern makeinfo... " >&6; }
72434 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
72435 $as_echo_n "(cached) " >&6
72436 else
72437 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
72438 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
72440 case $ac_prog_version in
72441 '') gcc_cv_prog_makeinfo_modern=no;;
72442 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
72443 *) gcc_cv_prog_makeinfo_modern=no;;
72444 esac
72447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
72448 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
72449 else
72450 gcc_cv_prog_makeinfo_modern=no
72452 if test $gcc_cv_prog_makeinfo_modern = no; then
72453 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
72456 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
72457 BUILD_INFO_TRUE=
72458 BUILD_INFO_FALSE='#'
72459 else
72460 BUILD_INFO_TRUE='#'
72461 BUILD_INFO_FALSE=
72465 # Check for doxygen
72466 # Extract the first word of "doxygen", so it can be a program name with args.
72467 set dummy doxygen; ac_word=$2
72468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72469 $as_echo_n "checking for $ac_word... " >&6; }
72470 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
72471 $as_echo_n "(cached) " >&6
72472 else
72473 if test -n "$DOXYGEN"; then
72474 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
72475 else
72476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72477 for as_dir in $PATH
72479 IFS=$as_save_IFS
72480 test -z "$as_dir" && as_dir=.
72481 for ac_exec_ext in '' $ac_executable_extensions; do
72482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72483 ac_cv_prog_DOXYGEN="yes"
72484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72485 break 2
72487 done
72488 done
72489 IFS=$as_save_IFS
72491 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
72494 DOXYGEN=$ac_cv_prog_DOXYGEN
72495 if test -n "$DOXYGEN"; then
72496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
72497 $as_echo "$DOXYGEN" >&6; }
72498 else
72499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72500 $as_echo "no" >&6; }
72504 # Extract the first word of "dot", so it can be a program name with args.
72505 set dummy dot; ac_word=$2
72506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72507 $as_echo_n "checking for $ac_word... " >&6; }
72508 if test "${ac_cv_prog_DOT+set}" = set; then :
72509 $as_echo_n "(cached) " >&6
72510 else
72511 if test -n "$DOT"; then
72512 ac_cv_prog_DOT="$DOT" # Let the user override the test.
72513 else
72514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72515 for as_dir in $PATH
72517 IFS=$as_save_IFS
72518 test -z "$as_dir" && as_dir=.
72519 for ac_exec_ext in '' $ac_executable_extensions; do
72520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72521 ac_cv_prog_DOT="yes"
72522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72523 break 2
72525 done
72526 done
72527 IFS=$as_save_IFS
72529 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
72532 DOT=$ac_cv_prog_DOT
72533 if test -n "$DOT"; then
72534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
72535 $as_echo "$DOT" >&6; }
72536 else
72537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72538 $as_echo "no" >&6; }
72543 # Check for docbook
72544 # Extract the first word of "xsltproc", so it can be a program name with args.
72545 set dummy xsltproc; ac_word=$2
72546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72547 $as_echo_n "checking for $ac_word... " >&6; }
72548 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
72549 $as_echo_n "(cached) " >&6
72550 else
72551 if test -n "$XSLTPROC"; then
72552 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
72553 else
72554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72555 for as_dir in $PATH
72557 IFS=$as_save_IFS
72558 test -z "$as_dir" && as_dir=.
72559 for ac_exec_ext in '' $ac_executable_extensions; do
72560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72561 ac_cv_prog_XSLTPROC="yes"
72562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72563 break 2
72565 done
72566 done
72567 IFS=$as_save_IFS
72569 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
72572 XSLTPROC=$ac_cv_prog_XSLTPROC
72573 if test -n "$XSLTPROC"; then
72574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
72575 $as_echo "$XSLTPROC" >&6; }
72576 else
72577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72578 $as_echo "no" >&6; }
72582 # Extract the first word of "xmllint", so it can be a program name with args.
72583 set dummy xmllint; ac_word=$2
72584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72585 $as_echo_n "checking for $ac_word... " >&6; }
72586 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
72587 $as_echo_n "(cached) " >&6
72588 else
72589 if test -n "$XMLLINT"; then
72590 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
72591 else
72592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72593 for as_dir in $PATH
72595 IFS=$as_save_IFS
72596 test -z "$as_dir" && as_dir=.
72597 for ac_exec_ext in '' $ac_executable_extensions; do
72598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72599 ac_cv_prog_XMLLINT="yes"
72600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72601 break 2
72603 done
72604 done
72605 IFS=$as_save_IFS
72607 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
72610 XMLLINT=$ac_cv_prog_XMLLINT
72611 if test -n "$XMLLINT"; then
72612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
72613 $as_echo "$XMLLINT" >&6; }
72614 else
72615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72616 $as_echo "no" >&6; }
72622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
72623 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
72624 glibcxx_stylesheets=no
72625 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
72626 glibcxx_stylesheets=yes
72628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
72629 $as_echo "$glibcxx_stylesheets" >&6; }
72631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
72632 $as_echo_n "checking for local stylesheet directory... " >&6; }
72633 glibcxx_local_stylesheets=no
72634 if test x"$glibcxx_stylesheets" = x"yes"; then
72635 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
72636 glibcxx_local_stylesheets=yes
72637 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
72639 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
72640 glibcxx_local_stylesheets=yes
72641 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
72643 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
72644 glibcxx_local_stylesheets=yes
72645 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
72648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
72649 $as_echo "$glibcxx_local_stylesheets" >&6; }
72651 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72653 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
72654 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
72655 else
72656 glibcxx_stylesheets=no
72659 # Check for epub3 dependencies.
72660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
72661 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
72662 glibcxx_epub_stylesheets=no
72663 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72664 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
72665 glibcxx_epub_stylesheets=yes
72668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
72669 $as_echo "$glibcxx_epub_stylesheets" >&6; }
72670 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
72671 BUILD_EPUB_TRUE=
72672 BUILD_EPUB_FALSE='#'
72673 else
72674 BUILD_EPUB_TRUE='#'
72675 BUILD_EPUB_FALSE=
72681 # Check for xml/html dependencies.
72682 if test $ac_cv_prog_DOXYGEN = "yes" &&
72683 test $ac_cv_prog_DOT = "yes" &&
72684 test $ac_cv_prog_XSLTPROC = "yes" &&
72685 test $ac_cv_prog_XMLLINT = "yes" &&
72686 test $glibcxx_stylesheets = "yes"; then
72687 BUILD_XML_TRUE=
72688 BUILD_XML_FALSE='#'
72689 else
72690 BUILD_XML_TRUE='#'
72691 BUILD_XML_FALSE=
72695 if test $ac_cv_prog_DOXYGEN = "yes" &&
72696 test $ac_cv_prog_DOT = "yes" &&
72697 test $ac_cv_prog_XSLTPROC = "yes" &&
72698 test $ac_cv_prog_XMLLINT = "yes" &&
72699 test $glibcxx_stylesheets = "yes"; then
72700 BUILD_HTML_TRUE=
72701 BUILD_HTML_FALSE='#'
72702 else
72703 BUILD_HTML_TRUE='#'
72704 BUILD_HTML_FALSE=
72708 # Check for man dependencies.
72709 if test $ac_cv_prog_DOXYGEN = "yes" &&
72710 test $ac_cv_prog_DOT = "yes"; then
72711 BUILD_MAN_TRUE=
72712 BUILD_MAN_FALSE='#'
72713 else
72714 BUILD_MAN_TRUE='#'
72715 BUILD_MAN_FALSE=
72719 # Check for pdf dependencies.
72720 # Extract the first word of "dblatex", so it can be a program name with args.
72721 set dummy dblatex; ac_word=$2
72722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72723 $as_echo_n "checking for $ac_word... " >&6; }
72724 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
72725 $as_echo_n "(cached) " >&6
72726 else
72727 if test -n "$DBLATEX"; then
72728 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
72729 else
72730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72731 for as_dir in $PATH
72733 IFS=$as_save_IFS
72734 test -z "$as_dir" && as_dir=.
72735 for ac_exec_ext in '' $ac_executable_extensions; do
72736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72737 ac_cv_prog_DBLATEX="yes"
72738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72739 break 2
72741 done
72742 done
72743 IFS=$as_save_IFS
72745 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
72748 DBLATEX=$ac_cv_prog_DBLATEX
72749 if test -n "$DBLATEX"; then
72750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
72751 $as_echo "$DBLATEX" >&6; }
72752 else
72753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72754 $as_echo "no" >&6; }
72758 # Extract the first word of "pdflatex", so it can be a program name with args.
72759 set dummy pdflatex; ac_word=$2
72760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72761 $as_echo_n "checking for $ac_word... " >&6; }
72762 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
72763 $as_echo_n "(cached) " >&6
72764 else
72765 if test -n "$PDFLATEX"; then
72766 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
72767 else
72768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72769 for as_dir in $PATH
72771 IFS=$as_save_IFS
72772 test -z "$as_dir" && as_dir=.
72773 for ac_exec_ext in '' $ac_executable_extensions; do
72774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72775 ac_cv_prog_PDFLATEX="yes"
72776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72777 break 2
72779 done
72780 done
72781 IFS=$as_save_IFS
72783 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
72786 PDFLATEX=$ac_cv_prog_PDFLATEX
72787 if test -n "$PDFLATEX"; then
72788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
72789 $as_echo "$PDFLATEX" >&6; }
72790 else
72791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72792 $as_echo "no" >&6; }
72796 if test $ac_cv_prog_DBLATEX = "yes" &&
72797 test $ac_cv_prog_PDFLATEX = "yes"; then
72798 BUILD_PDF_TRUE=
72799 BUILD_PDF_FALSE='#'
72800 else
72801 BUILD_PDF_TRUE='#'
72802 BUILD_PDF_FALSE=
72807 # Propagate the target-specific source directories through the build chain.
72808 ATOMICITY_SRCDIR=config/${atomicity_dir}
72809 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
72810 ATOMIC_FLAGS=${atomic_flags}
72811 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
72812 OS_INC_SRCDIR=config/${os_include_dir}
72813 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
72814 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
72815 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
72816 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
72828 # Determine cross-compile flags and AM_CONDITIONALs.
72829 #AC_SUBST(GLIBCXX_IS_NATIVE)
72830 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
72831 if test $is_hosted = yes; then
72832 GLIBCXX_HOSTED_TRUE=
72833 GLIBCXX_HOSTED_FALSE='#'
72834 else
72835 GLIBCXX_HOSTED_TRUE='#'
72836 GLIBCXX_HOSTED_FALSE=
72840 if test $enable_libstdcxx_pch = yes; then
72841 GLIBCXX_BUILD_PCH_TRUE=
72842 GLIBCXX_BUILD_PCH_FALSE='#'
72843 else
72844 GLIBCXX_BUILD_PCH_TRUE='#'
72845 GLIBCXX_BUILD_PCH_FALSE=
72849 if test $enable_cheaders = c; then
72850 GLIBCXX_C_HEADERS_C_TRUE=
72851 GLIBCXX_C_HEADERS_C_FALSE='#'
72852 else
72853 GLIBCXX_C_HEADERS_C_TRUE='#'
72854 GLIBCXX_C_HEADERS_C_FALSE=
72858 if test $enable_cheaders = c_std; then
72859 GLIBCXX_C_HEADERS_C_STD_TRUE=
72860 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
72861 else
72862 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
72863 GLIBCXX_C_HEADERS_C_STD_FALSE=
72867 if test $enable_cheaders = c_global; then
72868 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
72869 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
72870 else
72871 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
72872 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
72876 if test $c_compatibility = yes; then
72877 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
72878 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
72879 else
72880 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
72881 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
72885 if test $enable_libstdcxx_debug = yes; then
72886 GLIBCXX_BUILD_DEBUG_TRUE=
72887 GLIBCXX_BUILD_DEBUG_FALSE='#'
72888 else
72889 GLIBCXX_BUILD_DEBUG_TRUE='#'
72890 GLIBCXX_BUILD_DEBUG_FALSE=
72894 if test $enable_extern_template = yes; then
72895 ENABLE_EXTERN_TEMPLATE_TRUE=
72896 ENABLE_EXTERN_TEMPLATE_FALSE='#'
72897 else
72898 ENABLE_EXTERN_TEMPLATE_TRUE='#'
72899 ENABLE_EXTERN_TEMPLATE_FALSE=
72903 if test $python_mod_dir != no; then
72904 ENABLE_PYTHONDIR_TRUE=
72905 ENABLE_PYTHONDIR_FALSE='#'
72906 else
72907 ENABLE_PYTHONDIR_TRUE='#'
72908 ENABLE_PYTHONDIR_FALSE=
72912 if test $enable_werror = yes; then
72913 ENABLE_WERROR_TRUE=
72914 ENABLE_WERROR_FALSE='#'
72915 else
72916 ENABLE_WERROR_TRUE='#'
72917 ENABLE_WERROR_FALSE=
72921 if test $enable_symvers != no; then
72922 ENABLE_SYMVERS_TRUE=
72923 ENABLE_SYMVERS_FALSE='#'
72924 else
72925 ENABLE_SYMVERS_TRUE='#'
72926 ENABLE_SYMVERS_FALSE=
72930 if test $enable_symvers = gnu; then
72931 ENABLE_SYMVERS_GNU_TRUE=
72932 ENABLE_SYMVERS_GNU_FALSE='#'
72933 else
72934 ENABLE_SYMVERS_GNU_TRUE='#'
72935 ENABLE_SYMVERS_GNU_FALSE=
72939 if test $enable_symvers = gnu-versioned-namespace; then
72940 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
72941 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
72942 else
72943 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
72944 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
72948 if test $enable_symvers = darwin; then
72949 ENABLE_SYMVERS_DARWIN_TRUE=
72950 ENABLE_SYMVERS_DARWIN_FALSE='#'
72951 else
72952 ENABLE_SYMVERS_DARWIN_TRUE='#'
72953 ENABLE_SYMVERS_DARWIN_FALSE=
72957 if test $enable_symvers = sun; then
72958 ENABLE_SYMVERS_SUN_TRUE=
72959 ENABLE_SYMVERS_SUN_FALSE='#'
72960 else
72961 ENABLE_SYMVERS_SUN_TRUE='#'
72962 ENABLE_SYMVERS_SUN_FALSE=
72966 if test $enable_libstdcxx_visibility = yes; then
72967 ENABLE_VISIBILITY_TRUE=
72968 ENABLE_VISIBILITY_FALSE='#'
72969 else
72970 ENABLE_VISIBILITY_TRUE='#'
72971 ENABLE_VISIBILITY_FALSE=
72975 if test $ac_ldbl_compat = yes; then
72976 GLIBCXX_LDBL_COMPAT_TRUE=
72977 GLIBCXX_LDBL_COMPAT_FALSE='#'
72978 else
72979 GLIBCXX_LDBL_COMPAT_TRUE='#'
72980 GLIBCXX_LDBL_COMPAT_FALSE=
72986 cat >confcache <<\_ACEOF
72987 # This file is a shell script that caches the results of configure
72988 # tests run on this system so they can be shared between configure
72989 # scripts and configure runs, see configure's option --config-cache.
72990 # It is not useful on other systems. If it contains results you don't
72991 # want to keep, you may remove or edit it.
72993 # config.status only pays attention to the cache file if you give it
72994 # the --recheck option to rerun configure.
72996 # `ac_cv_env_foo' variables (set or unset) will be overridden when
72997 # loading this file, other *unset* `ac_cv_foo' will be assigned the
72998 # following values.
73000 _ACEOF
73002 # The following way of writing the cache mishandles newlines in values,
73003 # but we know of no workaround that is simple, portable, and efficient.
73004 # So, we kill variables containing newlines.
73005 # Ultrix sh set writes to stderr and can't be redirected directly,
73006 # and sets the high bit in the cache file unless we assign to the vars.
73008 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73009 eval ac_val=\$$ac_var
73010 case $ac_val in #(
73011 *${as_nl}*)
73012 case $ac_var in #(
73013 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73014 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73015 esac
73016 case $ac_var in #(
73017 _ | IFS | as_nl) ;; #(
73018 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73019 *) { eval $ac_var=; unset $ac_var;} ;;
73020 esac ;;
73021 esac
73022 done
73024 (set) 2>&1 |
73025 case $as_nl`(ac_space=' '; set) 2>&1` in #(
73026 *${as_nl}ac_space=\ *)
73027 # `set' does not quote correctly, so add quotes: double-quote
73028 # substitution turns \\\\ into \\, and sed turns \\ into \.
73029 sed -n \
73030 "s/'/'\\\\''/g;
73031 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73032 ;; #(
73034 # `set' quotes correctly as required by POSIX, so do not add quotes.
73035 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73037 esac |
73038 sort
73040 sed '
73041 /^ac_cv_env_/b end
73042 t clear
73043 :clear
73044 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73045 t end
73046 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73047 :end' >>confcache
73048 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73049 if test -w "$cache_file"; then
73050 test "x$cache_file" != "x/dev/null" &&
73051 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73052 $as_echo "$as_me: updating cache $cache_file" >&6;}
73053 cat confcache >$cache_file
73054 else
73055 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73056 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73059 rm -f confcache
73061 if test ${multilib} = yes; then
73062 multilib_arg="--enable-multilib"
73063 else
73064 multilib_arg=
73067 # Export all the install information.
73069 glibcxx_toolexecdir=no
73070 glibcxx_toolexeclibdir=no
73071 glibcxx_prefixdir=$prefix
73073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
73074 $as_echo_n "checking for gxx-include-dir... " >&6; }
73076 # Check whether --with-gxx-include-dir was given.
73077 if test "${with_gxx_include_dir+set}" = set; then :
73078 withval=$with_gxx_include_dir; case "$withval" in
73079 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
73080 no) gxx_include_dir=no ;;
73081 *) gxx_include_dir=$withval ;;
73082 esac
73083 else
73084 gxx_include_dir=no
73087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73088 $as_echo "$gxx_include_dir" >&6; }
73090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
73091 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
73092 # Check whether --enable-version-specific-runtime-libs was given.
73093 if test "${enable_version_specific_runtime_libs+set}" = set; then :
73094 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
73095 yes) version_specific_libs=yes ;;
73096 no) version_specific_libs=no ;;
73097 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
73098 esac
73099 else
73100 version_specific_libs=no
73103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
73104 $as_echo "$version_specific_libs" >&6; }
73106 # Default case for install directory for include files.
73107 if test $version_specific_libs = no && test $gxx_include_dir = no; then
73108 gxx_include_dir='include/c++/${gcc_version}'
73109 if test -n "$with_cross_host" &&
73110 test x"$with_cross_host" != x"no"; then
73111 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
73112 else
73113 gxx_include_dir='${prefix}/'"$gxx_include_dir"
73117 # Version-specific runtime libs processing.
73118 if test $version_specific_libs = yes; then
73119 # Need the gcc compiler version to know where to install libraries
73120 # and header files if --enable-version-specific-runtime-libs option
73121 # is selected. FIXME: these variables are misnamed, there are
73122 # no executables installed in _toolexecdir or _toolexeclibdir.
73123 if test x"$gxx_include_dir" = x"no"; then
73124 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
73126 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73127 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
73130 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
73131 # Install a library built with a cross compiler in tooldir, not libdir.
73132 if test x"$glibcxx_toolexecdir" = x"no"; then
73133 if test -n "$with_cross_host" &&
73134 test x"$with_cross_host" != x"no"; then
73135 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
73136 glibcxx_toolexeclibdir='${toolexecdir}/lib'
73137 else
73138 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73139 glibcxx_toolexeclibdir='${libdir}'
73141 multi_os_directory=`$CXX -print-multi-os-directory`
73142 case $multi_os_directory in
73143 .) ;; # Avoid trailing /.
73144 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
73145 esac
73148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
73149 $as_echo_n "checking for install location... " >&6; }
73150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73151 $as_echo "$gxx_include_dir" >&6; }
73159 # Export all the include and flag information to Makefiles.
73161 # Used for every C++ compile we perform.
73162 GLIBCXX_INCLUDES="\
73163 -I$glibcxx_builddir/include/$host_alias \
73164 -I$glibcxx_builddir/include \
73165 -I$glibcxx_srcdir/libsupc++"
73167 # For Canadian crosses, pick this up too.
73168 if test $CANADIAN = yes; then
73169 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
73172 # Stuff in the actual top level. Currently only used by libsupc++ to
73173 # get unwind* headers from the libgcc dir.
73174 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
73175 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
73177 # Now, export this to all the little Makefiles....
73182 # Optimization flags that are probably a good idea for thrill-seekers. Just
73183 # uncomment the lines below and make, everything else is ready to go...
73184 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
73185 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
73188 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
73192 ac_config_files="$ac_config_files Makefile"
73194 ac_config_files="$ac_config_files scripts/testsuite_flags"
73196 ac_config_files="$ac_config_files scripts/extract_symvers"
73198 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
73201 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
73202 # that multilib installs will end up installed in the correct place.
73203 # The testsuite needs it for multilib-aware ABI baseline files.
73204 # To work around this not being passed down from config-ml.in ->
73205 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
73206 # append it here. Only modify Makefiles that have just been created.
73208 # Also, get rid of this simulated-VPATH thing that automake does.
73209 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile doc/Makefile po/Makefile testsuite/Makefile"
73212 ac_config_commands="$ac_config_commands generate-headers"
73215 cat >confcache <<\_ACEOF
73216 # This file is a shell script that caches the results of configure
73217 # tests run on this system so they can be shared between configure
73218 # scripts and configure runs, see configure's option --config-cache.
73219 # It is not useful on other systems. If it contains results you don't
73220 # want to keep, you may remove or edit it.
73222 # config.status only pays attention to the cache file if you give it
73223 # the --recheck option to rerun configure.
73225 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73226 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73227 # following values.
73229 _ACEOF
73231 # The following way of writing the cache mishandles newlines in values,
73232 # but we know of no workaround that is simple, portable, and efficient.
73233 # So, we kill variables containing newlines.
73234 # Ultrix sh set writes to stderr and can't be redirected directly,
73235 # and sets the high bit in the cache file unless we assign to the vars.
73237 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73238 eval ac_val=\$$ac_var
73239 case $ac_val in #(
73240 *${as_nl}*)
73241 case $ac_var in #(
73242 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73243 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73244 esac
73245 case $ac_var in #(
73246 _ | IFS | as_nl) ;; #(
73247 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73248 *) { eval $ac_var=; unset $ac_var;} ;;
73249 esac ;;
73250 esac
73251 done
73253 (set) 2>&1 |
73254 case $as_nl`(ac_space=' '; set) 2>&1` in #(
73255 *${as_nl}ac_space=\ *)
73256 # `set' does not quote correctly, so add quotes: double-quote
73257 # substitution turns \\\\ into \\, and sed turns \\ into \.
73258 sed -n \
73259 "s/'/'\\\\''/g;
73260 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73261 ;; #(
73263 # `set' quotes correctly as required by POSIX, so do not add quotes.
73264 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73266 esac |
73267 sort
73269 sed '
73270 /^ac_cv_env_/b end
73271 t clear
73272 :clear
73273 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73274 t end
73275 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73276 :end' >>confcache
73277 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73278 if test -w "$cache_file"; then
73279 test "x$cache_file" != "x/dev/null" &&
73280 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73281 $as_echo "$as_me: updating cache $cache_file" >&6;}
73282 cat confcache >$cache_file
73283 else
73284 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73285 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73288 rm -f confcache
73290 test "x$prefix" = xNONE && prefix=$ac_default_prefix
73291 # Let make expand exec_prefix.
73292 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
73294 DEFS=-DHAVE_CONFIG_H
73296 ac_libobjs=
73297 ac_ltlibobjs=
73298 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
73299 # 1. Remove the extension, and $U if already installed.
73300 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
73301 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
73302 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
73303 # will be set to the directory where LIBOBJS objects are built.
73304 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
73305 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
73306 done
73307 LIBOBJS=$ac_libobjs
73309 LTLIBOBJS=$ac_ltlibobjs
73312 if test -n "$EXEEXT"; then
73313 am__EXEEXT_TRUE=
73314 am__EXEEXT_FALSE='#'
73315 else
73316 am__EXEEXT_TRUE='#'
73317 am__EXEEXT_FALSE=
73320 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
73321 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
73322 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73324 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
73325 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
73326 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73328 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
73329 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
73330 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73332 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
73333 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
73334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73336 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
73337 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
73338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73340 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
73341 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
73342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73344 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
73345 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
73346 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73348 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
73349 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
73350 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73352 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
73353 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
73354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73356 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
73357 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
73358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73360 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
73361 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
73362 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73364 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
73365 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
73366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73368 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
73369 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
73370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73372 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
73373 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
73374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73376 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
73377 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
73378 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73380 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
73381 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
73382 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73384 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
73385 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
73386 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73388 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
73389 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
73390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73392 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
73393 as_fn_error "conditional \"BUILD_INFO\" was never defined.
73394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73396 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
73397 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
73398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73400 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
73401 as_fn_error "conditional \"BUILD_XML\" was never defined.
73402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73404 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
73405 as_fn_error "conditional \"BUILD_HTML\" was never defined.
73406 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73408 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
73409 as_fn_error "conditional \"BUILD_MAN\" was never defined.
73410 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73412 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
73413 as_fn_error "conditional \"BUILD_PDF\" was never defined.
73414 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73417 : ${CONFIG_STATUS=./config.status}
73418 ac_write_fail=0
73419 ac_clean_files_save=$ac_clean_files
73420 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
73421 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
73422 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
73423 as_write_fail=0
73424 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
73425 #! $SHELL
73426 # Generated by $as_me.
73427 # Run this file to recreate the current configuration.
73428 # Compiler output produced by configure, useful for debugging
73429 # configure, is in config.log if it exists.
73431 debug=false
73432 ac_cs_recheck=false
73433 ac_cs_silent=false
73435 SHELL=\${CONFIG_SHELL-$SHELL}
73436 export SHELL
73437 _ASEOF
73438 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
73439 ## -------------------- ##
73440 ## M4sh Initialization. ##
73441 ## -------------------- ##
73443 # Be more Bourne compatible
73444 DUALCASE=1; export DUALCASE # for MKS sh
73445 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
73446 emulate sh
73447 NULLCMD=:
73448 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
73449 # is contrary to our usage. Disable this feature.
73450 alias -g '${1+"$@"}'='"$@"'
73451 setopt NO_GLOB_SUBST
73452 else
73453 case `(set -o) 2>/dev/null` in #(
73454 *posix*) :
73455 set -o posix ;; #(
73456 *) :
73458 esac
73462 as_nl='
73464 export as_nl
73465 # Printing a long string crashes Solaris 7 /usr/bin/printf.
73466 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
73467 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
73468 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
73469 # Prefer a ksh shell builtin over an external printf program on Solaris,
73470 # but without wasting forks for bash or zsh.
73471 if test -z "$BASH_VERSION$ZSH_VERSION" \
73472 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
73473 as_echo='print -r --'
73474 as_echo_n='print -rn --'
73475 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
73476 as_echo='printf %s\n'
73477 as_echo_n='printf %s'
73478 else
73479 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
73480 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
73481 as_echo_n='/usr/ucb/echo -n'
73482 else
73483 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
73484 as_echo_n_body='eval
73485 arg=$1;
73486 case $arg in #(
73487 *"$as_nl"*)
73488 expr "X$arg" : "X\\(.*\\)$as_nl";
73489 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
73490 esac;
73491 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
73493 export as_echo_n_body
73494 as_echo_n='sh -c $as_echo_n_body as_echo'
73496 export as_echo_body
73497 as_echo='sh -c $as_echo_body as_echo'
73500 # The user is always right.
73501 if test "${PATH_SEPARATOR+set}" != set; then
73502 PATH_SEPARATOR=:
73503 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
73504 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
73505 PATH_SEPARATOR=';'
73510 # IFS
73511 # We need space, tab and new line, in precisely that order. Quoting is
73512 # there to prevent editors from complaining about space-tab.
73513 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
73514 # splitting by setting IFS to empty value.)
73515 IFS=" "" $as_nl"
73517 # Find who we are. Look in the path if we contain no directory separator.
73518 case $0 in #((
73519 *[\\/]* ) as_myself=$0 ;;
73520 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73521 for as_dir in $PATH
73523 IFS=$as_save_IFS
73524 test -z "$as_dir" && as_dir=.
73525 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
73526 done
73527 IFS=$as_save_IFS
73530 esac
73531 # We did not find ourselves, most probably we were run as `sh COMMAND'
73532 # in which case we are not to be found in the path.
73533 if test "x$as_myself" = x; then
73534 as_myself=$0
73536 if test ! -f "$as_myself"; then
73537 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
73538 exit 1
73541 # Unset variables that we do not need and which cause bugs (e.g. in
73542 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
73543 # suppresses any "Segmentation fault" message there. '((' could
73544 # trigger a bug in pdksh 5.2.14.
73545 for as_var in BASH_ENV ENV MAIL MAILPATH
73546 do eval test x\${$as_var+set} = xset \
73547 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
73548 done
73549 PS1='$ '
73550 PS2='> '
73551 PS4='+ '
73553 # NLS nuisances.
73554 LC_ALL=C
73555 export LC_ALL
73556 LANGUAGE=C
73557 export LANGUAGE
73559 # CDPATH.
73560 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
73563 # as_fn_error ERROR [LINENO LOG_FD]
73564 # ---------------------------------
73565 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
73566 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
73567 # script with status $?, using 1 if that was 0.
73568 as_fn_error ()
73570 as_status=$?; test $as_status -eq 0 && as_status=1
73571 if test "$3"; then
73572 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
73573 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
73575 $as_echo "$as_me: error: $1" >&2
73576 as_fn_exit $as_status
73577 } # as_fn_error
73580 # as_fn_set_status STATUS
73581 # -----------------------
73582 # Set $? to STATUS, without forking.
73583 as_fn_set_status ()
73585 return $1
73586 } # as_fn_set_status
73588 # as_fn_exit STATUS
73589 # -----------------
73590 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
73591 as_fn_exit ()
73593 set +e
73594 as_fn_set_status $1
73595 exit $1
73596 } # as_fn_exit
73598 # as_fn_unset VAR
73599 # ---------------
73600 # Portably unset VAR.
73601 as_fn_unset ()
73603 { eval $1=; unset $1;}
73605 as_unset=as_fn_unset
73606 # as_fn_append VAR VALUE
73607 # ----------------------
73608 # Append the text in VALUE to the end of the definition contained in VAR. Take
73609 # advantage of any shell optimizations that allow amortized linear growth over
73610 # repeated appends, instead of the typical quadratic growth present in naive
73611 # implementations.
73612 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
73613 eval 'as_fn_append ()
73615 eval $1+=\$2
73617 else
73618 as_fn_append ()
73620 eval $1=\$$1\$2
73622 fi # as_fn_append
73624 # as_fn_arith ARG...
73625 # ------------------
73626 # Perform arithmetic evaluation on the ARGs, and store the result in the
73627 # global $as_val. Take advantage of shells that can avoid forks. The arguments
73628 # must be portable across $(()) and expr.
73629 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
73630 eval 'as_fn_arith ()
73632 as_val=$(( $* ))
73634 else
73635 as_fn_arith ()
73637 as_val=`expr "$@" || test $? -eq 1`
73639 fi # as_fn_arith
73642 if expr a : '\(a\)' >/dev/null 2>&1 &&
73643 test "X`expr 00001 : '.*\(...\)'`" = X001; then
73644 as_expr=expr
73645 else
73646 as_expr=false
73649 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
73650 as_basename=basename
73651 else
73652 as_basename=false
73655 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
73656 as_dirname=dirname
73657 else
73658 as_dirname=false
73661 as_me=`$as_basename -- "$0" ||
73662 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
73663 X"$0" : 'X\(//\)$' \| \
73664 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73665 $as_echo X/"$0" |
73666 sed '/^.*\/\([^/][^/]*\)\/*$/{
73667 s//\1/
73670 /^X\/\(\/\/\)$/{
73671 s//\1/
73674 /^X\/\(\/\).*/{
73675 s//\1/
73678 s/.*/./; q'`
73680 # Avoid depending upon Character Ranges.
73681 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
73682 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
73683 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
73684 as_cr_digits='0123456789'
73685 as_cr_alnum=$as_cr_Letters$as_cr_digits
73687 ECHO_C= ECHO_N= ECHO_T=
73688 case `echo -n x` in #(((((
73689 -n*)
73690 case `echo 'xy\c'` in
73691 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
73692 xy) ECHO_C='\c';;
73693 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
73694 ECHO_T=' ';;
73695 esac;;
73697 ECHO_N='-n';;
73698 esac
73700 rm -f conf$$ conf$$.exe conf$$.file
73701 if test -d conf$$.dir; then
73702 rm -f conf$$.dir/conf$$.file
73703 else
73704 rm -f conf$$.dir
73705 mkdir conf$$.dir 2>/dev/null
73707 if (echo >conf$$.file) 2>/dev/null; then
73708 if ln -s conf$$.file conf$$ 2>/dev/null; then
73709 as_ln_s='ln -s'
73710 # ... but there are two gotchas:
73711 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
73712 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
73713 # In both cases, we have to default to `cp -p'.
73714 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
73715 as_ln_s='cp -p'
73716 elif ln conf$$.file conf$$ 2>/dev/null; then
73717 as_ln_s=ln
73718 else
73719 as_ln_s='cp -p'
73721 else
73722 as_ln_s='cp -p'
73724 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
73725 rmdir conf$$.dir 2>/dev/null
73728 # as_fn_mkdir_p
73729 # -------------
73730 # Create "$as_dir" as a directory, including parents if necessary.
73731 as_fn_mkdir_p ()
73734 case $as_dir in #(
73735 -*) as_dir=./$as_dir;;
73736 esac
73737 test -d "$as_dir" || eval $as_mkdir_p || {
73738 as_dirs=
73739 while :; do
73740 case $as_dir in #(
73741 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
73742 *) as_qdir=$as_dir;;
73743 esac
73744 as_dirs="'$as_qdir' $as_dirs"
73745 as_dir=`$as_dirname -- "$as_dir" ||
73746 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73747 X"$as_dir" : 'X\(//\)[^/]' \| \
73748 X"$as_dir" : 'X\(//\)$' \| \
73749 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
73750 $as_echo X"$as_dir" |
73751 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73752 s//\1/
73755 /^X\(\/\/\)[^/].*/{
73756 s//\1/
73759 /^X\(\/\/\)$/{
73760 s//\1/
73763 /^X\(\/\).*/{
73764 s//\1/
73767 s/.*/./; q'`
73768 test -d "$as_dir" && break
73769 done
73770 test -z "$as_dirs" || eval "mkdir $as_dirs"
73771 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
73774 } # as_fn_mkdir_p
73775 if mkdir -p . 2>/dev/null; then
73776 as_mkdir_p='mkdir -p "$as_dir"'
73777 else
73778 test -d ./-p && rmdir ./-p
73779 as_mkdir_p=false
73782 if test -x / >/dev/null 2>&1; then
73783 as_test_x='test -x'
73784 else
73785 if ls -dL / >/dev/null 2>&1; then
73786 as_ls_L_option=L
73787 else
73788 as_ls_L_option=
73790 as_test_x='
73791 eval sh -c '\''
73792 if test -d "$1"; then
73793 test -d "$1/.";
73794 else
73795 case $1 in #(
73796 -*)set "./$1";;
73797 esac;
73798 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
73799 ???[sx]*):;;*)false;;esac;fi
73800 '\'' sh
73803 as_executable_p=$as_test_x
73805 # Sed expression to map a string onto a valid CPP name.
73806 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
73808 # Sed expression to map a string onto a valid variable name.
73809 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
73812 exec 6>&1
73813 ## ----------------------------------- ##
73814 ## Main body of $CONFIG_STATUS script. ##
73815 ## ----------------------------------- ##
73816 _ASEOF
73817 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
73819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73820 # Save the log message, to keep $0 and so on meaningful, and to
73821 # report actual input values of CONFIG_FILES etc. instead of their
73822 # values after options handling.
73823 ac_log="
73824 This file was extended by package-unused $as_me version-unused, which was
73825 generated by GNU Autoconf 2.64. Invocation command line was
73827 CONFIG_FILES = $CONFIG_FILES
73828 CONFIG_HEADERS = $CONFIG_HEADERS
73829 CONFIG_LINKS = $CONFIG_LINKS
73830 CONFIG_COMMANDS = $CONFIG_COMMANDS
73831 $ $0 $@
73833 on `(hostname || uname -n) 2>/dev/null | sed 1q`
73836 _ACEOF
73838 case $ac_config_files in *"
73839 "*) set x $ac_config_files; shift; ac_config_files=$*;;
73840 esac
73842 case $ac_config_headers in *"
73843 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
73844 esac
73847 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73848 # Files that config.status was made for.
73849 config_files="$ac_config_files"
73850 config_headers="$ac_config_headers"
73851 config_commands="$ac_config_commands"
73853 _ACEOF
73855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73856 ac_cs_usage="\
73857 \`$as_me' instantiates files and other configuration actions
73858 from templates according to the current configuration. Unless the files
73859 and actions are specified as TAGs, all are instantiated by default.
73861 Usage: $0 [OPTION]... [TAG]...
73863 -h, --help print this help, then exit
73864 -V, --version print version number and configuration settings, then exit
73865 -q, --quiet, --silent
73866 do not print progress messages
73867 -d, --debug don't remove temporary files
73868 --recheck update $as_me by reconfiguring in the same conditions
73869 --file=FILE[:TEMPLATE]
73870 instantiate the configuration file FILE
73871 --header=FILE[:TEMPLATE]
73872 instantiate the configuration header FILE
73874 Configuration files:
73875 $config_files
73877 Configuration headers:
73878 $config_headers
73880 Configuration commands:
73881 $config_commands
73883 Report bugs to the package provider."
73885 _ACEOF
73886 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73887 ac_cs_version="\\
73888 package-unused config.status version-unused
73889 configured by $0, generated by GNU Autoconf 2.64,
73890 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
73892 Copyright (C) 2009 Free Software Foundation, Inc.
73893 This config.status script is free software; the Free Software Foundation
73894 gives unlimited permission to copy, distribute and modify it."
73896 ac_pwd='$ac_pwd'
73897 srcdir='$srcdir'
73898 INSTALL='$INSTALL'
73899 MKDIR_P='$MKDIR_P'
73900 AWK='$AWK'
73901 test -n "\$AWK" || AWK=awk
73902 _ACEOF
73904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73905 # The default lists apply if the user does not specify any file.
73906 ac_need_defaults=:
73907 while test $# != 0
73909 case $1 in
73910 --*=*)
73911 ac_option=`expr "X$1" : 'X\([^=]*\)='`
73912 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
73913 ac_shift=:
73916 ac_option=$1
73917 ac_optarg=$2
73918 ac_shift=shift
73920 esac
73922 case $ac_option in
73923 # Handling of the options.
73924 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
73925 ac_cs_recheck=: ;;
73926 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
73927 $as_echo "$ac_cs_version"; exit ;;
73928 --debug | --debu | --deb | --de | --d | -d )
73929 debug=: ;;
73930 --file | --fil | --fi | --f )
73931 $ac_shift
73932 case $ac_optarg in
73933 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
73934 esac
73935 as_fn_append CONFIG_FILES " '$ac_optarg'"
73936 ac_need_defaults=false;;
73937 --header | --heade | --head | --hea )
73938 $ac_shift
73939 case $ac_optarg in
73940 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
73941 esac
73942 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
73943 ac_need_defaults=false;;
73944 --he | --h)
73945 # Conflict between --help and --header
73946 as_fn_error "ambiguous option: \`$1'
73947 Try \`$0 --help' for more information.";;
73948 --help | --hel | -h )
73949 $as_echo "$ac_cs_usage"; exit ;;
73950 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
73951 | -silent | --silent | --silen | --sile | --sil | --si | --s)
73952 ac_cs_silent=: ;;
73954 # This is an error.
73955 -*) as_fn_error "unrecognized option: \`$1'
73956 Try \`$0 --help' for more information." ;;
73958 *) as_fn_append ac_config_targets " $1"
73959 ac_need_defaults=false ;;
73961 esac
73962 shift
73963 done
73965 ac_configure_extra_args=
73967 if $ac_cs_silent; then
73968 exec 6>/dev/null
73969 ac_configure_extra_args="$ac_configure_extra_args --silent"
73972 _ACEOF
73973 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73974 if \$ac_cs_recheck; then
73975 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
73976 shift
73977 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
73978 CONFIG_SHELL='$SHELL'
73979 export CONFIG_SHELL
73980 exec "\$@"
73983 _ACEOF
73984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73985 exec 5>>config.log
73987 echo
73988 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
73989 ## Running $as_me. ##
73990 _ASBOX
73991 $as_echo "$ac_log"
73992 } >&5
73994 _ACEOF
73995 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73997 # INIT-COMMANDS
74000 srcdir="$srcdir"
74001 host="$host"
74002 target="$target"
74003 with_multisubdir="$with_multisubdir"
74004 with_multisrctop="$with_multisrctop"
74005 with_target_subdir="$with_target_subdir"
74006 ac_configure_args="${multilib_arg} ${ac_configure_args}"
74007 multi_basedir="$multi_basedir"
74008 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
74009 CC="$CC"
74010 CXX="$CXX"
74011 GFORTRAN="$GFORTRAN"
74012 GCJ="$GCJ"
74015 # The HP-UX ksh and POSIX shell print the target directory to stdout
74016 # if CDPATH is set.
74017 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
74019 sed_quote_subst='$sed_quote_subst'
74020 double_quote_subst='$double_quote_subst'
74021 delay_variable_subst='$delay_variable_subst'
74022 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
74023 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
74024 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
74025 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
74026 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
74027 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
74028 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
74029 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
74030 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
74031 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
74032 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
74033 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
74034 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
74035 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
74036 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
74037 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
74038 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
74039 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
74040 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
74041 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
74042 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
74043 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
74044 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
74045 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
74046 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
74047 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
74048 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
74049 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
74050 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
74051 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
74052 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
74053 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
74054 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
74055 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
74056 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
74057 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
74058 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
74059 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74060 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74061 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
74062 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
74063 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
74064 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
74065 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
74066 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
74067 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
74068 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
74069 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
74070 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"`'
74071 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
74072 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
74073 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
74074 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
74075 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
74076 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
74077 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
74078 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
74079 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
74080 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
74081 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
74082 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
74083 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
74084 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
74085 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
74086 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74087 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
74088 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
74089 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
74090 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
74091 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
74092 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
74093 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74094 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
74095 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74096 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
74097 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74098 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
74099 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
74100 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
74101 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
74102 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
74103 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
74104 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
74105 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
74106 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
74107 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
74108 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
74109 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
74110 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
74111 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
74112 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
74113 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
74114 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
74115 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
74116 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
74117 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
74118 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
74119 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
74120 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
74121 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
74122 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
74123 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
74124 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
74125 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
74126 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
74127 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
74128 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
74129 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74130 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74131 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
74132 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
74133 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
74134 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
74135 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
74136 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
74137 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
74138 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
74139 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
74140 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
74141 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
74142 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
74143 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
74144 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
74145 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
74146 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
74147 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
74148 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
74149 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
74150 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74151 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74152 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
74153 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
74154 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
74155 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
74156 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
74157 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
74158 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
74159 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
74160 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
74161 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74162 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74163 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
74164 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74165 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74166 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74167 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74168 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74169 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74170 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
74171 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74172 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74173 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74174 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
74175 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
74176 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
74177 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
74178 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
74179 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
74180 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
74181 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
74182 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
74183 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
74184 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
74185 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74186 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74187 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74188 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74189 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
74190 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
74191 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
74192 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74193 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74194 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
74195 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
74196 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
74198 LTCC='$LTCC'
74199 LTCFLAGS='$LTCFLAGS'
74200 compiler='$compiler_DEFAULT'
74202 # A function that is used when there is no print builtin or printf.
74203 func_fallback_echo ()
74205 eval 'cat <<_LTECHO_EOF
74207 _LTECHO_EOF'
74210 # Quote evaled strings.
74211 for var in SHELL \
74212 ECHO \
74213 SED \
74214 GREP \
74215 EGREP \
74216 FGREP \
74217 LD \
74218 NM \
74219 LN_S \
74220 lt_SP2NL \
74221 lt_NL2SP \
74222 reload_flag \
74223 OBJDUMP \
74224 deplibs_check_method \
74225 file_magic_cmd \
74226 AR \
74227 AR_FLAGS \
74228 STRIP \
74229 RANLIB \
74230 CC \
74231 CFLAGS \
74232 compiler \
74233 lt_cv_sys_global_symbol_pipe \
74234 lt_cv_sys_global_symbol_to_cdecl \
74235 lt_cv_sys_global_symbol_to_c_name_address \
74236 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
74237 lt_prog_compiler_no_builtin_flag \
74238 lt_prog_compiler_wl \
74239 lt_prog_compiler_pic \
74240 lt_prog_compiler_static \
74241 lt_cv_prog_compiler_c_o \
74242 need_locks \
74243 DSYMUTIL \
74244 NMEDIT \
74245 LIPO \
74246 OTOOL \
74247 OTOOL64 \
74248 shrext_cmds \
74249 export_dynamic_flag_spec \
74250 whole_archive_flag_spec \
74251 compiler_needs_object \
74252 with_gnu_ld \
74253 allow_undefined_flag \
74254 no_undefined_flag \
74255 hardcode_libdir_flag_spec \
74256 hardcode_libdir_flag_spec_ld \
74257 hardcode_libdir_separator \
74258 fix_srcfile_path \
74259 exclude_expsyms \
74260 include_expsyms \
74261 file_list_spec \
74262 variables_saved_for_relink \
74263 libname_spec \
74264 library_names_spec \
74265 soname_spec \
74266 install_override_mode \
74267 finish_eval \
74268 old_striplib \
74269 striplib \
74270 compiler_lib_search_dirs \
74271 predep_objects \
74272 postdep_objects \
74273 predeps \
74274 postdeps \
74275 compiler_lib_search_path \
74276 LD_CXX \
74277 reload_flag_CXX \
74278 compiler_CXX \
74279 lt_prog_compiler_no_builtin_flag_CXX \
74280 lt_prog_compiler_wl_CXX \
74281 lt_prog_compiler_pic_CXX \
74282 lt_prog_compiler_static_CXX \
74283 lt_cv_prog_compiler_c_o_CXX \
74284 export_dynamic_flag_spec_CXX \
74285 whole_archive_flag_spec_CXX \
74286 compiler_needs_object_CXX \
74287 with_gnu_ld_CXX \
74288 allow_undefined_flag_CXX \
74289 no_undefined_flag_CXX \
74290 hardcode_libdir_flag_spec_CXX \
74291 hardcode_libdir_flag_spec_ld_CXX \
74292 hardcode_libdir_separator_CXX \
74293 fix_srcfile_path_CXX \
74294 exclude_expsyms_CXX \
74295 include_expsyms_CXX \
74296 file_list_spec_CXX \
74297 compiler_lib_search_dirs_CXX \
74298 predep_objects_CXX \
74299 postdep_objects_CXX \
74300 predeps_CXX \
74301 postdeps_CXX \
74302 compiler_lib_search_path_CXX; do
74303 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74304 *[\\\\\\\`\\"\\\$]*)
74305 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
74308 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74310 esac
74311 done
74313 # Double-quote double-evaled strings.
74314 for var in reload_cmds \
74315 old_postinstall_cmds \
74316 old_postuninstall_cmds \
74317 old_archive_cmds \
74318 extract_expsyms_cmds \
74319 old_archive_from_new_cmds \
74320 old_archive_from_expsyms_cmds \
74321 archive_cmds \
74322 archive_expsym_cmds \
74323 module_cmds \
74324 module_expsym_cmds \
74325 export_symbols_cmds \
74326 prelink_cmds \
74327 postinstall_cmds \
74328 postuninstall_cmds \
74329 finish_cmds \
74330 sys_lib_search_path_spec \
74331 sys_lib_dlsearch_path_spec \
74332 reload_cmds_CXX \
74333 old_archive_cmds_CXX \
74334 old_archive_from_new_cmds_CXX \
74335 old_archive_from_expsyms_cmds_CXX \
74336 archive_cmds_CXX \
74337 archive_expsym_cmds_CXX \
74338 module_cmds_CXX \
74339 module_expsym_cmds_CXX \
74340 export_symbols_cmds_CXX \
74341 prelink_cmds_CXX; do
74342 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74343 *[\\\\\\\`\\"\\\$]*)
74344 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
74347 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74349 esac
74350 done
74352 ac_aux_dir='$ac_aux_dir'
74353 xsi_shell='$xsi_shell'
74354 lt_shell_append='$lt_shell_append'
74356 # See if we are running on zsh, and set the options which allow our
74357 # commands through without removal of \ escapes INIT.
74358 if test -n "\${ZSH_VERSION+set}" ; then
74359 setopt NO_GLOB_SUBST
74363 PACKAGE='$PACKAGE'
74364 VERSION='$VERSION'
74365 TIMESTAMP='$TIMESTAMP'
74366 RM='$RM'
74367 ofile='$ofile'
74374 GCC="$GCC"
74375 CC="$CC"
74376 acx_cv_header_stdint="$acx_cv_header_stdint"
74377 acx_cv_type_int8_t="$acx_cv_type_int8_t"
74378 acx_cv_type_int16_t="$acx_cv_type_int16_t"
74379 acx_cv_type_int32_t="$acx_cv_type_int32_t"
74380 acx_cv_type_int64_t="$acx_cv_type_int64_t"
74381 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
74382 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
74383 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
74384 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
74385 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
74386 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
74387 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
74388 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
74389 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
74392 _ACEOF
74394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74396 # Handling of arguments.
74397 for ac_config_target in $ac_config_targets
74399 case $ac_config_target in
74400 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
74401 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
74402 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
74403 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
74404 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
74405 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
74406 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
74407 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
74408 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
74409 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
74410 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
74411 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
74412 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
74413 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
74414 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
74415 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
74416 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
74417 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
74419 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
74420 esac
74421 done
74424 # If the user did not use the arguments to specify the items to instantiate,
74425 # then the envvar interface is used. Set only those that are not.
74426 # We use the long form for the default assignment because of an extremely
74427 # bizarre bug on SunOS 4.1.3.
74428 if $ac_need_defaults; then
74429 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
74430 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
74431 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
74434 # Have a temporary directory for convenience. Make it in the build tree
74435 # simply because there is no reason against having it here, and in addition,
74436 # creating and moving files from /tmp can sometimes cause problems.
74437 # Hook for its removal unless debugging.
74438 # Note that there is a small window in which the directory will not be cleaned:
74439 # after its creation but before its name has been assigned to `$tmp'.
74440 $debug ||
74442 tmp=
74443 trap 'exit_status=$?
74444 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
74446 trap 'as_fn_exit 1' 1 2 13 15
74448 # Create a (secure) tmp directory for tmp files.
74451 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
74452 test -n "$tmp" && test -d "$tmp"
74453 } ||
74455 tmp=./conf$$-$RANDOM
74456 (umask 077 && mkdir "$tmp")
74457 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
74459 # Set up the scripts for CONFIG_FILES section.
74460 # No need to generate them if there are no CONFIG_FILES.
74461 # This happens for instance with `./config.status config.h'.
74462 if test -n "$CONFIG_FILES"; then
74465 ac_cr=`echo X | tr X '\015'`
74466 # On cygwin, bash can eat \r inside `` if the user requested igncr.
74467 # But we know of no other shell where ac_cr would be empty at this
74468 # point, so we can use a bashism as a fallback.
74469 if test "x$ac_cr" = x; then
74470 eval ac_cr=\$\'\\r\'
74472 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
74473 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
74474 ac_cs_awk_cr='\r'
74475 else
74476 ac_cs_awk_cr=$ac_cr
74479 echo 'BEGIN {' >"$tmp/subs1.awk" &&
74480 _ACEOF
74484 echo "cat >conf$$subs.awk <<_ACEOF" &&
74485 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
74486 echo "_ACEOF"
74487 } >conf$$subs.sh ||
74488 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74489 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
74490 ac_delim='%!_!# '
74491 for ac_last_try in false false false false false :; do
74492 . ./conf$$subs.sh ||
74493 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74495 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
74496 if test $ac_delim_n = $ac_delim_num; then
74497 break
74498 elif $ac_last_try; then
74499 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74500 else
74501 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74503 done
74504 rm -f conf$$subs.sh
74506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74507 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
74508 _ACEOF
74509 sed -n '
74511 s/^/S["/; s/!.*/"]=/
74514 s/^[^!]*!//
74515 :repl
74516 t repl
74517 s/'"$ac_delim"'$//
74518 t delim
74521 s/\(.\{148\}\).*/\1/
74522 t more1
74523 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
74526 b repl
74527 :more1
74528 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74531 s/.\{148\}//
74532 t nl
74533 :delim
74535 s/\(.\{148\}\).*/\1/
74536 t more2
74537 s/["\\]/\\&/g; s/^/"/; s/$/"/
74540 :more2
74541 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74544 s/.\{148\}//
74545 t delim
74546 ' <conf$$subs.awk | sed '
74547 /^[^""]/{
74549 s/\n//
74551 ' >>$CONFIG_STATUS || ac_write_fail=1
74552 rm -f conf$$subs.awk
74553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74554 _ACAWK
74555 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
74556 for (key in S) S_is_set[key] = 1
74557 FS = "\a"
74561 line = $ 0
74562 nfields = split(line, field, "@")
74563 substed = 0
74564 len = length(field[1])
74565 for (i = 2; i < nfields; i++) {
74566 key = field[i]
74567 keylen = length(key)
74568 if (S_is_set[key]) {
74569 value = S[key]
74570 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
74571 len += length(value) + length(field[++i])
74572 substed = 1
74573 } else
74574 len += 1 + keylen
74577 print line
74580 _ACAWK
74581 _ACEOF
74582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74583 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
74584 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
74585 else
74587 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
74588 || as_fn_error "could not setup config files machinery" "$LINENO" 5
74589 _ACEOF
74591 # VPATH may cause trouble with some makes, so we remove $(srcdir),
74592 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
74593 # trailing colons and then remove the whole line if VPATH becomes empty
74594 # (actually we leave an empty line to preserve line numbers).
74595 if test "x$srcdir" = x.; then
74596 ac_vpsub='/^[ ]*VPATH[ ]*=/{
74597 s/:*\$(srcdir):*/:/
74598 s/:*\${srcdir}:*/:/
74599 s/:*@srcdir@:*/:/
74600 s/^\([^=]*=[ ]*\):*/\1/
74601 s/:*$//
74602 s/^[^=]*=[ ]*$//
74606 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74607 fi # test -n "$CONFIG_FILES"
74609 # Set up the scripts for CONFIG_HEADERS section.
74610 # No need to generate them if there are no CONFIG_HEADERS.
74611 # This happens for instance with `./config.status Makefile'.
74612 if test -n "$CONFIG_HEADERS"; then
74613 cat >"$tmp/defines.awk" <<\_ACAWK ||
74614 BEGIN {
74615 _ACEOF
74617 # Transform confdefs.h into an awk script `defines.awk', embedded as
74618 # here-document in config.status, that substitutes the proper values into
74619 # config.h.in to produce config.h.
74621 # Create a delimiter string that does not exist in confdefs.h, to ease
74622 # handling of long lines.
74623 ac_delim='%!_!# '
74624 for ac_last_try in false false :; do
74625 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
74626 if test -z "$ac_t"; then
74627 break
74628 elif $ac_last_try; then
74629 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
74630 else
74631 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74633 done
74635 # For the awk script, D is an array of macro values keyed by name,
74636 # likewise P contains macro parameters if any. Preserve backslash
74637 # newline sequences.
74639 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
74640 sed -n '
74641 s/.\{148\}/&'"$ac_delim"'/g
74642 t rset
74643 :rset
74644 s/^[ ]*#[ ]*define[ ][ ]*/ /
74645 t def
74647 :def
74648 s/\\$//
74649 t bsnl
74650 s/["\\]/\\&/g
74651 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74652 D["\1"]=" \3"/p
74653 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
74655 :bsnl
74656 s/["\\]/\\&/g
74657 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74658 D["\1"]=" \3\\\\\\n"\\/p
74659 t cont
74660 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
74661 t cont
74663 :cont
74665 s/.\{148\}/&'"$ac_delim"'/g
74666 t clear
74667 :clear
74668 s/\\$//
74669 t bsnlc
74670 s/["\\]/\\&/g; s/^/"/; s/$/"/p
74672 :bsnlc
74673 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
74674 b cont
74675 ' <confdefs.h | sed '
74676 s/'"$ac_delim"'/"\\\
74677 "/g' >>$CONFIG_STATUS || ac_write_fail=1
74679 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74680 for (key in D) D_is_set[key] = 1
74681 FS = "\a"
74683 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
74684 line = \$ 0
74685 split(line, arg, " ")
74686 if (arg[1] == "#") {
74687 defundef = arg[2]
74688 mac1 = arg[3]
74689 } else {
74690 defundef = substr(arg[1], 2)
74691 mac1 = arg[2]
74693 split(mac1, mac2, "(") #)
74694 macro = mac2[1]
74695 prefix = substr(line, 1, index(line, defundef) - 1)
74696 if (D_is_set[macro]) {
74697 # Preserve the white space surrounding the "#".
74698 print prefix "define", macro P[macro] D[macro]
74699 next
74700 } else {
74701 # Replace #undef with comments. This is necessary, for example,
74702 # in the case of _POSIX_SOURCE, which is predefined and required
74703 # on some systems where configure will not decide to define it.
74704 if (defundef == "undef") {
74705 print "/*", prefix defundef, macro, "*/"
74706 next
74710 { print }
74711 _ACAWK
74712 _ACEOF
74713 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74714 as_fn_error "could not setup config headers machinery" "$LINENO" 5
74715 fi # test -n "$CONFIG_HEADERS"
74718 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
74719 shift
74720 for ac_tag
74722 case $ac_tag in
74723 :[FHLC]) ac_mode=$ac_tag; continue;;
74724 esac
74725 case $ac_mode$ac_tag in
74726 :[FHL]*:*);;
74727 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
74728 :[FH]-) ac_tag=-:-;;
74729 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
74730 esac
74731 ac_save_IFS=$IFS
74732 IFS=:
74733 set x $ac_tag
74734 IFS=$ac_save_IFS
74735 shift
74736 ac_file=$1
74737 shift
74739 case $ac_mode in
74740 :L) ac_source=$1;;
74741 :[FH])
74742 ac_file_inputs=
74743 for ac_f
74745 case $ac_f in
74746 -) ac_f="$tmp/stdin";;
74747 *) # Look for the file first in the build tree, then in the source tree
74748 # (if the path is not absolute). The absolute path cannot be DOS-style,
74749 # because $ac_f cannot contain `:'.
74750 test -f "$ac_f" ||
74751 case $ac_f in
74752 [\\/$]*) false;;
74753 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
74754 esac ||
74755 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
74756 esac
74757 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
74758 as_fn_append ac_file_inputs " '$ac_f'"
74759 done
74761 # Let's still pretend it is `configure' which instantiates (i.e., don't
74762 # use $as_me), people would be surprised to read:
74763 # /* config.h. Generated by config.status. */
74764 configure_input='Generated from '`
74765 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
74766 `' by configure.'
74767 if test x"$ac_file" != x-; then
74768 configure_input="$ac_file. $configure_input"
74769 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
74770 $as_echo "$as_me: creating $ac_file" >&6;}
74772 # Neutralize special characters interpreted by sed in replacement strings.
74773 case $configure_input in #(
74774 *\&* | *\|* | *\\* )
74775 ac_sed_conf_input=`$as_echo "$configure_input" |
74776 sed 's/[\\\\&|]/\\\\&/g'`;; #(
74777 *) ac_sed_conf_input=$configure_input;;
74778 esac
74780 case $ac_tag in
74781 *:-:* | *:-) cat >"$tmp/stdin" \
74782 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
74783 esac
74785 esac
74787 ac_dir=`$as_dirname -- "$ac_file" ||
74788 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74789 X"$ac_file" : 'X\(//\)[^/]' \| \
74790 X"$ac_file" : 'X\(//\)$' \| \
74791 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
74792 $as_echo X"$ac_file" |
74793 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74794 s//\1/
74797 /^X\(\/\/\)[^/].*/{
74798 s//\1/
74801 /^X\(\/\/\)$/{
74802 s//\1/
74805 /^X\(\/\).*/{
74806 s//\1/
74809 s/.*/./; q'`
74810 as_dir="$ac_dir"; as_fn_mkdir_p
74811 ac_builddir=.
74813 case "$ac_dir" in
74814 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
74816 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
74817 # A ".." for each directory in $ac_dir_suffix.
74818 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
74819 case $ac_top_builddir_sub in
74820 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
74821 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
74822 esac ;;
74823 esac
74824 ac_abs_top_builddir=$ac_pwd
74825 ac_abs_builddir=$ac_pwd$ac_dir_suffix
74826 # for backward compatibility:
74827 ac_top_builddir=$ac_top_build_prefix
74829 case $srcdir in
74830 .) # We are building in place.
74831 ac_srcdir=.
74832 ac_top_srcdir=$ac_top_builddir_sub
74833 ac_abs_top_srcdir=$ac_pwd ;;
74834 [\\/]* | ?:[\\/]* ) # Absolute name.
74835 ac_srcdir=$srcdir$ac_dir_suffix;
74836 ac_top_srcdir=$srcdir
74837 ac_abs_top_srcdir=$srcdir ;;
74838 *) # Relative name.
74839 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
74840 ac_top_srcdir=$ac_top_build_prefix$srcdir
74841 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
74842 esac
74843 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
74846 case $ac_mode in
74849 # CONFIG_FILE
74852 case $INSTALL in
74853 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
74854 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
74855 esac
74856 ac_MKDIR_P=$MKDIR_P
74857 case $MKDIR_P in
74858 [\\/$]* | ?:[\\/]* ) ;;
74859 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
74860 esac
74861 _ACEOF
74863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74864 # If the template does not know about datarootdir, expand it.
74865 # FIXME: This hack should be removed a few years after 2.60.
74866 ac_datarootdir_hack=; ac_datarootdir_seen=
74867 ac_sed_dataroot='
74868 /datarootdir/ {
74872 /@datadir@/p
74873 /@docdir@/p
74874 /@infodir@/p
74875 /@localedir@/p
74876 /@mandir@/p'
74877 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
74878 *datarootdir*) ac_datarootdir_seen=yes;;
74879 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
74880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
74881 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
74882 _ACEOF
74883 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74884 ac_datarootdir_hack='
74885 s&@datadir@&$datadir&g
74886 s&@docdir@&$docdir&g
74887 s&@infodir@&$infodir&g
74888 s&@localedir@&$localedir&g
74889 s&@mandir@&$mandir&g
74890 s&\\\${datarootdir}&$datarootdir&g' ;;
74891 esac
74892 _ACEOF
74894 # Neutralize VPATH when `$srcdir' = `.'.
74895 # Shell code in configure.ac might set extrasub.
74896 # FIXME: do we really want to maintain this feature?
74897 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74898 ac_sed_extra="$ac_vpsub
74899 $extrasub
74900 _ACEOF
74901 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74903 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
74904 s|@configure_input@|$ac_sed_conf_input|;t t
74905 s&@top_builddir@&$ac_top_builddir_sub&;t t
74906 s&@top_build_prefix@&$ac_top_build_prefix&;t t
74907 s&@srcdir@&$ac_srcdir&;t t
74908 s&@abs_srcdir@&$ac_abs_srcdir&;t t
74909 s&@top_srcdir@&$ac_top_srcdir&;t t
74910 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
74911 s&@builddir@&$ac_builddir&;t t
74912 s&@abs_builddir@&$ac_abs_builddir&;t t
74913 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
74914 s&@INSTALL@&$ac_INSTALL&;t t
74915 s&@MKDIR_P@&$ac_MKDIR_P&;t t
74916 $ac_datarootdir_hack
74918 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
74919 || as_fn_error "could not create $ac_file" "$LINENO" 5
74921 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
74922 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
74923 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
74924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
74925 which seems to be undefined. Please make sure it is defined." >&5
74926 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
74927 which seems to be undefined. Please make sure it is defined." >&2;}
74929 rm -f "$tmp/stdin"
74930 case $ac_file in
74931 -) cat "$tmp/out" && rm -f "$tmp/out";;
74932 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
74933 esac \
74934 || as_fn_error "could not create $ac_file" "$LINENO" 5
74938 # CONFIG_HEADER
74940 if test x"$ac_file" != x-; then
74942 $as_echo "/* $configure_input */" \
74943 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
74944 } >"$tmp/config.h" \
74945 || as_fn_error "could not create $ac_file" "$LINENO" 5
74946 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
74947 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
74948 $as_echo "$as_me: $ac_file is unchanged" >&6;}
74949 else
74950 rm -f "$ac_file"
74951 mv "$tmp/config.h" "$ac_file" \
74952 || as_fn_error "could not create $ac_file" "$LINENO" 5
74954 else
74955 $as_echo "/* $configure_input */" \
74956 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
74957 || as_fn_error "could not create -" "$LINENO" 5
74959 # Compute "$ac_file"'s index in $config_headers.
74960 _am_arg="$ac_file"
74961 _am_stamp_count=1
74962 for _am_header in $config_headers :; do
74963 case $_am_header in
74964 $_am_arg | $_am_arg:* )
74965 break ;;
74967 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
74968 esac
74969 done
74970 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
74971 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74972 X"$_am_arg" : 'X\(//\)[^/]' \| \
74973 X"$_am_arg" : 'X\(//\)$' \| \
74974 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
74975 $as_echo X"$_am_arg" |
74976 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74977 s//\1/
74980 /^X\(\/\/\)[^/].*/{
74981 s//\1/
74984 /^X\(\/\/\)$/{
74985 s//\1/
74988 /^X\(\/\).*/{
74989 s//\1/
74992 s/.*/./; q'`/stamp-h$_am_stamp_count
74995 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
74996 $as_echo "$as_me: executing $ac_file commands" >&6;}
74998 esac
75001 case $ac_file$ac_mode in
75002 "default-1":C)
75003 # Only add multilib support code if we just rebuilt the top-level
75004 # Makefile.
75005 case " $CONFIG_FILES " in
75006 *" Makefile "*)
75007 ac_file=Makefile . ${multi_basedir}/config-ml.in
75009 esac ;;
75010 "libtool":C)
75012 # See if we are running on zsh, and set the options which allow our
75013 # commands through without removal of \ escapes.
75014 if test -n "${ZSH_VERSION+set}" ; then
75015 setopt NO_GLOB_SUBST
75018 cfgfile="${ofile}T"
75019 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
75020 $RM "$cfgfile"
75022 cat <<_LT_EOF >> "$cfgfile"
75023 #! $SHELL
75025 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
75026 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
75027 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
75028 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
75030 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
75031 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
75032 # Written by Gordon Matzigkeit, 1996
75034 # This file is part of GNU Libtool.
75036 # GNU Libtool is free software; you can redistribute it and/or
75037 # modify it under the terms of the GNU General Public License as
75038 # published by the Free Software Foundation; either version 2 of
75039 # the License, or (at your option) any later version.
75041 # As a special exception to the GNU General Public License,
75042 # if you distribute this file as part of a program or library that
75043 # is built using GNU Libtool, you may include this file under the
75044 # same distribution terms that you use for the rest of that program.
75046 # GNU Libtool is distributed in the hope that it will be useful,
75047 # but WITHOUT ANY WARRANTY; without even the implied warranty of
75048 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
75049 # GNU General Public License for more details.
75051 # You should have received a copy of the GNU General Public License
75052 # along with GNU Libtool; see the file COPYING. If not, a copy
75053 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
75054 # obtained by writing to the Free Software Foundation, Inc.,
75055 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
75058 # The names of the tagged configurations supported by this script.
75059 available_tags="CXX "
75061 # ### BEGIN LIBTOOL CONFIG
75063 # Which release of libtool.m4 was used?
75064 macro_version=$macro_version
75065 macro_revision=$macro_revision
75067 # Whether or not to build shared libraries.
75068 build_libtool_libs=$enable_shared
75070 # Whether or not to build static libraries.
75071 build_old_libs=$enable_static
75073 # What type of objects to build.
75074 pic_mode=$pic_mode
75076 # Whether or not to optimize for fast installation.
75077 fast_install=$enable_fast_install
75079 # Shell to use when invoking shell scripts.
75080 SHELL=$lt_SHELL
75082 # An echo program that protects backslashes.
75083 ECHO=$lt_ECHO
75085 # The host system.
75086 host_alias=$host_alias
75087 host=$host
75088 host_os=$host_os
75090 # The build system.
75091 build_alias=$build_alias
75092 build=$build
75093 build_os=$build_os
75095 # A sed program that does not truncate output.
75096 SED=$lt_SED
75098 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
75099 Xsed="\$SED -e 1s/^X//"
75101 # A grep program that handles long lines.
75102 GREP=$lt_GREP
75104 # An ERE matcher.
75105 EGREP=$lt_EGREP
75107 # A literal string matcher.
75108 FGREP=$lt_FGREP
75110 # A BSD- or MS-compatible name lister.
75111 NM=$lt_NM
75113 # Whether we need soft or hard links.
75114 LN_S=$lt_LN_S
75116 # What is the maximum length of a command?
75117 max_cmd_len=$max_cmd_len
75119 # Object file suffix (normally "o").
75120 objext=$ac_objext
75122 # Executable file suffix (normally "").
75123 exeext=$exeext
75125 # whether the shell understands "unset".
75126 lt_unset=$lt_unset
75128 # turn spaces into newlines.
75129 SP2NL=$lt_lt_SP2NL
75131 # turn newlines into spaces.
75132 NL2SP=$lt_lt_NL2SP
75134 # An object symbol dumper.
75135 OBJDUMP=$lt_OBJDUMP
75137 # Method to check whether dependent libraries are shared objects.
75138 deplibs_check_method=$lt_deplibs_check_method
75140 # Command to use when deplibs_check_method == "file_magic".
75141 file_magic_cmd=$lt_file_magic_cmd
75143 # The archiver.
75144 AR=$lt_AR
75145 AR_FLAGS=$lt_AR_FLAGS
75147 # A symbol stripping program.
75148 STRIP=$lt_STRIP
75150 # Commands used to install an old-style archive.
75151 RANLIB=$lt_RANLIB
75152 old_postinstall_cmds=$lt_old_postinstall_cmds
75153 old_postuninstall_cmds=$lt_old_postuninstall_cmds
75155 # Whether to use a lock for old archive extraction.
75156 lock_old_archive_extraction=$lock_old_archive_extraction
75158 # A C compiler.
75159 LTCC=$lt_CC
75161 # LTCC compiler flags.
75162 LTCFLAGS=$lt_CFLAGS
75164 # Take the output of nm and produce a listing of raw symbols and C names.
75165 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
75167 # Transform the output of nm in a proper C declaration.
75168 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
75170 # Transform the output of nm in a C name address pair.
75171 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
75173 # Transform the output of nm in a C name address pair when lib prefix is needed.
75174 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
75176 # The name of the directory that contains temporary libtool files.
75177 objdir=$objdir
75179 # Used to examine libraries when file_magic_cmd begins with "file".
75180 MAGIC_CMD=$MAGIC_CMD
75182 # Must we lock files when doing compilation?
75183 need_locks=$lt_need_locks
75185 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
75186 DSYMUTIL=$lt_DSYMUTIL
75188 # Tool to change global to local symbols on Mac OS X.
75189 NMEDIT=$lt_NMEDIT
75191 # Tool to manipulate fat objects and archives on Mac OS X.
75192 LIPO=$lt_LIPO
75194 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
75195 OTOOL=$lt_OTOOL
75197 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
75198 OTOOL64=$lt_OTOOL64
75200 # Old archive suffix (normally "a").
75201 libext=$libext
75203 # Shared library suffix (normally ".so").
75204 shrext_cmds=$lt_shrext_cmds
75206 # The commands to extract the exported symbol list from a shared archive.
75207 extract_expsyms_cmds=$lt_extract_expsyms_cmds
75209 # Variables whose values should be saved in libtool wrapper scripts and
75210 # restored at link time.
75211 variables_saved_for_relink=$lt_variables_saved_for_relink
75213 # Do we need the "lib" prefix for modules?
75214 need_lib_prefix=$need_lib_prefix
75216 # Do we need a version for libraries?
75217 need_version=$need_version
75219 # Library versioning type.
75220 version_type=$version_type
75222 # Shared library runtime path variable.
75223 runpath_var=$runpath_var
75225 # Shared library path variable.
75226 shlibpath_var=$shlibpath_var
75228 # Is shlibpath searched before the hard-coded library search path?
75229 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
75231 # Format of library name prefix.
75232 libname_spec=$lt_libname_spec
75234 # List of archive names. First name is the real one, the rest are links.
75235 # The last name is the one that the linker finds with -lNAME
75236 library_names_spec=$lt_library_names_spec
75238 # The coded name of the library, if different from the real name.
75239 soname_spec=$lt_soname_spec
75241 # Permission mode override for installation of shared libraries.
75242 install_override_mode=$lt_install_override_mode
75244 # Command to use after installation of a shared archive.
75245 postinstall_cmds=$lt_postinstall_cmds
75247 # Command to use after uninstallation of a shared archive.
75248 postuninstall_cmds=$lt_postuninstall_cmds
75250 # Commands used to finish a libtool library installation in a directory.
75251 finish_cmds=$lt_finish_cmds
75253 # As "finish_cmds", except a single script fragment to be evaled but
75254 # not shown.
75255 finish_eval=$lt_finish_eval
75257 # Whether we should hardcode library paths into libraries.
75258 hardcode_into_libs=$hardcode_into_libs
75260 # Compile-time system search path for libraries.
75261 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
75263 # Run-time system search path for libraries.
75264 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
75266 # Whether dlopen is supported.
75267 dlopen_support=$enable_dlopen
75269 # Whether dlopen of programs is supported.
75270 dlopen_self=$enable_dlopen_self
75272 # Whether dlopen of statically linked programs is supported.
75273 dlopen_self_static=$enable_dlopen_self_static
75275 # Commands to strip libraries.
75276 old_striplib=$lt_old_striplib
75277 striplib=$lt_striplib
75280 # The linker used to build libraries.
75281 LD=$lt_LD
75283 # How to create reloadable object files.
75284 reload_flag=$lt_reload_flag
75285 reload_cmds=$lt_reload_cmds
75287 # Commands used to build an old-style archive.
75288 old_archive_cmds=$lt_old_archive_cmds
75290 # A language specific compiler.
75291 CC=$lt_compiler
75293 # Is the compiler the GNU compiler?
75294 with_gcc=$GCC
75296 # Compiler flag to turn off builtin functions.
75297 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
75299 # How to pass a linker flag through the compiler.
75300 wl=$lt_lt_prog_compiler_wl
75302 # Additional compiler flags for building library objects.
75303 pic_flag=$lt_lt_prog_compiler_pic
75305 # Compiler flag to prevent dynamic linking.
75306 link_static_flag=$lt_lt_prog_compiler_static
75308 # Does compiler simultaneously support -c and -o options?
75309 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
75311 # Whether or not to add -lc for building shared libraries.
75312 build_libtool_need_lc=$archive_cmds_need_lc
75314 # Whether or not to disallow shared libs when runtime libs are static.
75315 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
75317 # Compiler flag to allow reflexive dlopens.
75318 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
75320 # Compiler flag to generate shared objects directly from archives.
75321 whole_archive_flag_spec=$lt_whole_archive_flag_spec
75323 # Whether the compiler copes with passing no objects directly.
75324 compiler_needs_object=$lt_compiler_needs_object
75326 # Create an old-style archive from a shared archive.
75327 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
75329 # Create a temporary old-style archive to link instead of a shared archive.
75330 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
75332 # Commands used to build a shared archive.
75333 archive_cmds=$lt_archive_cmds
75334 archive_expsym_cmds=$lt_archive_expsym_cmds
75336 # Commands used to build a loadable module if different from building
75337 # a shared archive.
75338 module_cmds=$lt_module_cmds
75339 module_expsym_cmds=$lt_module_expsym_cmds
75341 # Whether we are building with GNU ld or not.
75342 with_gnu_ld=$lt_with_gnu_ld
75344 # Flag that allows shared libraries with undefined symbols to be built.
75345 allow_undefined_flag=$lt_allow_undefined_flag
75347 # Flag that enforces no undefined symbols.
75348 no_undefined_flag=$lt_no_undefined_flag
75350 # Flag to hardcode \$libdir into a binary during linking.
75351 # This must work even if \$libdir does not exist
75352 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
75354 # If ld is used when linking, flag to hardcode \$libdir into a binary
75355 # during linking. This must work even if \$libdir does not exist.
75356 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
75358 # Whether we need a single "-rpath" flag with a separated argument.
75359 hardcode_libdir_separator=$lt_hardcode_libdir_separator
75361 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75362 # DIR into the resulting binary.
75363 hardcode_direct=$hardcode_direct
75365 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75366 # DIR into the resulting binary and the resulting library dependency is
75367 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75368 # library is relocated.
75369 hardcode_direct_absolute=$hardcode_direct_absolute
75371 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75372 # into the resulting binary.
75373 hardcode_minus_L=$hardcode_minus_L
75375 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75376 # into the resulting binary.
75377 hardcode_shlibpath_var=$hardcode_shlibpath_var
75379 # Set to "yes" if building a shared library automatically hardcodes DIR
75380 # into the library and all subsequent libraries and executables linked
75381 # against it.
75382 hardcode_automatic=$hardcode_automatic
75384 # Set to yes if linker adds runtime paths of dependent libraries
75385 # to runtime path list.
75386 inherit_rpath=$inherit_rpath
75388 # Whether libtool must link a program against all its dependency libraries.
75389 link_all_deplibs=$link_all_deplibs
75391 # Fix the shell variable \$srcfile for the compiler.
75392 fix_srcfile_path=$lt_fix_srcfile_path
75394 # Set to "yes" if exported symbols are required.
75395 always_export_symbols=$always_export_symbols
75397 # The commands to list exported symbols.
75398 export_symbols_cmds=$lt_export_symbols_cmds
75400 # Symbols that should not be listed in the preloaded symbols.
75401 exclude_expsyms=$lt_exclude_expsyms
75403 # Symbols that must always be exported.
75404 include_expsyms=$lt_include_expsyms
75406 # Commands necessary for linking programs (against libraries) with templates.
75407 prelink_cmds=$lt_prelink_cmds
75409 # Specify filename containing input files.
75410 file_list_spec=$lt_file_list_spec
75412 # How to hardcode a shared library path into an executable.
75413 hardcode_action=$hardcode_action
75415 # The directories searched by this compiler when creating a shared library.
75416 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
75418 # Dependencies to place before and after the objects being linked to
75419 # create a shared library.
75420 predep_objects=$lt_predep_objects
75421 postdep_objects=$lt_postdep_objects
75422 predeps=$lt_predeps
75423 postdeps=$lt_postdeps
75425 # The library search path used internally by the compiler when linking
75426 # a shared library.
75427 compiler_lib_search_path=$lt_compiler_lib_search_path
75429 # ### END LIBTOOL CONFIG
75431 _LT_EOF
75433 case $host_os in
75434 aix3*)
75435 cat <<\_LT_EOF >> "$cfgfile"
75436 # AIX sometimes has problems with the GCC collect2 program. For some
75437 # reason, if we set the COLLECT_NAMES environment variable, the problems
75438 # vanish in a puff of smoke.
75439 if test "X${COLLECT_NAMES+set}" != Xset; then
75440 COLLECT_NAMES=
75441 export COLLECT_NAMES
75443 _LT_EOF
75445 esac
75448 ltmain="$ac_aux_dir/ltmain.sh"
75451 # We use sed instead of cat because bash on DJGPP gets confused if
75452 # if finds mixed CR/LF and LF-only lines. Since sed operates in
75453 # text mode, it properly converts lines to CR/LF. This bash problem
75454 # is reportedly fixed, but why not run on old versions too?
75455 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
75456 || (rm -f "$cfgfile"; exit 1)
75458 case $xsi_shell in
75459 yes)
75460 cat << \_LT_EOF >> "$cfgfile"
75462 # func_dirname file append nondir_replacement
75463 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75464 # otherwise set result to NONDIR_REPLACEMENT.
75465 func_dirname ()
75467 case ${1} in
75468 */*) func_dirname_result="${1%/*}${2}" ;;
75469 * ) func_dirname_result="${3}" ;;
75470 esac
75473 # func_basename file
75474 func_basename ()
75476 func_basename_result="${1##*/}"
75479 # func_dirname_and_basename file append nondir_replacement
75480 # perform func_basename and func_dirname in a single function
75481 # call:
75482 # dirname: Compute the dirname of FILE. If nonempty,
75483 # add APPEND to the result, otherwise set result
75484 # to NONDIR_REPLACEMENT.
75485 # value returned in "$func_dirname_result"
75486 # basename: Compute filename of FILE.
75487 # value retuned in "$func_basename_result"
75488 # Implementation must be kept synchronized with func_dirname
75489 # and func_basename. For efficiency, we do not delegate to
75490 # those functions but instead duplicate the functionality here.
75491 func_dirname_and_basename ()
75493 case ${1} in
75494 */*) func_dirname_result="${1%/*}${2}" ;;
75495 * ) func_dirname_result="${3}" ;;
75496 esac
75497 func_basename_result="${1##*/}"
75500 # func_stripname prefix suffix name
75501 # strip PREFIX and SUFFIX off of NAME.
75502 # PREFIX and SUFFIX must not contain globbing or regex special
75503 # characters, hashes, percent signs, but SUFFIX may contain a leading
75504 # dot (in which case that matches only a dot).
75505 func_stripname ()
75507 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
75508 # positional parameters, so assign one to ordinary parameter first.
75509 func_stripname_result=${3}
75510 func_stripname_result=${func_stripname_result#"${1}"}
75511 func_stripname_result=${func_stripname_result%"${2}"}
75514 # func_opt_split
75515 func_opt_split ()
75517 func_opt_split_opt=${1%%=*}
75518 func_opt_split_arg=${1#*=}
75521 # func_lo2o object
75522 func_lo2o ()
75524 case ${1} in
75525 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
75526 *) func_lo2o_result=${1} ;;
75527 esac
75530 # func_xform libobj-or-source
75531 func_xform ()
75533 func_xform_result=${1%.*}.lo
75536 # func_arith arithmetic-term...
75537 func_arith ()
75539 func_arith_result=$(( $* ))
75542 # func_len string
75543 # STRING may not start with a hyphen.
75544 func_len ()
75546 func_len_result=${#1}
75549 _LT_EOF
75551 *) # Bourne compatible functions.
75552 cat << \_LT_EOF >> "$cfgfile"
75554 # func_dirname file append nondir_replacement
75555 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75556 # otherwise set result to NONDIR_REPLACEMENT.
75557 func_dirname ()
75559 # Extract subdirectory from the argument.
75560 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
75561 if test "X$func_dirname_result" = "X${1}"; then
75562 func_dirname_result="${3}"
75563 else
75564 func_dirname_result="$func_dirname_result${2}"
75568 # func_basename file
75569 func_basename ()
75571 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
75575 # func_stripname prefix suffix name
75576 # strip PREFIX and SUFFIX off of NAME.
75577 # PREFIX and SUFFIX must not contain globbing or regex special
75578 # characters, hashes, percent signs, but SUFFIX may contain a leading
75579 # dot (in which case that matches only a dot).
75580 # func_strip_suffix prefix name
75581 func_stripname ()
75583 case ${2} in
75584 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
75585 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
75586 esac
75589 # sed scripts:
75590 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
75591 my_sed_long_arg='1s/^-[^=]*=//'
75593 # func_opt_split
75594 func_opt_split ()
75596 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
75597 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
75600 # func_lo2o object
75601 func_lo2o ()
75603 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
75606 # func_xform libobj-or-source
75607 func_xform ()
75609 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
75612 # func_arith arithmetic-term...
75613 func_arith ()
75615 func_arith_result=`expr "$@"`
75618 # func_len string
75619 # STRING may not start with a hyphen.
75620 func_len ()
75622 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
75625 _LT_EOF
75626 esac
75628 case $lt_shell_append in
75629 yes)
75630 cat << \_LT_EOF >> "$cfgfile"
75632 # func_append var value
75633 # Append VALUE to the end of shell variable VAR.
75634 func_append ()
75636 eval "$1+=\$2"
75638 _LT_EOF
75641 cat << \_LT_EOF >> "$cfgfile"
75643 # func_append var value
75644 # Append VALUE to the end of shell variable VAR.
75645 func_append ()
75647 eval "$1=\$$1\$2"
75650 _LT_EOF
75652 esac
75655 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
75656 || (rm -f "$cfgfile"; exit 1)
75658 mv -f "$cfgfile" "$ofile" ||
75659 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
75660 chmod +x "$ofile"
75663 cat <<_LT_EOF >> "$ofile"
75665 # ### BEGIN LIBTOOL TAG CONFIG: CXX
75667 # The linker used to build libraries.
75668 LD=$lt_LD_CXX
75670 # How to create reloadable object files.
75671 reload_flag=$lt_reload_flag_CXX
75672 reload_cmds=$lt_reload_cmds_CXX
75674 # Commands used to build an old-style archive.
75675 old_archive_cmds=$lt_old_archive_cmds_CXX
75677 # A language specific compiler.
75678 CC=$lt_compiler_CXX
75680 # Is the compiler the GNU compiler?
75681 with_gcc=$GCC_CXX
75683 # Compiler flag to turn off builtin functions.
75684 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
75686 # How to pass a linker flag through the compiler.
75687 wl=$lt_lt_prog_compiler_wl_CXX
75689 # Additional compiler flags for building library objects.
75690 pic_flag=$lt_lt_prog_compiler_pic_CXX
75692 # Compiler flag to prevent dynamic linking.
75693 link_static_flag=$lt_lt_prog_compiler_static_CXX
75695 # Does compiler simultaneously support -c and -o options?
75696 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
75698 # Whether or not to add -lc for building shared libraries.
75699 build_libtool_need_lc=$archive_cmds_need_lc_CXX
75701 # Whether or not to disallow shared libs when runtime libs are static.
75702 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
75704 # Compiler flag to allow reflexive dlopens.
75705 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
75707 # Compiler flag to generate shared objects directly from archives.
75708 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
75710 # Whether the compiler copes with passing no objects directly.
75711 compiler_needs_object=$lt_compiler_needs_object_CXX
75713 # Create an old-style archive from a shared archive.
75714 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
75716 # Create a temporary old-style archive to link instead of a shared archive.
75717 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
75719 # Commands used to build a shared archive.
75720 archive_cmds=$lt_archive_cmds_CXX
75721 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
75723 # Commands used to build a loadable module if different from building
75724 # a shared archive.
75725 module_cmds=$lt_module_cmds_CXX
75726 module_expsym_cmds=$lt_module_expsym_cmds_CXX
75728 # Whether we are building with GNU ld or not.
75729 with_gnu_ld=$lt_with_gnu_ld_CXX
75731 # Flag that allows shared libraries with undefined symbols to be built.
75732 allow_undefined_flag=$lt_allow_undefined_flag_CXX
75734 # Flag that enforces no undefined symbols.
75735 no_undefined_flag=$lt_no_undefined_flag_CXX
75737 # Flag to hardcode \$libdir into a binary during linking.
75738 # This must work even if \$libdir does not exist
75739 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
75741 # If ld is used when linking, flag to hardcode \$libdir into a binary
75742 # during linking. This must work even if \$libdir does not exist.
75743 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
75745 # Whether we need a single "-rpath" flag with a separated argument.
75746 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
75748 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75749 # DIR into the resulting binary.
75750 hardcode_direct=$hardcode_direct_CXX
75752 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75753 # DIR into the resulting binary and the resulting library dependency is
75754 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75755 # library is relocated.
75756 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
75758 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75759 # into the resulting binary.
75760 hardcode_minus_L=$hardcode_minus_L_CXX
75762 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75763 # into the resulting binary.
75764 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
75766 # Set to "yes" if building a shared library automatically hardcodes DIR
75767 # into the library and all subsequent libraries and executables linked
75768 # against it.
75769 hardcode_automatic=$hardcode_automatic_CXX
75771 # Set to yes if linker adds runtime paths of dependent libraries
75772 # to runtime path list.
75773 inherit_rpath=$inherit_rpath_CXX
75775 # Whether libtool must link a program against all its dependency libraries.
75776 link_all_deplibs=$link_all_deplibs_CXX
75778 # Fix the shell variable \$srcfile for the compiler.
75779 fix_srcfile_path=$lt_fix_srcfile_path_CXX
75781 # Set to "yes" if exported symbols are required.
75782 always_export_symbols=$always_export_symbols_CXX
75784 # The commands to list exported symbols.
75785 export_symbols_cmds=$lt_export_symbols_cmds_CXX
75787 # Symbols that should not be listed in the preloaded symbols.
75788 exclude_expsyms=$lt_exclude_expsyms_CXX
75790 # Symbols that must always be exported.
75791 include_expsyms=$lt_include_expsyms_CXX
75793 # Commands necessary for linking programs (against libraries) with templates.
75794 prelink_cmds=$lt_prelink_cmds_CXX
75796 # Specify filename containing input files.
75797 file_list_spec=$lt_file_list_spec_CXX
75799 # How to hardcode a shared library path into an executable.
75800 hardcode_action=$hardcode_action_CXX
75802 # The directories searched by this compiler when creating a shared library.
75803 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
75805 # Dependencies to place before and after the objects being linked to
75806 # create a shared library.
75807 predep_objects=$lt_predep_objects_CXX
75808 postdep_objects=$lt_postdep_objects_CXX
75809 predeps=$lt_predeps_CXX
75810 postdeps=$lt_postdeps_CXX
75812 # The library search path used internally by the compiler when linking
75813 # a shared library.
75814 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
75816 # ### END LIBTOOL TAG CONFIG: CXX
75817 _LT_EOF
75820 "include/gstdint.h":C)
75821 if test "$GCC" = yes; then
75822 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
75823 else
75824 echo "/* generated for $CC */" > tmp-stdint.h
75827 sed 's/^ *//' >> tmp-stdint.h <<EOF
75829 #ifndef GCC_GENERATED_STDINT_H
75830 #define GCC_GENERATED_STDINT_H 1
75832 #include <sys/types.h>
75835 if test "$acx_cv_header_stdint" != stdint.h; then
75836 echo "#include <stddef.h>" >> tmp-stdint.h
75838 if test "$acx_cv_header_stdint" != stddef.h; then
75839 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
75842 sed 's/^ *//' >> tmp-stdint.h <<EOF
75843 /* glibc uses these symbols as guards to prevent redefinitions. */
75844 #ifdef __int8_t_defined
75845 #define _INT8_T
75846 #define _INT16_T
75847 #define _INT32_T
75848 #endif
75849 #ifdef __uint32_t_defined
75850 #define _UINT32_T
75851 #endif
75855 # ----------------- done header, emit basic int types -------------
75856 if test "$acx_cv_header_stdint" = stddef.h; then
75857 sed 's/^ *//' >> tmp-stdint.h <<EOF
75859 #ifndef _UINT8_T
75860 #define _UINT8_T
75861 #ifndef __uint8_t_defined
75862 #define __uint8_t_defined
75863 #ifndef uint8_t
75864 typedef unsigned $acx_cv_type_int8_t uint8_t;
75865 #endif
75866 #endif
75867 #endif
75869 #ifndef _UINT16_T
75870 #define _UINT16_T
75871 #ifndef __uint16_t_defined
75872 #define __uint16_t_defined
75873 #ifndef uint16_t
75874 typedef unsigned $acx_cv_type_int16_t uint16_t;
75875 #endif
75876 #endif
75877 #endif
75879 #ifndef _UINT32_T
75880 #define _UINT32_T
75881 #ifndef __uint32_t_defined
75882 #define __uint32_t_defined
75883 #ifndef uint32_t
75884 typedef unsigned $acx_cv_type_int32_t uint32_t;
75885 #endif
75886 #endif
75887 #endif
75889 #ifndef _INT8_T
75890 #define _INT8_T
75891 #ifndef __int8_t_defined
75892 #define __int8_t_defined
75893 #ifndef int8_t
75894 typedef $acx_cv_type_int8_t int8_t;
75895 #endif
75896 #endif
75897 #endif
75899 #ifndef _INT16_T
75900 #define _INT16_T
75901 #ifndef __int16_t_defined
75902 #define __int16_t_defined
75903 #ifndef int16_t
75904 typedef $acx_cv_type_int16_t int16_t;
75905 #endif
75906 #endif
75907 #endif
75909 #ifndef _INT32_T
75910 #define _INT32_T
75911 #ifndef __int32_t_defined
75912 #define __int32_t_defined
75913 #ifndef int32_t
75914 typedef $acx_cv_type_int32_t int32_t;
75915 #endif
75916 #endif
75917 #endif
75919 elif test "$ac_cv_type_u_int32_t" = yes; then
75920 sed 's/^ *//' >> tmp-stdint.h <<EOF
75922 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
75923 #ifndef _INT8_T
75924 #define _INT8_T
75925 #endif
75926 #ifndef _INT16_T
75927 #define _INT16_T
75928 #endif
75929 #ifndef _INT32_T
75930 #define _INT32_T
75931 #endif
75933 #ifndef _UINT8_T
75934 #define _UINT8_T
75935 #ifndef __uint8_t_defined
75936 #define __uint8_t_defined
75937 #ifndef uint8_t
75938 typedef u_int8_t uint8_t;
75939 #endif
75940 #endif
75941 #endif
75943 #ifndef _UINT16_T
75944 #define _UINT16_T
75945 #ifndef __uint16_t_defined
75946 #define __uint16_t_defined
75947 #ifndef uint16_t
75948 typedef u_int16_t uint16_t;
75949 #endif
75950 #endif
75951 #endif
75953 #ifndef _UINT32_T
75954 #define _UINT32_T
75955 #ifndef __uint32_t_defined
75956 #define __uint32_t_defined
75957 #ifndef uint32_t
75958 typedef u_int32_t uint32_t;
75959 #endif
75960 #endif
75961 #endif
75963 else
75964 sed 's/^ *//' >> tmp-stdint.h <<EOF
75966 /* Some systems have guard macros to prevent redefinitions, define them. */
75967 #ifndef _INT8_T
75968 #define _INT8_T
75969 #endif
75970 #ifndef _INT16_T
75971 #define _INT16_T
75972 #endif
75973 #ifndef _INT32_T
75974 #define _INT32_T
75975 #endif
75976 #ifndef _UINT8_T
75977 #define _UINT8_T
75978 #endif
75979 #ifndef _UINT16_T
75980 #define _UINT16_T
75981 #endif
75982 #ifndef _UINT32_T
75983 #define _UINT32_T
75984 #endif
75988 # ------------- done basic int types, emit int64_t types ------------
75989 if test "$ac_cv_type_uint64_t" = yes; then
75990 sed 's/^ *//' >> tmp-stdint.h <<EOF
75992 /* system headers have good uint64_t and int64_t */
75993 #ifndef _INT64_T
75994 #define _INT64_T
75995 #endif
75996 #ifndef _UINT64_T
75997 #define _UINT64_T
75998 #endif
76000 elif test "$ac_cv_type_u_int64_t" = yes; then
76001 sed 's/^ *//' >> tmp-stdint.h <<EOF
76003 /* system headers have an u_int64_t (and int64_t) */
76004 #ifndef _INT64_T
76005 #define _INT64_T
76006 #endif
76007 #ifndef _UINT64_T
76008 #define _UINT64_T
76009 #ifndef __uint64_t_defined
76010 #define __uint64_t_defined
76011 #ifndef uint64_t
76012 typedef u_int64_t uint64_t;
76013 #endif
76014 #endif
76015 #endif
76017 elif test -n "$acx_cv_type_int64_t"; then
76018 sed 's/^ *//' >> tmp-stdint.h <<EOF
76020 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
76021 #ifndef _INT64_T
76022 #define _INT64_T
76023 #ifndef int64_t
76024 typedef $acx_cv_type_int64_t int64_t;
76025 #endif
76026 #endif
76027 #ifndef _UINT64_T
76028 #define _UINT64_T
76029 #ifndef __uint64_t_defined
76030 #define __uint64_t_defined
76031 #ifndef uint64_t
76032 typedef unsigned $acx_cv_type_int64_t uint64_t;
76033 #endif
76034 #endif
76035 #endif
76037 else
76038 sed 's/^ *//' >> tmp-stdint.h <<EOF
76040 /* some common heuristics for int64_t, using compiler-specific tests */
76041 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
76042 #ifndef _INT64_T
76043 #define _INT64_T
76044 #ifndef __int64_t_defined
76045 #ifndef int64_t
76046 typedef long long int64_t;
76047 #endif
76048 #endif
76049 #endif
76050 #ifndef _UINT64_T
76051 #define _UINT64_T
76052 #ifndef uint64_t
76053 typedef unsigned long long uint64_t;
76054 #endif
76055 #endif
76057 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
76058 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
76059 does not implement __extension__. But that compiler doesn't define
76060 __GNUC_MINOR__. */
76061 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
76062 # define __extension__
76063 # endif
76065 # ifndef _INT64_T
76066 # define _INT64_T
76067 # ifndef int64_t
76068 __extension__ typedef long long int64_t;
76069 # endif
76070 # endif
76071 # ifndef _UINT64_T
76072 # define _UINT64_T
76073 # ifndef uint64_t
76074 __extension__ typedef unsigned long long uint64_t;
76075 # endif
76076 # endif
76078 #elif !defined __STRICT_ANSI__
76079 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
76081 # ifndef _INT64_T
76082 # define _INT64_T
76083 # ifndef int64_t
76084 typedef __int64 int64_t;
76085 # endif
76086 # endif
76087 # ifndef _UINT64_T
76088 # define _UINT64_T
76089 # ifndef uint64_t
76090 typedef unsigned __int64 uint64_t;
76091 # endif
76092 # endif
76093 # endif /* compiler */
76095 #endif /* ANSI version */
76099 # ------------- done int64_t types, emit intptr types ------------
76100 if test "$ac_cv_type_uintptr_t" != yes; then
76101 sed 's/^ *//' >> tmp-stdint.h <<EOF
76103 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
76104 #ifndef __uintptr_t_defined
76105 #ifndef uintptr_t
76106 typedef u$acx_cv_type_intptr_t uintptr_t;
76107 #endif
76108 #endif
76109 #ifndef __intptr_t_defined
76110 #ifndef intptr_t
76111 typedef $acx_cv_type_intptr_t intptr_t;
76112 #endif
76113 #endif
76117 # ------------- done intptr types, emit int_least types ------------
76118 if test "$ac_cv_type_int_least32_t" != yes; then
76119 sed 's/^ *//' >> tmp-stdint.h <<EOF
76121 /* Define int_least types */
76122 typedef int8_t int_least8_t;
76123 typedef int16_t int_least16_t;
76124 typedef int32_t int_least32_t;
76125 #ifdef _INT64_T
76126 typedef int64_t int_least64_t;
76127 #endif
76129 typedef uint8_t uint_least8_t;
76130 typedef uint16_t uint_least16_t;
76131 typedef uint32_t uint_least32_t;
76132 #ifdef _UINT64_T
76133 typedef uint64_t uint_least64_t;
76134 #endif
76138 # ------------- done intptr types, emit int_fast types ------------
76139 if test "$ac_cv_type_int_fast32_t" != yes; then
76140 sed 's/^ *//' >> tmp-stdint.h <<EOF
76142 /* Define int_fast types. short is often slow */
76143 typedef int8_t int_fast8_t;
76144 typedef int int_fast16_t;
76145 typedef int32_t int_fast32_t;
76146 #ifdef _INT64_T
76147 typedef int64_t int_fast64_t;
76148 #endif
76150 typedef uint8_t uint_fast8_t;
76151 typedef unsigned int uint_fast16_t;
76152 typedef uint32_t uint_fast32_t;
76153 #ifdef _UINT64_T
76154 typedef uint64_t uint_fast64_t;
76155 #endif
76159 if test "$ac_cv_type_uintmax_t" != yes; then
76160 sed 's/^ *//' >> tmp-stdint.h <<EOF
76162 /* Define intmax based on what we found */
76163 #ifndef intmax_t
76164 #ifdef _INT64_T
76165 typedef int64_t intmax_t;
76166 #else
76167 typedef long intmax_t;
76168 #endif
76169 #endif
76170 #ifndef uintmax_t
76171 #ifdef _UINT64_T
76172 typedef uint64_t uintmax_t;
76173 #else
76174 typedef unsigned long uintmax_t;
76175 #endif
76176 #endif
76180 sed 's/^ *//' >> tmp-stdint.h <<EOF
76182 #endif /* GCC_GENERATED_STDINT_H */
76185 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
76186 rm -f tmp-stdint.h
76187 else
76188 mv -f tmp-stdint.h include/gstdint.h
76192 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
76193 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
76194 "include/Makefile":F) cat > vpsed$$ << \_EOF
76195 s!`test -f '$<' || echo '$(srcdir)/'`!!
76196 _EOF
76197 sed -f vpsed$$ $ac_file > tmp$$
76198 mv tmp$$ $ac_file
76199 rm vpsed$$
76200 echo 'MULTISUBDIR =' >> $ac_file
76201 ml_norecursion=yes
76202 . ${multi_basedir}/config-ml.in
76203 { ml_norecursion=; unset ml_norecursion;}
76205 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
76206 s!`test -f '$<' || echo '$(srcdir)/'`!!
76207 _EOF
76208 sed -f vpsed$$ $ac_file > tmp$$
76209 mv tmp$$ $ac_file
76210 rm vpsed$$
76211 echo 'MULTISUBDIR =' >> $ac_file
76212 ml_norecursion=yes
76213 . ${multi_basedir}/config-ml.in
76214 { ml_norecursion=; unset ml_norecursion;}
76216 "python/Makefile":F) cat > vpsed$$ << \_EOF
76217 s!`test -f '$<' || echo '$(srcdir)/'`!!
76218 _EOF
76219 sed -f vpsed$$ $ac_file > tmp$$
76220 mv tmp$$ $ac_file
76221 rm vpsed$$
76222 echo 'MULTISUBDIR =' >> $ac_file
76223 ml_norecursion=yes
76224 . ${multi_basedir}/config-ml.in
76225 { ml_norecursion=; unset ml_norecursion;}
76227 "src/Makefile":F) cat > vpsed$$ << \_EOF
76228 s!`test -f '$<' || echo '$(srcdir)/'`!!
76229 _EOF
76230 sed -f vpsed$$ $ac_file > tmp$$
76231 mv tmp$$ $ac_file
76232 rm vpsed$$
76233 echo 'MULTISUBDIR =' >> $ac_file
76234 ml_norecursion=yes
76235 . ${multi_basedir}/config-ml.in
76236 { ml_norecursion=; unset ml_norecursion;}
76238 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
76239 s!`test -f '$<' || echo '$(srcdir)/'`!!
76240 _EOF
76241 sed -f vpsed$$ $ac_file > tmp$$
76242 mv tmp$$ $ac_file
76243 rm vpsed$$
76244 echo 'MULTISUBDIR =' >> $ac_file
76245 ml_norecursion=yes
76246 . ${multi_basedir}/config-ml.in
76247 { ml_norecursion=; unset ml_norecursion;}
76249 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
76250 s!`test -f '$<' || echo '$(srcdir)/'`!!
76251 _EOF
76252 sed -f vpsed$$ $ac_file > tmp$$
76253 mv tmp$$ $ac_file
76254 rm vpsed$$
76255 echo 'MULTISUBDIR =' >> $ac_file
76256 ml_norecursion=yes
76257 . ${multi_basedir}/config-ml.in
76258 { ml_norecursion=; unset ml_norecursion;}
76260 "doc/Makefile":F) cat > vpsed$$ << \_EOF
76261 s!`test -f '$<' || echo '$(srcdir)/'`!!
76262 _EOF
76263 sed -f vpsed$$ $ac_file > tmp$$
76264 mv tmp$$ $ac_file
76265 rm vpsed$$
76266 echo 'MULTISUBDIR =' >> $ac_file
76267 ml_norecursion=yes
76268 . ${multi_basedir}/config-ml.in
76269 { ml_norecursion=; unset ml_norecursion;}
76271 "po/Makefile":F) cat > vpsed$$ << \_EOF
76272 s!`test -f '$<' || echo '$(srcdir)/'`!!
76273 _EOF
76274 sed -f vpsed$$ $ac_file > tmp$$
76275 mv tmp$$ $ac_file
76276 rm vpsed$$
76277 echo 'MULTISUBDIR =' >> $ac_file
76278 ml_norecursion=yes
76279 . ${multi_basedir}/config-ml.in
76280 { ml_norecursion=; unset ml_norecursion;}
76282 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
76283 s!`test -f '$<' || echo '$(srcdir)/'`!!
76284 _EOF
76285 sed -f vpsed$$ $ac_file > tmp$$
76286 mv tmp$$ $ac_file
76287 rm vpsed$$
76288 echo 'MULTISUBDIR =' >> $ac_file
76289 ml_norecursion=yes
76290 . ${multi_basedir}/config-ml.in
76291 { ml_norecursion=; unset ml_norecursion;}
76293 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
76295 esac
76296 done # for ac_tag
76299 as_fn_exit 0
76300 _ACEOF
76301 ac_clean_files=$ac_clean_files_save
76303 test $ac_write_fail = 0 ||
76304 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
76307 # configure is writing to config.log, and then calls config.status.
76308 # config.status does its own redirection, appending to config.log.
76309 # Unfortunately, on DOS this fails, as config.log is still kept open
76310 # by configure, so config.status won't be able to write to it; its
76311 # output is simply discarded. So we exec the FD to /dev/null,
76312 # effectively closing config.log, so it can be properly (re)opened and
76313 # appended to by config.status. When coming back to configure, we
76314 # need to make the FD available again.
76315 if test "$no_create" != yes; then
76316 ac_cs_success=:
76317 ac_config_status_args=
76318 test "$silent" = yes &&
76319 ac_config_status_args="$ac_config_status_args --quiet"
76320 exec 5>/dev/null
76321 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
76322 exec 5>>config.log
76323 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
76324 # would make configure fail if this is the last instruction.
76325 $ac_cs_success || as_fn_exit $?
76327 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
76328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
76329 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}