/c-family
[official-gcc.git] / libstdc++-v3 / configure
blob994fbe320e032e5f69b0b84d080e0d556a2d6cba
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
19887 case ${target_os} in
19888 linux*)
19889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
19890 $as_echo_n "checking for clock_gettime syscall... " >&6; }
19891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19892 /* end confdefs.h. */
19893 #include <unistd.h>
19894 #include <time.h>
19895 #include <sys/syscall.h>
19898 main ()
19900 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19901 timespec tp;
19902 #endif
19903 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
19904 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
19907 return 0;
19909 _ACEOF
19910 if ac_fn_cxx_try_compile "$LINENO"; then :
19911 ac_has_clock_monotonic_syscall=yes
19912 else
19913 ac_has_clock_monotonic_syscall=no
19915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
19917 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
19918 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
19920 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
19922 ac_has_clock_monotonic=yes
19923 ac_has_clock_realtime=yes
19924 fi;;
19925 esac
19928 if test x"$ac_has_clock_monotonic" = x"yes"; then
19930 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19934 if test x"$ac_has_clock_realtime" = x"yes"; then
19936 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19940 if test x"$ac_has_sched_yield" = x"yes"; then
19942 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19946 if test x"$ac_has_nanosleep" = x"yes"; then
19948 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19950 else
19951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
19952 $as_echo_n "checking for sleep... " >&6; }
19953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19954 /* end confdefs.h. */
19955 #include <unistd.h>
19957 main ()
19959 sleep(1)
19961 return 0;
19963 _ACEOF
19964 if ac_fn_cxx_try_compile "$LINENO"; then :
19965 ac_has_sleep=yes
19966 else
19967 ac_has_sleep=no
19969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19970 if test x"$ac_has_sleep" = x"yes"; then
19972 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
19975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
19976 $as_echo "$ac_has_sleep" >&6; }
19977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
19978 $as_echo_n "checking for usleep... " >&6; }
19979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19980 /* end confdefs.h. */
19981 #include <unistd.h>
19983 main ()
19985 sleep(1);
19986 usleep(100);
19988 return 0;
19990 _ACEOF
19991 if ac_fn_cxx_try_compile "$LINENO"; then :
19992 ac_has_usleep=yes
19993 else
19994 ac_has_usleep=no
19996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19997 if test x"$ac_has_usleep" = x"yes"; then
19999 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20003 $as_echo "$ac_has_usleep" >&6; }
20006 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20008 $as_echo_n "checking for Sleep... " >&6; }
20009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20010 /* end confdefs.h. */
20011 #include <windows.h>
20013 main ()
20015 Sleep(1)
20017 return 0;
20019 _ACEOF
20020 if ac_fn_cxx_try_compile "$LINENO"; then :
20021 ac_has_win32_sleep=yes
20022 else
20023 ac_has_win32_sleep=no
20025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20026 if test x"$ac_has_win32_sleep" = x"yes"; then
20028 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20032 $as_echo "$ac_has_win32_sleep" >&6; }
20037 CXXFLAGS="$ac_save_CXXFLAGS"
20038 LIBS="$ac_save_LIBS"
20039 ac_ext=c
20040 ac_cpp='$CPP $CPPFLAGS'
20041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20048 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20049 if test "x$ac_cv_header_locale_h" = x""yes; then :
20051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20052 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20053 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20054 $as_echo_n "(cached) " >&6
20055 else
20056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20057 /* end confdefs.h. */
20058 #include <locale.h>
20060 main ()
20062 return LC_MESSAGES
20064 return 0;
20066 _ACEOF
20067 if ac_fn_c_try_compile "$LINENO"; then :
20068 ac_cv_val_LC_MESSAGES=yes
20069 else
20070 ac_cv_val_LC_MESSAGES=no
20072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20075 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20076 if test $ac_cv_val_LC_MESSAGES = yes; then
20078 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20087 # For hardware_concurrency
20088 for ac_header in sys/sysinfo.h
20089 do :
20090 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20091 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20092 cat >>confdefs.h <<_ACEOF
20093 #define HAVE_SYS_SYSINFO_H 1
20094 _ACEOF
20098 done
20103 ac_ext=cpp
20104 ac_cpp='$CXXCPP $CPPFLAGS'
20105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20109 ac_save_CXXFLAGS="$CXXFLAGS"
20110 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20113 $as_echo_n "checking for get_nprocs... " >&6; }
20114 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20115 $as_echo_n "(cached) " >&6
20116 else
20118 if test x$gcc_no_link = xyes; then
20119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20120 /* end confdefs.h. */
20121 #include <sys/sysinfo.h>
20123 main ()
20125 int n = get_nprocs();
20127 return 0;
20129 _ACEOF
20130 if ac_fn_cxx_try_compile "$LINENO"; then :
20131 glibcxx_cv_GET_NPROCS=yes
20132 else
20133 glibcxx_cv_GET_NPROCS=no
20135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20136 else
20137 if test x$gcc_no_link = xyes; then
20138 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20141 /* end confdefs.h. */
20142 #include <sys/sysinfo.h>
20144 main ()
20146 int n = get_nprocs();
20148 return 0;
20150 _ACEOF
20151 if ac_fn_cxx_try_link "$LINENO"; then :
20152 glibcxx_cv_GET_NPROCS=yes
20153 else
20154 glibcxx_cv_GET_NPROCS=no
20156 rm -f core conftest.err conftest.$ac_objext \
20157 conftest$ac_exeext conftest.$ac_ext
20162 if test $glibcxx_cv_GET_NPROCS = yes; then
20164 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20168 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20170 CXXFLAGS="$ac_save_CXXFLAGS"
20171 ac_ext=c
20172 ac_cpp='$CPP $CPPFLAGS'
20173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20178 for ac_header in unistd.h
20179 do :
20180 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20181 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20182 cat >>confdefs.h <<_ACEOF
20183 #define HAVE_UNISTD_H 1
20184 _ACEOF
20188 done
20193 ac_ext=cpp
20194 ac_cpp='$CXXCPP $CPPFLAGS'
20195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20199 ac_save_CXXFLAGS="$CXXFLAGS"
20200 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20203 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20204 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20205 $as_echo_n "(cached) " >&6
20206 else
20208 if test x$gcc_no_link = xyes; then
20209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20210 /* end confdefs.h. */
20211 #include <unistd.h>
20213 main ()
20215 int n = sysconf(_SC_NPROCESSORS_ONLN);
20217 return 0;
20219 _ACEOF
20220 if ac_fn_cxx_try_compile "$LINENO"; then :
20221 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20222 else
20223 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20226 else
20227 if test x$gcc_no_link = xyes; then
20228 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20231 /* end confdefs.h. */
20232 #include <unistd.h>
20234 main ()
20236 int n = sysconf(_SC_NPROCESSORS_ONLN);
20238 return 0;
20240 _ACEOF
20241 if ac_fn_cxx_try_link "$LINENO"; then :
20242 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20243 else
20244 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20246 rm -f core conftest.err conftest.$ac_objext \
20247 conftest$ac_exeext conftest.$ac_ext
20252 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20254 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20258 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20260 CXXFLAGS="$ac_save_CXXFLAGS"
20261 ac_ext=c
20262 ac_cpp='$CPP $CPPFLAGS'
20263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20271 ac_ext=cpp
20272 ac_cpp='$CXXCPP $CPPFLAGS'
20273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20277 ac_save_CXXFLAGS="$CXXFLAGS"
20278 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20281 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20282 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20283 $as_echo_n "(cached) " >&6
20284 else
20286 if test x$gcc_no_link = xyes; then
20287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20288 /* end confdefs.h. */
20289 #include <unistd.h>
20291 main ()
20293 int n = sysconf(_SC_NPROC_ONLN);
20295 return 0;
20297 _ACEOF
20298 if ac_fn_cxx_try_compile "$LINENO"; then :
20299 glibcxx_cv_SC_NPROC_ONLN=yes
20300 else
20301 glibcxx_cv_SC_NPROC_ONLN=no
20303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20304 else
20305 if test x$gcc_no_link = xyes; then
20306 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20309 /* end confdefs.h. */
20310 #include <unistd.h>
20312 main ()
20314 int n = sysconf(_SC_NPROC_ONLN);
20316 return 0;
20318 _ACEOF
20319 if ac_fn_cxx_try_link "$LINENO"; then :
20320 glibcxx_cv_SC_NPROC_ONLN=yes
20321 else
20322 glibcxx_cv_SC_NPROC_ONLN=no
20324 rm -f core conftest.err conftest.$ac_objext \
20325 conftest$ac_exeext conftest.$ac_ext
20330 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20332 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20336 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20338 CXXFLAGS="$ac_save_CXXFLAGS"
20339 ac_ext=c
20340 ac_cpp='$CPP $CPPFLAGS'
20341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20349 ac_ext=cpp
20350 ac_cpp='$CXXCPP $CPPFLAGS'
20351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20355 ac_save_CXXFLAGS="$CXXFLAGS"
20356 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20359 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20360 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20361 $as_echo_n "(cached) " >&6
20362 else
20364 if test x$gcc_no_link = xyes; then
20365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20366 /* end confdefs.h. */
20367 #include <pthread.h>
20369 main ()
20371 int n = pthread_num_processors_np();
20373 return 0;
20375 _ACEOF
20376 if ac_fn_cxx_try_compile "$LINENO"; then :
20377 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20378 else
20379 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20382 else
20383 if test x$gcc_no_link = xyes; then
20384 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20387 /* end confdefs.h. */
20388 #include <pthread.h>
20390 main ()
20392 int n = pthread_num_processors_np();
20394 return 0;
20396 _ACEOF
20397 if ac_fn_cxx_try_link "$LINENO"; then :
20398 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20399 else
20400 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20402 rm -f core conftest.err conftest.$ac_objext \
20403 conftest$ac_exeext conftest.$ac_ext
20408 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20410 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20414 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20416 CXXFLAGS="$ac_save_CXXFLAGS"
20417 ac_ext=c
20418 ac_cpp='$CPP $CPPFLAGS'
20419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20427 ac_ext=cpp
20428 ac_cpp='$CXXCPP $CPPFLAGS'
20429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20433 ac_save_CXXFLAGS="$CXXFLAGS"
20434 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20437 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20438 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20439 $as_echo_n "(cached) " >&6
20440 else
20442 if test x$gcc_no_link = xyes; then
20443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20444 /* end confdefs.h. */
20446 #include <stddef.h>
20447 #include <sys/sysctl.h>
20450 main ()
20453 int count;
20454 size_t size = sizeof(count);
20455 int mib[] = { CTL_HW, HW_NCPU };
20456 sysctl(mib, 2, &count, &size, NULL, 0);
20459 return 0;
20461 _ACEOF
20462 if ac_fn_cxx_try_compile "$LINENO"; then :
20463 glibcxx_cv_SYSCTL_HW_NCPU=yes
20464 else
20465 glibcxx_cv_SYSCTL_HW_NCPU=no
20467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20468 else
20469 if test x$gcc_no_link = xyes; then
20470 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20473 /* end confdefs.h. */
20475 #include <stddef.h>
20476 #include <sys/sysctl.h>
20479 main ()
20482 int count;
20483 size_t size = sizeof(count);
20484 int mib[] = { CTL_HW, HW_NCPU };
20485 sysctl(mib, 2, &count, &size, NULL, 0);
20488 return 0;
20490 _ACEOF
20491 if ac_fn_cxx_try_link "$LINENO"; then :
20492 glibcxx_cv_SYSCTL_HW_NCPU=yes
20493 else
20494 glibcxx_cv_SYSCTL_HW_NCPU=no
20496 rm -f core conftest.err conftest.$ac_objext \
20497 conftest$ac_exeext conftest.$ac_ext
20502 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20504 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20508 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20510 CXXFLAGS="$ac_save_CXXFLAGS"
20511 ac_ext=c
20512 ac_cpp='$CPP $CPPFLAGS'
20513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: for suitable sys/sdt.h" >&5
20520 $as_echo "for suitable sys/sdt.h" >&6; }
20521 # Note that this test has to be run with the C language.
20522 # Otherwise, sdt.h will try to include some headers from
20523 # libstdc++ itself.
20525 ac_ext=c
20526 ac_cpp='$CPP $CPPFLAGS'
20527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20531 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20532 $as_echo_n "(cached) " >&6
20533 else
20535 # Because we have to run the test in C, we use grep rather
20536 # than the compiler to check for the bug. The bug is that
20537 # were strings without trailing whitespace, causing g++
20538 # to look for operator"". The pattern searches for the fixed
20539 # output.
20540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20541 /* end confdefs.h. */
20543 #include <sys/sdt.h>
20544 int f() { STAP_PROBE(hi, bob); }
20546 _ACEOF
20547 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20548 $EGREP " \",\" " >/dev/null 2>&1; then :
20549 glibcxx_cv_sys_sdt_h=yes
20550 else
20551 glibcxx_cv_sys_sdt_h=no
20553 rm -f conftest*
20558 ac_ext=c
20559 ac_cpp='$CPP $CPPFLAGS'
20560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20564 if test $glibcxx_cv_sys_sdt_h = yes; then
20566 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20570 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20573 # Check for available headers.
20574 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20575 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20576 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20577 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20578 wchar.h wctype.h
20579 do :
20580 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20581 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20582 eval as_val=\$$as_ac_Header
20583 if test "x$as_val" = x""yes; then :
20584 cat >>confdefs.h <<_ACEOF
20585 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20586 _ACEOF
20590 done
20593 # Only do link tests if native. Else, hardcode.
20594 if $GLIBCXX_IS_NATIVE; then
20596 # We can do more elaborate tests that assume a working linker.
20597 CANADIAN=no
20601 # Check whether --with-gnu-ld was given.
20602 if test "${with_gnu_ld+set}" = set; then :
20603 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20604 else
20605 with_gnu_ld=no
20608 ac_prog=ld
20609 if test "$GCC" = yes; then
20610 # Check if gcc -print-prog-name=ld gives a path.
20611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20612 $as_echo_n "checking for ld used by $CC... " >&6; }
20613 case $host in
20614 *-*-mingw*)
20615 # gcc leaves a trailing carriage return which upsets mingw
20616 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20618 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20619 esac
20620 case $ac_prog in
20621 # Accept absolute paths.
20622 [\\/]* | ?:[\\/]*)
20623 re_direlt='/[^/][^/]*/\.\./'
20624 # Canonicalize the pathname of ld
20625 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20626 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20627 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20628 done
20629 test -z "$LD" && LD="$ac_prog"
20632 # If it fails, then pretend we aren't using GCC.
20633 ac_prog=ld
20636 # If it is relative, then search for the first ld in PATH.
20637 with_gnu_ld=unknown
20639 esac
20640 elif test "$with_gnu_ld" = yes; then
20641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20642 $as_echo_n "checking for GNU ld... " >&6; }
20643 else
20644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20645 $as_echo_n "checking for non-GNU ld... " >&6; }
20647 if test "${lt_cv_path_LD+set}" = set; then :
20648 $as_echo_n "(cached) " >&6
20649 else
20650 if test -z "$LD"; then
20651 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20652 for ac_dir in $PATH; do
20653 IFS="$lt_save_ifs"
20654 test -z "$ac_dir" && ac_dir=.
20655 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20656 lt_cv_path_LD="$ac_dir/$ac_prog"
20657 # Check to see if the program is GNU ld. I'd rather use --version,
20658 # but apparently some variants of GNU ld only accept -v.
20659 # Break only if it was the GNU/non-GNU ld that we prefer.
20660 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20661 *GNU* | *'with BFD'*)
20662 test "$with_gnu_ld" != no && break
20665 test "$with_gnu_ld" != yes && break
20667 esac
20669 done
20670 IFS="$lt_save_ifs"
20671 else
20672 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20676 LD="$lt_cv_path_LD"
20677 if test -n "$LD"; then
20678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20679 $as_echo "$LD" >&6; }
20680 else
20681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20682 $as_echo "no" >&6; }
20684 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20686 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20687 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20688 $as_echo_n "(cached) " >&6
20689 else
20690 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20691 case `$LD -v 2>&1 </dev/null` in
20692 *GNU* | *'with BFD'*)
20693 lt_cv_prog_gnu_ld=yes
20696 lt_cv_prog_gnu_ld=no
20698 esac
20700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20701 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20702 with_gnu_ld=$lt_cv_prog_gnu_ld
20710 # If we're not using GNU ld, then there's no point in even trying these
20711 # tests. Check for that first. We should have already tested for gld
20712 # by now (in libtool), but require it now just to be safe...
20713 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20714 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20718 # The name set by libtool depends on the version of libtool. Shame on us
20719 # for depending on an impl detail, but c'est la vie. Older versions used
20720 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20721 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20722 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20723 # set (hence we're using an older libtool), then set it.
20724 if test x${with_gnu_ld+set} != xset; then
20725 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20726 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20727 with_gnu_ld=no
20728 else
20729 with_gnu_ld=$ac_cv_prog_gnu_ld
20733 # Start by getting the version number. I think the libtool test already
20734 # does some of this, but throws away the result.
20735 glibcxx_ld_is_gold=no
20736 if test x"$with_gnu_ld" = x"yes"; then
20737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20738 $as_echo_n "checking for ld version... " >&6; }
20740 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20741 glibcxx_ld_is_gold=yes
20743 ldver=`$LD --version 2>/dev/null |
20744 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
20746 glibcxx_gnu_ld_version=`echo $ldver | \
20747 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20749 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20752 # Set --gc-sections.
20753 glibcxx_have_gc_sections=no
20754 if test "$glibcxx_ld_is_gold" = "yes"; then
20755 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20756 glibcxx_have_gc_sections=yes
20758 else
20759 glibcxx_gcsections_min_ld=21602
20760 if test x"$with_gnu_ld" = x"yes" &&
20761 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20762 glibcxx_have_gc_sections=yes
20765 if test "$glibcxx_have_gc_sections" = "yes"; then
20766 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20767 # NB: This flag only works reliably after 2.16.1. Configure tests
20768 # for this are difficult, so hard wire a value that should work.
20770 ac_test_CFLAGS="${CFLAGS+set}"
20771 ac_save_CFLAGS="$CFLAGS"
20772 CFLAGS='-Wl,--gc-sections'
20774 # Check for -Wl,--gc-sections
20775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20776 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20777 if test x$gcc_no_link = xyes; then
20778 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20781 /* end confdefs.h. */
20782 int one(void) { return 1; }
20783 int two(void) { return 2; }
20786 main ()
20788 two();
20790 return 0;
20792 _ACEOF
20793 if ac_fn_c_try_link "$LINENO"; then :
20794 ac_gcsections=yes
20795 else
20796 ac_gcsections=no
20798 rm -f core conftest.err conftest.$ac_objext \
20799 conftest$ac_exeext conftest.$ac_ext
20800 if test "$ac_gcsections" = "yes"; then
20801 rm -f conftest.c
20802 touch conftest.c
20803 if $CC -c conftest.c; then
20804 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20805 grep "Warning: gc-sections option ignored" > /dev/null; then
20806 ac_gcsections=no
20809 rm -f conftest.c conftest.o conftest
20811 if test "$ac_gcsections" = "yes"; then
20812 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20815 $as_echo "$ac_gcsections" >&6; }
20817 if test "$ac_test_CFLAGS" = set; then
20818 CFLAGS="$ac_save_CFLAGS"
20819 else
20820 # this is the suspicious part
20821 CFLAGS=''
20825 # Set -z,relro.
20826 # Note this is only for shared objects.
20827 ac_ld_relro=no
20828 if test x"$with_gnu_ld" = x"yes"; then
20829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20830 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20831 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20832 if test -n "$cxx_z_relo"; then
20833 OPT_LDFLAGS="-Wl,-z,relro"
20834 ac_ld_relro=yes
20836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20837 $as_echo "$ac_ld_relro" >&6; }
20840 # Set linker optimization flags.
20841 if test x"$with_gnu_ld" = x"yes"; then
20842 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20849 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20850 ac_save_CXXFLAGS="$CXXFLAGS"
20851 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20854 $as_echo_n "checking for sin in -lm... " >&6; }
20855 if test "${ac_cv_lib_m_sin+set}" = set; then :
20856 $as_echo_n "(cached) " >&6
20857 else
20858 ac_check_lib_save_LIBS=$LIBS
20859 LIBS="-lm $LIBS"
20860 if test x$gcc_no_link = xyes; then
20861 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20864 /* end confdefs.h. */
20866 /* Override any GCC internal prototype to avoid an error.
20867 Use char because int might match the return type of a GCC
20868 builtin and then its argument prototype would still apply. */
20869 #ifdef __cplusplus
20870 extern "C"
20871 #endif
20872 char sin ();
20874 main ()
20876 return sin ();
20878 return 0;
20880 _ACEOF
20881 if ac_fn_c_try_link "$LINENO"; then :
20882 ac_cv_lib_m_sin=yes
20883 else
20884 ac_cv_lib_m_sin=no
20886 rm -f core conftest.err conftest.$ac_objext \
20887 conftest$ac_exeext conftest.$ac_ext
20888 LIBS=$ac_check_lib_save_LIBS
20890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20891 $as_echo "$ac_cv_lib_m_sin" >&6; }
20892 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20893 libm="-lm"
20896 ac_save_LIBS="$LIBS"
20897 LIBS="$LIBS $libm"
20901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20902 $as_echo_n "checking for isinf declaration... " >&6; }
20903 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20904 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20905 $as_echo_n "(cached) " >&6
20906 else
20909 ac_ext=cpp
20910 ac_cpp='$CXXCPP $CPPFLAGS'
20911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20916 /* end confdefs.h. */
20917 #include <math.h>
20918 #ifdef HAVE_IEEEFP_H
20919 #include <ieeefp.h>
20920 #endif
20923 main ()
20925 isinf(0);
20927 return 0;
20929 _ACEOF
20930 if ac_fn_cxx_try_compile "$LINENO"; then :
20931 glibcxx_cv_func_isinf_use=yes
20932 else
20933 glibcxx_cv_func_isinf_use=no
20935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20936 ac_ext=c
20937 ac_cpp='$CPP $CPPFLAGS'
20938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20947 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20949 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20950 for ac_func in isinf
20951 do :
20952 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20953 if test "x$ac_cv_func_isinf" = x""yes; then :
20954 cat >>confdefs.h <<_ACEOF
20955 #define HAVE_ISINF 1
20956 _ACEOF
20959 done
20961 else
20963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20964 $as_echo_n "checking for _isinf declaration... " >&6; }
20965 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20966 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20967 $as_echo_n "(cached) " >&6
20968 else
20971 ac_ext=cpp
20972 ac_cpp='$CXXCPP $CPPFLAGS'
20973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20978 /* end confdefs.h. */
20979 #include <math.h>
20980 #ifdef HAVE_IEEEFP_H
20981 #include <ieeefp.h>
20982 #endif
20985 main ()
20987 _isinf(0);
20989 return 0;
20991 _ACEOF
20992 if ac_fn_cxx_try_compile "$LINENO"; then :
20993 glibcxx_cv_func__isinf_use=yes
20994 else
20995 glibcxx_cv_func__isinf_use=no
20997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20998 ac_ext=c
20999 ac_cpp='$CPP $CPPFLAGS'
21000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21009 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21011 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21012 for ac_func in _isinf
21013 do :
21014 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21015 if test "x$ac_cv_func__isinf" = x""yes; then :
21016 cat >>confdefs.h <<_ACEOF
21017 #define HAVE__ISINF 1
21018 _ACEOF
21021 done
21030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21031 $as_echo_n "checking for isnan declaration... " >&6; }
21032 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21033 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21034 $as_echo_n "(cached) " >&6
21035 else
21038 ac_ext=cpp
21039 ac_cpp='$CXXCPP $CPPFLAGS'
21040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21045 /* end confdefs.h. */
21046 #include <math.h>
21047 #ifdef HAVE_IEEEFP_H
21048 #include <ieeefp.h>
21049 #endif
21052 main ()
21054 isnan(0);
21056 return 0;
21058 _ACEOF
21059 if ac_fn_cxx_try_compile "$LINENO"; then :
21060 glibcxx_cv_func_isnan_use=yes
21061 else
21062 glibcxx_cv_func_isnan_use=no
21064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21065 ac_ext=c
21066 ac_cpp='$CPP $CPPFLAGS'
21067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21076 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21078 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21079 for ac_func in isnan
21080 do :
21081 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21082 if test "x$ac_cv_func_isnan" = x""yes; then :
21083 cat >>confdefs.h <<_ACEOF
21084 #define HAVE_ISNAN 1
21085 _ACEOF
21088 done
21090 else
21092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21093 $as_echo_n "checking for _isnan declaration... " >&6; }
21094 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21095 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21096 $as_echo_n "(cached) " >&6
21097 else
21100 ac_ext=cpp
21101 ac_cpp='$CXXCPP $CPPFLAGS'
21102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21107 /* end confdefs.h. */
21108 #include <math.h>
21109 #ifdef HAVE_IEEEFP_H
21110 #include <ieeefp.h>
21111 #endif
21114 main ()
21116 _isnan(0);
21118 return 0;
21120 _ACEOF
21121 if ac_fn_cxx_try_compile "$LINENO"; then :
21122 glibcxx_cv_func__isnan_use=yes
21123 else
21124 glibcxx_cv_func__isnan_use=no
21126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21127 ac_ext=c
21128 ac_cpp='$CPP $CPPFLAGS'
21129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21138 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21140 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21141 for ac_func in _isnan
21142 do :
21143 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21144 if test "x$ac_cv_func__isnan" = x""yes; then :
21145 cat >>confdefs.h <<_ACEOF
21146 #define HAVE__ISNAN 1
21147 _ACEOF
21150 done
21159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21160 $as_echo_n "checking for finite declaration... " >&6; }
21161 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21162 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21163 $as_echo_n "(cached) " >&6
21164 else
21167 ac_ext=cpp
21168 ac_cpp='$CXXCPP $CPPFLAGS'
21169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21174 /* end confdefs.h. */
21175 #include <math.h>
21176 #ifdef HAVE_IEEEFP_H
21177 #include <ieeefp.h>
21178 #endif
21181 main ()
21183 finite(0);
21185 return 0;
21187 _ACEOF
21188 if ac_fn_cxx_try_compile "$LINENO"; then :
21189 glibcxx_cv_func_finite_use=yes
21190 else
21191 glibcxx_cv_func_finite_use=no
21193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21194 ac_ext=c
21195 ac_cpp='$CPP $CPPFLAGS'
21196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21205 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21207 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21208 for ac_func in finite
21209 do :
21210 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21211 if test "x$ac_cv_func_finite" = x""yes; then :
21212 cat >>confdefs.h <<_ACEOF
21213 #define HAVE_FINITE 1
21214 _ACEOF
21217 done
21219 else
21221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21222 $as_echo_n "checking for _finite declaration... " >&6; }
21223 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21224 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21225 $as_echo_n "(cached) " >&6
21226 else
21229 ac_ext=cpp
21230 ac_cpp='$CXXCPP $CPPFLAGS'
21231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21236 /* end confdefs.h. */
21237 #include <math.h>
21238 #ifdef HAVE_IEEEFP_H
21239 #include <ieeefp.h>
21240 #endif
21243 main ()
21245 _finite(0);
21247 return 0;
21249 _ACEOF
21250 if ac_fn_cxx_try_compile "$LINENO"; then :
21251 glibcxx_cv_func__finite_use=yes
21252 else
21253 glibcxx_cv_func__finite_use=no
21255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21256 ac_ext=c
21257 ac_cpp='$CPP $CPPFLAGS'
21258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21267 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21269 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21270 for ac_func in _finite
21271 do :
21272 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21273 if test "x$ac_cv_func__finite" = x""yes; then :
21274 cat >>confdefs.h <<_ACEOF
21275 #define HAVE__FINITE 1
21276 _ACEOF
21279 done
21288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21289 $as_echo_n "checking for sincos declaration... " >&6; }
21290 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21291 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21292 $as_echo_n "(cached) " >&6
21293 else
21296 ac_ext=cpp
21297 ac_cpp='$CXXCPP $CPPFLAGS'
21298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21303 /* end confdefs.h. */
21304 #include <math.h>
21306 main ()
21308 sincos(0, 0, 0);
21310 return 0;
21312 _ACEOF
21313 if ac_fn_cxx_try_compile "$LINENO"; then :
21314 glibcxx_cv_func_sincos_use=yes
21315 else
21316 glibcxx_cv_func_sincos_use=no
21318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21319 ac_ext=c
21320 ac_cpp='$CPP $CPPFLAGS'
21321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21330 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21332 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21333 for ac_func in sincos
21334 do :
21335 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21336 if test "x$ac_cv_func_sincos" = x""yes; then :
21337 cat >>confdefs.h <<_ACEOF
21338 #define HAVE_SINCOS 1
21339 _ACEOF
21342 done
21344 else
21346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21347 $as_echo_n "checking for _sincos declaration... " >&6; }
21348 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21349 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21350 $as_echo_n "(cached) " >&6
21351 else
21354 ac_ext=cpp
21355 ac_cpp='$CXXCPP $CPPFLAGS'
21356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21361 /* end confdefs.h. */
21362 #include <math.h>
21364 main ()
21366 _sincos(0, 0, 0);
21368 return 0;
21370 _ACEOF
21371 if ac_fn_cxx_try_compile "$LINENO"; then :
21372 glibcxx_cv_func__sincos_use=yes
21373 else
21374 glibcxx_cv_func__sincos_use=no
21376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21377 ac_ext=c
21378 ac_cpp='$CPP $CPPFLAGS'
21379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21388 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21390 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21391 for ac_func in _sincos
21392 do :
21393 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21394 if test "x$ac_cv_func__sincos" = x""yes; then :
21395 cat >>confdefs.h <<_ACEOF
21396 #define HAVE__SINCOS 1
21397 _ACEOF
21400 done
21409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21410 $as_echo_n "checking for fpclass declaration... " >&6; }
21411 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21412 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21413 $as_echo_n "(cached) " >&6
21414 else
21417 ac_ext=cpp
21418 ac_cpp='$CXXCPP $CPPFLAGS'
21419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21424 /* end confdefs.h. */
21425 #include <math.h>
21426 #ifdef HAVE_IEEEFP_H
21427 #include <ieeefp.h>
21428 #endif
21431 main ()
21433 fpclass(0);
21435 return 0;
21437 _ACEOF
21438 if ac_fn_cxx_try_compile "$LINENO"; then :
21439 glibcxx_cv_func_fpclass_use=yes
21440 else
21441 glibcxx_cv_func_fpclass_use=no
21443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21444 ac_ext=c
21445 ac_cpp='$CPP $CPPFLAGS'
21446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21455 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21457 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21458 for ac_func in fpclass
21459 do :
21460 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21461 if test "x$ac_cv_func_fpclass" = x""yes; then :
21462 cat >>confdefs.h <<_ACEOF
21463 #define HAVE_FPCLASS 1
21464 _ACEOF
21467 done
21469 else
21471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21472 $as_echo_n "checking for _fpclass declaration... " >&6; }
21473 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21474 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21475 $as_echo_n "(cached) " >&6
21476 else
21479 ac_ext=cpp
21480 ac_cpp='$CXXCPP $CPPFLAGS'
21481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21486 /* end confdefs.h. */
21487 #include <math.h>
21488 #ifdef HAVE_IEEEFP_H
21489 #include <ieeefp.h>
21490 #endif
21493 main ()
21495 _fpclass(0);
21497 return 0;
21499 _ACEOF
21500 if ac_fn_cxx_try_compile "$LINENO"; then :
21501 glibcxx_cv_func__fpclass_use=yes
21502 else
21503 glibcxx_cv_func__fpclass_use=no
21505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21506 ac_ext=c
21507 ac_cpp='$CPP $CPPFLAGS'
21508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21517 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21519 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21520 for ac_func in _fpclass
21521 do :
21522 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21523 if test "x$ac_cv_func__fpclass" = x""yes; then :
21524 cat >>confdefs.h <<_ACEOF
21525 #define HAVE__FPCLASS 1
21526 _ACEOF
21529 done
21538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21539 $as_echo_n "checking for qfpclass declaration... " >&6; }
21540 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21541 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21542 $as_echo_n "(cached) " >&6
21543 else
21546 ac_ext=cpp
21547 ac_cpp='$CXXCPP $CPPFLAGS'
21548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21553 /* end confdefs.h. */
21554 #include <math.h>
21555 #ifdef HAVE_IEEEFP_H
21556 #include <ieeefp.h>
21557 #endif
21560 main ()
21562 qfpclass(0);
21564 return 0;
21566 _ACEOF
21567 if ac_fn_cxx_try_compile "$LINENO"; then :
21568 glibcxx_cv_func_qfpclass_use=yes
21569 else
21570 glibcxx_cv_func_qfpclass_use=no
21572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21573 ac_ext=c
21574 ac_cpp='$CPP $CPPFLAGS'
21575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21584 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21586 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21587 for ac_func in qfpclass
21588 do :
21589 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21590 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21591 cat >>confdefs.h <<_ACEOF
21592 #define HAVE_QFPCLASS 1
21593 _ACEOF
21596 done
21598 else
21600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21601 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21602 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21603 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21604 $as_echo_n "(cached) " >&6
21605 else
21608 ac_ext=cpp
21609 ac_cpp='$CXXCPP $CPPFLAGS'
21610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21615 /* end confdefs.h. */
21616 #include <math.h>
21617 #ifdef HAVE_IEEEFP_H
21618 #include <ieeefp.h>
21619 #endif
21622 main ()
21624 _qfpclass(0);
21626 return 0;
21628 _ACEOF
21629 if ac_fn_cxx_try_compile "$LINENO"; then :
21630 glibcxx_cv_func__qfpclass_use=yes
21631 else
21632 glibcxx_cv_func__qfpclass_use=no
21634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21635 ac_ext=c
21636 ac_cpp='$CPP $CPPFLAGS'
21637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21646 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21648 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21649 for ac_func in _qfpclass
21650 do :
21651 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21652 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21653 cat >>confdefs.h <<_ACEOF
21654 #define HAVE__QFPCLASS 1
21655 _ACEOF
21658 done
21667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21668 $as_echo_n "checking for hypot declaration... " >&6; }
21669 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21670 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21671 $as_echo_n "(cached) " >&6
21672 else
21675 ac_ext=cpp
21676 ac_cpp='$CXXCPP $CPPFLAGS'
21677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21682 /* end confdefs.h. */
21683 #include <math.h>
21685 main ()
21687 hypot(0, 0);
21689 return 0;
21691 _ACEOF
21692 if ac_fn_cxx_try_compile "$LINENO"; then :
21693 glibcxx_cv_func_hypot_use=yes
21694 else
21695 glibcxx_cv_func_hypot_use=no
21697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21698 ac_ext=c
21699 ac_cpp='$CPP $CPPFLAGS'
21700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21709 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21711 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21712 for ac_func in hypot
21713 do :
21714 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21715 if test "x$ac_cv_func_hypot" = x""yes; then :
21716 cat >>confdefs.h <<_ACEOF
21717 #define HAVE_HYPOT 1
21718 _ACEOF
21721 done
21723 else
21725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21726 $as_echo_n "checking for _hypot declaration... " >&6; }
21727 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21728 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21729 $as_echo_n "(cached) " >&6
21730 else
21733 ac_ext=cpp
21734 ac_cpp='$CXXCPP $CPPFLAGS'
21735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21740 /* end confdefs.h. */
21741 #include <math.h>
21743 main ()
21745 _hypot(0, 0);
21747 return 0;
21749 _ACEOF
21750 if ac_fn_cxx_try_compile "$LINENO"; then :
21751 glibcxx_cv_func__hypot_use=yes
21752 else
21753 glibcxx_cv_func__hypot_use=no
21755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21756 ac_ext=c
21757 ac_cpp='$CPP $CPPFLAGS'
21758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21767 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21769 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21770 for ac_func in _hypot
21771 do :
21772 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21773 if test "x$ac_cv_func__hypot" = x""yes; then :
21774 cat >>confdefs.h <<_ACEOF
21775 #define HAVE__HYPOT 1
21776 _ACEOF
21779 done
21788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21789 $as_echo_n "checking for float trig functions... " >&6; }
21790 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21791 $as_echo_n "(cached) " >&6
21792 else
21795 ac_ext=cpp
21796 ac_cpp='$CXXCPP $CPPFLAGS'
21797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21802 /* end confdefs.h. */
21803 #include <math.h>
21805 main ()
21807 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21809 return 0;
21811 _ACEOF
21812 if ac_fn_cxx_try_compile "$LINENO"; then :
21813 glibcxx_cv_func_float_trig_use=yes
21814 else
21815 glibcxx_cv_func_float_trig_use=no
21817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21818 ac_ext=c
21819 ac_cpp='$CPP $CPPFLAGS'
21820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21827 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21828 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21829 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21830 do :
21831 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21832 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21833 eval as_val=\$$as_ac_var
21834 if test "x$as_val" = x""yes; then :
21835 cat >>confdefs.h <<_ACEOF
21836 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21837 _ACEOF
21840 done
21842 else
21843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21844 $as_echo_n "checking for _float trig functions... " >&6; }
21845 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21846 $as_echo_n "(cached) " >&6
21847 else
21850 ac_ext=cpp
21851 ac_cpp='$CXXCPP $CPPFLAGS'
21852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21857 /* end confdefs.h. */
21858 #include <math.h>
21860 main ()
21862 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21864 return 0;
21866 _ACEOF
21867 if ac_fn_cxx_try_compile "$LINENO"; then :
21868 glibcxx_cv_func__float_trig_use=yes
21869 else
21870 glibcxx_cv_func__float_trig_use=no
21872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21873 ac_ext=c
21874 ac_cpp='$CPP $CPPFLAGS'
21875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21882 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21883 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21884 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21885 do :
21886 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21887 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21888 eval as_val=\$$as_ac_var
21889 if test "x$as_val" = x""yes; then :
21890 cat >>confdefs.h <<_ACEOF
21891 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21892 _ACEOF
21895 done
21904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21905 $as_echo_n "checking for float round functions... " >&6; }
21906 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21907 $as_echo_n "(cached) " >&6
21908 else
21911 ac_ext=cpp
21912 ac_cpp='$CXXCPP $CPPFLAGS'
21913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21918 /* end confdefs.h. */
21919 #include <math.h>
21921 main ()
21923 ceilf (0); floorf (0);
21925 return 0;
21927 _ACEOF
21928 if ac_fn_cxx_try_compile "$LINENO"; then :
21929 glibcxx_cv_func_float_round_use=yes
21930 else
21931 glibcxx_cv_func_float_round_use=no
21933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21934 ac_ext=c
21935 ac_cpp='$CPP $CPPFLAGS'
21936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21943 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21944 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21945 for ac_func in ceilf floorf
21946 do :
21947 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21948 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21949 eval as_val=\$$as_ac_var
21950 if test "x$as_val" = x""yes; then :
21951 cat >>confdefs.h <<_ACEOF
21952 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21953 _ACEOF
21956 done
21958 else
21959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21960 $as_echo_n "checking for _float round functions... " >&6; }
21961 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21962 $as_echo_n "(cached) " >&6
21963 else
21966 ac_ext=cpp
21967 ac_cpp='$CXXCPP $CPPFLAGS'
21968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21973 /* end confdefs.h. */
21974 #include <math.h>
21976 main ()
21978 _ceilf (0); _floorf (0);
21980 return 0;
21982 _ACEOF
21983 if ac_fn_cxx_try_compile "$LINENO"; then :
21984 glibcxx_cv_func__float_round_use=yes
21985 else
21986 glibcxx_cv_func__float_round_use=no
21988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21989 ac_ext=c
21990 ac_cpp='$CPP $CPPFLAGS'
21991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21998 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21999 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22000 for ac_func in _ceilf _floorf
22001 do :
22002 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22003 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22004 eval as_val=\$$as_ac_var
22005 if test "x$as_val" = x""yes; then :
22006 cat >>confdefs.h <<_ACEOF
22007 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22008 _ACEOF
22011 done
22021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22022 $as_echo_n "checking for expf declaration... " >&6; }
22023 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22024 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22025 $as_echo_n "(cached) " >&6
22026 else
22029 ac_ext=cpp
22030 ac_cpp='$CXXCPP $CPPFLAGS'
22031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22036 /* end confdefs.h. */
22037 #include <math.h>
22038 #ifdef HAVE_IEEEFP_H
22039 #include <ieeefp.h>
22040 #endif
22043 main ()
22045 expf(0);
22047 return 0;
22049 _ACEOF
22050 if ac_fn_cxx_try_compile "$LINENO"; then :
22051 glibcxx_cv_func_expf_use=yes
22052 else
22053 glibcxx_cv_func_expf_use=no
22055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22056 ac_ext=c
22057 ac_cpp='$CPP $CPPFLAGS'
22058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22067 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22069 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22070 for ac_func in expf
22071 do :
22072 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22073 if test "x$ac_cv_func_expf" = x""yes; then :
22074 cat >>confdefs.h <<_ACEOF
22075 #define HAVE_EXPF 1
22076 _ACEOF
22079 done
22081 else
22083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22084 $as_echo_n "checking for _expf declaration... " >&6; }
22085 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22086 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22087 $as_echo_n "(cached) " >&6
22088 else
22091 ac_ext=cpp
22092 ac_cpp='$CXXCPP $CPPFLAGS'
22093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22098 /* end confdefs.h. */
22099 #include <math.h>
22100 #ifdef HAVE_IEEEFP_H
22101 #include <ieeefp.h>
22102 #endif
22105 main ()
22107 _expf(0);
22109 return 0;
22111 _ACEOF
22112 if ac_fn_cxx_try_compile "$LINENO"; then :
22113 glibcxx_cv_func__expf_use=yes
22114 else
22115 glibcxx_cv_func__expf_use=no
22117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22118 ac_ext=c
22119 ac_cpp='$CPP $CPPFLAGS'
22120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22129 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22131 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22132 for ac_func in _expf
22133 do :
22134 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22135 if test "x$ac_cv_func__expf" = x""yes; then :
22136 cat >>confdefs.h <<_ACEOF
22137 #define HAVE__EXPF 1
22138 _ACEOF
22141 done
22150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22151 $as_echo_n "checking for isnanf declaration... " >&6; }
22152 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22153 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22154 $as_echo_n "(cached) " >&6
22155 else
22158 ac_ext=cpp
22159 ac_cpp='$CXXCPP $CPPFLAGS'
22160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22165 /* end confdefs.h. */
22166 #include <math.h>
22167 #ifdef HAVE_IEEEFP_H
22168 #include <ieeefp.h>
22169 #endif
22172 main ()
22174 isnanf(0);
22176 return 0;
22178 _ACEOF
22179 if ac_fn_cxx_try_compile "$LINENO"; then :
22180 glibcxx_cv_func_isnanf_use=yes
22181 else
22182 glibcxx_cv_func_isnanf_use=no
22184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22185 ac_ext=c
22186 ac_cpp='$CPP $CPPFLAGS'
22187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22196 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22198 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22199 for ac_func in isnanf
22200 do :
22201 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22202 if test "x$ac_cv_func_isnanf" = x""yes; then :
22203 cat >>confdefs.h <<_ACEOF
22204 #define HAVE_ISNANF 1
22205 _ACEOF
22208 done
22210 else
22212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22213 $as_echo_n "checking for _isnanf declaration... " >&6; }
22214 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22215 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22216 $as_echo_n "(cached) " >&6
22217 else
22220 ac_ext=cpp
22221 ac_cpp='$CXXCPP $CPPFLAGS'
22222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22227 /* end confdefs.h. */
22228 #include <math.h>
22229 #ifdef HAVE_IEEEFP_H
22230 #include <ieeefp.h>
22231 #endif
22234 main ()
22236 _isnanf(0);
22238 return 0;
22240 _ACEOF
22241 if ac_fn_cxx_try_compile "$LINENO"; then :
22242 glibcxx_cv_func__isnanf_use=yes
22243 else
22244 glibcxx_cv_func__isnanf_use=no
22246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22247 ac_ext=c
22248 ac_cpp='$CPP $CPPFLAGS'
22249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22258 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22260 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22261 for ac_func in _isnanf
22262 do :
22263 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22264 if test "x$ac_cv_func__isnanf" = x""yes; then :
22265 cat >>confdefs.h <<_ACEOF
22266 #define HAVE__ISNANF 1
22267 _ACEOF
22270 done
22279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22280 $as_echo_n "checking for isinff declaration... " >&6; }
22281 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22282 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22283 $as_echo_n "(cached) " >&6
22284 else
22287 ac_ext=cpp
22288 ac_cpp='$CXXCPP $CPPFLAGS'
22289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22294 /* end confdefs.h. */
22295 #include <math.h>
22296 #ifdef HAVE_IEEEFP_H
22297 #include <ieeefp.h>
22298 #endif
22301 main ()
22303 isinff(0);
22305 return 0;
22307 _ACEOF
22308 if ac_fn_cxx_try_compile "$LINENO"; then :
22309 glibcxx_cv_func_isinff_use=yes
22310 else
22311 glibcxx_cv_func_isinff_use=no
22313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22314 ac_ext=c
22315 ac_cpp='$CPP $CPPFLAGS'
22316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22325 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22327 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22328 for ac_func in isinff
22329 do :
22330 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22331 if test "x$ac_cv_func_isinff" = x""yes; then :
22332 cat >>confdefs.h <<_ACEOF
22333 #define HAVE_ISINFF 1
22334 _ACEOF
22337 done
22339 else
22341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22342 $as_echo_n "checking for _isinff declaration... " >&6; }
22343 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22344 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22345 $as_echo_n "(cached) " >&6
22346 else
22349 ac_ext=cpp
22350 ac_cpp='$CXXCPP $CPPFLAGS'
22351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22356 /* end confdefs.h. */
22357 #include <math.h>
22358 #ifdef HAVE_IEEEFP_H
22359 #include <ieeefp.h>
22360 #endif
22363 main ()
22365 _isinff(0);
22367 return 0;
22369 _ACEOF
22370 if ac_fn_cxx_try_compile "$LINENO"; then :
22371 glibcxx_cv_func__isinff_use=yes
22372 else
22373 glibcxx_cv_func__isinff_use=no
22375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22376 ac_ext=c
22377 ac_cpp='$CPP $CPPFLAGS'
22378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22387 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22389 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22390 for ac_func in _isinff
22391 do :
22392 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22393 if test "x$ac_cv_func__isinff" = x""yes; then :
22394 cat >>confdefs.h <<_ACEOF
22395 #define HAVE__ISINFF 1
22396 _ACEOF
22399 done
22408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22409 $as_echo_n "checking for atan2f declaration... " >&6; }
22410 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22411 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22412 $as_echo_n "(cached) " >&6
22413 else
22416 ac_ext=cpp
22417 ac_cpp='$CXXCPP $CPPFLAGS'
22418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22423 /* end confdefs.h. */
22424 #include <math.h>
22426 main ()
22428 atan2f(0, 0);
22430 return 0;
22432 _ACEOF
22433 if ac_fn_cxx_try_compile "$LINENO"; then :
22434 glibcxx_cv_func_atan2f_use=yes
22435 else
22436 glibcxx_cv_func_atan2f_use=no
22438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22439 ac_ext=c
22440 ac_cpp='$CPP $CPPFLAGS'
22441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22450 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22452 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22453 for ac_func in atan2f
22454 do :
22455 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22456 if test "x$ac_cv_func_atan2f" = x""yes; then :
22457 cat >>confdefs.h <<_ACEOF
22458 #define HAVE_ATAN2F 1
22459 _ACEOF
22462 done
22464 else
22466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22467 $as_echo_n "checking for _atan2f declaration... " >&6; }
22468 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22469 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22470 $as_echo_n "(cached) " >&6
22471 else
22474 ac_ext=cpp
22475 ac_cpp='$CXXCPP $CPPFLAGS'
22476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22481 /* end confdefs.h. */
22482 #include <math.h>
22484 main ()
22486 _atan2f(0, 0);
22488 return 0;
22490 _ACEOF
22491 if ac_fn_cxx_try_compile "$LINENO"; then :
22492 glibcxx_cv_func__atan2f_use=yes
22493 else
22494 glibcxx_cv_func__atan2f_use=no
22496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22497 ac_ext=c
22498 ac_cpp='$CPP $CPPFLAGS'
22499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22508 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22510 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22511 for ac_func in _atan2f
22512 do :
22513 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22514 if test "x$ac_cv_func__atan2f" = x""yes; then :
22515 cat >>confdefs.h <<_ACEOF
22516 #define HAVE__ATAN2F 1
22517 _ACEOF
22520 done
22529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22530 $as_echo_n "checking for fabsf declaration... " >&6; }
22531 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22532 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22533 $as_echo_n "(cached) " >&6
22534 else
22537 ac_ext=cpp
22538 ac_cpp='$CXXCPP $CPPFLAGS'
22539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22544 /* end confdefs.h. */
22545 #include <math.h>
22546 #ifdef HAVE_IEEEFP_H
22547 #include <ieeefp.h>
22548 #endif
22551 main ()
22553 fabsf(0);
22555 return 0;
22557 _ACEOF
22558 if ac_fn_cxx_try_compile "$LINENO"; then :
22559 glibcxx_cv_func_fabsf_use=yes
22560 else
22561 glibcxx_cv_func_fabsf_use=no
22563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22564 ac_ext=c
22565 ac_cpp='$CPP $CPPFLAGS'
22566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22575 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22577 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22578 for ac_func in fabsf
22579 do :
22580 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22581 if test "x$ac_cv_func_fabsf" = x""yes; then :
22582 cat >>confdefs.h <<_ACEOF
22583 #define HAVE_FABSF 1
22584 _ACEOF
22587 done
22589 else
22591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22592 $as_echo_n "checking for _fabsf declaration... " >&6; }
22593 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22594 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22595 $as_echo_n "(cached) " >&6
22596 else
22599 ac_ext=cpp
22600 ac_cpp='$CXXCPP $CPPFLAGS'
22601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22606 /* end confdefs.h. */
22607 #include <math.h>
22608 #ifdef HAVE_IEEEFP_H
22609 #include <ieeefp.h>
22610 #endif
22613 main ()
22615 _fabsf(0);
22617 return 0;
22619 _ACEOF
22620 if ac_fn_cxx_try_compile "$LINENO"; then :
22621 glibcxx_cv_func__fabsf_use=yes
22622 else
22623 glibcxx_cv_func__fabsf_use=no
22625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22626 ac_ext=c
22627 ac_cpp='$CPP $CPPFLAGS'
22628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22637 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22639 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22640 for ac_func in _fabsf
22641 do :
22642 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22643 if test "x$ac_cv_func__fabsf" = x""yes; then :
22644 cat >>confdefs.h <<_ACEOF
22645 #define HAVE__FABSF 1
22646 _ACEOF
22649 done
22658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22659 $as_echo_n "checking for fmodf declaration... " >&6; }
22660 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22661 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22662 $as_echo_n "(cached) " >&6
22663 else
22666 ac_ext=cpp
22667 ac_cpp='$CXXCPP $CPPFLAGS'
22668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22673 /* end confdefs.h. */
22674 #include <math.h>
22676 main ()
22678 fmodf(0, 0);
22680 return 0;
22682 _ACEOF
22683 if ac_fn_cxx_try_compile "$LINENO"; then :
22684 glibcxx_cv_func_fmodf_use=yes
22685 else
22686 glibcxx_cv_func_fmodf_use=no
22688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22689 ac_ext=c
22690 ac_cpp='$CPP $CPPFLAGS'
22691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22700 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22702 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22703 for ac_func in fmodf
22704 do :
22705 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22706 if test "x$ac_cv_func_fmodf" = x""yes; then :
22707 cat >>confdefs.h <<_ACEOF
22708 #define HAVE_FMODF 1
22709 _ACEOF
22712 done
22714 else
22716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22717 $as_echo_n "checking for _fmodf declaration... " >&6; }
22718 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22719 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22720 $as_echo_n "(cached) " >&6
22721 else
22724 ac_ext=cpp
22725 ac_cpp='$CXXCPP $CPPFLAGS'
22726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22731 /* end confdefs.h. */
22732 #include <math.h>
22734 main ()
22736 _fmodf(0, 0);
22738 return 0;
22740 _ACEOF
22741 if ac_fn_cxx_try_compile "$LINENO"; then :
22742 glibcxx_cv_func__fmodf_use=yes
22743 else
22744 glibcxx_cv_func__fmodf_use=no
22746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22747 ac_ext=c
22748 ac_cpp='$CPP $CPPFLAGS'
22749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22758 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22760 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22761 for ac_func in _fmodf
22762 do :
22763 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22764 if test "x$ac_cv_func__fmodf" = x""yes; then :
22765 cat >>confdefs.h <<_ACEOF
22766 #define HAVE__FMODF 1
22767 _ACEOF
22770 done
22779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22780 $as_echo_n "checking for frexpf declaration... " >&6; }
22781 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22782 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22783 $as_echo_n "(cached) " >&6
22784 else
22787 ac_ext=cpp
22788 ac_cpp='$CXXCPP $CPPFLAGS'
22789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22794 /* end confdefs.h. */
22795 #include <math.h>
22797 main ()
22799 frexpf(0, 0);
22801 return 0;
22803 _ACEOF
22804 if ac_fn_cxx_try_compile "$LINENO"; then :
22805 glibcxx_cv_func_frexpf_use=yes
22806 else
22807 glibcxx_cv_func_frexpf_use=no
22809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22810 ac_ext=c
22811 ac_cpp='$CPP $CPPFLAGS'
22812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22821 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22823 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22824 for ac_func in frexpf
22825 do :
22826 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22827 if test "x$ac_cv_func_frexpf" = x""yes; then :
22828 cat >>confdefs.h <<_ACEOF
22829 #define HAVE_FREXPF 1
22830 _ACEOF
22833 done
22835 else
22837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22838 $as_echo_n "checking for _frexpf declaration... " >&6; }
22839 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22840 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22841 $as_echo_n "(cached) " >&6
22842 else
22845 ac_ext=cpp
22846 ac_cpp='$CXXCPP $CPPFLAGS'
22847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22852 /* end confdefs.h. */
22853 #include <math.h>
22855 main ()
22857 _frexpf(0, 0);
22859 return 0;
22861 _ACEOF
22862 if ac_fn_cxx_try_compile "$LINENO"; then :
22863 glibcxx_cv_func__frexpf_use=yes
22864 else
22865 glibcxx_cv_func__frexpf_use=no
22867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22868 ac_ext=c
22869 ac_cpp='$CPP $CPPFLAGS'
22870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22879 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22881 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22882 for ac_func in _frexpf
22883 do :
22884 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22885 if test "x$ac_cv_func__frexpf" = x""yes; then :
22886 cat >>confdefs.h <<_ACEOF
22887 #define HAVE__FREXPF 1
22888 _ACEOF
22891 done
22900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22901 $as_echo_n "checking for hypotf declaration... " >&6; }
22902 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22903 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22904 $as_echo_n "(cached) " >&6
22905 else
22908 ac_ext=cpp
22909 ac_cpp='$CXXCPP $CPPFLAGS'
22910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22915 /* end confdefs.h. */
22916 #include <math.h>
22918 main ()
22920 hypotf(0, 0);
22922 return 0;
22924 _ACEOF
22925 if ac_fn_cxx_try_compile "$LINENO"; then :
22926 glibcxx_cv_func_hypotf_use=yes
22927 else
22928 glibcxx_cv_func_hypotf_use=no
22930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22931 ac_ext=c
22932 ac_cpp='$CPP $CPPFLAGS'
22933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22942 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22944 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22945 for ac_func in hypotf
22946 do :
22947 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22948 if test "x$ac_cv_func_hypotf" = x""yes; then :
22949 cat >>confdefs.h <<_ACEOF
22950 #define HAVE_HYPOTF 1
22951 _ACEOF
22954 done
22956 else
22958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22959 $as_echo_n "checking for _hypotf declaration... " >&6; }
22960 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22961 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22962 $as_echo_n "(cached) " >&6
22963 else
22966 ac_ext=cpp
22967 ac_cpp='$CXXCPP $CPPFLAGS'
22968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22973 /* end confdefs.h. */
22974 #include <math.h>
22976 main ()
22978 _hypotf(0, 0);
22980 return 0;
22982 _ACEOF
22983 if ac_fn_cxx_try_compile "$LINENO"; then :
22984 glibcxx_cv_func__hypotf_use=yes
22985 else
22986 glibcxx_cv_func__hypotf_use=no
22988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22989 ac_ext=c
22990 ac_cpp='$CPP $CPPFLAGS'
22991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23000 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23002 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23003 for ac_func in _hypotf
23004 do :
23005 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23006 if test "x$ac_cv_func__hypotf" = x""yes; then :
23007 cat >>confdefs.h <<_ACEOF
23008 #define HAVE__HYPOTF 1
23009 _ACEOF
23012 done
23021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23022 $as_echo_n "checking for ldexpf declaration... " >&6; }
23023 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23024 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23025 $as_echo_n "(cached) " >&6
23026 else
23029 ac_ext=cpp
23030 ac_cpp='$CXXCPP $CPPFLAGS'
23031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23036 /* end confdefs.h. */
23037 #include <math.h>
23039 main ()
23041 ldexpf(0, 0);
23043 return 0;
23045 _ACEOF
23046 if ac_fn_cxx_try_compile "$LINENO"; then :
23047 glibcxx_cv_func_ldexpf_use=yes
23048 else
23049 glibcxx_cv_func_ldexpf_use=no
23051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23052 ac_ext=c
23053 ac_cpp='$CPP $CPPFLAGS'
23054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23063 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23065 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23066 for ac_func in ldexpf
23067 do :
23068 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23069 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23070 cat >>confdefs.h <<_ACEOF
23071 #define HAVE_LDEXPF 1
23072 _ACEOF
23075 done
23077 else
23079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23080 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23081 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23082 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23083 $as_echo_n "(cached) " >&6
23084 else
23087 ac_ext=cpp
23088 ac_cpp='$CXXCPP $CPPFLAGS'
23089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23094 /* end confdefs.h. */
23095 #include <math.h>
23097 main ()
23099 _ldexpf(0, 0);
23101 return 0;
23103 _ACEOF
23104 if ac_fn_cxx_try_compile "$LINENO"; then :
23105 glibcxx_cv_func__ldexpf_use=yes
23106 else
23107 glibcxx_cv_func__ldexpf_use=no
23109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23110 ac_ext=c
23111 ac_cpp='$CPP $CPPFLAGS'
23112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23121 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23123 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23124 for ac_func in _ldexpf
23125 do :
23126 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23127 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23128 cat >>confdefs.h <<_ACEOF
23129 #define HAVE__LDEXPF 1
23130 _ACEOF
23133 done
23142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23143 $as_echo_n "checking for logf declaration... " >&6; }
23144 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23145 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23146 $as_echo_n "(cached) " >&6
23147 else
23150 ac_ext=cpp
23151 ac_cpp='$CXXCPP $CPPFLAGS'
23152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23157 /* end confdefs.h. */
23158 #include <math.h>
23159 #ifdef HAVE_IEEEFP_H
23160 #include <ieeefp.h>
23161 #endif
23164 main ()
23166 logf(0);
23168 return 0;
23170 _ACEOF
23171 if ac_fn_cxx_try_compile "$LINENO"; then :
23172 glibcxx_cv_func_logf_use=yes
23173 else
23174 glibcxx_cv_func_logf_use=no
23176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23177 ac_ext=c
23178 ac_cpp='$CPP $CPPFLAGS'
23179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23188 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23190 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23191 for ac_func in logf
23192 do :
23193 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23194 if test "x$ac_cv_func_logf" = x""yes; then :
23195 cat >>confdefs.h <<_ACEOF
23196 #define HAVE_LOGF 1
23197 _ACEOF
23200 done
23202 else
23204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23205 $as_echo_n "checking for _logf declaration... " >&6; }
23206 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23207 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23208 $as_echo_n "(cached) " >&6
23209 else
23212 ac_ext=cpp
23213 ac_cpp='$CXXCPP $CPPFLAGS'
23214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23219 /* end confdefs.h. */
23220 #include <math.h>
23221 #ifdef HAVE_IEEEFP_H
23222 #include <ieeefp.h>
23223 #endif
23226 main ()
23228 _logf(0);
23230 return 0;
23232 _ACEOF
23233 if ac_fn_cxx_try_compile "$LINENO"; then :
23234 glibcxx_cv_func__logf_use=yes
23235 else
23236 glibcxx_cv_func__logf_use=no
23238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23239 ac_ext=c
23240 ac_cpp='$CPP $CPPFLAGS'
23241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23250 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23252 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23253 for ac_func in _logf
23254 do :
23255 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23256 if test "x$ac_cv_func__logf" = x""yes; then :
23257 cat >>confdefs.h <<_ACEOF
23258 #define HAVE__LOGF 1
23259 _ACEOF
23262 done
23271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23272 $as_echo_n "checking for log10f declaration... " >&6; }
23273 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23274 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23275 $as_echo_n "(cached) " >&6
23276 else
23279 ac_ext=cpp
23280 ac_cpp='$CXXCPP $CPPFLAGS'
23281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23286 /* end confdefs.h. */
23287 #include <math.h>
23288 #ifdef HAVE_IEEEFP_H
23289 #include <ieeefp.h>
23290 #endif
23293 main ()
23295 log10f(0);
23297 return 0;
23299 _ACEOF
23300 if ac_fn_cxx_try_compile "$LINENO"; then :
23301 glibcxx_cv_func_log10f_use=yes
23302 else
23303 glibcxx_cv_func_log10f_use=no
23305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23306 ac_ext=c
23307 ac_cpp='$CPP $CPPFLAGS'
23308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23317 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23319 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23320 for ac_func in log10f
23321 do :
23322 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23323 if test "x$ac_cv_func_log10f" = x""yes; then :
23324 cat >>confdefs.h <<_ACEOF
23325 #define HAVE_LOG10F 1
23326 _ACEOF
23329 done
23331 else
23333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23334 $as_echo_n "checking for _log10f declaration... " >&6; }
23335 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23336 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23337 $as_echo_n "(cached) " >&6
23338 else
23341 ac_ext=cpp
23342 ac_cpp='$CXXCPP $CPPFLAGS'
23343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23348 /* end confdefs.h. */
23349 #include <math.h>
23350 #ifdef HAVE_IEEEFP_H
23351 #include <ieeefp.h>
23352 #endif
23355 main ()
23357 _log10f(0);
23359 return 0;
23361 _ACEOF
23362 if ac_fn_cxx_try_compile "$LINENO"; then :
23363 glibcxx_cv_func__log10f_use=yes
23364 else
23365 glibcxx_cv_func__log10f_use=no
23367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23368 ac_ext=c
23369 ac_cpp='$CPP $CPPFLAGS'
23370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23379 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23381 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23382 for ac_func in _log10f
23383 do :
23384 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23385 if test "x$ac_cv_func__log10f" = x""yes; then :
23386 cat >>confdefs.h <<_ACEOF
23387 #define HAVE__LOG10F 1
23388 _ACEOF
23391 done
23400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23401 $as_echo_n "checking for modff declaration... " >&6; }
23402 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23403 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23404 $as_echo_n "(cached) " >&6
23405 else
23408 ac_ext=cpp
23409 ac_cpp='$CXXCPP $CPPFLAGS'
23410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23415 /* end confdefs.h. */
23416 #include <math.h>
23418 main ()
23420 modff(0, 0);
23422 return 0;
23424 _ACEOF
23425 if ac_fn_cxx_try_compile "$LINENO"; then :
23426 glibcxx_cv_func_modff_use=yes
23427 else
23428 glibcxx_cv_func_modff_use=no
23430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23431 ac_ext=c
23432 ac_cpp='$CPP $CPPFLAGS'
23433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23442 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23444 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23445 for ac_func in modff
23446 do :
23447 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23448 if test "x$ac_cv_func_modff" = x""yes; then :
23449 cat >>confdefs.h <<_ACEOF
23450 #define HAVE_MODFF 1
23451 _ACEOF
23454 done
23456 else
23458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23459 $as_echo_n "checking for _modff declaration... " >&6; }
23460 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23461 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23462 $as_echo_n "(cached) " >&6
23463 else
23466 ac_ext=cpp
23467 ac_cpp='$CXXCPP $CPPFLAGS'
23468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23473 /* end confdefs.h. */
23474 #include <math.h>
23476 main ()
23478 _modff(0, 0);
23480 return 0;
23482 _ACEOF
23483 if ac_fn_cxx_try_compile "$LINENO"; then :
23484 glibcxx_cv_func__modff_use=yes
23485 else
23486 glibcxx_cv_func__modff_use=no
23488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23489 ac_ext=c
23490 ac_cpp='$CPP $CPPFLAGS'
23491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23500 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23502 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23503 for ac_func in _modff
23504 do :
23505 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23506 if test "x$ac_cv_func__modff" = x""yes; then :
23507 cat >>confdefs.h <<_ACEOF
23508 #define HAVE__MODFF 1
23509 _ACEOF
23512 done
23521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23522 $as_echo_n "checking for modf declaration... " >&6; }
23523 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23524 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23525 $as_echo_n "(cached) " >&6
23526 else
23529 ac_ext=cpp
23530 ac_cpp='$CXXCPP $CPPFLAGS'
23531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23536 /* end confdefs.h. */
23537 #include <math.h>
23539 main ()
23541 modf(0, 0);
23543 return 0;
23545 _ACEOF
23546 if ac_fn_cxx_try_compile "$LINENO"; then :
23547 glibcxx_cv_func_modf_use=yes
23548 else
23549 glibcxx_cv_func_modf_use=no
23551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23552 ac_ext=c
23553 ac_cpp='$CPP $CPPFLAGS'
23554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23563 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23565 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23566 for ac_func in modf
23567 do :
23568 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23569 if test "x$ac_cv_func_modf" = x""yes; then :
23570 cat >>confdefs.h <<_ACEOF
23571 #define HAVE_MODF 1
23572 _ACEOF
23575 done
23577 else
23579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23580 $as_echo_n "checking for _modf declaration... " >&6; }
23581 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23582 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23583 $as_echo_n "(cached) " >&6
23584 else
23587 ac_ext=cpp
23588 ac_cpp='$CXXCPP $CPPFLAGS'
23589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23594 /* end confdefs.h. */
23595 #include <math.h>
23597 main ()
23599 _modf(0, 0);
23601 return 0;
23603 _ACEOF
23604 if ac_fn_cxx_try_compile "$LINENO"; then :
23605 glibcxx_cv_func__modf_use=yes
23606 else
23607 glibcxx_cv_func__modf_use=no
23609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23610 ac_ext=c
23611 ac_cpp='$CPP $CPPFLAGS'
23612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23621 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23623 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23624 for ac_func in _modf
23625 do :
23626 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23627 if test "x$ac_cv_func__modf" = x""yes; then :
23628 cat >>confdefs.h <<_ACEOF
23629 #define HAVE__MODF 1
23630 _ACEOF
23633 done
23642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23643 $as_echo_n "checking for powf declaration... " >&6; }
23644 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23645 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23646 $as_echo_n "(cached) " >&6
23647 else
23650 ac_ext=cpp
23651 ac_cpp='$CXXCPP $CPPFLAGS'
23652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23657 /* end confdefs.h. */
23658 #include <math.h>
23660 main ()
23662 powf(0, 0);
23664 return 0;
23666 _ACEOF
23667 if ac_fn_cxx_try_compile "$LINENO"; then :
23668 glibcxx_cv_func_powf_use=yes
23669 else
23670 glibcxx_cv_func_powf_use=no
23672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23673 ac_ext=c
23674 ac_cpp='$CPP $CPPFLAGS'
23675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23684 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23686 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23687 for ac_func in powf
23688 do :
23689 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23690 if test "x$ac_cv_func_powf" = x""yes; then :
23691 cat >>confdefs.h <<_ACEOF
23692 #define HAVE_POWF 1
23693 _ACEOF
23696 done
23698 else
23700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23701 $as_echo_n "checking for _powf declaration... " >&6; }
23702 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23703 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23704 $as_echo_n "(cached) " >&6
23705 else
23708 ac_ext=cpp
23709 ac_cpp='$CXXCPP $CPPFLAGS'
23710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23715 /* end confdefs.h. */
23716 #include <math.h>
23718 main ()
23720 _powf(0, 0);
23722 return 0;
23724 _ACEOF
23725 if ac_fn_cxx_try_compile "$LINENO"; then :
23726 glibcxx_cv_func__powf_use=yes
23727 else
23728 glibcxx_cv_func__powf_use=no
23730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23731 ac_ext=c
23732 ac_cpp='$CPP $CPPFLAGS'
23733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23742 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23744 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23745 for ac_func in _powf
23746 do :
23747 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23748 if test "x$ac_cv_func__powf" = x""yes; then :
23749 cat >>confdefs.h <<_ACEOF
23750 #define HAVE__POWF 1
23751 _ACEOF
23754 done
23763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23764 $as_echo_n "checking for sqrtf declaration... " >&6; }
23765 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23766 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23767 $as_echo_n "(cached) " >&6
23768 else
23771 ac_ext=cpp
23772 ac_cpp='$CXXCPP $CPPFLAGS'
23773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23778 /* end confdefs.h. */
23779 #include <math.h>
23780 #ifdef HAVE_IEEEFP_H
23781 #include <ieeefp.h>
23782 #endif
23785 main ()
23787 sqrtf(0);
23789 return 0;
23791 _ACEOF
23792 if ac_fn_cxx_try_compile "$LINENO"; then :
23793 glibcxx_cv_func_sqrtf_use=yes
23794 else
23795 glibcxx_cv_func_sqrtf_use=no
23797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23798 ac_ext=c
23799 ac_cpp='$CPP $CPPFLAGS'
23800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23809 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23811 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23812 for ac_func in sqrtf
23813 do :
23814 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23815 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23816 cat >>confdefs.h <<_ACEOF
23817 #define HAVE_SQRTF 1
23818 _ACEOF
23821 done
23823 else
23825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23826 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23827 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23828 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23829 $as_echo_n "(cached) " >&6
23830 else
23833 ac_ext=cpp
23834 ac_cpp='$CXXCPP $CPPFLAGS'
23835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23840 /* end confdefs.h. */
23841 #include <math.h>
23842 #ifdef HAVE_IEEEFP_H
23843 #include <ieeefp.h>
23844 #endif
23847 main ()
23849 _sqrtf(0);
23851 return 0;
23853 _ACEOF
23854 if ac_fn_cxx_try_compile "$LINENO"; then :
23855 glibcxx_cv_func__sqrtf_use=yes
23856 else
23857 glibcxx_cv_func__sqrtf_use=no
23859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23860 ac_ext=c
23861 ac_cpp='$CPP $CPPFLAGS'
23862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23871 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23873 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23874 for ac_func in _sqrtf
23875 do :
23876 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23877 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23878 cat >>confdefs.h <<_ACEOF
23879 #define HAVE__SQRTF 1
23880 _ACEOF
23883 done
23892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23893 $as_echo_n "checking for sincosf declaration... " >&6; }
23894 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23895 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23896 $as_echo_n "(cached) " >&6
23897 else
23900 ac_ext=cpp
23901 ac_cpp='$CXXCPP $CPPFLAGS'
23902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23907 /* end confdefs.h. */
23908 #include <math.h>
23910 main ()
23912 sincosf(0, 0, 0);
23914 return 0;
23916 _ACEOF
23917 if ac_fn_cxx_try_compile "$LINENO"; then :
23918 glibcxx_cv_func_sincosf_use=yes
23919 else
23920 glibcxx_cv_func_sincosf_use=no
23922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23923 ac_ext=c
23924 ac_cpp='$CPP $CPPFLAGS'
23925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23934 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23936 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23937 for ac_func in sincosf
23938 do :
23939 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23940 if test "x$ac_cv_func_sincosf" = x""yes; then :
23941 cat >>confdefs.h <<_ACEOF
23942 #define HAVE_SINCOSF 1
23943 _ACEOF
23946 done
23948 else
23950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23951 $as_echo_n "checking for _sincosf declaration... " >&6; }
23952 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23953 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23954 $as_echo_n "(cached) " >&6
23955 else
23958 ac_ext=cpp
23959 ac_cpp='$CXXCPP $CPPFLAGS'
23960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23965 /* end confdefs.h. */
23966 #include <math.h>
23968 main ()
23970 _sincosf(0, 0, 0);
23972 return 0;
23974 _ACEOF
23975 if ac_fn_cxx_try_compile "$LINENO"; then :
23976 glibcxx_cv_func__sincosf_use=yes
23977 else
23978 glibcxx_cv_func__sincosf_use=no
23980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23981 ac_ext=c
23982 ac_cpp='$CPP $CPPFLAGS'
23983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23992 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23994 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23995 for ac_func in _sincosf
23996 do :
23997 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23998 if test "x$ac_cv_func__sincosf" = x""yes; then :
23999 cat >>confdefs.h <<_ACEOF
24000 #define HAVE__SINCOSF 1
24001 _ACEOF
24004 done
24013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24014 $as_echo_n "checking for finitef declaration... " >&6; }
24015 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24016 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24017 $as_echo_n "(cached) " >&6
24018 else
24021 ac_ext=cpp
24022 ac_cpp='$CXXCPP $CPPFLAGS'
24023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24028 /* end confdefs.h. */
24029 #include <math.h>
24030 #ifdef HAVE_IEEEFP_H
24031 #include <ieeefp.h>
24032 #endif
24035 main ()
24037 finitef(0);
24039 return 0;
24041 _ACEOF
24042 if ac_fn_cxx_try_compile "$LINENO"; then :
24043 glibcxx_cv_func_finitef_use=yes
24044 else
24045 glibcxx_cv_func_finitef_use=no
24047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24048 ac_ext=c
24049 ac_cpp='$CPP $CPPFLAGS'
24050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24059 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24061 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24062 for ac_func in finitef
24063 do :
24064 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24065 if test "x$ac_cv_func_finitef" = x""yes; then :
24066 cat >>confdefs.h <<_ACEOF
24067 #define HAVE_FINITEF 1
24068 _ACEOF
24071 done
24073 else
24075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24076 $as_echo_n "checking for _finitef declaration... " >&6; }
24077 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24078 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24079 $as_echo_n "(cached) " >&6
24080 else
24083 ac_ext=cpp
24084 ac_cpp='$CXXCPP $CPPFLAGS'
24085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24090 /* end confdefs.h. */
24091 #include <math.h>
24092 #ifdef HAVE_IEEEFP_H
24093 #include <ieeefp.h>
24094 #endif
24097 main ()
24099 _finitef(0);
24101 return 0;
24103 _ACEOF
24104 if ac_fn_cxx_try_compile "$LINENO"; then :
24105 glibcxx_cv_func__finitef_use=yes
24106 else
24107 glibcxx_cv_func__finitef_use=no
24109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24110 ac_ext=c
24111 ac_cpp='$CPP $CPPFLAGS'
24112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24121 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24123 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24124 for ac_func in _finitef
24125 do :
24126 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24127 if test "x$ac_cv_func__finitef" = x""yes; then :
24128 cat >>confdefs.h <<_ACEOF
24129 #define HAVE__FINITEF 1
24130 _ACEOF
24133 done
24142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24143 $as_echo_n "checking for long double trig functions... " >&6; }
24144 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24145 $as_echo_n "(cached) " >&6
24146 else
24149 ac_ext=cpp
24150 ac_cpp='$CXXCPP $CPPFLAGS'
24151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24156 /* end confdefs.h. */
24157 #include <math.h>
24159 main ()
24161 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24163 return 0;
24165 _ACEOF
24166 if ac_fn_cxx_try_compile "$LINENO"; then :
24167 glibcxx_cv_func_long_double_trig_use=yes
24168 else
24169 glibcxx_cv_func_long_double_trig_use=no
24171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24172 ac_ext=c
24173 ac_cpp='$CPP $CPPFLAGS'
24174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24181 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24182 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24183 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24184 do :
24185 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24186 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24187 eval as_val=\$$as_ac_var
24188 if test "x$as_val" = x""yes; then :
24189 cat >>confdefs.h <<_ACEOF
24190 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24191 _ACEOF
24194 done
24196 else
24197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24198 $as_echo_n "checking for _long double trig functions... " >&6; }
24199 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24200 $as_echo_n "(cached) " >&6
24201 else
24204 ac_ext=cpp
24205 ac_cpp='$CXXCPP $CPPFLAGS'
24206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24211 /* end confdefs.h. */
24212 #include <math.h>
24214 main ()
24216 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24218 return 0;
24220 _ACEOF
24221 if ac_fn_cxx_try_compile "$LINENO"; then :
24222 glibcxx_cv_func__long_double_trig_use=yes
24223 else
24224 glibcxx_cv_func__long_double_trig_use=no
24226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24227 ac_ext=c
24228 ac_cpp='$CPP $CPPFLAGS'
24229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24236 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24237 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24238 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24239 do :
24240 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24241 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24242 eval as_val=\$$as_ac_var
24243 if test "x$as_val" = x""yes; then :
24244 cat >>confdefs.h <<_ACEOF
24245 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24246 _ACEOF
24249 done
24258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24259 $as_echo_n "checking for long double round functions... " >&6; }
24260 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24261 $as_echo_n "(cached) " >&6
24262 else
24265 ac_ext=cpp
24266 ac_cpp='$CXXCPP $CPPFLAGS'
24267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24272 /* end confdefs.h. */
24273 #include <math.h>
24275 main ()
24277 ceill (0); floorl (0);
24279 return 0;
24281 _ACEOF
24282 if ac_fn_cxx_try_compile "$LINENO"; then :
24283 glibcxx_cv_func_long_double_round_use=yes
24284 else
24285 glibcxx_cv_func_long_double_round_use=no
24287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24288 ac_ext=c
24289 ac_cpp='$CPP $CPPFLAGS'
24290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24297 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24298 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24299 for ac_func in ceill floorl
24300 do :
24301 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24302 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24303 eval as_val=\$$as_ac_var
24304 if test "x$as_val" = x""yes; then :
24305 cat >>confdefs.h <<_ACEOF
24306 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24307 _ACEOF
24310 done
24312 else
24313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24314 $as_echo_n "checking for _long double round functions... " >&6; }
24315 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24316 $as_echo_n "(cached) " >&6
24317 else
24320 ac_ext=cpp
24321 ac_cpp='$CXXCPP $CPPFLAGS'
24322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24327 /* end confdefs.h. */
24328 #include <math.h>
24330 main ()
24332 _ceill (0); _floorl (0);
24334 return 0;
24336 _ACEOF
24337 if ac_fn_cxx_try_compile "$LINENO"; then :
24338 glibcxx_cv_func__long_double_round_use=yes
24339 else
24340 glibcxx_cv_func__long_double_round_use=no
24342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24343 ac_ext=c
24344 ac_cpp='$CPP $CPPFLAGS'
24345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24352 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24353 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24354 for ac_func in _ceill _floorl
24355 do :
24356 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24357 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24358 eval as_val=\$$as_ac_var
24359 if test "x$as_val" = x""yes; then :
24360 cat >>confdefs.h <<_ACEOF
24361 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24362 _ACEOF
24365 done
24375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24376 $as_echo_n "checking for isnanl declaration... " >&6; }
24377 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24378 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24379 $as_echo_n "(cached) " >&6
24380 else
24383 ac_ext=cpp
24384 ac_cpp='$CXXCPP $CPPFLAGS'
24385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24390 /* end confdefs.h. */
24391 #include <math.h>
24392 #ifdef HAVE_IEEEFP_H
24393 #include <ieeefp.h>
24394 #endif
24397 main ()
24399 isnanl(0);
24401 return 0;
24403 _ACEOF
24404 if ac_fn_cxx_try_compile "$LINENO"; then :
24405 glibcxx_cv_func_isnanl_use=yes
24406 else
24407 glibcxx_cv_func_isnanl_use=no
24409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24410 ac_ext=c
24411 ac_cpp='$CPP $CPPFLAGS'
24412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24421 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24423 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24424 for ac_func in isnanl
24425 do :
24426 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24427 if test "x$ac_cv_func_isnanl" = x""yes; then :
24428 cat >>confdefs.h <<_ACEOF
24429 #define HAVE_ISNANL 1
24430 _ACEOF
24433 done
24435 else
24437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24438 $as_echo_n "checking for _isnanl declaration... " >&6; }
24439 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24440 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24441 $as_echo_n "(cached) " >&6
24442 else
24445 ac_ext=cpp
24446 ac_cpp='$CXXCPP $CPPFLAGS'
24447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24452 /* end confdefs.h. */
24453 #include <math.h>
24454 #ifdef HAVE_IEEEFP_H
24455 #include <ieeefp.h>
24456 #endif
24459 main ()
24461 _isnanl(0);
24463 return 0;
24465 _ACEOF
24466 if ac_fn_cxx_try_compile "$LINENO"; then :
24467 glibcxx_cv_func__isnanl_use=yes
24468 else
24469 glibcxx_cv_func__isnanl_use=no
24471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24472 ac_ext=c
24473 ac_cpp='$CPP $CPPFLAGS'
24474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24483 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24485 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24486 for ac_func in _isnanl
24487 do :
24488 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24489 if test "x$ac_cv_func__isnanl" = x""yes; then :
24490 cat >>confdefs.h <<_ACEOF
24491 #define HAVE__ISNANL 1
24492 _ACEOF
24495 done
24504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24505 $as_echo_n "checking for isinfl declaration... " >&6; }
24506 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24507 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24508 $as_echo_n "(cached) " >&6
24509 else
24512 ac_ext=cpp
24513 ac_cpp='$CXXCPP $CPPFLAGS'
24514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24519 /* end confdefs.h. */
24520 #include <math.h>
24521 #ifdef HAVE_IEEEFP_H
24522 #include <ieeefp.h>
24523 #endif
24526 main ()
24528 isinfl(0);
24530 return 0;
24532 _ACEOF
24533 if ac_fn_cxx_try_compile "$LINENO"; then :
24534 glibcxx_cv_func_isinfl_use=yes
24535 else
24536 glibcxx_cv_func_isinfl_use=no
24538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24539 ac_ext=c
24540 ac_cpp='$CPP $CPPFLAGS'
24541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24550 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24552 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24553 for ac_func in isinfl
24554 do :
24555 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24556 if test "x$ac_cv_func_isinfl" = x""yes; then :
24557 cat >>confdefs.h <<_ACEOF
24558 #define HAVE_ISINFL 1
24559 _ACEOF
24562 done
24564 else
24566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24567 $as_echo_n "checking for _isinfl declaration... " >&6; }
24568 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24569 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24570 $as_echo_n "(cached) " >&6
24571 else
24574 ac_ext=cpp
24575 ac_cpp='$CXXCPP $CPPFLAGS'
24576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24581 /* end confdefs.h. */
24582 #include <math.h>
24583 #ifdef HAVE_IEEEFP_H
24584 #include <ieeefp.h>
24585 #endif
24588 main ()
24590 _isinfl(0);
24592 return 0;
24594 _ACEOF
24595 if ac_fn_cxx_try_compile "$LINENO"; then :
24596 glibcxx_cv_func__isinfl_use=yes
24597 else
24598 glibcxx_cv_func__isinfl_use=no
24600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24601 ac_ext=c
24602 ac_cpp='$CPP $CPPFLAGS'
24603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24612 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24614 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24615 for ac_func in _isinfl
24616 do :
24617 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24618 if test "x$ac_cv_func__isinfl" = x""yes; then :
24619 cat >>confdefs.h <<_ACEOF
24620 #define HAVE__ISINFL 1
24621 _ACEOF
24624 done
24633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24634 $as_echo_n "checking for atan2l declaration... " >&6; }
24635 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24636 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24637 $as_echo_n "(cached) " >&6
24638 else
24641 ac_ext=cpp
24642 ac_cpp='$CXXCPP $CPPFLAGS'
24643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24648 /* end confdefs.h. */
24649 #include <math.h>
24651 main ()
24653 atan2l(0, 0);
24655 return 0;
24657 _ACEOF
24658 if ac_fn_cxx_try_compile "$LINENO"; then :
24659 glibcxx_cv_func_atan2l_use=yes
24660 else
24661 glibcxx_cv_func_atan2l_use=no
24663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24664 ac_ext=c
24665 ac_cpp='$CPP $CPPFLAGS'
24666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24675 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24677 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24678 for ac_func in atan2l
24679 do :
24680 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24681 if test "x$ac_cv_func_atan2l" = x""yes; then :
24682 cat >>confdefs.h <<_ACEOF
24683 #define HAVE_ATAN2L 1
24684 _ACEOF
24687 done
24689 else
24691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24692 $as_echo_n "checking for _atan2l declaration... " >&6; }
24693 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24694 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24695 $as_echo_n "(cached) " >&6
24696 else
24699 ac_ext=cpp
24700 ac_cpp='$CXXCPP $CPPFLAGS'
24701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24706 /* end confdefs.h. */
24707 #include <math.h>
24709 main ()
24711 _atan2l(0, 0);
24713 return 0;
24715 _ACEOF
24716 if ac_fn_cxx_try_compile "$LINENO"; then :
24717 glibcxx_cv_func__atan2l_use=yes
24718 else
24719 glibcxx_cv_func__atan2l_use=no
24721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24722 ac_ext=c
24723 ac_cpp='$CPP $CPPFLAGS'
24724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24733 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24735 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24736 for ac_func in _atan2l
24737 do :
24738 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24739 if test "x$ac_cv_func__atan2l" = x""yes; then :
24740 cat >>confdefs.h <<_ACEOF
24741 #define HAVE__ATAN2L 1
24742 _ACEOF
24745 done
24754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24755 $as_echo_n "checking for expl declaration... " >&6; }
24756 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24757 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24758 $as_echo_n "(cached) " >&6
24759 else
24762 ac_ext=cpp
24763 ac_cpp='$CXXCPP $CPPFLAGS'
24764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24769 /* end confdefs.h. */
24770 #include <math.h>
24771 #ifdef HAVE_IEEEFP_H
24772 #include <ieeefp.h>
24773 #endif
24776 main ()
24778 expl(0);
24780 return 0;
24782 _ACEOF
24783 if ac_fn_cxx_try_compile "$LINENO"; then :
24784 glibcxx_cv_func_expl_use=yes
24785 else
24786 glibcxx_cv_func_expl_use=no
24788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24789 ac_ext=c
24790 ac_cpp='$CPP $CPPFLAGS'
24791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24800 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24802 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24803 for ac_func in expl
24804 do :
24805 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24806 if test "x$ac_cv_func_expl" = x""yes; then :
24807 cat >>confdefs.h <<_ACEOF
24808 #define HAVE_EXPL 1
24809 _ACEOF
24812 done
24814 else
24816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24817 $as_echo_n "checking for _expl declaration... " >&6; }
24818 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24819 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24820 $as_echo_n "(cached) " >&6
24821 else
24824 ac_ext=cpp
24825 ac_cpp='$CXXCPP $CPPFLAGS'
24826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24831 /* end confdefs.h. */
24832 #include <math.h>
24833 #ifdef HAVE_IEEEFP_H
24834 #include <ieeefp.h>
24835 #endif
24838 main ()
24840 _expl(0);
24842 return 0;
24844 _ACEOF
24845 if ac_fn_cxx_try_compile "$LINENO"; then :
24846 glibcxx_cv_func__expl_use=yes
24847 else
24848 glibcxx_cv_func__expl_use=no
24850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24851 ac_ext=c
24852 ac_cpp='$CPP $CPPFLAGS'
24853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24862 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24864 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24865 for ac_func in _expl
24866 do :
24867 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24868 if test "x$ac_cv_func__expl" = x""yes; then :
24869 cat >>confdefs.h <<_ACEOF
24870 #define HAVE__EXPL 1
24871 _ACEOF
24874 done
24883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24884 $as_echo_n "checking for fabsl declaration... " >&6; }
24885 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24886 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24887 $as_echo_n "(cached) " >&6
24888 else
24891 ac_ext=cpp
24892 ac_cpp='$CXXCPP $CPPFLAGS'
24893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24898 /* end confdefs.h. */
24899 #include <math.h>
24900 #ifdef HAVE_IEEEFP_H
24901 #include <ieeefp.h>
24902 #endif
24905 main ()
24907 fabsl(0);
24909 return 0;
24911 _ACEOF
24912 if ac_fn_cxx_try_compile "$LINENO"; then :
24913 glibcxx_cv_func_fabsl_use=yes
24914 else
24915 glibcxx_cv_func_fabsl_use=no
24917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24918 ac_ext=c
24919 ac_cpp='$CPP $CPPFLAGS'
24920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24929 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24931 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24932 for ac_func in fabsl
24933 do :
24934 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24935 if test "x$ac_cv_func_fabsl" = x""yes; then :
24936 cat >>confdefs.h <<_ACEOF
24937 #define HAVE_FABSL 1
24938 _ACEOF
24941 done
24943 else
24945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24946 $as_echo_n "checking for _fabsl declaration... " >&6; }
24947 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24948 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24949 $as_echo_n "(cached) " >&6
24950 else
24953 ac_ext=cpp
24954 ac_cpp='$CXXCPP $CPPFLAGS'
24955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24960 /* end confdefs.h. */
24961 #include <math.h>
24962 #ifdef HAVE_IEEEFP_H
24963 #include <ieeefp.h>
24964 #endif
24967 main ()
24969 _fabsl(0);
24971 return 0;
24973 _ACEOF
24974 if ac_fn_cxx_try_compile "$LINENO"; then :
24975 glibcxx_cv_func__fabsl_use=yes
24976 else
24977 glibcxx_cv_func__fabsl_use=no
24979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24980 ac_ext=c
24981 ac_cpp='$CPP $CPPFLAGS'
24982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24991 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24993 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24994 for ac_func in _fabsl
24995 do :
24996 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24997 if test "x$ac_cv_func__fabsl" = x""yes; then :
24998 cat >>confdefs.h <<_ACEOF
24999 #define HAVE__FABSL 1
25000 _ACEOF
25003 done
25012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25013 $as_echo_n "checking for fmodl declaration... " >&6; }
25014 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25015 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25016 $as_echo_n "(cached) " >&6
25017 else
25020 ac_ext=cpp
25021 ac_cpp='$CXXCPP $CPPFLAGS'
25022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25027 /* end confdefs.h. */
25028 #include <math.h>
25030 main ()
25032 fmodl(0, 0);
25034 return 0;
25036 _ACEOF
25037 if ac_fn_cxx_try_compile "$LINENO"; then :
25038 glibcxx_cv_func_fmodl_use=yes
25039 else
25040 glibcxx_cv_func_fmodl_use=no
25042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25043 ac_ext=c
25044 ac_cpp='$CPP $CPPFLAGS'
25045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25054 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25056 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25057 for ac_func in fmodl
25058 do :
25059 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25060 if test "x$ac_cv_func_fmodl" = x""yes; then :
25061 cat >>confdefs.h <<_ACEOF
25062 #define HAVE_FMODL 1
25063 _ACEOF
25066 done
25068 else
25070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25071 $as_echo_n "checking for _fmodl declaration... " >&6; }
25072 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25073 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25074 $as_echo_n "(cached) " >&6
25075 else
25078 ac_ext=cpp
25079 ac_cpp='$CXXCPP $CPPFLAGS'
25080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25085 /* end confdefs.h. */
25086 #include <math.h>
25088 main ()
25090 _fmodl(0, 0);
25092 return 0;
25094 _ACEOF
25095 if ac_fn_cxx_try_compile "$LINENO"; then :
25096 glibcxx_cv_func__fmodl_use=yes
25097 else
25098 glibcxx_cv_func__fmodl_use=no
25100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25101 ac_ext=c
25102 ac_cpp='$CPP $CPPFLAGS'
25103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25112 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25114 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25115 for ac_func in _fmodl
25116 do :
25117 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25118 if test "x$ac_cv_func__fmodl" = x""yes; then :
25119 cat >>confdefs.h <<_ACEOF
25120 #define HAVE__FMODL 1
25121 _ACEOF
25124 done
25133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25134 $as_echo_n "checking for frexpl declaration... " >&6; }
25135 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25136 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25137 $as_echo_n "(cached) " >&6
25138 else
25141 ac_ext=cpp
25142 ac_cpp='$CXXCPP $CPPFLAGS'
25143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25148 /* end confdefs.h. */
25149 #include <math.h>
25151 main ()
25153 frexpl(0, 0);
25155 return 0;
25157 _ACEOF
25158 if ac_fn_cxx_try_compile "$LINENO"; then :
25159 glibcxx_cv_func_frexpl_use=yes
25160 else
25161 glibcxx_cv_func_frexpl_use=no
25163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25164 ac_ext=c
25165 ac_cpp='$CPP $CPPFLAGS'
25166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25175 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25177 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25178 for ac_func in frexpl
25179 do :
25180 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25181 if test "x$ac_cv_func_frexpl" = x""yes; then :
25182 cat >>confdefs.h <<_ACEOF
25183 #define HAVE_FREXPL 1
25184 _ACEOF
25187 done
25189 else
25191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25192 $as_echo_n "checking for _frexpl declaration... " >&6; }
25193 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25194 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25195 $as_echo_n "(cached) " >&6
25196 else
25199 ac_ext=cpp
25200 ac_cpp='$CXXCPP $CPPFLAGS'
25201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25206 /* end confdefs.h. */
25207 #include <math.h>
25209 main ()
25211 _frexpl(0, 0);
25213 return 0;
25215 _ACEOF
25216 if ac_fn_cxx_try_compile "$LINENO"; then :
25217 glibcxx_cv_func__frexpl_use=yes
25218 else
25219 glibcxx_cv_func__frexpl_use=no
25221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25222 ac_ext=c
25223 ac_cpp='$CPP $CPPFLAGS'
25224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25233 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25235 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25236 for ac_func in _frexpl
25237 do :
25238 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25239 if test "x$ac_cv_func__frexpl" = x""yes; then :
25240 cat >>confdefs.h <<_ACEOF
25241 #define HAVE__FREXPL 1
25242 _ACEOF
25245 done
25254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25255 $as_echo_n "checking for hypotl declaration... " >&6; }
25256 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25257 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25258 $as_echo_n "(cached) " >&6
25259 else
25262 ac_ext=cpp
25263 ac_cpp='$CXXCPP $CPPFLAGS'
25264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25269 /* end confdefs.h. */
25270 #include <math.h>
25272 main ()
25274 hypotl(0, 0);
25276 return 0;
25278 _ACEOF
25279 if ac_fn_cxx_try_compile "$LINENO"; then :
25280 glibcxx_cv_func_hypotl_use=yes
25281 else
25282 glibcxx_cv_func_hypotl_use=no
25284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25285 ac_ext=c
25286 ac_cpp='$CPP $CPPFLAGS'
25287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25296 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25298 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25299 for ac_func in hypotl
25300 do :
25301 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25302 if test "x$ac_cv_func_hypotl" = x""yes; then :
25303 cat >>confdefs.h <<_ACEOF
25304 #define HAVE_HYPOTL 1
25305 _ACEOF
25308 done
25310 else
25312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25313 $as_echo_n "checking for _hypotl declaration... " >&6; }
25314 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25315 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25316 $as_echo_n "(cached) " >&6
25317 else
25320 ac_ext=cpp
25321 ac_cpp='$CXXCPP $CPPFLAGS'
25322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25327 /* end confdefs.h. */
25328 #include <math.h>
25330 main ()
25332 _hypotl(0, 0);
25334 return 0;
25336 _ACEOF
25337 if ac_fn_cxx_try_compile "$LINENO"; then :
25338 glibcxx_cv_func__hypotl_use=yes
25339 else
25340 glibcxx_cv_func__hypotl_use=no
25342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25343 ac_ext=c
25344 ac_cpp='$CPP $CPPFLAGS'
25345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25354 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25356 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25357 for ac_func in _hypotl
25358 do :
25359 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25360 if test "x$ac_cv_func__hypotl" = x""yes; then :
25361 cat >>confdefs.h <<_ACEOF
25362 #define HAVE__HYPOTL 1
25363 _ACEOF
25366 done
25375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25376 $as_echo_n "checking for ldexpl declaration... " >&6; }
25377 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25378 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25379 $as_echo_n "(cached) " >&6
25380 else
25383 ac_ext=cpp
25384 ac_cpp='$CXXCPP $CPPFLAGS'
25385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25390 /* end confdefs.h. */
25391 #include <math.h>
25393 main ()
25395 ldexpl(0, 0);
25397 return 0;
25399 _ACEOF
25400 if ac_fn_cxx_try_compile "$LINENO"; then :
25401 glibcxx_cv_func_ldexpl_use=yes
25402 else
25403 glibcxx_cv_func_ldexpl_use=no
25405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25406 ac_ext=c
25407 ac_cpp='$CPP $CPPFLAGS'
25408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25417 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25419 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25420 for ac_func in ldexpl
25421 do :
25422 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25423 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25424 cat >>confdefs.h <<_ACEOF
25425 #define HAVE_LDEXPL 1
25426 _ACEOF
25429 done
25431 else
25433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25434 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25435 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25436 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25437 $as_echo_n "(cached) " >&6
25438 else
25441 ac_ext=cpp
25442 ac_cpp='$CXXCPP $CPPFLAGS'
25443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25448 /* end confdefs.h. */
25449 #include <math.h>
25451 main ()
25453 _ldexpl(0, 0);
25455 return 0;
25457 _ACEOF
25458 if ac_fn_cxx_try_compile "$LINENO"; then :
25459 glibcxx_cv_func__ldexpl_use=yes
25460 else
25461 glibcxx_cv_func__ldexpl_use=no
25463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25464 ac_ext=c
25465 ac_cpp='$CPP $CPPFLAGS'
25466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25475 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25477 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25478 for ac_func in _ldexpl
25479 do :
25480 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25481 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25482 cat >>confdefs.h <<_ACEOF
25483 #define HAVE__LDEXPL 1
25484 _ACEOF
25487 done
25496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25497 $as_echo_n "checking for logl declaration... " >&6; }
25498 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25499 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25500 $as_echo_n "(cached) " >&6
25501 else
25504 ac_ext=cpp
25505 ac_cpp='$CXXCPP $CPPFLAGS'
25506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25511 /* end confdefs.h. */
25512 #include <math.h>
25513 #ifdef HAVE_IEEEFP_H
25514 #include <ieeefp.h>
25515 #endif
25518 main ()
25520 logl(0);
25522 return 0;
25524 _ACEOF
25525 if ac_fn_cxx_try_compile "$LINENO"; then :
25526 glibcxx_cv_func_logl_use=yes
25527 else
25528 glibcxx_cv_func_logl_use=no
25530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25531 ac_ext=c
25532 ac_cpp='$CPP $CPPFLAGS'
25533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25542 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25544 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25545 for ac_func in logl
25546 do :
25547 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25548 if test "x$ac_cv_func_logl" = x""yes; then :
25549 cat >>confdefs.h <<_ACEOF
25550 #define HAVE_LOGL 1
25551 _ACEOF
25554 done
25556 else
25558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25559 $as_echo_n "checking for _logl declaration... " >&6; }
25560 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25561 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25562 $as_echo_n "(cached) " >&6
25563 else
25566 ac_ext=cpp
25567 ac_cpp='$CXXCPP $CPPFLAGS'
25568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25573 /* end confdefs.h. */
25574 #include <math.h>
25575 #ifdef HAVE_IEEEFP_H
25576 #include <ieeefp.h>
25577 #endif
25580 main ()
25582 _logl(0);
25584 return 0;
25586 _ACEOF
25587 if ac_fn_cxx_try_compile "$LINENO"; then :
25588 glibcxx_cv_func__logl_use=yes
25589 else
25590 glibcxx_cv_func__logl_use=no
25592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25593 ac_ext=c
25594 ac_cpp='$CPP $CPPFLAGS'
25595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25604 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25606 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25607 for ac_func in _logl
25608 do :
25609 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25610 if test "x$ac_cv_func__logl" = x""yes; then :
25611 cat >>confdefs.h <<_ACEOF
25612 #define HAVE__LOGL 1
25613 _ACEOF
25616 done
25625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25626 $as_echo_n "checking for log10l declaration... " >&6; }
25627 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25628 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25629 $as_echo_n "(cached) " >&6
25630 else
25633 ac_ext=cpp
25634 ac_cpp='$CXXCPP $CPPFLAGS'
25635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25640 /* end confdefs.h. */
25641 #include <math.h>
25642 #ifdef HAVE_IEEEFP_H
25643 #include <ieeefp.h>
25644 #endif
25647 main ()
25649 log10l(0);
25651 return 0;
25653 _ACEOF
25654 if ac_fn_cxx_try_compile "$LINENO"; then :
25655 glibcxx_cv_func_log10l_use=yes
25656 else
25657 glibcxx_cv_func_log10l_use=no
25659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25660 ac_ext=c
25661 ac_cpp='$CPP $CPPFLAGS'
25662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25671 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25673 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25674 for ac_func in log10l
25675 do :
25676 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25677 if test "x$ac_cv_func_log10l" = x""yes; then :
25678 cat >>confdefs.h <<_ACEOF
25679 #define HAVE_LOG10L 1
25680 _ACEOF
25683 done
25685 else
25687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25688 $as_echo_n "checking for _log10l declaration... " >&6; }
25689 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25690 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25691 $as_echo_n "(cached) " >&6
25692 else
25695 ac_ext=cpp
25696 ac_cpp='$CXXCPP $CPPFLAGS'
25697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25702 /* end confdefs.h. */
25703 #include <math.h>
25704 #ifdef HAVE_IEEEFP_H
25705 #include <ieeefp.h>
25706 #endif
25709 main ()
25711 _log10l(0);
25713 return 0;
25715 _ACEOF
25716 if ac_fn_cxx_try_compile "$LINENO"; then :
25717 glibcxx_cv_func__log10l_use=yes
25718 else
25719 glibcxx_cv_func__log10l_use=no
25721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25722 ac_ext=c
25723 ac_cpp='$CPP $CPPFLAGS'
25724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25733 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25735 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25736 for ac_func in _log10l
25737 do :
25738 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25739 if test "x$ac_cv_func__log10l" = x""yes; then :
25740 cat >>confdefs.h <<_ACEOF
25741 #define HAVE__LOG10L 1
25742 _ACEOF
25745 done
25754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25755 $as_echo_n "checking for modfl declaration... " >&6; }
25756 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25757 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25758 $as_echo_n "(cached) " >&6
25759 else
25762 ac_ext=cpp
25763 ac_cpp='$CXXCPP $CPPFLAGS'
25764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25769 /* end confdefs.h. */
25770 #include <math.h>
25772 main ()
25774 modfl(0, 0);
25776 return 0;
25778 _ACEOF
25779 if ac_fn_cxx_try_compile "$LINENO"; then :
25780 glibcxx_cv_func_modfl_use=yes
25781 else
25782 glibcxx_cv_func_modfl_use=no
25784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25785 ac_ext=c
25786 ac_cpp='$CPP $CPPFLAGS'
25787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25796 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25798 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25799 for ac_func in modfl
25800 do :
25801 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25802 if test "x$ac_cv_func_modfl" = x""yes; then :
25803 cat >>confdefs.h <<_ACEOF
25804 #define HAVE_MODFL 1
25805 _ACEOF
25808 done
25810 else
25812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25813 $as_echo_n "checking for _modfl declaration... " >&6; }
25814 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25815 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25816 $as_echo_n "(cached) " >&6
25817 else
25820 ac_ext=cpp
25821 ac_cpp='$CXXCPP $CPPFLAGS'
25822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25827 /* end confdefs.h. */
25828 #include <math.h>
25830 main ()
25832 _modfl(0, 0);
25834 return 0;
25836 _ACEOF
25837 if ac_fn_cxx_try_compile "$LINENO"; then :
25838 glibcxx_cv_func__modfl_use=yes
25839 else
25840 glibcxx_cv_func__modfl_use=no
25842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25843 ac_ext=c
25844 ac_cpp='$CPP $CPPFLAGS'
25845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25854 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25856 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25857 for ac_func in _modfl
25858 do :
25859 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25860 if test "x$ac_cv_func__modfl" = x""yes; then :
25861 cat >>confdefs.h <<_ACEOF
25862 #define HAVE__MODFL 1
25863 _ACEOF
25866 done
25875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25876 $as_echo_n "checking for powl declaration... " >&6; }
25877 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25878 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25879 $as_echo_n "(cached) " >&6
25880 else
25883 ac_ext=cpp
25884 ac_cpp='$CXXCPP $CPPFLAGS'
25885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25890 /* end confdefs.h. */
25891 #include <math.h>
25893 main ()
25895 powl(0, 0);
25897 return 0;
25899 _ACEOF
25900 if ac_fn_cxx_try_compile "$LINENO"; then :
25901 glibcxx_cv_func_powl_use=yes
25902 else
25903 glibcxx_cv_func_powl_use=no
25905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25906 ac_ext=c
25907 ac_cpp='$CPP $CPPFLAGS'
25908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25917 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25919 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25920 for ac_func in powl
25921 do :
25922 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25923 if test "x$ac_cv_func_powl" = x""yes; then :
25924 cat >>confdefs.h <<_ACEOF
25925 #define HAVE_POWL 1
25926 _ACEOF
25929 done
25931 else
25933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25934 $as_echo_n "checking for _powl declaration... " >&6; }
25935 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25936 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25937 $as_echo_n "(cached) " >&6
25938 else
25941 ac_ext=cpp
25942 ac_cpp='$CXXCPP $CPPFLAGS'
25943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25948 /* end confdefs.h. */
25949 #include <math.h>
25951 main ()
25953 _powl(0, 0);
25955 return 0;
25957 _ACEOF
25958 if ac_fn_cxx_try_compile "$LINENO"; then :
25959 glibcxx_cv_func__powl_use=yes
25960 else
25961 glibcxx_cv_func__powl_use=no
25963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25964 ac_ext=c
25965 ac_cpp='$CPP $CPPFLAGS'
25966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25975 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25977 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25978 for ac_func in _powl
25979 do :
25980 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25981 if test "x$ac_cv_func__powl" = x""yes; then :
25982 cat >>confdefs.h <<_ACEOF
25983 #define HAVE__POWL 1
25984 _ACEOF
25987 done
25996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25997 $as_echo_n "checking for sqrtl declaration... " >&6; }
25998 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25999 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26000 $as_echo_n "(cached) " >&6
26001 else
26004 ac_ext=cpp
26005 ac_cpp='$CXXCPP $CPPFLAGS'
26006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26011 /* end confdefs.h. */
26012 #include <math.h>
26013 #ifdef HAVE_IEEEFP_H
26014 #include <ieeefp.h>
26015 #endif
26018 main ()
26020 sqrtl(0);
26022 return 0;
26024 _ACEOF
26025 if ac_fn_cxx_try_compile "$LINENO"; then :
26026 glibcxx_cv_func_sqrtl_use=yes
26027 else
26028 glibcxx_cv_func_sqrtl_use=no
26030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26031 ac_ext=c
26032 ac_cpp='$CPP $CPPFLAGS'
26033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26042 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26044 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26045 for ac_func in sqrtl
26046 do :
26047 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26048 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26049 cat >>confdefs.h <<_ACEOF
26050 #define HAVE_SQRTL 1
26051 _ACEOF
26054 done
26056 else
26058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26059 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26060 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26061 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26062 $as_echo_n "(cached) " >&6
26063 else
26066 ac_ext=cpp
26067 ac_cpp='$CXXCPP $CPPFLAGS'
26068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26073 /* end confdefs.h. */
26074 #include <math.h>
26075 #ifdef HAVE_IEEEFP_H
26076 #include <ieeefp.h>
26077 #endif
26080 main ()
26082 _sqrtl(0);
26084 return 0;
26086 _ACEOF
26087 if ac_fn_cxx_try_compile "$LINENO"; then :
26088 glibcxx_cv_func__sqrtl_use=yes
26089 else
26090 glibcxx_cv_func__sqrtl_use=no
26092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26093 ac_ext=c
26094 ac_cpp='$CPP $CPPFLAGS'
26095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26104 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26106 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26107 for ac_func in _sqrtl
26108 do :
26109 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26110 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26111 cat >>confdefs.h <<_ACEOF
26112 #define HAVE__SQRTL 1
26113 _ACEOF
26116 done
26125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26126 $as_echo_n "checking for sincosl declaration... " >&6; }
26127 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26128 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26129 $as_echo_n "(cached) " >&6
26130 else
26133 ac_ext=cpp
26134 ac_cpp='$CXXCPP $CPPFLAGS'
26135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26140 /* end confdefs.h. */
26141 #include <math.h>
26143 main ()
26145 sincosl(0, 0, 0);
26147 return 0;
26149 _ACEOF
26150 if ac_fn_cxx_try_compile "$LINENO"; then :
26151 glibcxx_cv_func_sincosl_use=yes
26152 else
26153 glibcxx_cv_func_sincosl_use=no
26155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26156 ac_ext=c
26157 ac_cpp='$CPP $CPPFLAGS'
26158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26167 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26169 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26170 for ac_func in sincosl
26171 do :
26172 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26173 if test "x$ac_cv_func_sincosl" = x""yes; then :
26174 cat >>confdefs.h <<_ACEOF
26175 #define HAVE_SINCOSL 1
26176 _ACEOF
26179 done
26181 else
26183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26184 $as_echo_n "checking for _sincosl declaration... " >&6; }
26185 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26186 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26187 $as_echo_n "(cached) " >&6
26188 else
26191 ac_ext=cpp
26192 ac_cpp='$CXXCPP $CPPFLAGS'
26193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26198 /* end confdefs.h. */
26199 #include <math.h>
26201 main ()
26203 _sincosl(0, 0, 0);
26205 return 0;
26207 _ACEOF
26208 if ac_fn_cxx_try_compile "$LINENO"; then :
26209 glibcxx_cv_func__sincosl_use=yes
26210 else
26211 glibcxx_cv_func__sincosl_use=no
26213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26214 ac_ext=c
26215 ac_cpp='$CPP $CPPFLAGS'
26216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26225 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26227 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26228 for ac_func in _sincosl
26229 do :
26230 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26231 if test "x$ac_cv_func__sincosl" = x""yes; then :
26232 cat >>confdefs.h <<_ACEOF
26233 #define HAVE__SINCOSL 1
26234 _ACEOF
26237 done
26246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26247 $as_echo_n "checking for finitel declaration... " >&6; }
26248 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26249 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26250 $as_echo_n "(cached) " >&6
26251 else
26254 ac_ext=cpp
26255 ac_cpp='$CXXCPP $CPPFLAGS'
26256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26261 /* end confdefs.h. */
26262 #include <math.h>
26263 #ifdef HAVE_IEEEFP_H
26264 #include <ieeefp.h>
26265 #endif
26268 main ()
26270 finitel(0);
26272 return 0;
26274 _ACEOF
26275 if ac_fn_cxx_try_compile "$LINENO"; then :
26276 glibcxx_cv_func_finitel_use=yes
26277 else
26278 glibcxx_cv_func_finitel_use=no
26280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26281 ac_ext=c
26282 ac_cpp='$CPP $CPPFLAGS'
26283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26292 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26294 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26295 for ac_func in finitel
26296 do :
26297 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26298 if test "x$ac_cv_func_finitel" = x""yes; then :
26299 cat >>confdefs.h <<_ACEOF
26300 #define HAVE_FINITEL 1
26301 _ACEOF
26304 done
26306 else
26308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26309 $as_echo_n "checking for _finitel declaration... " >&6; }
26310 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26311 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26312 $as_echo_n "(cached) " >&6
26313 else
26316 ac_ext=cpp
26317 ac_cpp='$CXXCPP $CPPFLAGS'
26318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26323 /* end confdefs.h. */
26324 #include <math.h>
26325 #ifdef HAVE_IEEEFP_H
26326 #include <ieeefp.h>
26327 #endif
26330 main ()
26332 _finitel(0);
26334 return 0;
26336 _ACEOF
26337 if ac_fn_cxx_try_compile "$LINENO"; then :
26338 glibcxx_cv_func__finitel_use=yes
26339 else
26340 glibcxx_cv_func__finitel_use=no
26342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26343 ac_ext=c
26344 ac_cpp='$CPP $CPPFLAGS'
26345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26354 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26356 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26357 for ac_func in _finitel
26358 do :
26359 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26360 if test "x$ac_cv_func__finitel" = x""yes; then :
26361 cat >>confdefs.h <<_ACEOF
26362 #define HAVE__FINITEL 1
26363 _ACEOF
26366 done
26374 LIBS="$ac_save_LIBS"
26375 CXXFLAGS="$ac_save_CXXFLAGS"
26378 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26379 ac_save_CXXFLAGS="$CXXFLAGS"
26380 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26384 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26385 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26386 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26387 $as_echo_n "(cached) " >&6
26388 else
26391 ac_ext=cpp
26392 ac_cpp='$CXXCPP $CPPFLAGS'
26393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26398 /* end confdefs.h. */
26399 #include <stdlib.h>
26401 main ()
26403 at_quick_exit(0);
26405 return 0;
26407 _ACEOF
26408 if ac_fn_cxx_try_compile "$LINENO"; then :
26409 glibcxx_cv_func_at_quick_exit_use=yes
26410 else
26411 glibcxx_cv_func_at_quick_exit_use=no
26413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26414 ac_ext=c
26415 ac_cpp='$CPP $CPPFLAGS'
26416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26425 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26426 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26427 for ac_func in at_quick_exit
26428 do :
26429 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26430 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26431 cat >>confdefs.h <<_ACEOF
26432 #define HAVE_AT_QUICK_EXIT 1
26433 _ACEOF
26436 done
26441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26442 $as_echo_n "checking for quick_exit declaration... " >&6; }
26443 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26444 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26445 $as_echo_n "(cached) " >&6
26446 else
26449 ac_ext=cpp
26450 ac_cpp='$CXXCPP $CPPFLAGS'
26451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26456 /* end confdefs.h. */
26457 #include <stdlib.h>
26459 main ()
26461 quick_exit(0);
26463 return 0;
26465 _ACEOF
26466 if ac_fn_cxx_try_compile "$LINENO"; then :
26467 glibcxx_cv_func_quick_exit_use=yes
26468 else
26469 glibcxx_cv_func_quick_exit_use=no
26471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26472 ac_ext=c
26473 ac_cpp='$CPP $CPPFLAGS'
26474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26483 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26484 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26485 for ac_func in quick_exit
26486 do :
26487 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26488 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26489 cat >>confdefs.h <<_ACEOF
26490 #define HAVE_QUICK_EXIT 1
26491 _ACEOF
26494 done
26499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26500 $as_echo_n "checking for strtold declaration... " >&6; }
26501 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26502 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26503 $as_echo_n "(cached) " >&6
26504 else
26507 ac_ext=cpp
26508 ac_cpp='$CXXCPP $CPPFLAGS'
26509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26514 /* end confdefs.h. */
26515 #include <stdlib.h>
26517 main ()
26519 strtold(0, 0);
26521 return 0;
26523 _ACEOF
26524 if ac_fn_cxx_try_compile "$LINENO"; then :
26525 glibcxx_cv_func_strtold_use=yes
26526 else
26527 glibcxx_cv_func_strtold_use=no
26529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26530 ac_ext=c
26531 ac_cpp='$CPP $CPPFLAGS'
26532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26541 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26542 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26543 for ac_func in strtold
26544 do :
26545 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26546 if test "x$ac_cv_func_strtold" = x""yes; then :
26547 cat >>confdefs.h <<_ACEOF
26548 #define HAVE_STRTOLD 1
26549 _ACEOF
26552 done
26559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26560 $as_echo_n "checking for strtof declaration... " >&6; }
26561 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26562 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26563 $as_echo_n "(cached) " >&6
26564 else
26567 ac_ext=cpp
26568 ac_cpp='$CXXCPP $CPPFLAGS'
26569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26574 /* end confdefs.h. */
26575 #include <stdlib.h>
26577 main ()
26579 strtof(0, 0);
26581 return 0;
26583 _ACEOF
26584 if ac_fn_cxx_try_compile "$LINENO"; then :
26585 glibcxx_cv_func_strtof_use=yes
26586 else
26587 glibcxx_cv_func_strtof_use=no
26589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26590 ac_ext=c
26591 ac_cpp='$CPP $CPPFLAGS'
26592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26601 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26602 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26603 for ac_func in strtof
26604 do :
26605 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26606 if test "x$ac_cv_func_strtof" = x""yes; then :
26607 cat >>confdefs.h <<_ACEOF
26608 #define HAVE_STRTOF 1
26609 _ACEOF
26612 done
26619 CXXFLAGS="$ac_save_CXXFLAGS"
26622 # For /dev/random and /dev/urandom for TR1.
26625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26626 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26627 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26628 $as_echo_n "(cached) " >&6
26629 else
26631 if test -r /dev/random && test -r /dev/urandom; then
26632 ## For MSys environment the test above is detect as false-positive
26633 ## on mingw-targets. So disable it explicit for them.
26634 case ${target_os} in
26635 *mingw*) glibcxx_cv_random_tr1=no ;;
26636 *) glibcxx_cv_random_tr1=yes ;;
26637 esac
26638 else
26639 glibcxx_cv_random_tr1=no;
26644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26645 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26647 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26649 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26655 # For TLS support.
26658 # Check whether --enable-tls was given.
26659 if test "${enable_tls+set}" = set; then :
26660 enableval=$enable_tls;
26661 case "$enableval" in
26662 yes|no) ;;
26663 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26664 esac
26666 else
26667 enable_tls=yes
26671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26672 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26673 if test "${gcc_cv_have_tls+set}" = set; then :
26674 $as_echo_n "(cached) " >&6
26675 else
26677 if test "$cross_compiling" = yes; then :
26678 if test x$gcc_no_link = xyes; then
26679 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26682 /* end confdefs.h. */
26683 __thread int a; int b; int main() { return a = b; }
26684 _ACEOF
26685 if ac_fn_c_try_link "$LINENO"; then :
26686 chktls_save_LDFLAGS="$LDFLAGS"
26687 case $host in
26688 *-*-linux*)
26689 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26691 esac
26692 chktls_save_CFLAGS="$CFLAGS"
26693 CFLAGS="-fPIC $CFLAGS"
26694 if test x$gcc_no_link = xyes; then
26695 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26698 /* end confdefs.h. */
26699 int f() { return 0; }
26700 _ACEOF
26701 if ac_fn_c_try_link "$LINENO"; then :
26702 if test x$gcc_no_link = xyes; then
26703 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26706 /* end confdefs.h. */
26707 __thread int a; int b; int f() { return a = b; }
26708 _ACEOF
26709 if ac_fn_c_try_link "$LINENO"; then :
26710 gcc_cv_have_tls=yes
26711 else
26712 gcc_cv_have_tls=no
26714 rm -f core conftest.err conftest.$ac_objext \
26715 conftest$ac_exeext conftest.$ac_ext
26716 else
26717 gcc_cv_have_tls=yes
26719 rm -f core conftest.err conftest.$ac_objext \
26720 conftest$ac_exeext conftest.$ac_ext
26721 CFLAGS="$chktls_save_CFLAGS"
26722 LDFLAGS="$chktls_save_LDFLAGS"
26723 else
26724 gcc_cv_have_tls=no
26726 rm -f core conftest.err conftest.$ac_objext \
26727 conftest$ac_exeext conftest.$ac_ext
26730 else
26731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26732 /* end confdefs.h. */
26733 __thread int a; int b; int main() { return a = b; }
26734 _ACEOF
26735 if ac_fn_c_try_run "$LINENO"; then :
26736 chktls_save_LDFLAGS="$LDFLAGS"
26737 LDFLAGS="-static $LDFLAGS"
26738 if test x$gcc_no_link = xyes; then
26739 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26742 /* end confdefs.h. */
26743 int main() { return 0; }
26744 _ACEOF
26745 if ac_fn_c_try_link "$LINENO"; then :
26746 if test "$cross_compiling" = yes; then :
26747 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26749 as_fn_error "cannot run test program while cross compiling
26750 See \`config.log' for more details." "$LINENO" 5; }
26751 else
26752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26753 /* end confdefs.h. */
26754 __thread int a; int b; int main() { return a = b; }
26755 _ACEOF
26756 if ac_fn_c_try_run "$LINENO"; then :
26757 gcc_cv_have_tls=yes
26758 else
26759 gcc_cv_have_tls=no
26761 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26762 conftest.$ac_objext conftest.beam conftest.$ac_ext
26765 else
26766 gcc_cv_have_tls=yes
26768 rm -f core conftest.err conftest.$ac_objext \
26769 conftest$ac_exeext conftest.$ac_ext
26770 LDFLAGS="$chktls_save_LDFLAGS"
26771 if test $gcc_cv_have_tls = yes; then
26772 chktls_save_CFLAGS="$CFLAGS"
26773 thread_CFLAGS=failed
26774 for flag in '' '-pthread' '-lpthread'; do
26775 CFLAGS="$flag $chktls_save_CFLAGS"
26776 if test x$gcc_no_link = xyes; then
26777 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26780 /* end confdefs.h. */
26781 #include <pthread.h>
26782 void *g(void *d) { return NULL; }
26784 main ()
26786 pthread_t t; pthread_create(&t,NULL,g,NULL);
26788 return 0;
26790 _ACEOF
26791 if ac_fn_c_try_link "$LINENO"; then :
26792 thread_CFLAGS="$flag"
26794 rm -f core conftest.err conftest.$ac_objext \
26795 conftest$ac_exeext conftest.$ac_ext
26796 if test "X$thread_CFLAGS" != Xfailed; then
26797 break
26799 done
26800 CFLAGS="$chktls_save_CFLAGS"
26801 if test "X$thread_CFLAGS" != Xfailed; then
26802 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26803 if test "$cross_compiling" = yes; then :
26804 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26806 as_fn_error "cannot run test program while cross compiling
26807 See \`config.log' for more details." "$LINENO" 5; }
26808 else
26809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26810 /* end confdefs.h. */
26811 #include <pthread.h>
26812 __thread int a;
26813 static int *volatile a_in_other_thread;
26814 static void *
26815 thread_func (void *arg)
26817 a_in_other_thread = &a;
26818 return (void *)0;
26821 main ()
26823 pthread_t thread;
26824 void *thread_retval;
26825 int *volatile a_in_main_thread;
26826 a_in_main_thread = &a;
26827 if (pthread_create (&thread, (pthread_attr_t *)0,
26828 thread_func, (void *)0))
26829 return 0;
26830 if (pthread_join (thread, &thread_retval))
26831 return 0;
26832 return (a_in_other_thread == a_in_main_thread);
26834 return 0;
26836 _ACEOF
26837 if ac_fn_c_try_run "$LINENO"; then :
26838 gcc_cv_have_tls=yes
26839 else
26840 gcc_cv_have_tls=no
26842 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26843 conftest.$ac_objext conftest.beam conftest.$ac_ext
26846 CFLAGS="$chktls_save_CFLAGS"
26849 else
26850 gcc_cv_have_tls=no
26852 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26853 conftest.$ac_objext conftest.beam conftest.$ac_ext
26857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26858 $as_echo "$gcc_cv_have_tls" >&6; }
26859 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26861 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26865 for ac_func in __cxa_thread_atexit_impl
26866 do :
26867 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
26868 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
26869 cat >>confdefs.h <<_ACEOF
26870 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
26871 _ACEOF
26874 done
26877 # For iconv support.
26879 if test "X$prefix" = "XNONE"; then
26880 acl_final_prefix="$ac_default_prefix"
26881 else
26882 acl_final_prefix="$prefix"
26884 if test "X$exec_prefix" = "XNONE"; then
26885 acl_final_exec_prefix='${prefix}'
26886 else
26887 acl_final_exec_prefix="$exec_prefix"
26889 acl_save_prefix="$prefix"
26890 prefix="$acl_final_prefix"
26891 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26892 prefix="$acl_save_prefix"
26895 # Check whether --with-gnu-ld was given.
26896 if test "${with_gnu_ld+set}" = set; then :
26897 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26898 else
26899 with_gnu_ld=no
26902 # Prepare PATH_SEPARATOR.
26903 # The user is always right.
26904 if test "${PATH_SEPARATOR+set}" != set; then
26905 echo "#! /bin/sh" >conf$$.sh
26906 echo "exit 0" >>conf$$.sh
26907 chmod +x conf$$.sh
26908 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26909 PATH_SEPARATOR=';'
26910 else
26911 PATH_SEPARATOR=:
26913 rm -f conf$$.sh
26915 ac_prog=ld
26916 if test "$GCC" = yes; then
26917 # Check if gcc -print-prog-name=ld gives a path.
26918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26919 $as_echo_n "checking for ld used by GCC... " >&6; }
26920 case $host in
26921 *-*-mingw*)
26922 # gcc leaves a trailing carriage return which upsets mingw
26923 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26925 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26926 esac
26927 case $ac_prog in
26928 # Accept absolute paths.
26929 [\\/]* | [A-Za-z]:[\\/]*)
26930 re_direlt='/[^/][^/]*/\.\./'
26931 # Canonicalize the path of ld
26932 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26933 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26934 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26935 done
26936 test -z "$LD" && LD="$ac_prog"
26939 # If it fails, then pretend we aren't using GCC.
26940 ac_prog=ld
26943 # If it is relative, then search for the first ld in PATH.
26944 with_gnu_ld=unknown
26946 esac
26947 elif test "$with_gnu_ld" = yes; then
26948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26949 $as_echo_n "checking for GNU ld... " >&6; }
26950 else
26951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26952 $as_echo_n "checking for non-GNU ld... " >&6; }
26954 if test "${acl_cv_path_LD+set}" = set; then :
26955 $as_echo_n "(cached) " >&6
26956 else
26957 if test -z "$LD"; then
26958 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26959 for ac_dir in $PATH; do
26960 test -z "$ac_dir" && ac_dir=.
26961 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26962 acl_cv_path_LD="$ac_dir/$ac_prog"
26963 # Check to see if the program is GNU ld. I'd rather use --version,
26964 # but apparently some GNU ld's only accept -v.
26965 # Break only if it was the GNU/non-GNU ld that we prefer.
26966 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26967 test "$with_gnu_ld" != no && break
26968 else
26969 test "$with_gnu_ld" != yes && break
26972 done
26973 IFS="$ac_save_ifs"
26974 else
26975 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26979 LD="$acl_cv_path_LD"
26980 if test -n "$LD"; then
26981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26982 $as_echo "$LD" >&6; }
26983 else
26984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26985 $as_echo "no" >&6; }
26987 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26989 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26990 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26991 $as_echo_n "(cached) " >&6
26992 else
26993 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26994 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26995 acl_cv_prog_gnu_ld=yes
26996 else
26997 acl_cv_prog_gnu_ld=no
27000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27001 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27002 with_gnu_ld=$acl_cv_prog_gnu_ld
27006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27007 $as_echo_n "checking for shared library run path origin... " >&6; }
27008 if test "${acl_cv_rpath+set}" = set; then :
27009 $as_echo_n "(cached) " >&6
27010 else
27012 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27013 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27014 . ./conftest.sh
27015 rm -f ./conftest.sh
27016 acl_cv_rpath=done
27019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27020 $as_echo "$acl_cv_rpath" >&6; }
27021 wl="$acl_cv_wl"
27022 libext="$acl_cv_libext"
27023 shlibext="$acl_cv_shlibext"
27024 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27025 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27026 hardcode_direct="$acl_cv_hardcode_direct"
27027 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27028 # Check whether --enable-rpath was given.
27029 if test "${enable_rpath+set}" = set; then :
27030 enableval=$enable_rpath; :
27031 else
27032 enable_rpath=yes
27042 use_additional=yes
27044 acl_save_prefix="$prefix"
27045 prefix="$acl_final_prefix"
27046 acl_save_exec_prefix="$exec_prefix"
27047 exec_prefix="$acl_final_exec_prefix"
27049 eval additional_includedir=\"$includedir\"
27050 eval additional_libdir=\"$libdir\"
27052 exec_prefix="$acl_save_exec_prefix"
27053 prefix="$acl_save_prefix"
27056 # Check whether --with-libiconv-prefix was given.
27057 if test "${with_libiconv_prefix+set}" = set; then :
27058 withval=$with_libiconv_prefix;
27059 if test "X$withval" = "Xno"; then
27060 use_additional=no
27061 else
27062 if test "X$withval" = "X"; then
27064 acl_save_prefix="$prefix"
27065 prefix="$acl_final_prefix"
27066 acl_save_exec_prefix="$exec_prefix"
27067 exec_prefix="$acl_final_exec_prefix"
27069 eval additional_includedir=\"$includedir\"
27070 eval additional_libdir=\"$libdir\"
27072 exec_prefix="$acl_save_exec_prefix"
27073 prefix="$acl_save_prefix"
27075 else
27076 additional_includedir="$withval/include"
27077 additional_libdir="$withval/lib"
27083 LIBICONV=
27084 LTLIBICONV=
27085 INCICONV=
27086 rpathdirs=
27087 ltrpathdirs=
27088 names_already_handled=
27089 names_next_round='iconv '
27090 while test -n "$names_next_round"; do
27091 names_this_round="$names_next_round"
27092 names_next_round=
27093 for name in $names_this_round; do
27094 already_handled=
27095 for n in $names_already_handled; do
27096 if test "$n" = "$name"; then
27097 already_handled=yes
27098 break
27100 done
27101 if test -z "$already_handled"; then
27102 names_already_handled="$names_already_handled $name"
27103 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27104 eval value=\"\$HAVE_LIB$uppername\"
27105 if test -n "$value"; then
27106 if test "$value" = yes; then
27107 eval value=\"\$LIB$uppername\"
27108 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27109 eval value=\"\$LTLIB$uppername\"
27110 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27111 else
27114 else
27115 found_dir=
27116 found_la=
27117 found_so=
27118 found_a=
27119 if test $use_additional = yes; then
27120 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27121 found_dir="$additional_libdir"
27122 found_so="$additional_libdir/lib$name.$shlibext"
27123 if test -f "$additional_libdir/lib$name.la"; then
27124 found_la="$additional_libdir/lib$name.la"
27126 else
27127 if test -f "$additional_libdir/lib$name.$libext"; then
27128 found_dir="$additional_libdir"
27129 found_a="$additional_libdir/lib$name.$libext"
27130 if test -f "$additional_libdir/lib$name.la"; then
27131 found_la="$additional_libdir/lib$name.la"
27136 if test "X$found_dir" = "X"; then
27137 for x in $LDFLAGS $LTLIBICONV; do
27139 acl_save_prefix="$prefix"
27140 prefix="$acl_final_prefix"
27141 acl_save_exec_prefix="$exec_prefix"
27142 exec_prefix="$acl_final_exec_prefix"
27143 eval x=\"$x\"
27144 exec_prefix="$acl_save_exec_prefix"
27145 prefix="$acl_save_prefix"
27147 case "$x" in
27148 -L*)
27149 dir=`echo "X$x" | sed -e 's/^X-L//'`
27150 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27151 found_dir="$dir"
27152 found_so="$dir/lib$name.$shlibext"
27153 if test -f "$dir/lib$name.la"; then
27154 found_la="$dir/lib$name.la"
27156 else
27157 if test -f "$dir/lib$name.$libext"; then
27158 found_dir="$dir"
27159 found_a="$dir/lib$name.$libext"
27160 if test -f "$dir/lib$name.la"; then
27161 found_la="$dir/lib$name.la"
27166 esac
27167 if test "X$found_dir" != "X"; then
27168 break
27170 done
27172 if test "X$found_dir" != "X"; then
27173 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27174 if test "X$found_so" != "X"; then
27175 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27176 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27177 else
27178 haveit=
27179 for x in $ltrpathdirs; do
27180 if test "X$x" = "X$found_dir"; then
27181 haveit=yes
27182 break
27184 done
27185 if test -z "$haveit"; then
27186 ltrpathdirs="$ltrpathdirs $found_dir"
27188 if test "$hardcode_direct" = yes; then
27189 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27190 else
27191 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27192 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27193 haveit=
27194 for x in $rpathdirs; do
27195 if test "X$x" = "X$found_dir"; then
27196 haveit=yes
27197 break
27199 done
27200 if test -z "$haveit"; then
27201 rpathdirs="$rpathdirs $found_dir"
27203 else
27204 haveit=
27205 for x in $LDFLAGS $LIBICONV; do
27207 acl_save_prefix="$prefix"
27208 prefix="$acl_final_prefix"
27209 acl_save_exec_prefix="$exec_prefix"
27210 exec_prefix="$acl_final_exec_prefix"
27211 eval x=\"$x\"
27212 exec_prefix="$acl_save_exec_prefix"
27213 prefix="$acl_save_prefix"
27215 if test "X$x" = "X-L$found_dir"; then
27216 haveit=yes
27217 break
27219 done
27220 if test -z "$haveit"; then
27221 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27223 if test "$hardcode_minus_L" != no; then
27224 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27225 else
27226 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27231 else
27232 if test "X$found_a" != "X"; then
27233 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27234 else
27235 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27238 additional_includedir=
27239 case "$found_dir" in
27240 */lib | */lib/)
27241 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27242 additional_includedir="$basedir/include"
27244 esac
27245 if test "X$additional_includedir" != "X"; then
27246 if test "X$additional_includedir" != "X/usr/include"; then
27247 haveit=
27248 if test "X$additional_includedir" = "X/usr/local/include"; then
27249 if test -n "$GCC"; then
27250 case $host_os in
27251 linux*) haveit=yes;;
27252 esac
27255 if test -z "$haveit"; then
27256 for x in $CPPFLAGS $INCICONV; do
27258 acl_save_prefix="$prefix"
27259 prefix="$acl_final_prefix"
27260 acl_save_exec_prefix="$exec_prefix"
27261 exec_prefix="$acl_final_exec_prefix"
27262 eval x=\"$x\"
27263 exec_prefix="$acl_save_exec_prefix"
27264 prefix="$acl_save_prefix"
27266 if test "X$x" = "X-I$additional_includedir"; then
27267 haveit=yes
27268 break
27270 done
27271 if test -z "$haveit"; then
27272 if test -d "$additional_includedir"; then
27273 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27279 if test -n "$found_la"; then
27280 save_libdir="$libdir"
27281 case "$found_la" in
27282 */* | *\\*) . "$found_la" ;;
27283 *) . "./$found_la" ;;
27284 esac
27285 libdir="$save_libdir"
27286 for dep in $dependency_libs; do
27287 case "$dep" in
27288 -L*)
27289 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27290 if test "X$additional_libdir" != "X/usr/lib"; then
27291 haveit=
27292 if test "X$additional_libdir" = "X/usr/local/lib"; then
27293 if test -n "$GCC"; then
27294 case $host_os in
27295 linux*) haveit=yes;;
27296 esac
27299 if test -z "$haveit"; then
27300 haveit=
27301 for x in $LDFLAGS $LIBICONV; do
27303 acl_save_prefix="$prefix"
27304 prefix="$acl_final_prefix"
27305 acl_save_exec_prefix="$exec_prefix"
27306 exec_prefix="$acl_final_exec_prefix"
27307 eval x=\"$x\"
27308 exec_prefix="$acl_save_exec_prefix"
27309 prefix="$acl_save_prefix"
27311 if test "X$x" = "X-L$additional_libdir"; then
27312 haveit=yes
27313 break
27315 done
27316 if test -z "$haveit"; then
27317 if test -d "$additional_libdir"; then
27318 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27321 haveit=
27322 for x in $LDFLAGS $LTLIBICONV; do
27324 acl_save_prefix="$prefix"
27325 prefix="$acl_final_prefix"
27326 acl_save_exec_prefix="$exec_prefix"
27327 exec_prefix="$acl_final_exec_prefix"
27328 eval x=\"$x\"
27329 exec_prefix="$acl_save_exec_prefix"
27330 prefix="$acl_save_prefix"
27332 if test "X$x" = "X-L$additional_libdir"; then
27333 haveit=yes
27334 break
27336 done
27337 if test -z "$haveit"; then
27338 if test -d "$additional_libdir"; then
27339 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27345 -R*)
27346 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27347 if test "$enable_rpath" != no; then
27348 haveit=
27349 for x in $rpathdirs; do
27350 if test "X$x" = "X$dir"; then
27351 haveit=yes
27352 break
27354 done
27355 if test -z "$haveit"; then
27356 rpathdirs="$rpathdirs $dir"
27358 haveit=
27359 for x in $ltrpathdirs; do
27360 if test "X$x" = "X$dir"; then
27361 haveit=yes
27362 break
27364 done
27365 if test -z "$haveit"; then
27366 ltrpathdirs="$ltrpathdirs $dir"
27370 -l*)
27371 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27373 *.la)
27374 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27377 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27378 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27380 esac
27381 done
27383 else
27384 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27385 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27389 done
27390 done
27391 if test "X$rpathdirs" != "X"; then
27392 if test -n "$hardcode_libdir_separator"; then
27393 alldirs=
27394 for found_dir in $rpathdirs; do
27395 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27396 done
27397 acl_save_libdir="$libdir"
27398 libdir="$alldirs"
27399 eval flag=\"$hardcode_libdir_flag_spec\"
27400 libdir="$acl_save_libdir"
27401 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27402 else
27403 for found_dir in $rpathdirs; do
27404 acl_save_libdir="$libdir"
27405 libdir="$found_dir"
27406 eval flag=\"$hardcode_libdir_flag_spec\"
27407 libdir="$acl_save_libdir"
27408 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27409 done
27412 if test "X$ltrpathdirs" != "X"; then
27413 for found_dir in $ltrpathdirs; do
27414 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27415 done
27424 am_save_CPPFLAGS="$CPPFLAGS"
27426 for element in $INCICONV; do
27427 haveit=
27428 for x in $CPPFLAGS; do
27430 acl_save_prefix="$prefix"
27431 prefix="$acl_final_prefix"
27432 acl_save_exec_prefix="$exec_prefix"
27433 exec_prefix="$acl_final_exec_prefix"
27434 eval x=\"$x\"
27435 exec_prefix="$acl_save_exec_prefix"
27436 prefix="$acl_save_prefix"
27438 if test "X$x" = "X$element"; then
27439 haveit=yes
27440 break
27442 done
27443 if test -z "$haveit"; then
27444 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27446 done
27449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27450 $as_echo_n "checking for iconv... " >&6; }
27451 if test "${am_cv_func_iconv+set}" = set; then :
27452 $as_echo_n "(cached) " >&6
27453 else
27455 am_cv_func_iconv="no, consider installing GNU libiconv"
27456 am_cv_lib_iconv=no
27457 if test x$gcc_no_link = xyes; then
27458 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27461 /* end confdefs.h. */
27462 #include <stdlib.h>
27463 #include <iconv.h>
27465 main ()
27467 iconv_t cd = iconv_open("","");
27468 iconv(cd,NULL,NULL,NULL,NULL);
27469 iconv_close(cd);
27471 return 0;
27473 _ACEOF
27474 if ac_fn_c_try_link "$LINENO"; then :
27475 am_cv_func_iconv=yes
27477 rm -f core conftest.err conftest.$ac_objext \
27478 conftest$ac_exeext conftest.$ac_ext
27479 if test "$am_cv_func_iconv" != yes; then
27480 am_save_LIBS="$LIBS"
27481 LIBS="$LIBS $LIBICONV"
27482 if test x$gcc_no_link = xyes; then
27483 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27486 /* end confdefs.h. */
27487 #include <stdlib.h>
27488 #include <iconv.h>
27490 main ()
27492 iconv_t cd = iconv_open("","");
27493 iconv(cd,NULL,NULL,NULL,NULL);
27494 iconv_close(cd);
27496 return 0;
27498 _ACEOF
27499 if ac_fn_c_try_link "$LINENO"; then :
27500 am_cv_lib_iconv=yes
27501 am_cv_func_iconv=yes
27503 rm -f core conftest.err conftest.$ac_objext \
27504 conftest$ac_exeext conftest.$ac_ext
27505 LIBS="$am_save_LIBS"
27509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27510 $as_echo "$am_cv_func_iconv" >&6; }
27511 if test "$am_cv_func_iconv" = yes; then
27513 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27516 if test "$am_cv_lib_iconv" = yes; then
27517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27518 $as_echo_n "checking how to link with libiconv... " >&6; }
27519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27520 $as_echo "$LIBICONV" >&6; }
27521 else
27522 CPPFLAGS="$am_save_CPPFLAGS"
27523 LIBICONV=
27524 LTLIBICONV=
27529 if test "$am_cv_func_iconv" = yes; then
27530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27531 $as_echo_n "checking for iconv declaration... " >&6; }
27532 if test "${am_cv_proto_iconv+set}" = set; then :
27533 $as_echo_n "(cached) " >&6
27534 else
27536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27537 /* end confdefs.h. */
27539 #include <stdlib.h>
27540 #include <iconv.h>
27541 extern
27542 #ifdef __cplusplus
27544 #endif
27545 #if defined(__STDC__) || defined(__cplusplus)
27546 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27547 #else
27548 size_t iconv();
27549 #endif
27552 main ()
27556 return 0;
27558 _ACEOF
27559 if ac_fn_c_try_compile "$LINENO"; then :
27560 am_cv_proto_iconv_arg1=""
27561 else
27562 am_cv_proto_iconv_arg1="const"
27564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27565 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
27568 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27570 }$am_cv_proto_iconv" >&5
27571 $as_echo "${ac_t:-
27572 }$am_cv_proto_iconv" >&6; }
27574 cat >>confdefs.h <<_ACEOF
27575 #define ICONV_CONST $am_cv_proto_iconv_arg1
27576 _ACEOF
27581 else
27583 # This lets us hard-code the functionality we know we'll have in the cross
27584 # target environment. "Let" is a sugar-coated word placed on an especially
27585 # dull and tedious hack, actually.
27587 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27588 # that involve linking, can't be used:
27589 # "cannot open sim-crt0.o"
27590 # "cannot open crt0.o"
27591 # etc. All this is because there currently exists no unified, consistent
27592 # way for top level CC information to be passed down to target directories:
27593 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27594 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27595 # crosses can be removed.
27597 # If Canadian cross, then don't pick up tools from the build directory.
27598 # Used only in GLIBCXX_EXPORT_INCLUDES.
27599 if test -n "$with_cross_host" &&
27600 test x"$build_alias" != x"$with_cross_host" &&
27601 test x"$build" != x"$target";
27602 then
27603 CANADIAN=yes
27604 else
27605 CANADIAN=no
27608 # Construct crosses by hand, eliminating bits that need ld...
27609 # GLIBCXX_CHECK_MATH_SUPPORT
27611 # First, test for "known" system libraries. We may be using newlib even
27612 # on a hosted environment.
27613 if test "x${with_newlib}" = "xyes"; then
27614 os_include_dir="os/newlib"
27615 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27618 # GLIBCXX_CHECK_STDLIB_SUPPORT
27619 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27622 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27624 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27626 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27628 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27630 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27632 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27634 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27636 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27638 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27640 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27642 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27644 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27646 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27648 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27650 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27652 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27654 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27656 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27658 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27660 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27662 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27664 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27667 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27669 else
27671 # Base decisions on target environment.
27672 case "${host}" in
27673 arm*-*-symbianelf*)
27674 # This is a freestanding configuration; there is nothing to do here.
27677 mips*-sde-elf*)
27678 # These definitions are for the SDE C library rather than newlib.
27679 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27682 # All these tests are for C++; save the language and the compiler flags.
27683 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27684 # found in GLIBCXX_CONFIGURE.
27686 ac_ext=cpp
27687 ac_cpp='$CXXCPP $CPPFLAGS'
27688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27692 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27693 ac_save_CXXFLAGS="$CXXFLAGS"
27695 # Check for maintainer-mode bits.
27696 if test x"$USE_MAINTAINER_MODE" = xno; then
27697 WERROR=''
27698 else
27699 WERROR='-Werror'
27702 # Check for -ffunction-sections -fdata-sections
27703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27704 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27705 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27707 /* end confdefs.h. */
27708 int foo; void bar() { };
27710 main ()
27714 return 0;
27716 _ACEOF
27717 if ac_fn_cxx_try_compile "$LINENO"; then :
27718 ac_fdsections=yes
27719 else
27720 ac_fdsections=no
27722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27723 if test "$ac_test_CXXFLAGS" = set; then
27724 CXXFLAGS="$ac_save_CXXFLAGS"
27725 else
27726 # this is the suspicious part
27727 CXXFLAGS=''
27729 if test x"$ac_fdsections" = x"yes"; then
27730 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27733 $as_echo "$ac_fdsections" >&6; }
27735 ac_ext=c
27736 ac_cpp='$CPP $CPPFLAGS'
27737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27745 # If we're not using GNU ld, then there's no point in even trying these
27746 # tests. Check for that first. We should have already tested for gld
27747 # by now (in libtool), but require it now just to be safe...
27748 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27749 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27753 # The name set by libtool depends on the version of libtool. Shame on us
27754 # for depending on an impl detail, but c'est la vie. Older versions used
27755 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27756 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27757 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27758 # set (hence we're using an older libtool), then set it.
27759 if test x${with_gnu_ld+set} != xset; then
27760 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27761 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27762 with_gnu_ld=no
27763 else
27764 with_gnu_ld=$ac_cv_prog_gnu_ld
27768 # Start by getting the version number. I think the libtool test already
27769 # does some of this, but throws away the result.
27770 glibcxx_ld_is_gold=no
27771 if test x"$with_gnu_ld" = x"yes"; then
27772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27773 $as_echo_n "checking for ld version... " >&6; }
27775 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27776 glibcxx_ld_is_gold=yes
27778 ldver=`$LD --version 2>/dev/null |
27779 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
27781 glibcxx_gnu_ld_version=`echo $ldver | \
27782 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27784 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27787 # Set --gc-sections.
27788 glibcxx_have_gc_sections=no
27789 if test "$glibcxx_ld_is_gold" = "yes"; then
27790 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27791 glibcxx_have_gc_sections=yes
27793 else
27794 glibcxx_gcsections_min_ld=21602
27795 if test x"$with_gnu_ld" = x"yes" &&
27796 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27797 glibcxx_have_gc_sections=yes
27800 if test "$glibcxx_have_gc_sections" = "yes"; then
27801 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27802 # NB: This flag only works reliably after 2.16.1. Configure tests
27803 # for this are difficult, so hard wire a value that should work.
27805 ac_test_CFLAGS="${CFLAGS+set}"
27806 ac_save_CFLAGS="$CFLAGS"
27807 CFLAGS='-Wl,--gc-sections'
27809 # Check for -Wl,--gc-sections
27810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27811 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27812 if test x$gcc_no_link = xyes; then
27813 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27816 /* end confdefs.h. */
27817 int one(void) { return 1; }
27818 int two(void) { return 2; }
27821 main ()
27823 two();
27825 return 0;
27827 _ACEOF
27828 if ac_fn_c_try_link "$LINENO"; then :
27829 ac_gcsections=yes
27830 else
27831 ac_gcsections=no
27833 rm -f core conftest.err conftest.$ac_objext \
27834 conftest$ac_exeext conftest.$ac_ext
27835 if test "$ac_gcsections" = "yes"; then
27836 rm -f conftest.c
27837 touch conftest.c
27838 if $CC -c conftest.c; then
27839 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27840 grep "Warning: gc-sections option ignored" > /dev/null; then
27841 ac_gcsections=no
27844 rm -f conftest.c conftest.o conftest
27846 if test "$ac_gcsections" = "yes"; then
27847 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27850 $as_echo "$ac_gcsections" >&6; }
27852 if test "$ac_test_CFLAGS" = set; then
27853 CFLAGS="$ac_save_CFLAGS"
27854 else
27855 # this is the suspicious part
27856 CFLAGS=''
27860 # Set -z,relro.
27861 # Note this is only for shared objects.
27862 ac_ld_relro=no
27863 if test x"$with_gnu_ld" = x"yes"; then
27864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27865 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27866 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27867 if test -n "$cxx_z_relo"; then
27868 OPT_LDFLAGS="-Wl,-z,relro"
27869 ac_ld_relro=yes
27871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27872 $as_echo "$ac_ld_relro" >&6; }
27875 # Set linker optimization flags.
27876 if test x"$with_gnu_ld" = x"yes"; then
27877 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27884 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27885 ac_save_CXXFLAGS="$CXXFLAGS"
27886 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27889 $as_echo_n "checking for sin in -lm... " >&6; }
27890 if test "${ac_cv_lib_m_sin+set}" = set; then :
27891 $as_echo_n "(cached) " >&6
27892 else
27893 ac_check_lib_save_LIBS=$LIBS
27894 LIBS="-lm $LIBS"
27895 if test x$gcc_no_link = xyes; then
27896 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27899 /* end confdefs.h. */
27901 /* Override any GCC internal prototype to avoid an error.
27902 Use char because int might match the return type of a GCC
27903 builtin and then its argument prototype would still apply. */
27904 #ifdef __cplusplus
27905 extern "C"
27906 #endif
27907 char sin ();
27909 main ()
27911 return sin ();
27913 return 0;
27915 _ACEOF
27916 if ac_fn_c_try_link "$LINENO"; then :
27917 ac_cv_lib_m_sin=yes
27918 else
27919 ac_cv_lib_m_sin=no
27921 rm -f core conftest.err conftest.$ac_objext \
27922 conftest$ac_exeext conftest.$ac_ext
27923 LIBS=$ac_check_lib_save_LIBS
27925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27926 $as_echo "$ac_cv_lib_m_sin" >&6; }
27927 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27928 libm="-lm"
27931 ac_save_LIBS="$LIBS"
27932 LIBS="$LIBS $libm"
27936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27937 $as_echo_n "checking for isinf declaration... " >&6; }
27938 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27939 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27940 $as_echo_n "(cached) " >&6
27941 else
27944 ac_ext=cpp
27945 ac_cpp='$CXXCPP $CPPFLAGS'
27946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27951 /* end confdefs.h. */
27952 #include <math.h>
27953 #ifdef HAVE_IEEEFP_H
27954 #include <ieeefp.h>
27955 #endif
27958 main ()
27960 isinf(0);
27962 return 0;
27964 _ACEOF
27965 if ac_fn_cxx_try_compile "$LINENO"; then :
27966 glibcxx_cv_func_isinf_use=yes
27967 else
27968 glibcxx_cv_func_isinf_use=no
27970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27971 ac_ext=c
27972 ac_cpp='$CPP $CPPFLAGS'
27973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27982 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27984 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27985 for ac_func in isinf
27986 do :
27987 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27988 if test "x$ac_cv_func_isinf" = x""yes; then :
27989 cat >>confdefs.h <<_ACEOF
27990 #define HAVE_ISINF 1
27991 _ACEOF
27994 done
27996 else
27998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27999 $as_echo_n "checking for _isinf declaration... " >&6; }
28000 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28001 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28002 $as_echo_n "(cached) " >&6
28003 else
28006 ac_ext=cpp
28007 ac_cpp='$CXXCPP $CPPFLAGS'
28008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28013 /* end confdefs.h. */
28014 #include <math.h>
28015 #ifdef HAVE_IEEEFP_H
28016 #include <ieeefp.h>
28017 #endif
28020 main ()
28022 _isinf(0);
28024 return 0;
28026 _ACEOF
28027 if ac_fn_cxx_try_compile "$LINENO"; then :
28028 glibcxx_cv_func__isinf_use=yes
28029 else
28030 glibcxx_cv_func__isinf_use=no
28032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28033 ac_ext=c
28034 ac_cpp='$CPP $CPPFLAGS'
28035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28044 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28046 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28047 for ac_func in _isinf
28048 do :
28049 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28050 if test "x$ac_cv_func__isinf" = x""yes; then :
28051 cat >>confdefs.h <<_ACEOF
28052 #define HAVE__ISINF 1
28053 _ACEOF
28056 done
28065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28066 $as_echo_n "checking for isnan declaration... " >&6; }
28067 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28068 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28069 $as_echo_n "(cached) " >&6
28070 else
28073 ac_ext=cpp
28074 ac_cpp='$CXXCPP $CPPFLAGS'
28075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28080 /* end confdefs.h. */
28081 #include <math.h>
28082 #ifdef HAVE_IEEEFP_H
28083 #include <ieeefp.h>
28084 #endif
28087 main ()
28089 isnan(0);
28091 return 0;
28093 _ACEOF
28094 if ac_fn_cxx_try_compile "$LINENO"; then :
28095 glibcxx_cv_func_isnan_use=yes
28096 else
28097 glibcxx_cv_func_isnan_use=no
28099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28100 ac_ext=c
28101 ac_cpp='$CPP $CPPFLAGS'
28102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28111 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28113 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28114 for ac_func in isnan
28115 do :
28116 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28117 if test "x$ac_cv_func_isnan" = x""yes; then :
28118 cat >>confdefs.h <<_ACEOF
28119 #define HAVE_ISNAN 1
28120 _ACEOF
28123 done
28125 else
28127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28128 $as_echo_n "checking for _isnan declaration... " >&6; }
28129 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28130 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28131 $as_echo_n "(cached) " >&6
28132 else
28135 ac_ext=cpp
28136 ac_cpp='$CXXCPP $CPPFLAGS'
28137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28142 /* end confdefs.h. */
28143 #include <math.h>
28144 #ifdef HAVE_IEEEFP_H
28145 #include <ieeefp.h>
28146 #endif
28149 main ()
28151 _isnan(0);
28153 return 0;
28155 _ACEOF
28156 if ac_fn_cxx_try_compile "$LINENO"; then :
28157 glibcxx_cv_func__isnan_use=yes
28158 else
28159 glibcxx_cv_func__isnan_use=no
28161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28162 ac_ext=c
28163 ac_cpp='$CPP $CPPFLAGS'
28164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28173 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28175 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28176 for ac_func in _isnan
28177 do :
28178 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28179 if test "x$ac_cv_func__isnan" = x""yes; then :
28180 cat >>confdefs.h <<_ACEOF
28181 #define HAVE__ISNAN 1
28182 _ACEOF
28185 done
28194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28195 $as_echo_n "checking for finite declaration... " >&6; }
28196 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28197 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28198 $as_echo_n "(cached) " >&6
28199 else
28202 ac_ext=cpp
28203 ac_cpp='$CXXCPP $CPPFLAGS'
28204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28209 /* end confdefs.h. */
28210 #include <math.h>
28211 #ifdef HAVE_IEEEFP_H
28212 #include <ieeefp.h>
28213 #endif
28216 main ()
28218 finite(0);
28220 return 0;
28222 _ACEOF
28223 if ac_fn_cxx_try_compile "$LINENO"; then :
28224 glibcxx_cv_func_finite_use=yes
28225 else
28226 glibcxx_cv_func_finite_use=no
28228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28229 ac_ext=c
28230 ac_cpp='$CPP $CPPFLAGS'
28231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28240 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28242 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28243 for ac_func in finite
28244 do :
28245 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28246 if test "x$ac_cv_func_finite" = x""yes; then :
28247 cat >>confdefs.h <<_ACEOF
28248 #define HAVE_FINITE 1
28249 _ACEOF
28252 done
28254 else
28256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28257 $as_echo_n "checking for _finite declaration... " >&6; }
28258 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28259 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28260 $as_echo_n "(cached) " >&6
28261 else
28264 ac_ext=cpp
28265 ac_cpp='$CXXCPP $CPPFLAGS'
28266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28271 /* end confdefs.h. */
28272 #include <math.h>
28273 #ifdef HAVE_IEEEFP_H
28274 #include <ieeefp.h>
28275 #endif
28278 main ()
28280 _finite(0);
28282 return 0;
28284 _ACEOF
28285 if ac_fn_cxx_try_compile "$LINENO"; then :
28286 glibcxx_cv_func__finite_use=yes
28287 else
28288 glibcxx_cv_func__finite_use=no
28290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28291 ac_ext=c
28292 ac_cpp='$CPP $CPPFLAGS'
28293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28302 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28304 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28305 for ac_func in _finite
28306 do :
28307 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28308 if test "x$ac_cv_func__finite" = x""yes; then :
28309 cat >>confdefs.h <<_ACEOF
28310 #define HAVE__FINITE 1
28311 _ACEOF
28314 done
28323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28324 $as_echo_n "checking for sincos declaration... " >&6; }
28325 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28326 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28327 $as_echo_n "(cached) " >&6
28328 else
28331 ac_ext=cpp
28332 ac_cpp='$CXXCPP $CPPFLAGS'
28333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28338 /* end confdefs.h. */
28339 #include <math.h>
28341 main ()
28343 sincos(0, 0, 0);
28345 return 0;
28347 _ACEOF
28348 if ac_fn_cxx_try_compile "$LINENO"; then :
28349 glibcxx_cv_func_sincos_use=yes
28350 else
28351 glibcxx_cv_func_sincos_use=no
28353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28354 ac_ext=c
28355 ac_cpp='$CPP $CPPFLAGS'
28356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28365 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28367 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28368 for ac_func in sincos
28369 do :
28370 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28371 if test "x$ac_cv_func_sincos" = x""yes; then :
28372 cat >>confdefs.h <<_ACEOF
28373 #define HAVE_SINCOS 1
28374 _ACEOF
28377 done
28379 else
28381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28382 $as_echo_n "checking for _sincos declaration... " >&6; }
28383 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28384 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28385 $as_echo_n "(cached) " >&6
28386 else
28389 ac_ext=cpp
28390 ac_cpp='$CXXCPP $CPPFLAGS'
28391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28396 /* end confdefs.h. */
28397 #include <math.h>
28399 main ()
28401 _sincos(0, 0, 0);
28403 return 0;
28405 _ACEOF
28406 if ac_fn_cxx_try_compile "$LINENO"; then :
28407 glibcxx_cv_func__sincos_use=yes
28408 else
28409 glibcxx_cv_func__sincos_use=no
28411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28412 ac_ext=c
28413 ac_cpp='$CPP $CPPFLAGS'
28414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28423 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28425 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28426 for ac_func in _sincos
28427 do :
28428 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28429 if test "x$ac_cv_func__sincos" = x""yes; then :
28430 cat >>confdefs.h <<_ACEOF
28431 #define HAVE__SINCOS 1
28432 _ACEOF
28435 done
28444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28445 $as_echo_n "checking for fpclass declaration... " >&6; }
28446 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28447 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28448 $as_echo_n "(cached) " >&6
28449 else
28452 ac_ext=cpp
28453 ac_cpp='$CXXCPP $CPPFLAGS'
28454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28459 /* end confdefs.h. */
28460 #include <math.h>
28461 #ifdef HAVE_IEEEFP_H
28462 #include <ieeefp.h>
28463 #endif
28466 main ()
28468 fpclass(0);
28470 return 0;
28472 _ACEOF
28473 if ac_fn_cxx_try_compile "$LINENO"; then :
28474 glibcxx_cv_func_fpclass_use=yes
28475 else
28476 glibcxx_cv_func_fpclass_use=no
28478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28479 ac_ext=c
28480 ac_cpp='$CPP $CPPFLAGS'
28481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28490 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28492 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28493 for ac_func in fpclass
28494 do :
28495 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28496 if test "x$ac_cv_func_fpclass" = x""yes; then :
28497 cat >>confdefs.h <<_ACEOF
28498 #define HAVE_FPCLASS 1
28499 _ACEOF
28502 done
28504 else
28506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28507 $as_echo_n "checking for _fpclass declaration... " >&6; }
28508 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28509 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28510 $as_echo_n "(cached) " >&6
28511 else
28514 ac_ext=cpp
28515 ac_cpp='$CXXCPP $CPPFLAGS'
28516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28521 /* end confdefs.h. */
28522 #include <math.h>
28523 #ifdef HAVE_IEEEFP_H
28524 #include <ieeefp.h>
28525 #endif
28528 main ()
28530 _fpclass(0);
28532 return 0;
28534 _ACEOF
28535 if ac_fn_cxx_try_compile "$LINENO"; then :
28536 glibcxx_cv_func__fpclass_use=yes
28537 else
28538 glibcxx_cv_func__fpclass_use=no
28540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28541 ac_ext=c
28542 ac_cpp='$CPP $CPPFLAGS'
28543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28552 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28554 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28555 for ac_func in _fpclass
28556 do :
28557 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28558 if test "x$ac_cv_func__fpclass" = x""yes; then :
28559 cat >>confdefs.h <<_ACEOF
28560 #define HAVE__FPCLASS 1
28561 _ACEOF
28564 done
28573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28574 $as_echo_n "checking for qfpclass declaration... " >&6; }
28575 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28576 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28577 $as_echo_n "(cached) " >&6
28578 else
28581 ac_ext=cpp
28582 ac_cpp='$CXXCPP $CPPFLAGS'
28583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28588 /* end confdefs.h. */
28589 #include <math.h>
28590 #ifdef HAVE_IEEEFP_H
28591 #include <ieeefp.h>
28592 #endif
28595 main ()
28597 qfpclass(0);
28599 return 0;
28601 _ACEOF
28602 if ac_fn_cxx_try_compile "$LINENO"; then :
28603 glibcxx_cv_func_qfpclass_use=yes
28604 else
28605 glibcxx_cv_func_qfpclass_use=no
28607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28608 ac_ext=c
28609 ac_cpp='$CPP $CPPFLAGS'
28610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28619 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28621 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28622 for ac_func in qfpclass
28623 do :
28624 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28625 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28626 cat >>confdefs.h <<_ACEOF
28627 #define HAVE_QFPCLASS 1
28628 _ACEOF
28631 done
28633 else
28635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28636 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28637 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28638 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28639 $as_echo_n "(cached) " >&6
28640 else
28643 ac_ext=cpp
28644 ac_cpp='$CXXCPP $CPPFLAGS'
28645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28650 /* end confdefs.h. */
28651 #include <math.h>
28652 #ifdef HAVE_IEEEFP_H
28653 #include <ieeefp.h>
28654 #endif
28657 main ()
28659 _qfpclass(0);
28661 return 0;
28663 _ACEOF
28664 if ac_fn_cxx_try_compile "$LINENO"; then :
28665 glibcxx_cv_func__qfpclass_use=yes
28666 else
28667 glibcxx_cv_func__qfpclass_use=no
28669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28670 ac_ext=c
28671 ac_cpp='$CPP $CPPFLAGS'
28672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28681 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28683 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28684 for ac_func in _qfpclass
28685 do :
28686 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28687 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28688 cat >>confdefs.h <<_ACEOF
28689 #define HAVE__QFPCLASS 1
28690 _ACEOF
28693 done
28702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28703 $as_echo_n "checking for hypot declaration... " >&6; }
28704 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28705 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28706 $as_echo_n "(cached) " >&6
28707 else
28710 ac_ext=cpp
28711 ac_cpp='$CXXCPP $CPPFLAGS'
28712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28717 /* end confdefs.h. */
28718 #include <math.h>
28720 main ()
28722 hypot(0, 0);
28724 return 0;
28726 _ACEOF
28727 if ac_fn_cxx_try_compile "$LINENO"; then :
28728 glibcxx_cv_func_hypot_use=yes
28729 else
28730 glibcxx_cv_func_hypot_use=no
28732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28733 ac_ext=c
28734 ac_cpp='$CPP $CPPFLAGS'
28735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28744 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28746 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28747 for ac_func in hypot
28748 do :
28749 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28750 if test "x$ac_cv_func_hypot" = x""yes; then :
28751 cat >>confdefs.h <<_ACEOF
28752 #define HAVE_HYPOT 1
28753 _ACEOF
28756 done
28758 else
28760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28761 $as_echo_n "checking for _hypot declaration... " >&6; }
28762 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28763 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28764 $as_echo_n "(cached) " >&6
28765 else
28768 ac_ext=cpp
28769 ac_cpp='$CXXCPP $CPPFLAGS'
28770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28775 /* end confdefs.h. */
28776 #include <math.h>
28778 main ()
28780 _hypot(0, 0);
28782 return 0;
28784 _ACEOF
28785 if ac_fn_cxx_try_compile "$LINENO"; then :
28786 glibcxx_cv_func__hypot_use=yes
28787 else
28788 glibcxx_cv_func__hypot_use=no
28790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28791 ac_ext=c
28792 ac_cpp='$CPP $CPPFLAGS'
28793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28802 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28804 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28805 for ac_func in _hypot
28806 do :
28807 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28808 if test "x$ac_cv_func__hypot" = x""yes; then :
28809 cat >>confdefs.h <<_ACEOF
28810 #define HAVE__HYPOT 1
28811 _ACEOF
28814 done
28823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28824 $as_echo_n "checking for float trig functions... " >&6; }
28825 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28826 $as_echo_n "(cached) " >&6
28827 else
28830 ac_ext=cpp
28831 ac_cpp='$CXXCPP $CPPFLAGS'
28832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28837 /* end confdefs.h. */
28838 #include <math.h>
28840 main ()
28842 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28844 return 0;
28846 _ACEOF
28847 if ac_fn_cxx_try_compile "$LINENO"; then :
28848 glibcxx_cv_func_float_trig_use=yes
28849 else
28850 glibcxx_cv_func_float_trig_use=no
28852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28853 ac_ext=c
28854 ac_cpp='$CPP $CPPFLAGS'
28855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28862 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28863 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28864 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28865 do :
28866 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28867 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28868 eval as_val=\$$as_ac_var
28869 if test "x$as_val" = x""yes; then :
28870 cat >>confdefs.h <<_ACEOF
28871 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28872 _ACEOF
28875 done
28877 else
28878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28879 $as_echo_n "checking for _float trig functions... " >&6; }
28880 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28881 $as_echo_n "(cached) " >&6
28882 else
28885 ac_ext=cpp
28886 ac_cpp='$CXXCPP $CPPFLAGS'
28887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28892 /* end confdefs.h. */
28893 #include <math.h>
28895 main ()
28897 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28899 return 0;
28901 _ACEOF
28902 if ac_fn_cxx_try_compile "$LINENO"; then :
28903 glibcxx_cv_func__float_trig_use=yes
28904 else
28905 glibcxx_cv_func__float_trig_use=no
28907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28908 ac_ext=c
28909 ac_cpp='$CPP $CPPFLAGS'
28910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28917 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28918 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28919 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28920 do :
28921 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28922 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28923 eval as_val=\$$as_ac_var
28924 if test "x$as_val" = x""yes; then :
28925 cat >>confdefs.h <<_ACEOF
28926 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28927 _ACEOF
28930 done
28939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28940 $as_echo_n "checking for float round functions... " >&6; }
28941 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28942 $as_echo_n "(cached) " >&6
28943 else
28946 ac_ext=cpp
28947 ac_cpp='$CXXCPP $CPPFLAGS'
28948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28953 /* end confdefs.h. */
28954 #include <math.h>
28956 main ()
28958 ceilf (0); floorf (0);
28960 return 0;
28962 _ACEOF
28963 if ac_fn_cxx_try_compile "$LINENO"; then :
28964 glibcxx_cv_func_float_round_use=yes
28965 else
28966 glibcxx_cv_func_float_round_use=no
28968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28969 ac_ext=c
28970 ac_cpp='$CPP $CPPFLAGS'
28971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28978 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28979 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28980 for ac_func in ceilf floorf
28981 do :
28982 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28983 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28984 eval as_val=\$$as_ac_var
28985 if test "x$as_val" = x""yes; then :
28986 cat >>confdefs.h <<_ACEOF
28987 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28988 _ACEOF
28991 done
28993 else
28994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28995 $as_echo_n "checking for _float round functions... " >&6; }
28996 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28997 $as_echo_n "(cached) " >&6
28998 else
29001 ac_ext=cpp
29002 ac_cpp='$CXXCPP $CPPFLAGS'
29003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29008 /* end confdefs.h. */
29009 #include <math.h>
29011 main ()
29013 _ceilf (0); _floorf (0);
29015 return 0;
29017 _ACEOF
29018 if ac_fn_cxx_try_compile "$LINENO"; then :
29019 glibcxx_cv_func__float_round_use=yes
29020 else
29021 glibcxx_cv_func__float_round_use=no
29023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29024 ac_ext=c
29025 ac_cpp='$CPP $CPPFLAGS'
29026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29033 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29034 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29035 for ac_func in _ceilf _floorf
29036 do :
29037 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29038 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29039 eval as_val=\$$as_ac_var
29040 if test "x$as_val" = x""yes; then :
29041 cat >>confdefs.h <<_ACEOF
29042 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29043 _ACEOF
29046 done
29056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29057 $as_echo_n "checking for expf declaration... " >&6; }
29058 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29059 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29060 $as_echo_n "(cached) " >&6
29061 else
29064 ac_ext=cpp
29065 ac_cpp='$CXXCPP $CPPFLAGS'
29066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29071 /* end confdefs.h. */
29072 #include <math.h>
29073 #ifdef HAVE_IEEEFP_H
29074 #include <ieeefp.h>
29075 #endif
29078 main ()
29080 expf(0);
29082 return 0;
29084 _ACEOF
29085 if ac_fn_cxx_try_compile "$LINENO"; then :
29086 glibcxx_cv_func_expf_use=yes
29087 else
29088 glibcxx_cv_func_expf_use=no
29090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29091 ac_ext=c
29092 ac_cpp='$CPP $CPPFLAGS'
29093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29102 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29104 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29105 for ac_func in expf
29106 do :
29107 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29108 if test "x$ac_cv_func_expf" = x""yes; then :
29109 cat >>confdefs.h <<_ACEOF
29110 #define HAVE_EXPF 1
29111 _ACEOF
29114 done
29116 else
29118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29119 $as_echo_n "checking for _expf declaration... " >&6; }
29120 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29121 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29122 $as_echo_n "(cached) " >&6
29123 else
29126 ac_ext=cpp
29127 ac_cpp='$CXXCPP $CPPFLAGS'
29128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29133 /* end confdefs.h. */
29134 #include <math.h>
29135 #ifdef HAVE_IEEEFP_H
29136 #include <ieeefp.h>
29137 #endif
29140 main ()
29142 _expf(0);
29144 return 0;
29146 _ACEOF
29147 if ac_fn_cxx_try_compile "$LINENO"; then :
29148 glibcxx_cv_func__expf_use=yes
29149 else
29150 glibcxx_cv_func__expf_use=no
29152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29153 ac_ext=c
29154 ac_cpp='$CPP $CPPFLAGS'
29155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29164 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29166 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29167 for ac_func in _expf
29168 do :
29169 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29170 if test "x$ac_cv_func__expf" = x""yes; then :
29171 cat >>confdefs.h <<_ACEOF
29172 #define HAVE__EXPF 1
29173 _ACEOF
29176 done
29185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29186 $as_echo_n "checking for isnanf declaration... " >&6; }
29187 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29188 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29189 $as_echo_n "(cached) " >&6
29190 else
29193 ac_ext=cpp
29194 ac_cpp='$CXXCPP $CPPFLAGS'
29195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29200 /* end confdefs.h. */
29201 #include <math.h>
29202 #ifdef HAVE_IEEEFP_H
29203 #include <ieeefp.h>
29204 #endif
29207 main ()
29209 isnanf(0);
29211 return 0;
29213 _ACEOF
29214 if ac_fn_cxx_try_compile "$LINENO"; then :
29215 glibcxx_cv_func_isnanf_use=yes
29216 else
29217 glibcxx_cv_func_isnanf_use=no
29219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29220 ac_ext=c
29221 ac_cpp='$CPP $CPPFLAGS'
29222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29231 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29233 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29234 for ac_func in isnanf
29235 do :
29236 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29237 if test "x$ac_cv_func_isnanf" = x""yes; then :
29238 cat >>confdefs.h <<_ACEOF
29239 #define HAVE_ISNANF 1
29240 _ACEOF
29243 done
29245 else
29247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29248 $as_echo_n "checking for _isnanf declaration... " >&6; }
29249 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29250 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29251 $as_echo_n "(cached) " >&6
29252 else
29255 ac_ext=cpp
29256 ac_cpp='$CXXCPP $CPPFLAGS'
29257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29262 /* end confdefs.h. */
29263 #include <math.h>
29264 #ifdef HAVE_IEEEFP_H
29265 #include <ieeefp.h>
29266 #endif
29269 main ()
29271 _isnanf(0);
29273 return 0;
29275 _ACEOF
29276 if ac_fn_cxx_try_compile "$LINENO"; then :
29277 glibcxx_cv_func__isnanf_use=yes
29278 else
29279 glibcxx_cv_func__isnanf_use=no
29281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29282 ac_ext=c
29283 ac_cpp='$CPP $CPPFLAGS'
29284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29293 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29295 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29296 for ac_func in _isnanf
29297 do :
29298 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29299 if test "x$ac_cv_func__isnanf" = x""yes; then :
29300 cat >>confdefs.h <<_ACEOF
29301 #define HAVE__ISNANF 1
29302 _ACEOF
29305 done
29314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29315 $as_echo_n "checking for isinff declaration... " >&6; }
29316 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29317 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29318 $as_echo_n "(cached) " >&6
29319 else
29322 ac_ext=cpp
29323 ac_cpp='$CXXCPP $CPPFLAGS'
29324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29329 /* end confdefs.h. */
29330 #include <math.h>
29331 #ifdef HAVE_IEEEFP_H
29332 #include <ieeefp.h>
29333 #endif
29336 main ()
29338 isinff(0);
29340 return 0;
29342 _ACEOF
29343 if ac_fn_cxx_try_compile "$LINENO"; then :
29344 glibcxx_cv_func_isinff_use=yes
29345 else
29346 glibcxx_cv_func_isinff_use=no
29348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29349 ac_ext=c
29350 ac_cpp='$CPP $CPPFLAGS'
29351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29360 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29362 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29363 for ac_func in isinff
29364 do :
29365 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29366 if test "x$ac_cv_func_isinff" = x""yes; then :
29367 cat >>confdefs.h <<_ACEOF
29368 #define HAVE_ISINFF 1
29369 _ACEOF
29372 done
29374 else
29376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29377 $as_echo_n "checking for _isinff declaration... " >&6; }
29378 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29379 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29380 $as_echo_n "(cached) " >&6
29381 else
29384 ac_ext=cpp
29385 ac_cpp='$CXXCPP $CPPFLAGS'
29386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29391 /* end confdefs.h. */
29392 #include <math.h>
29393 #ifdef HAVE_IEEEFP_H
29394 #include <ieeefp.h>
29395 #endif
29398 main ()
29400 _isinff(0);
29402 return 0;
29404 _ACEOF
29405 if ac_fn_cxx_try_compile "$LINENO"; then :
29406 glibcxx_cv_func__isinff_use=yes
29407 else
29408 glibcxx_cv_func__isinff_use=no
29410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29411 ac_ext=c
29412 ac_cpp='$CPP $CPPFLAGS'
29413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29422 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29424 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29425 for ac_func in _isinff
29426 do :
29427 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29428 if test "x$ac_cv_func__isinff" = x""yes; then :
29429 cat >>confdefs.h <<_ACEOF
29430 #define HAVE__ISINFF 1
29431 _ACEOF
29434 done
29443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29444 $as_echo_n "checking for atan2f declaration... " >&6; }
29445 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29446 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29447 $as_echo_n "(cached) " >&6
29448 else
29451 ac_ext=cpp
29452 ac_cpp='$CXXCPP $CPPFLAGS'
29453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29458 /* end confdefs.h. */
29459 #include <math.h>
29461 main ()
29463 atan2f(0, 0);
29465 return 0;
29467 _ACEOF
29468 if ac_fn_cxx_try_compile "$LINENO"; then :
29469 glibcxx_cv_func_atan2f_use=yes
29470 else
29471 glibcxx_cv_func_atan2f_use=no
29473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29474 ac_ext=c
29475 ac_cpp='$CPP $CPPFLAGS'
29476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29485 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29487 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29488 for ac_func in atan2f
29489 do :
29490 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29491 if test "x$ac_cv_func_atan2f" = x""yes; then :
29492 cat >>confdefs.h <<_ACEOF
29493 #define HAVE_ATAN2F 1
29494 _ACEOF
29497 done
29499 else
29501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29502 $as_echo_n "checking for _atan2f declaration... " >&6; }
29503 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29504 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29505 $as_echo_n "(cached) " >&6
29506 else
29509 ac_ext=cpp
29510 ac_cpp='$CXXCPP $CPPFLAGS'
29511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29516 /* end confdefs.h. */
29517 #include <math.h>
29519 main ()
29521 _atan2f(0, 0);
29523 return 0;
29525 _ACEOF
29526 if ac_fn_cxx_try_compile "$LINENO"; then :
29527 glibcxx_cv_func__atan2f_use=yes
29528 else
29529 glibcxx_cv_func__atan2f_use=no
29531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29532 ac_ext=c
29533 ac_cpp='$CPP $CPPFLAGS'
29534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29543 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29545 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29546 for ac_func in _atan2f
29547 do :
29548 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29549 if test "x$ac_cv_func__atan2f" = x""yes; then :
29550 cat >>confdefs.h <<_ACEOF
29551 #define HAVE__ATAN2F 1
29552 _ACEOF
29555 done
29564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29565 $as_echo_n "checking for fabsf declaration... " >&6; }
29566 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29567 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29568 $as_echo_n "(cached) " >&6
29569 else
29572 ac_ext=cpp
29573 ac_cpp='$CXXCPP $CPPFLAGS'
29574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29579 /* end confdefs.h. */
29580 #include <math.h>
29581 #ifdef HAVE_IEEEFP_H
29582 #include <ieeefp.h>
29583 #endif
29586 main ()
29588 fabsf(0);
29590 return 0;
29592 _ACEOF
29593 if ac_fn_cxx_try_compile "$LINENO"; then :
29594 glibcxx_cv_func_fabsf_use=yes
29595 else
29596 glibcxx_cv_func_fabsf_use=no
29598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29599 ac_ext=c
29600 ac_cpp='$CPP $CPPFLAGS'
29601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29610 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29612 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29613 for ac_func in fabsf
29614 do :
29615 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29616 if test "x$ac_cv_func_fabsf" = x""yes; then :
29617 cat >>confdefs.h <<_ACEOF
29618 #define HAVE_FABSF 1
29619 _ACEOF
29622 done
29624 else
29626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29627 $as_echo_n "checking for _fabsf declaration... " >&6; }
29628 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29629 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29630 $as_echo_n "(cached) " >&6
29631 else
29634 ac_ext=cpp
29635 ac_cpp='$CXXCPP $CPPFLAGS'
29636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29641 /* end confdefs.h. */
29642 #include <math.h>
29643 #ifdef HAVE_IEEEFP_H
29644 #include <ieeefp.h>
29645 #endif
29648 main ()
29650 _fabsf(0);
29652 return 0;
29654 _ACEOF
29655 if ac_fn_cxx_try_compile "$LINENO"; then :
29656 glibcxx_cv_func__fabsf_use=yes
29657 else
29658 glibcxx_cv_func__fabsf_use=no
29660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29661 ac_ext=c
29662 ac_cpp='$CPP $CPPFLAGS'
29663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29672 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29674 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29675 for ac_func in _fabsf
29676 do :
29677 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29678 if test "x$ac_cv_func__fabsf" = x""yes; then :
29679 cat >>confdefs.h <<_ACEOF
29680 #define HAVE__FABSF 1
29681 _ACEOF
29684 done
29693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29694 $as_echo_n "checking for fmodf declaration... " >&6; }
29695 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29696 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29697 $as_echo_n "(cached) " >&6
29698 else
29701 ac_ext=cpp
29702 ac_cpp='$CXXCPP $CPPFLAGS'
29703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29708 /* end confdefs.h. */
29709 #include <math.h>
29711 main ()
29713 fmodf(0, 0);
29715 return 0;
29717 _ACEOF
29718 if ac_fn_cxx_try_compile "$LINENO"; then :
29719 glibcxx_cv_func_fmodf_use=yes
29720 else
29721 glibcxx_cv_func_fmodf_use=no
29723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29724 ac_ext=c
29725 ac_cpp='$CPP $CPPFLAGS'
29726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29735 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29737 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29738 for ac_func in fmodf
29739 do :
29740 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29741 if test "x$ac_cv_func_fmodf" = x""yes; then :
29742 cat >>confdefs.h <<_ACEOF
29743 #define HAVE_FMODF 1
29744 _ACEOF
29747 done
29749 else
29751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29752 $as_echo_n "checking for _fmodf declaration... " >&6; }
29753 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29754 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29755 $as_echo_n "(cached) " >&6
29756 else
29759 ac_ext=cpp
29760 ac_cpp='$CXXCPP $CPPFLAGS'
29761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29766 /* end confdefs.h. */
29767 #include <math.h>
29769 main ()
29771 _fmodf(0, 0);
29773 return 0;
29775 _ACEOF
29776 if ac_fn_cxx_try_compile "$LINENO"; then :
29777 glibcxx_cv_func__fmodf_use=yes
29778 else
29779 glibcxx_cv_func__fmodf_use=no
29781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29782 ac_ext=c
29783 ac_cpp='$CPP $CPPFLAGS'
29784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29793 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29795 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29796 for ac_func in _fmodf
29797 do :
29798 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29799 if test "x$ac_cv_func__fmodf" = x""yes; then :
29800 cat >>confdefs.h <<_ACEOF
29801 #define HAVE__FMODF 1
29802 _ACEOF
29805 done
29814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29815 $as_echo_n "checking for frexpf declaration... " >&6; }
29816 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29817 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29818 $as_echo_n "(cached) " >&6
29819 else
29822 ac_ext=cpp
29823 ac_cpp='$CXXCPP $CPPFLAGS'
29824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29829 /* end confdefs.h. */
29830 #include <math.h>
29832 main ()
29834 frexpf(0, 0);
29836 return 0;
29838 _ACEOF
29839 if ac_fn_cxx_try_compile "$LINENO"; then :
29840 glibcxx_cv_func_frexpf_use=yes
29841 else
29842 glibcxx_cv_func_frexpf_use=no
29844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29845 ac_ext=c
29846 ac_cpp='$CPP $CPPFLAGS'
29847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29856 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29858 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29859 for ac_func in frexpf
29860 do :
29861 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29862 if test "x$ac_cv_func_frexpf" = x""yes; then :
29863 cat >>confdefs.h <<_ACEOF
29864 #define HAVE_FREXPF 1
29865 _ACEOF
29868 done
29870 else
29872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29873 $as_echo_n "checking for _frexpf declaration... " >&6; }
29874 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29875 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29876 $as_echo_n "(cached) " >&6
29877 else
29880 ac_ext=cpp
29881 ac_cpp='$CXXCPP $CPPFLAGS'
29882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29887 /* end confdefs.h. */
29888 #include <math.h>
29890 main ()
29892 _frexpf(0, 0);
29894 return 0;
29896 _ACEOF
29897 if ac_fn_cxx_try_compile "$LINENO"; then :
29898 glibcxx_cv_func__frexpf_use=yes
29899 else
29900 glibcxx_cv_func__frexpf_use=no
29902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29903 ac_ext=c
29904 ac_cpp='$CPP $CPPFLAGS'
29905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29914 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29916 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29917 for ac_func in _frexpf
29918 do :
29919 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29920 if test "x$ac_cv_func__frexpf" = x""yes; then :
29921 cat >>confdefs.h <<_ACEOF
29922 #define HAVE__FREXPF 1
29923 _ACEOF
29926 done
29935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29936 $as_echo_n "checking for hypotf declaration... " >&6; }
29937 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29938 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29939 $as_echo_n "(cached) " >&6
29940 else
29943 ac_ext=cpp
29944 ac_cpp='$CXXCPP $CPPFLAGS'
29945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29950 /* end confdefs.h. */
29951 #include <math.h>
29953 main ()
29955 hypotf(0, 0);
29957 return 0;
29959 _ACEOF
29960 if ac_fn_cxx_try_compile "$LINENO"; then :
29961 glibcxx_cv_func_hypotf_use=yes
29962 else
29963 glibcxx_cv_func_hypotf_use=no
29965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29966 ac_ext=c
29967 ac_cpp='$CPP $CPPFLAGS'
29968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29977 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29979 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29980 for ac_func in hypotf
29981 do :
29982 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29983 if test "x$ac_cv_func_hypotf" = x""yes; then :
29984 cat >>confdefs.h <<_ACEOF
29985 #define HAVE_HYPOTF 1
29986 _ACEOF
29989 done
29991 else
29993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29994 $as_echo_n "checking for _hypotf declaration... " >&6; }
29995 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29996 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29997 $as_echo_n "(cached) " >&6
29998 else
30001 ac_ext=cpp
30002 ac_cpp='$CXXCPP $CPPFLAGS'
30003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30008 /* end confdefs.h. */
30009 #include <math.h>
30011 main ()
30013 _hypotf(0, 0);
30015 return 0;
30017 _ACEOF
30018 if ac_fn_cxx_try_compile "$LINENO"; then :
30019 glibcxx_cv_func__hypotf_use=yes
30020 else
30021 glibcxx_cv_func__hypotf_use=no
30023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30024 ac_ext=c
30025 ac_cpp='$CPP $CPPFLAGS'
30026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30035 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30037 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30038 for ac_func in _hypotf
30039 do :
30040 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30041 if test "x$ac_cv_func__hypotf" = x""yes; then :
30042 cat >>confdefs.h <<_ACEOF
30043 #define HAVE__HYPOTF 1
30044 _ACEOF
30047 done
30056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30057 $as_echo_n "checking for ldexpf declaration... " >&6; }
30058 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30059 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30060 $as_echo_n "(cached) " >&6
30061 else
30064 ac_ext=cpp
30065 ac_cpp='$CXXCPP $CPPFLAGS'
30066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30071 /* end confdefs.h. */
30072 #include <math.h>
30074 main ()
30076 ldexpf(0, 0);
30078 return 0;
30080 _ACEOF
30081 if ac_fn_cxx_try_compile "$LINENO"; then :
30082 glibcxx_cv_func_ldexpf_use=yes
30083 else
30084 glibcxx_cv_func_ldexpf_use=no
30086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30087 ac_ext=c
30088 ac_cpp='$CPP $CPPFLAGS'
30089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30098 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30100 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30101 for ac_func in ldexpf
30102 do :
30103 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30104 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30105 cat >>confdefs.h <<_ACEOF
30106 #define HAVE_LDEXPF 1
30107 _ACEOF
30110 done
30112 else
30114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30115 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30116 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30117 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30118 $as_echo_n "(cached) " >&6
30119 else
30122 ac_ext=cpp
30123 ac_cpp='$CXXCPP $CPPFLAGS'
30124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30129 /* end confdefs.h. */
30130 #include <math.h>
30132 main ()
30134 _ldexpf(0, 0);
30136 return 0;
30138 _ACEOF
30139 if ac_fn_cxx_try_compile "$LINENO"; then :
30140 glibcxx_cv_func__ldexpf_use=yes
30141 else
30142 glibcxx_cv_func__ldexpf_use=no
30144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30145 ac_ext=c
30146 ac_cpp='$CPP $CPPFLAGS'
30147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30156 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30158 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30159 for ac_func in _ldexpf
30160 do :
30161 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30162 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30163 cat >>confdefs.h <<_ACEOF
30164 #define HAVE__LDEXPF 1
30165 _ACEOF
30168 done
30177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30178 $as_echo_n "checking for logf declaration... " >&6; }
30179 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30180 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30181 $as_echo_n "(cached) " >&6
30182 else
30185 ac_ext=cpp
30186 ac_cpp='$CXXCPP $CPPFLAGS'
30187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30192 /* end confdefs.h. */
30193 #include <math.h>
30194 #ifdef HAVE_IEEEFP_H
30195 #include <ieeefp.h>
30196 #endif
30199 main ()
30201 logf(0);
30203 return 0;
30205 _ACEOF
30206 if ac_fn_cxx_try_compile "$LINENO"; then :
30207 glibcxx_cv_func_logf_use=yes
30208 else
30209 glibcxx_cv_func_logf_use=no
30211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30212 ac_ext=c
30213 ac_cpp='$CPP $CPPFLAGS'
30214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30223 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30225 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30226 for ac_func in logf
30227 do :
30228 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30229 if test "x$ac_cv_func_logf" = x""yes; then :
30230 cat >>confdefs.h <<_ACEOF
30231 #define HAVE_LOGF 1
30232 _ACEOF
30235 done
30237 else
30239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30240 $as_echo_n "checking for _logf declaration... " >&6; }
30241 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30242 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30243 $as_echo_n "(cached) " >&6
30244 else
30247 ac_ext=cpp
30248 ac_cpp='$CXXCPP $CPPFLAGS'
30249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30254 /* end confdefs.h. */
30255 #include <math.h>
30256 #ifdef HAVE_IEEEFP_H
30257 #include <ieeefp.h>
30258 #endif
30261 main ()
30263 _logf(0);
30265 return 0;
30267 _ACEOF
30268 if ac_fn_cxx_try_compile "$LINENO"; then :
30269 glibcxx_cv_func__logf_use=yes
30270 else
30271 glibcxx_cv_func__logf_use=no
30273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30274 ac_ext=c
30275 ac_cpp='$CPP $CPPFLAGS'
30276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30285 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30287 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30288 for ac_func in _logf
30289 do :
30290 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30291 if test "x$ac_cv_func__logf" = x""yes; then :
30292 cat >>confdefs.h <<_ACEOF
30293 #define HAVE__LOGF 1
30294 _ACEOF
30297 done
30306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30307 $as_echo_n "checking for log10f declaration... " >&6; }
30308 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30309 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30310 $as_echo_n "(cached) " >&6
30311 else
30314 ac_ext=cpp
30315 ac_cpp='$CXXCPP $CPPFLAGS'
30316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30321 /* end confdefs.h. */
30322 #include <math.h>
30323 #ifdef HAVE_IEEEFP_H
30324 #include <ieeefp.h>
30325 #endif
30328 main ()
30330 log10f(0);
30332 return 0;
30334 _ACEOF
30335 if ac_fn_cxx_try_compile "$LINENO"; then :
30336 glibcxx_cv_func_log10f_use=yes
30337 else
30338 glibcxx_cv_func_log10f_use=no
30340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30341 ac_ext=c
30342 ac_cpp='$CPP $CPPFLAGS'
30343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30352 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30354 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30355 for ac_func in log10f
30356 do :
30357 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30358 if test "x$ac_cv_func_log10f" = x""yes; then :
30359 cat >>confdefs.h <<_ACEOF
30360 #define HAVE_LOG10F 1
30361 _ACEOF
30364 done
30366 else
30368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30369 $as_echo_n "checking for _log10f declaration... " >&6; }
30370 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30371 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30372 $as_echo_n "(cached) " >&6
30373 else
30376 ac_ext=cpp
30377 ac_cpp='$CXXCPP $CPPFLAGS'
30378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30383 /* end confdefs.h. */
30384 #include <math.h>
30385 #ifdef HAVE_IEEEFP_H
30386 #include <ieeefp.h>
30387 #endif
30390 main ()
30392 _log10f(0);
30394 return 0;
30396 _ACEOF
30397 if ac_fn_cxx_try_compile "$LINENO"; then :
30398 glibcxx_cv_func__log10f_use=yes
30399 else
30400 glibcxx_cv_func__log10f_use=no
30402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30403 ac_ext=c
30404 ac_cpp='$CPP $CPPFLAGS'
30405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30414 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30416 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30417 for ac_func in _log10f
30418 do :
30419 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30420 if test "x$ac_cv_func__log10f" = x""yes; then :
30421 cat >>confdefs.h <<_ACEOF
30422 #define HAVE__LOG10F 1
30423 _ACEOF
30426 done
30435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30436 $as_echo_n "checking for modff declaration... " >&6; }
30437 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30438 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30439 $as_echo_n "(cached) " >&6
30440 else
30443 ac_ext=cpp
30444 ac_cpp='$CXXCPP $CPPFLAGS'
30445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30450 /* end confdefs.h. */
30451 #include <math.h>
30453 main ()
30455 modff(0, 0);
30457 return 0;
30459 _ACEOF
30460 if ac_fn_cxx_try_compile "$LINENO"; then :
30461 glibcxx_cv_func_modff_use=yes
30462 else
30463 glibcxx_cv_func_modff_use=no
30465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30466 ac_ext=c
30467 ac_cpp='$CPP $CPPFLAGS'
30468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30477 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30479 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30480 for ac_func in modff
30481 do :
30482 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30483 if test "x$ac_cv_func_modff" = x""yes; then :
30484 cat >>confdefs.h <<_ACEOF
30485 #define HAVE_MODFF 1
30486 _ACEOF
30489 done
30491 else
30493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30494 $as_echo_n "checking for _modff declaration... " >&6; }
30495 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30496 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30497 $as_echo_n "(cached) " >&6
30498 else
30501 ac_ext=cpp
30502 ac_cpp='$CXXCPP $CPPFLAGS'
30503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30508 /* end confdefs.h. */
30509 #include <math.h>
30511 main ()
30513 _modff(0, 0);
30515 return 0;
30517 _ACEOF
30518 if ac_fn_cxx_try_compile "$LINENO"; then :
30519 glibcxx_cv_func__modff_use=yes
30520 else
30521 glibcxx_cv_func__modff_use=no
30523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30524 ac_ext=c
30525 ac_cpp='$CPP $CPPFLAGS'
30526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30535 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30537 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30538 for ac_func in _modff
30539 do :
30540 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30541 if test "x$ac_cv_func__modff" = x""yes; then :
30542 cat >>confdefs.h <<_ACEOF
30543 #define HAVE__MODFF 1
30544 _ACEOF
30547 done
30556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30557 $as_echo_n "checking for modf declaration... " >&6; }
30558 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30559 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30560 $as_echo_n "(cached) " >&6
30561 else
30564 ac_ext=cpp
30565 ac_cpp='$CXXCPP $CPPFLAGS'
30566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30571 /* end confdefs.h. */
30572 #include <math.h>
30574 main ()
30576 modf(0, 0);
30578 return 0;
30580 _ACEOF
30581 if ac_fn_cxx_try_compile "$LINENO"; then :
30582 glibcxx_cv_func_modf_use=yes
30583 else
30584 glibcxx_cv_func_modf_use=no
30586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30587 ac_ext=c
30588 ac_cpp='$CPP $CPPFLAGS'
30589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30598 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30600 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30601 for ac_func in modf
30602 do :
30603 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30604 if test "x$ac_cv_func_modf" = x""yes; then :
30605 cat >>confdefs.h <<_ACEOF
30606 #define HAVE_MODF 1
30607 _ACEOF
30610 done
30612 else
30614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30615 $as_echo_n "checking for _modf declaration... " >&6; }
30616 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30617 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30618 $as_echo_n "(cached) " >&6
30619 else
30622 ac_ext=cpp
30623 ac_cpp='$CXXCPP $CPPFLAGS'
30624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30629 /* end confdefs.h. */
30630 #include <math.h>
30632 main ()
30634 _modf(0, 0);
30636 return 0;
30638 _ACEOF
30639 if ac_fn_cxx_try_compile "$LINENO"; then :
30640 glibcxx_cv_func__modf_use=yes
30641 else
30642 glibcxx_cv_func__modf_use=no
30644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30645 ac_ext=c
30646 ac_cpp='$CPP $CPPFLAGS'
30647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30656 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30658 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30659 for ac_func in _modf
30660 do :
30661 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30662 if test "x$ac_cv_func__modf" = x""yes; then :
30663 cat >>confdefs.h <<_ACEOF
30664 #define HAVE__MODF 1
30665 _ACEOF
30668 done
30677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30678 $as_echo_n "checking for powf declaration... " >&6; }
30679 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30680 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30681 $as_echo_n "(cached) " >&6
30682 else
30685 ac_ext=cpp
30686 ac_cpp='$CXXCPP $CPPFLAGS'
30687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30692 /* end confdefs.h. */
30693 #include <math.h>
30695 main ()
30697 powf(0, 0);
30699 return 0;
30701 _ACEOF
30702 if ac_fn_cxx_try_compile "$LINENO"; then :
30703 glibcxx_cv_func_powf_use=yes
30704 else
30705 glibcxx_cv_func_powf_use=no
30707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30708 ac_ext=c
30709 ac_cpp='$CPP $CPPFLAGS'
30710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30719 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30721 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30722 for ac_func in powf
30723 do :
30724 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30725 if test "x$ac_cv_func_powf" = x""yes; then :
30726 cat >>confdefs.h <<_ACEOF
30727 #define HAVE_POWF 1
30728 _ACEOF
30731 done
30733 else
30735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30736 $as_echo_n "checking for _powf declaration... " >&6; }
30737 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30738 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30739 $as_echo_n "(cached) " >&6
30740 else
30743 ac_ext=cpp
30744 ac_cpp='$CXXCPP $CPPFLAGS'
30745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30750 /* end confdefs.h. */
30751 #include <math.h>
30753 main ()
30755 _powf(0, 0);
30757 return 0;
30759 _ACEOF
30760 if ac_fn_cxx_try_compile "$LINENO"; then :
30761 glibcxx_cv_func__powf_use=yes
30762 else
30763 glibcxx_cv_func__powf_use=no
30765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30766 ac_ext=c
30767 ac_cpp='$CPP $CPPFLAGS'
30768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30777 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30779 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30780 for ac_func in _powf
30781 do :
30782 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30783 if test "x$ac_cv_func__powf" = x""yes; then :
30784 cat >>confdefs.h <<_ACEOF
30785 #define HAVE__POWF 1
30786 _ACEOF
30789 done
30798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30799 $as_echo_n "checking for sqrtf declaration... " >&6; }
30800 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30801 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30802 $as_echo_n "(cached) " >&6
30803 else
30806 ac_ext=cpp
30807 ac_cpp='$CXXCPP $CPPFLAGS'
30808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30813 /* end confdefs.h. */
30814 #include <math.h>
30815 #ifdef HAVE_IEEEFP_H
30816 #include <ieeefp.h>
30817 #endif
30820 main ()
30822 sqrtf(0);
30824 return 0;
30826 _ACEOF
30827 if ac_fn_cxx_try_compile "$LINENO"; then :
30828 glibcxx_cv_func_sqrtf_use=yes
30829 else
30830 glibcxx_cv_func_sqrtf_use=no
30832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30833 ac_ext=c
30834 ac_cpp='$CPP $CPPFLAGS'
30835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30844 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30846 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30847 for ac_func in sqrtf
30848 do :
30849 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30850 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30851 cat >>confdefs.h <<_ACEOF
30852 #define HAVE_SQRTF 1
30853 _ACEOF
30856 done
30858 else
30860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30861 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30862 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30863 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30864 $as_echo_n "(cached) " >&6
30865 else
30868 ac_ext=cpp
30869 ac_cpp='$CXXCPP $CPPFLAGS'
30870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30875 /* end confdefs.h. */
30876 #include <math.h>
30877 #ifdef HAVE_IEEEFP_H
30878 #include <ieeefp.h>
30879 #endif
30882 main ()
30884 _sqrtf(0);
30886 return 0;
30888 _ACEOF
30889 if ac_fn_cxx_try_compile "$LINENO"; then :
30890 glibcxx_cv_func__sqrtf_use=yes
30891 else
30892 glibcxx_cv_func__sqrtf_use=no
30894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30895 ac_ext=c
30896 ac_cpp='$CPP $CPPFLAGS'
30897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30906 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30908 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30909 for ac_func in _sqrtf
30910 do :
30911 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30912 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30913 cat >>confdefs.h <<_ACEOF
30914 #define HAVE__SQRTF 1
30915 _ACEOF
30918 done
30927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30928 $as_echo_n "checking for sincosf declaration... " >&6; }
30929 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30930 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30931 $as_echo_n "(cached) " >&6
30932 else
30935 ac_ext=cpp
30936 ac_cpp='$CXXCPP $CPPFLAGS'
30937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30942 /* end confdefs.h. */
30943 #include <math.h>
30945 main ()
30947 sincosf(0, 0, 0);
30949 return 0;
30951 _ACEOF
30952 if ac_fn_cxx_try_compile "$LINENO"; then :
30953 glibcxx_cv_func_sincosf_use=yes
30954 else
30955 glibcxx_cv_func_sincosf_use=no
30957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30958 ac_ext=c
30959 ac_cpp='$CPP $CPPFLAGS'
30960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30969 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30971 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30972 for ac_func in sincosf
30973 do :
30974 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30975 if test "x$ac_cv_func_sincosf" = x""yes; then :
30976 cat >>confdefs.h <<_ACEOF
30977 #define HAVE_SINCOSF 1
30978 _ACEOF
30981 done
30983 else
30985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30986 $as_echo_n "checking for _sincosf declaration... " >&6; }
30987 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30988 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30989 $as_echo_n "(cached) " >&6
30990 else
30993 ac_ext=cpp
30994 ac_cpp='$CXXCPP $CPPFLAGS'
30995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31000 /* end confdefs.h. */
31001 #include <math.h>
31003 main ()
31005 _sincosf(0, 0, 0);
31007 return 0;
31009 _ACEOF
31010 if ac_fn_cxx_try_compile "$LINENO"; then :
31011 glibcxx_cv_func__sincosf_use=yes
31012 else
31013 glibcxx_cv_func__sincosf_use=no
31015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31016 ac_ext=c
31017 ac_cpp='$CPP $CPPFLAGS'
31018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31027 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31029 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31030 for ac_func in _sincosf
31031 do :
31032 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31033 if test "x$ac_cv_func__sincosf" = x""yes; then :
31034 cat >>confdefs.h <<_ACEOF
31035 #define HAVE__SINCOSF 1
31036 _ACEOF
31039 done
31048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31049 $as_echo_n "checking for finitef declaration... " >&6; }
31050 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31051 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31052 $as_echo_n "(cached) " >&6
31053 else
31056 ac_ext=cpp
31057 ac_cpp='$CXXCPP $CPPFLAGS'
31058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31063 /* end confdefs.h. */
31064 #include <math.h>
31065 #ifdef HAVE_IEEEFP_H
31066 #include <ieeefp.h>
31067 #endif
31070 main ()
31072 finitef(0);
31074 return 0;
31076 _ACEOF
31077 if ac_fn_cxx_try_compile "$LINENO"; then :
31078 glibcxx_cv_func_finitef_use=yes
31079 else
31080 glibcxx_cv_func_finitef_use=no
31082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31083 ac_ext=c
31084 ac_cpp='$CPP $CPPFLAGS'
31085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31094 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31096 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31097 for ac_func in finitef
31098 do :
31099 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31100 if test "x$ac_cv_func_finitef" = x""yes; then :
31101 cat >>confdefs.h <<_ACEOF
31102 #define HAVE_FINITEF 1
31103 _ACEOF
31106 done
31108 else
31110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31111 $as_echo_n "checking for _finitef declaration... " >&6; }
31112 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31113 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31114 $as_echo_n "(cached) " >&6
31115 else
31118 ac_ext=cpp
31119 ac_cpp='$CXXCPP $CPPFLAGS'
31120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31125 /* end confdefs.h. */
31126 #include <math.h>
31127 #ifdef HAVE_IEEEFP_H
31128 #include <ieeefp.h>
31129 #endif
31132 main ()
31134 _finitef(0);
31136 return 0;
31138 _ACEOF
31139 if ac_fn_cxx_try_compile "$LINENO"; then :
31140 glibcxx_cv_func__finitef_use=yes
31141 else
31142 glibcxx_cv_func__finitef_use=no
31144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31145 ac_ext=c
31146 ac_cpp='$CPP $CPPFLAGS'
31147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31156 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31158 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31159 for ac_func in _finitef
31160 do :
31161 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31162 if test "x$ac_cv_func__finitef" = x""yes; then :
31163 cat >>confdefs.h <<_ACEOF
31164 #define HAVE__FINITEF 1
31165 _ACEOF
31168 done
31177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31178 $as_echo_n "checking for long double trig functions... " >&6; }
31179 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31180 $as_echo_n "(cached) " >&6
31181 else
31184 ac_ext=cpp
31185 ac_cpp='$CXXCPP $CPPFLAGS'
31186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31191 /* end confdefs.h. */
31192 #include <math.h>
31194 main ()
31196 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31198 return 0;
31200 _ACEOF
31201 if ac_fn_cxx_try_compile "$LINENO"; then :
31202 glibcxx_cv_func_long_double_trig_use=yes
31203 else
31204 glibcxx_cv_func_long_double_trig_use=no
31206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31207 ac_ext=c
31208 ac_cpp='$CPP $CPPFLAGS'
31209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31216 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31217 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31218 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31219 do :
31220 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31221 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31222 eval as_val=\$$as_ac_var
31223 if test "x$as_val" = x""yes; then :
31224 cat >>confdefs.h <<_ACEOF
31225 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31226 _ACEOF
31229 done
31231 else
31232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31233 $as_echo_n "checking for _long double trig functions... " >&6; }
31234 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31235 $as_echo_n "(cached) " >&6
31236 else
31239 ac_ext=cpp
31240 ac_cpp='$CXXCPP $CPPFLAGS'
31241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31246 /* end confdefs.h. */
31247 #include <math.h>
31249 main ()
31251 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31253 return 0;
31255 _ACEOF
31256 if ac_fn_cxx_try_compile "$LINENO"; then :
31257 glibcxx_cv_func__long_double_trig_use=yes
31258 else
31259 glibcxx_cv_func__long_double_trig_use=no
31261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31262 ac_ext=c
31263 ac_cpp='$CPP $CPPFLAGS'
31264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31271 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31272 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31273 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31274 do :
31275 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31276 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31277 eval as_val=\$$as_ac_var
31278 if test "x$as_val" = x""yes; then :
31279 cat >>confdefs.h <<_ACEOF
31280 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31281 _ACEOF
31284 done
31293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31294 $as_echo_n "checking for long double round functions... " >&6; }
31295 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31296 $as_echo_n "(cached) " >&6
31297 else
31300 ac_ext=cpp
31301 ac_cpp='$CXXCPP $CPPFLAGS'
31302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31307 /* end confdefs.h. */
31308 #include <math.h>
31310 main ()
31312 ceill (0); floorl (0);
31314 return 0;
31316 _ACEOF
31317 if ac_fn_cxx_try_compile "$LINENO"; then :
31318 glibcxx_cv_func_long_double_round_use=yes
31319 else
31320 glibcxx_cv_func_long_double_round_use=no
31322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31323 ac_ext=c
31324 ac_cpp='$CPP $CPPFLAGS'
31325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31332 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31333 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31334 for ac_func in ceill floorl
31335 do :
31336 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31337 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31338 eval as_val=\$$as_ac_var
31339 if test "x$as_val" = x""yes; then :
31340 cat >>confdefs.h <<_ACEOF
31341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31342 _ACEOF
31345 done
31347 else
31348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31349 $as_echo_n "checking for _long double round functions... " >&6; }
31350 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31351 $as_echo_n "(cached) " >&6
31352 else
31355 ac_ext=cpp
31356 ac_cpp='$CXXCPP $CPPFLAGS'
31357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31362 /* end confdefs.h. */
31363 #include <math.h>
31365 main ()
31367 _ceill (0); _floorl (0);
31369 return 0;
31371 _ACEOF
31372 if ac_fn_cxx_try_compile "$LINENO"; then :
31373 glibcxx_cv_func__long_double_round_use=yes
31374 else
31375 glibcxx_cv_func__long_double_round_use=no
31377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31378 ac_ext=c
31379 ac_cpp='$CPP $CPPFLAGS'
31380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31387 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31388 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31389 for ac_func in _ceill _floorl
31390 do :
31391 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31392 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31393 eval as_val=\$$as_ac_var
31394 if test "x$as_val" = x""yes; then :
31395 cat >>confdefs.h <<_ACEOF
31396 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31397 _ACEOF
31400 done
31410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31411 $as_echo_n "checking for isnanl declaration... " >&6; }
31412 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31413 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31414 $as_echo_n "(cached) " >&6
31415 else
31418 ac_ext=cpp
31419 ac_cpp='$CXXCPP $CPPFLAGS'
31420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31425 /* end confdefs.h. */
31426 #include <math.h>
31427 #ifdef HAVE_IEEEFP_H
31428 #include <ieeefp.h>
31429 #endif
31432 main ()
31434 isnanl(0);
31436 return 0;
31438 _ACEOF
31439 if ac_fn_cxx_try_compile "$LINENO"; then :
31440 glibcxx_cv_func_isnanl_use=yes
31441 else
31442 glibcxx_cv_func_isnanl_use=no
31444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31445 ac_ext=c
31446 ac_cpp='$CPP $CPPFLAGS'
31447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31456 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31458 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31459 for ac_func in isnanl
31460 do :
31461 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31462 if test "x$ac_cv_func_isnanl" = x""yes; then :
31463 cat >>confdefs.h <<_ACEOF
31464 #define HAVE_ISNANL 1
31465 _ACEOF
31468 done
31470 else
31472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31473 $as_echo_n "checking for _isnanl declaration... " >&6; }
31474 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31475 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31476 $as_echo_n "(cached) " >&6
31477 else
31480 ac_ext=cpp
31481 ac_cpp='$CXXCPP $CPPFLAGS'
31482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31487 /* end confdefs.h. */
31488 #include <math.h>
31489 #ifdef HAVE_IEEEFP_H
31490 #include <ieeefp.h>
31491 #endif
31494 main ()
31496 _isnanl(0);
31498 return 0;
31500 _ACEOF
31501 if ac_fn_cxx_try_compile "$LINENO"; then :
31502 glibcxx_cv_func__isnanl_use=yes
31503 else
31504 glibcxx_cv_func__isnanl_use=no
31506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31507 ac_ext=c
31508 ac_cpp='$CPP $CPPFLAGS'
31509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31518 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31520 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31521 for ac_func in _isnanl
31522 do :
31523 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31524 if test "x$ac_cv_func__isnanl" = x""yes; then :
31525 cat >>confdefs.h <<_ACEOF
31526 #define HAVE__ISNANL 1
31527 _ACEOF
31530 done
31539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31540 $as_echo_n "checking for isinfl declaration... " >&6; }
31541 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31542 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31543 $as_echo_n "(cached) " >&6
31544 else
31547 ac_ext=cpp
31548 ac_cpp='$CXXCPP $CPPFLAGS'
31549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31554 /* end confdefs.h. */
31555 #include <math.h>
31556 #ifdef HAVE_IEEEFP_H
31557 #include <ieeefp.h>
31558 #endif
31561 main ()
31563 isinfl(0);
31565 return 0;
31567 _ACEOF
31568 if ac_fn_cxx_try_compile "$LINENO"; then :
31569 glibcxx_cv_func_isinfl_use=yes
31570 else
31571 glibcxx_cv_func_isinfl_use=no
31573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31574 ac_ext=c
31575 ac_cpp='$CPP $CPPFLAGS'
31576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31585 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31587 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31588 for ac_func in isinfl
31589 do :
31590 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31591 if test "x$ac_cv_func_isinfl" = x""yes; then :
31592 cat >>confdefs.h <<_ACEOF
31593 #define HAVE_ISINFL 1
31594 _ACEOF
31597 done
31599 else
31601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31602 $as_echo_n "checking for _isinfl declaration... " >&6; }
31603 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31604 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31605 $as_echo_n "(cached) " >&6
31606 else
31609 ac_ext=cpp
31610 ac_cpp='$CXXCPP $CPPFLAGS'
31611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31616 /* end confdefs.h. */
31617 #include <math.h>
31618 #ifdef HAVE_IEEEFP_H
31619 #include <ieeefp.h>
31620 #endif
31623 main ()
31625 _isinfl(0);
31627 return 0;
31629 _ACEOF
31630 if ac_fn_cxx_try_compile "$LINENO"; then :
31631 glibcxx_cv_func__isinfl_use=yes
31632 else
31633 glibcxx_cv_func__isinfl_use=no
31635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31636 ac_ext=c
31637 ac_cpp='$CPP $CPPFLAGS'
31638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31647 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31649 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31650 for ac_func in _isinfl
31651 do :
31652 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31653 if test "x$ac_cv_func__isinfl" = x""yes; then :
31654 cat >>confdefs.h <<_ACEOF
31655 #define HAVE__ISINFL 1
31656 _ACEOF
31659 done
31668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31669 $as_echo_n "checking for atan2l declaration... " >&6; }
31670 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31671 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31672 $as_echo_n "(cached) " >&6
31673 else
31676 ac_ext=cpp
31677 ac_cpp='$CXXCPP $CPPFLAGS'
31678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31683 /* end confdefs.h. */
31684 #include <math.h>
31686 main ()
31688 atan2l(0, 0);
31690 return 0;
31692 _ACEOF
31693 if ac_fn_cxx_try_compile "$LINENO"; then :
31694 glibcxx_cv_func_atan2l_use=yes
31695 else
31696 glibcxx_cv_func_atan2l_use=no
31698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31699 ac_ext=c
31700 ac_cpp='$CPP $CPPFLAGS'
31701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31710 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31712 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31713 for ac_func in atan2l
31714 do :
31715 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31716 if test "x$ac_cv_func_atan2l" = x""yes; then :
31717 cat >>confdefs.h <<_ACEOF
31718 #define HAVE_ATAN2L 1
31719 _ACEOF
31722 done
31724 else
31726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31727 $as_echo_n "checking for _atan2l declaration... " >&6; }
31728 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31729 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31730 $as_echo_n "(cached) " >&6
31731 else
31734 ac_ext=cpp
31735 ac_cpp='$CXXCPP $CPPFLAGS'
31736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31741 /* end confdefs.h. */
31742 #include <math.h>
31744 main ()
31746 _atan2l(0, 0);
31748 return 0;
31750 _ACEOF
31751 if ac_fn_cxx_try_compile "$LINENO"; then :
31752 glibcxx_cv_func__atan2l_use=yes
31753 else
31754 glibcxx_cv_func__atan2l_use=no
31756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31757 ac_ext=c
31758 ac_cpp='$CPP $CPPFLAGS'
31759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31768 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31770 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31771 for ac_func in _atan2l
31772 do :
31773 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31774 if test "x$ac_cv_func__atan2l" = x""yes; then :
31775 cat >>confdefs.h <<_ACEOF
31776 #define HAVE__ATAN2L 1
31777 _ACEOF
31780 done
31789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31790 $as_echo_n "checking for expl declaration... " >&6; }
31791 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31792 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31793 $as_echo_n "(cached) " >&6
31794 else
31797 ac_ext=cpp
31798 ac_cpp='$CXXCPP $CPPFLAGS'
31799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31804 /* end confdefs.h. */
31805 #include <math.h>
31806 #ifdef HAVE_IEEEFP_H
31807 #include <ieeefp.h>
31808 #endif
31811 main ()
31813 expl(0);
31815 return 0;
31817 _ACEOF
31818 if ac_fn_cxx_try_compile "$LINENO"; then :
31819 glibcxx_cv_func_expl_use=yes
31820 else
31821 glibcxx_cv_func_expl_use=no
31823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31824 ac_ext=c
31825 ac_cpp='$CPP $CPPFLAGS'
31826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31835 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31837 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31838 for ac_func in expl
31839 do :
31840 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31841 if test "x$ac_cv_func_expl" = x""yes; then :
31842 cat >>confdefs.h <<_ACEOF
31843 #define HAVE_EXPL 1
31844 _ACEOF
31847 done
31849 else
31851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31852 $as_echo_n "checking for _expl declaration... " >&6; }
31853 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31854 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31855 $as_echo_n "(cached) " >&6
31856 else
31859 ac_ext=cpp
31860 ac_cpp='$CXXCPP $CPPFLAGS'
31861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31866 /* end confdefs.h. */
31867 #include <math.h>
31868 #ifdef HAVE_IEEEFP_H
31869 #include <ieeefp.h>
31870 #endif
31873 main ()
31875 _expl(0);
31877 return 0;
31879 _ACEOF
31880 if ac_fn_cxx_try_compile "$LINENO"; then :
31881 glibcxx_cv_func__expl_use=yes
31882 else
31883 glibcxx_cv_func__expl_use=no
31885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31886 ac_ext=c
31887 ac_cpp='$CPP $CPPFLAGS'
31888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31897 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31899 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31900 for ac_func in _expl
31901 do :
31902 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31903 if test "x$ac_cv_func__expl" = x""yes; then :
31904 cat >>confdefs.h <<_ACEOF
31905 #define HAVE__EXPL 1
31906 _ACEOF
31909 done
31918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31919 $as_echo_n "checking for fabsl declaration... " >&6; }
31920 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31921 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31922 $as_echo_n "(cached) " >&6
31923 else
31926 ac_ext=cpp
31927 ac_cpp='$CXXCPP $CPPFLAGS'
31928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31933 /* end confdefs.h. */
31934 #include <math.h>
31935 #ifdef HAVE_IEEEFP_H
31936 #include <ieeefp.h>
31937 #endif
31940 main ()
31942 fabsl(0);
31944 return 0;
31946 _ACEOF
31947 if ac_fn_cxx_try_compile "$LINENO"; then :
31948 glibcxx_cv_func_fabsl_use=yes
31949 else
31950 glibcxx_cv_func_fabsl_use=no
31952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31953 ac_ext=c
31954 ac_cpp='$CPP $CPPFLAGS'
31955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31964 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31966 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31967 for ac_func in fabsl
31968 do :
31969 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31970 if test "x$ac_cv_func_fabsl" = x""yes; then :
31971 cat >>confdefs.h <<_ACEOF
31972 #define HAVE_FABSL 1
31973 _ACEOF
31976 done
31978 else
31980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31981 $as_echo_n "checking for _fabsl declaration... " >&6; }
31982 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31983 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31984 $as_echo_n "(cached) " >&6
31985 else
31988 ac_ext=cpp
31989 ac_cpp='$CXXCPP $CPPFLAGS'
31990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31995 /* end confdefs.h. */
31996 #include <math.h>
31997 #ifdef HAVE_IEEEFP_H
31998 #include <ieeefp.h>
31999 #endif
32002 main ()
32004 _fabsl(0);
32006 return 0;
32008 _ACEOF
32009 if ac_fn_cxx_try_compile "$LINENO"; then :
32010 glibcxx_cv_func__fabsl_use=yes
32011 else
32012 glibcxx_cv_func__fabsl_use=no
32014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32015 ac_ext=c
32016 ac_cpp='$CPP $CPPFLAGS'
32017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32026 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32028 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32029 for ac_func in _fabsl
32030 do :
32031 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32032 if test "x$ac_cv_func__fabsl" = x""yes; then :
32033 cat >>confdefs.h <<_ACEOF
32034 #define HAVE__FABSL 1
32035 _ACEOF
32038 done
32047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32048 $as_echo_n "checking for fmodl declaration... " >&6; }
32049 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32050 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32051 $as_echo_n "(cached) " >&6
32052 else
32055 ac_ext=cpp
32056 ac_cpp='$CXXCPP $CPPFLAGS'
32057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32062 /* end confdefs.h. */
32063 #include <math.h>
32065 main ()
32067 fmodl(0, 0);
32069 return 0;
32071 _ACEOF
32072 if ac_fn_cxx_try_compile "$LINENO"; then :
32073 glibcxx_cv_func_fmodl_use=yes
32074 else
32075 glibcxx_cv_func_fmodl_use=no
32077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32078 ac_ext=c
32079 ac_cpp='$CPP $CPPFLAGS'
32080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32089 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32091 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32092 for ac_func in fmodl
32093 do :
32094 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32095 if test "x$ac_cv_func_fmodl" = x""yes; then :
32096 cat >>confdefs.h <<_ACEOF
32097 #define HAVE_FMODL 1
32098 _ACEOF
32101 done
32103 else
32105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32106 $as_echo_n "checking for _fmodl declaration... " >&6; }
32107 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32108 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32109 $as_echo_n "(cached) " >&6
32110 else
32113 ac_ext=cpp
32114 ac_cpp='$CXXCPP $CPPFLAGS'
32115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32120 /* end confdefs.h. */
32121 #include <math.h>
32123 main ()
32125 _fmodl(0, 0);
32127 return 0;
32129 _ACEOF
32130 if ac_fn_cxx_try_compile "$LINENO"; then :
32131 glibcxx_cv_func__fmodl_use=yes
32132 else
32133 glibcxx_cv_func__fmodl_use=no
32135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32136 ac_ext=c
32137 ac_cpp='$CPP $CPPFLAGS'
32138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32147 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32149 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32150 for ac_func in _fmodl
32151 do :
32152 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32153 if test "x$ac_cv_func__fmodl" = x""yes; then :
32154 cat >>confdefs.h <<_ACEOF
32155 #define HAVE__FMODL 1
32156 _ACEOF
32159 done
32168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32169 $as_echo_n "checking for frexpl declaration... " >&6; }
32170 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32171 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32172 $as_echo_n "(cached) " >&6
32173 else
32176 ac_ext=cpp
32177 ac_cpp='$CXXCPP $CPPFLAGS'
32178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32183 /* end confdefs.h. */
32184 #include <math.h>
32186 main ()
32188 frexpl(0, 0);
32190 return 0;
32192 _ACEOF
32193 if ac_fn_cxx_try_compile "$LINENO"; then :
32194 glibcxx_cv_func_frexpl_use=yes
32195 else
32196 glibcxx_cv_func_frexpl_use=no
32198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32199 ac_ext=c
32200 ac_cpp='$CPP $CPPFLAGS'
32201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32210 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32212 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32213 for ac_func in frexpl
32214 do :
32215 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32216 if test "x$ac_cv_func_frexpl" = x""yes; then :
32217 cat >>confdefs.h <<_ACEOF
32218 #define HAVE_FREXPL 1
32219 _ACEOF
32222 done
32224 else
32226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32227 $as_echo_n "checking for _frexpl declaration... " >&6; }
32228 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32229 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32230 $as_echo_n "(cached) " >&6
32231 else
32234 ac_ext=cpp
32235 ac_cpp='$CXXCPP $CPPFLAGS'
32236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32241 /* end confdefs.h. */
32242 #include <math.h>
32244 main ()
32246 _frexpl(0, 0);
32248 return 0;
32250 _ACEOF
32251 if ac_fn_cxx_try_compile "$LINENO"; then :
32252 glibcxx_cv_func__frexpl_use=yes
32253 else
32254 glibcxx_cv_func__frexpl_use=no
32256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32257 ac_ext=c
32258 ac_cpp='$CPP $CPPFLAGS'
32259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32268 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32270 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32271 for ac_func in _frexpl
32272 do :
32273 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32274 if test "x$ac_cv_func__frexpl" = x""yes; then :
32275 cat >>confdefs.h <<_ACEOF
32276 #define HAVE__FREXPL 1
32277 _ACEOF
32280 done
32289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32290 $as_echo_n "checking for hypotl declaration... " >&6; }
32291 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32292 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32293 $as_echo_n "(cached) " >&6
32294 else
32297 ac_ext=cpp
32298 ac_cpp='$CXXCPP $CPPFLAGS'
32299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32304 /* end confdefs.h. */
32305 #include <math.h>
32307 main ()
32309 hypotl(0, 0);
32311 return 0;
32313 _ACEOF
32314 if ac_fn_cxx_try_compile "$LINENO"; then :
32315 glibcxx_cv_func_hypotl_use=yes
32316 else
32317 glibcxx_cv_func_hypotl_use=no
32319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32320 ac_ext=c
32321 ac_cpp='$CPP $CPPFLAGS'
32322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32331 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32333 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32334 for ac_func in hypotl
32335 do :
32336 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32337 if test "x$ac_cv_func_hypotl" = x""yes; then :
32338 cat >>confdefs.h <<_ACEOF
32339 #define HAVE_HYPOTL 1
32340 _ACEOF
32343 done
32345 else
32347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32348 $as_echo_n "checking for _hypotl declaration... " >&6; }
32349 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32350 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32351 $as_echo_n "(cached) " >&6
32352 else
32355 ac_ext=cpp
32356 ac_cpp='$CXXCPP $CPPFLAGS'
32357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32362 /* end confdefs.h. */
32363 #include <math.h>
32365 main ()
32367 _hypotl(0, 0);
32369 return 0;
32371 _ACEOF
32372 if ac_fn_cxx_try_compile "$LINENO"; then :
32373 glibcxx_cv_func__hypotl_use=yes
32374 else
32375 glibcxx_cv_func__hypotl_use=no
32377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32378 ac_ext=c
32379 ac_cpp='$CPP $CPPFLAGS'
32380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32389 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32391 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32392 for ac_func in _hypotl
32393 do :
32394 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32395 if test "x$ac_cv_func__hypotl" = x""yes; then :
32396 cat >>confdefs.h <<_ACEOF
32397 #define HAVE__HYPOTL 1
32398 _ACEOF
32401 done
32410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32411 $as_echo_n "checking for ldexpl declaration... " >&6; }
32412 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32413 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32414 $as_echo_n "(cached) " >&6
32415 else
32418 ac_ext=cpp
32419 ac_cpp='$CXXCPP $CPPFLAGS'
32420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32425 /* end confdefs.h. */
32426 #include <math.h>
32428 main ()
32430 ldexpl(0, 0);
32432 return 0;
32434 _ACEOF
32435 if ac_fn_cxx_try_compile "$LINENO"; then :
32436 glibcxx_cv_func_ldexpl_use=yes
32437 else
32438 glibcxx_cv_func_ldexpl_use=no
32440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32441 ac_ext=c
32442 ac_cpp='$CPP $CPPFLAGS'
32443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32452 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32454 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32455 for ac_func in ldexpl
32456 do :
32457 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32458 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32459 cat >>confdefs.h <<_ACEOF
32460 #define HAVE_LDEXPL 1
32461 _ACEOF
32464 done
32466 else
32468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32469 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32470 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32471 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32472 $as_echo_n "(cached) " >&6
32473 else
32476 ac_ext=cpp
32477 ac_cpp='$CXXCPP $CPPFLAGS'
32478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32483 /* end confdefs.h. */
32484 #include <math.h>
32486 main ()
32488 _ldexpl(0, 0);
32490 return 0;
32492 _ACEOF
32493 if ac_fn_cxx_try_compile "$LINENO"; then :
32494 glibcxx_cv_func__ldexpl_use=yes
32495 else
32496 glibcxx_cv_func__ldexpl_use=no
32498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32499 ac_ext=c
32500 ac_cpp='$CPP $CPPFLAGS'
32501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32510 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32512 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32513 for ac_func in _ldexpl
32514 do :
32515 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32516 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32517 cat >>confdefs.h <<_ACEOF
32518 #define HAVE__LDEXPL 1
32519 _ACEOF
32522 done
32531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32532 $as_echo_n "checking for logl declaration... " >&6; }
32533 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32534 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32535 $as_echo_n "(cached) " >&6
32536 else
32539 ac_ext=cpp
32540 ac_cpp='$CXXCPP $CPPFLAGS'
32541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32546 /* end confdefs.h. */
32547 #include <math.h>
32548 #ifdef HAVE_IEEEFP_H
32549 #include <ieeefp.h>
32550 #endif
32553 main ()
32555 logl(0);
32557 return 0;
32559 _ACEOF
32560 if ac_fn_cxx_try_compile "$LINENO"; then :
32561 glibcxx_cv_func_logl_use=yes
32562 else
32563 glibcxx_cv_func_logl_use=no
32565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32566 ac_ext=c
32567 ac_cpp='$CPP $CPPFLAGS'
32568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32577 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32579 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32580 for ac_func in logl
32581 do :
32582 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32583 if test "x$ac_cv_func_logl" = x""yes; then :
32584 cat >>confdefs.h <<_ACEOF
32585 #define HAVE_LOGL 1
32586 _ACEOF
32589 done
32591 else
32593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32594 $as_echo_n "checking for _logl declaration... " >&6; }
32595 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32596 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32597 $as_echo_n "(cached) " >&6
32598 else
32601 ac_ext=cpp
32602 ac_cpp='$CXXCPP $CPPFLAGS'
32603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32608 /* end confdefs.h. */
32609 #include <math.h>
32610 #ifdef HAVE_IEEEFP_H
32611 #include <ieeefp.h>
32612 #endif
32615 main ()
32617 _logl(0);
32619 return 0;
32621 _ACEOF
32622 if ac_fn_cxx_try_compile "$LINENO"; then :
32623 glibcxx_cv_func__logl_use=yes
32624 else
32625 glibcxx_cv_func__logl_use=no
32627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32628 ac_ext=c
32629 ac_cpp='$CPP $CPPFLAGS'
32630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32639 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32641 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32642 for ac_func in _logl
32643 do :
32644 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32645 if test "x$ac_cv_func__logl" = x""yes; then :
32646 cat >>confdefs.h <<_ACEOF
32647 #define HAVE__LOGL 1
32648 _ACEOF
32651 done
32660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32661 $as_echo_n "checking for log10l declaration... " >&6; }
32662 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32663 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32664 $as_echo_n "(cached) " >&6
32665 else
32668 ac_ext=cpp
32669 ac_cpp='$CXXCPP $CPPFLAGS'
32670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32675 /* end confdefs.h. */
32676 #include <math.h>
32677 #ifdef HAVE_IEEEFP_H
32678 #include <ieeefp.h>
32679 #endif
32682 main ()
32684 log10l(0);
32686 return 0;
32688 _ACEOF
32689 if ac_fn_cxx_try_compile "$LINENO"; then :
32690 glibcxx_cv_func_log10l_use=yes
32691 else
32692 glibcxx_cv_func_log10l_use=no
32694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32695 ac_ext=c
32696 ac_cpp='$CPP $CPPFLAGS'
32697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32706 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32708 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32709 for ac_func in log10l
32710 do :
32711 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32712 if test "x$ac_cv_func_log10l" = x""yes; then :
32713 cat >>confdefs.h <<_ACEOF
32714 #define HAVE_LOG10L 1
32715 _ACEOF
32718 done
32720 else
32722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32723 $as_echo_n "checking for _log10l declaration... " >&6; }
32724 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32725 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32726 $as_echo_n "(cached) " >&6
32727 else
32730 ac_ext=cpp
32731 ac_cpp='$CXXCPP $CPPFLAGS'
32732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32737 /* end confdefs.h. */
32738 #include <math.h>
32739 #ifdef HAVE_IEEEFP_H
32740 #include <ieeefp.h>
32741 #endif
32744 main ()
32746 _log10l(0);
32748 return 0;
32750 _ACEOF
32751 if ac_fn_cxx_try_compile "$LINENO"; then :
32752 glibcxx_cv_func__log10l_use=yes
32753 else
32754 glibcxx_cv_func__log10l_use=no
32756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32757 ac_ext=c
32758 ac_cpp='$CPP $CPPFLAGS'
32759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32768 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32770 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32771 for ac_func in _log10l
32772 do :
32773 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32774 if test "x$ac_cv_func__log10l" = x""yes; then :
32775 cat >>confdefs.h <<_ACEOF
32776 #define HAVE__LOG10L 1
32777 _ACEOF
32780 done
32789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32790 $as_echo_n "checking for modfl declaration... " >&6; }
32791 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32792 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32793 $as_echo_n "(cached) " >&6
32794 else
32797 ac_ext=cpp
32798 ac_cpp='$CXXCPP $CPPFLAGS'
32799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32804 /* end confdefs.h. */
32805 #include <math.h>
32807 main ()
32809 modfl(0, 0);
32811 return 0;
32813 _ACEOF
32814 if ac_fn_cxx_try_compile "$LINENO"; then :
32815 glibcxx_cv_func_modfl_use=yes
32816 else
32817 glibcxx_cv_func_modfl_use=no
32819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32820 ac_ext=c
32821 ac_cpp='$CPP $CPPFLAGS'
32822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32831 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32833 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32834 for ac_func in modfl
32835 do :
32836 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32837 if test "x$ac_cv_func_modfl" = x""yes; then :
32838 cat >>confdefs.h <<_ACEOF
32839 #define HAVE_MODFL 1
32840 _ACEOF
32843 done
32845 else
32847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32848 $as_echo_n "checking for _modfl declaration... " >&6; }
32849 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32850 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32851 $as_echo_n "(cached) " >&6
32852 else
32855 ac_ext=cpp
32856 ac_cpp='$CXXCPP $CPPFLAGS'
32857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32862 /* end confdefs.h. */
32863 #include <math.h>
32865 main ()
32867 _modfl(0, 0);
32869 return 0;
32871 _ACEOF
32872 if ac_fn_cxx_try_compile "$LINENO"; then :
32873 glibcxx_cv_func__modfl_use=yes
32874 else
32875 glibcxx_cv_func__modfl_use=no
32877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32878 ac_ext=c
32879 ac_cpp='$CPP $CPPFLAGS'
32880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32889 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32891 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32892 for ac_func in _modfl
32893 do :
32894 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32895 if test "x$ac_cv_func__modfl" = x""yes; then :
32896 cat >>confdefs.h <<_ACEOF
32897 #define HAVE__MODFL 1
32898 _ACEOF
32901 done
32910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32911 $as_echo_n "checking for powl declaration... " >&6; }
32912 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32913 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32914 $as_echo_n "(cached) " >&6
32915 else
32918 ac_ext=cpp
32919 ac_cpp='$CXXCPP $CPPFLAGS'
32920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32925 /* end confdefs.h. */
32926 #include <math.h>
32928 main ()
32930 powl(0, 0);
32932 return 0;
32934 _ACEOF
32935 if ac_fn_cxx_try_compile "$LINENO"; then :
32936 glibcxx_cv_func_powl_use=yes
32937 else
32938 glibcxx_cv_func_powl_use=no
32940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32941 ac_ext=c
32942 ac_cpp='$CPP $CPPFLAGS'
32943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32952 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32954 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32955 for ac_func in powl
32956 do :
32957 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32958 if test "x$ac_cv_func_powl" = x""yes; then :
32959 cat >>confdefs.h <<_ACEOF
32960 #define HAVE_POWL 1
32961 _ACEOF
32964 done
32966 else
32968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32969 $as_echo_n "checking for _powl declaration... " >&6; }
32970 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32971 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32972 $as_echo_n "(cached) " >&6
32973 else
32976 ac_ext=cpp
32977 ac_cpp='$CXXCPP $CPPFLAGS'
32978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32983 /* end confdefs.h. */
32984 #include <math.h>
32986 main ()
32988 _powl(0, 0);
32990 return 0;
32992 _ACEOF
32993 if ac_fn_cxx_try_compile "$LINENO"; then :
32994 glibcxx_cv_func__powl_use=yes
32995 else
32996 glibcxx_cv_func__powl_use=no
32998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32999 ac_ext=c
33000 ac_cpp='$CPP $CPPFLAGS'
33001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33010 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33012 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33013 for ac_func in _powl
33014 do :
33015 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33016 if test "x$ac_cv_func__powl" = x""yes; then :
33017 cat >>confdefs.h <<_ACEOF
33018 #define HAVE__POWL 1
33019 _ACEOF
33022 done
33031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33032 $as_echo_n "checking for sqrtl declaration... " >&6; }
33033 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33034 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33035 $as_echo_n "(cached) " >&6
33036 else
33039 ac_ext=cpp
33040 ac_cpp='$CXXCPP $CPPFLAGS'
33041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33046 /* end confdefs.h. */
33047 #include <math.h>
33048 #ifdef HAVE_IEEEFP_H
33049 #include <ieeefp.h>
33050 #endif
33053 main ()
33055 sqrtl(0);
33057 return 0;
33059 _ACEOF
33060 if ac_fn_cxx_try_compile "$LINENO"; then :
33061 glibcxx_cv_func_sqrtl_use=yes
33062 else
33063 glibcxx_cv_func_sqrtl_use=no
33065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33066 ac_ext=c
33067 ac_cpp='$CPP $CPPFLAGS'
33068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33077 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33079 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33080 for ac_func in sqrtl
33081 do :
33082 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33083 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33084 cat >>confdefs.h <<_ACEOF
33085 #define HAVE_SQRTL 1
33086 _ACEOF
33089 done
33091 else
33093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33094 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33095 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33096 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33097 $as_echo_n "(cached) " >&6
33098 else
33101 ac_ext=cpp
33102 ac_cpp='$CXXCPP $CPPFLAGS'
33103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33108 /* end confdefs.h. */
33109 #include <math.h>
33110 #ifdef HAVE_IEEEFP_H
33111 #include <ieeefp.h>
33112 #endif
33115 main ()
33117 _sqrtl(0);
33119 return 0;
33121 _ACEOF
33122 if ac_fn_cxx_try_compile "$LINENO"; then :
33123 glibcxx_cv_func__sqrtl_use=yes
33124 else
33125 glibcxx_cv_func__sqrtl_use=no
33127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33128 ac_ext=c
33129 ac_cpp='$CPP $CPPFLAGS'
33130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33139 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33141 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33142 for ac_func in _sqrtl
33143 do :
33144 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33145 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33146 cat >>confdefs.h <<_ACEOF
33147 #define HAVE__SQRTL 1
33148 _ACEOF
33151 done
33160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33161 $as_echo_n "checking for sincosl declaration... " >&6; }
33162 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33163 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33164 $as_echo_n "(cached) " >&6
33165 else
33168 ac_ext=cpp
33169 ac_cpp='$CXXCPP $CPPFLAGS'
33170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33175 /* end confdefs.h. */
33176 #include <math.h>
33178 main ()
33180 sincosl(0, 0, 0);
33182 return 0;
33184 _ACEOF
33185 if ac_fn_cxx_try_compile "$LINENO"; then :
33186 glibcxx_cv_func_sincosl_use=yes
33187 else
33188 glibcxx_cv_func_sincosl_use=no
33190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33191 ac_ext=c
33192 ac_cpp='$CPP $CPPFLAGS'
33193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33202 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33204 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33205 for ac_func in sincosl
33206 do :
33207 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33208 if test "x$ac_cv_func_sincosl" = x""yes; then :
33209 cat >>confdefs.h <<_ACEOF
33210 #define HAVE_SINCOSL 1
33211 _ACEOF
33214 done
33216 else
33218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33219 $as_echo_n "checking for _sincosl declaration... " >&6; }
33220 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33221 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33222 $as_echo_n "(cached) " >&6
33223 else
33226 ac_ext=cpp
33227 ac_cpp='$CXXCPP $CPPFLAGS'
33228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33233 /* end confdefs.h. */
33234 #include <math.h>
33236 main ()
33238 _sincosl(0, 0, 0);
33240 return 0;
33242 _ACEOF
33243 if ac_fn_cxx_try_compile "$LINENO"; then :
33244 glibcxx_cv_func__sincosl_use=yes
33245 else
33246 glibcxx_cv_func__sincosl_use=no
33248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33249 ac_ext=c
33250 ac_cpp='$CPP $CPPFLAGS'
33251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33260 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33262 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33263 for ac_func in _sincosl
33264 do :
33265 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33266 if test "x$ac_cv_func__sincosl" = x""yes; then :
33267 cat >>confdefs.h <<_ACEOF
33268 #define HAVE__SINCOSL 1
33269 _ACEOF
33272 done
33281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33282 $as_echo_n "checking for finitel declaration... " >&6; }
33283 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33284 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33285 $as_echo_n "(cached) " >&6
33286 else
33289 ac_ext=cpp
33290 ac_cpp='$CXXCPP $CPPFLAGS'
33291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33296 /* end confdefs.h. */
33297 #include <math.h>
33298 #ifdef HAVE_IEEEFP_H
33299 #include <ieeefp.h>
33300 #endif
33303 main ()
33305 finitel(0);
33307 return 0;
33309 _ACEOF
33310 if ac_fn_cxx_try_compile "$LINENO"; then :
33311 glibcxx_cv_func_finitel_use=yes
33312 else
33313 glibcxx_cv_func_finitel_use=no
33315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33316 ac_ext=c
33317 ac_cpp='$CPP $CPPFLAGS'
33318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33327 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33329 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33330 for ac_func in finitel
33331 do :
33332 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33333 if test "x$ac_cv_func_finitel" = x""yes; then :
33334 cat >>confdefs.h <<_ACEOF
33335 #define HAVE_FINITEL 1
33336 _ACEOF
33339 done
33341 else
33343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33344 $as_echo_n "checking for _finitel declaration... " >&6; }
33345 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33346 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33347 $as_echo_n "(cached) " >&6
33348 else
33351 ac_ext=cpp
33352 ac_cpp='$CXXCPP $CPPFLAGS'
33353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33358 /* end confdefs.h. */
33359 #include <math.h>
33360 #ifdef HAVE_IEEEFP_H
33361 #include <ieeefp.h>
33362 #endif
33365 main ()
33367 _finitel(0);
33369 return 0;
33371 _ACEOF
33372 if ac_fn_cxx_try_compile "$LINENO"; then :
33373 glibcxx_cv_func__finitel_use=yes
33374 else
33375 glibcxx_cv_func__finitel_use=no
33377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33378 ac_ext=c
33379 ac_cpp='$CPP $CPPFLAGS'
33380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33389 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33391 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33392 for ac_func in _finitel
33393 do :
33394 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33395 if test "x$ac_cv_func__finitel" = x""yes; then :
33396 cat >>confdefs.h <<_ACEOF
33397 #define HAVE__FINITEL 1
33398 _ACEOF
33401 done
33409 LIBS="$ac_save_LIBS"
33410 CXXFLAGS="$ac_save_CXXFLAGS"
33413 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33414 ac_save_CXXFLAGS="$CXXFLAGS"
33415 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33419 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33420 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33421 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33422 $as_echo_n "(cached) " >&6
33423 else
33426 ac_ext=cpp
33427 ac_cpp='$CXXCPP $CPPFLAGS'
33428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33433 /* end confdefs.h. */
33434 #include <stdlib.h>
33436 main ()
33438 at_quick_exit(0);
33440 return 0;
33442 _ACEOF
33443 if ac_fn_cxx_try_compile "$LINENO"; then :
33444 glibcxx_cv_func_at_quick_exit_use=yes
33445 else
33446 glibcxx_cv_func_at_quick_exit_use=no
33448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33449 ac_ext=c
33450 ac_cpp='$CPP $CPPFLAGS'
33451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33460 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33461 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33462 for ac_func in at_quick_exit
33463 do :
33464 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33465 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33466 cat >>confdefs.h <<_ACEOF
33467 #define HAVE_AT_QUICK_EXIT 1
33468 _ACEOF
33471 done
33476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33477 $as_echo_n "checking for quick_exit declaration... " >&6; }
33478 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33479 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33480 $as_echo_n "(cached) " >&6
33481 else
33484 ac_ext=cpp
33485 ac_cpp='$CXXCPP $CPPFLAGS'
33486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33491 /* end confdefs.h. */
33492 #include <stdlib.h>
33494 main ()
33496 quick_exit(0);
33498 return 0;
33500 _ACEOF
33501 if ac_fn_cxx_try_compile "$LINENO"; then :
33502 glibcxx_cv_func_quick_exit_use=yes
33503 else
33504 glibcxx_cv_func_quick_exit_use=no
33506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33507 ac_ext=c
33508 ac_cpp='$CPP $CPPFLAGS'
33509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33518 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33519 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33520 for ac_func in quick_exit
33521 do :
33522 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33523 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33524 cat >>confdefs.h <<_ACEOF
33525 #define HAVE_QUICK_EXIT 1
33526 _ACEOF
33529 done
33534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33535 $as_echo_n "checking for strtold declaration... " >&6; }
33536 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33537 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33538 $as_echo_n "(cached) " >&6
33539 else
33542 ac_ext=cpp
33543 ac_cpp='$CXXCPP $CPPFLAGS'
33544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33549 /* end confdefs.h. */
33550 #include <stdlib.h>
33552 main ()
33554 strtold(0, 0);
33556 return 0;
33558 _ACEOF
33559 if ac_fn_cxx_try_compile "$LINENO"; then :
33560 glibcxx_cv_func_strtold_use=yes
33561 else
33562 glibcxx_cv_func_strtold_use=no
33564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33565 ac_ext=c
33566 ac_cpp='$CPP $CPPFLAGS'
33567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33576 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33577 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33578 for ac_func in strtold
33579 do :
33580 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33581 if test "x$ac_cv_func_strtold" = x""yes; then :
33582 cat >>confdefs.h <<_ACEOF
33583 #define HAVE_STRTOLD 1
33584 _ACEOF
33587 done
33594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33595 $as_echo_n "checking for strtof declaration... " >&6; }
33596 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33597 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33598 $as_echo_n "(cached) " >&6
33599 else
33602 ac_ext=cpp
33603 ac_cpp='$CXXCPP $CPPFLAGS'
33604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33609 /* end confdefs.h. */
33610 #include <stdlib.h>
33612 main ()
33614 strtof(0, 0);
33616 return 0;
33618 _ACEOF
33619 if ac_fn_cxx_try_compile "$LINENO"; then :
33620 glibcxx_cv_func_strtof_use=yes
33621 else
33622 glibcxx_cv_func_strtof_use=no
33624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33625 ac_ext=c
33626 ac_cpp='$CPP $CPPFLAGS'
33627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33636 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33637 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33638 for ac_func in strtof
33639 do :
33640 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33641 if test "x$ac_cv_func_strtof" = x""yes; then :
33642 cat >>confdefs.h <<_ACEOF
33643 #define HAVE_STRTOF 1
33644 _ACEOF
33647 done
33654 CXXFLAGS="$ac_save_CXXFLAGS"
33657 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33659 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33661 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33663 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33666 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33668 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33670 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33674 *-aix*)
33676 # If we're not using GNU ld, then there's no point in even trying these
33677 # tests. Check for that first. We should have already tested for gld
33678 # by now (in libtool), but require it now just to be safe...
33679 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33680 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33684 # The name set by libtool depends on the version of libtool. Shame on us
33685 # for depending on an impl detail, but c'est la vie. Older versions used
33686 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33687 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33688 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33689 # set (hence we're using an older libtool), then set it.
33690 if test x${with_gnu_ld+set} != xset; then
33691 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33692 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33693 with_gnu_ld=no
33694 else
33695 with_gnu_ld=$ac_cv_prog_gnu_ld
33699 # Start by getting the version number. I think the libtool test already
33700 # does some of this, but throws away the result.
33701 glibcxx_ld_is_gold=no
33702 if test x"$with_gnu_ld" = x"yes"; then
33703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33704 $as_echo_n "checking for ld version... " >&6; }
33706 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33707 glibcxx_ld_is_gold=yes
33709 ldver=`$LD --version 2>/dev/null |
33710 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
33712 glibcxx_gnu_ld_version=`echo $ldver | \
33713 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33715 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33718 # Set --gc-sections.
33719 glibcxx_have_gc_sections=no
33720 if test "$glibcxx_ld_is_gold" = "yes"; then
33721 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33722 glibcxx_have_gc_sections=yes
33724 else
33725 glibcxx_gcsections_min_ld=21602
33726 if test x"$with_gnu_ld" = x"yes" &&
33727 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33728 glibcxx_have_gc_sections=yes
33731 if test "$glibcxx_have_gc_sections" = "yes"; then
33732 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33733 # NB: This flag only works reliably after 2.16.1. Configure tests
33734 # for this are difficult, so hard wire a value that should work.
33736 ac_test_CFLAGS="${CFLAGS+set}"
33737 ac_save_CFLAGS="$CFLAGS"
33738 CFLAGS='-Wl,--gc-sections'
33740 # Check for -Wl,--gc-sections
33741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33742 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33743 if test x$gcc_no_link = xyes; then
33744 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33747 /* end confdefs.h. */
33748 int one(void) { return 1; }
33749 int two(void) { return 2; }
33752 main ()
33754 two();
33756 return 0;
33758 _ACEOF
33759 if ac_fn_c_try_link "$LINENO"; then :
33760 ac_gcsections=yes
33761 else
33762 ac_gcsections=no
33764 rm -f core conftest.err conftest.$ac_objext \
33765 conftest$ac_exeext conftest.$ac_ext
33766 if test "$ac_gcsections" = "yes"; then
33767 rm -f conftest.c
33768 touch conftest.c
33769 if $CC -c conftest.c; then
33770 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33771 grep "Warning: gc-sections option ignored" > /dev/null; then
33772 ac_gcsections=no
33775 rm -f conftest.c conftest.o conftest
33777 if test "$ac_gcsections" = "yes"; then
33778 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33781 $as_echo "$ac_gcsections" >&6; }
33783 if test "$ac_test_CFLAGS" = set; then
33784 CFLAGS="$ac_save_CFLAGS"
33785 else
33786 # this is the suspicious part
33787 CFLAGS=''
33791 # Set -z,relro.
33792 # Note this is only for shared objects.
33793 ac_ld_relro=no
33794 if test x"$with_gnu_ld" = x"yes"; then
33795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33796 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33797 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33798 if test -n "$cxx_z_relo"; then
33799 OPT_LDFLAGS="-Wl,-z,relro"
33800 ac_ld_relro=yes
33802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33803 $as_echo "$ac_ld_relro" >&6; }
33806 # Set linker optimization flags.
33807 if test x"$with_gnu_ld" = x"yes"; then
33808 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33815 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33816 ac_save_CXXFLAGS="$CXXFLAGS"
33817 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33820 $as_echo_n "checking for sin in -lm... " >&6; }
33821 if test "${ac_cv_lib_m_sin+set}" = set; then :
33822 $as_echo_n "(cached) " >&6
33823 else
33824 ac_check_lib_save_LIBS=$LIBS
33825 LIBS="-lm $LIBS"
33826 if test x$gcc_no_link = xyes; then
33827 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33830 /* end confdefs.h. */
33832 /* Override any GCC internal prototype to avoid an error.
33833 Use char because int might match the return type of a GCC
33834 builtin and then its argument prototype would still apply. */
33835 #ifdef __cplusplus
33836 extern "C"
33837 #endif
33838 char sin ();
33840 main ()
33842 return sin ();
33844 return 0;
33846 _ACEOF
33847 if ac_fn_c_try_link "$LINENO"; then :
33848 ac_cv_lib_m_sin=yes
33849 else
33850 ac_cv_lib_m_sin=no
33852 rm -f core conftest.err conftest.$ac_objext \
33853 conftest$ac_exeext conftest.$ac_ext
33854 LIBS=$ac_check_lib_save_LIBS
33856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33857 $as_echo "$ac_cv_lib_m_sin" >&6; }
33858 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33859 libm="-lm"
33862 ac_save_LIBS="$LIBS"
33863 LIBS="$LIBS $libm"
33867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33868 $as_echo_n "checking for isinf declaration... " >&6; }
33869 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33870 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33871 $as_echo_n "(cached) " >&6
33872 else
33875 ac_ext=cpp
33876 ac_cpp='$CXXCPP $CPPFLAGS'
33877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33882 /* end confdefs.h. */
33883 #include <math.h>
33884 #ifdef HAVE_IEEEFP_H
33885 #include <ieeefp.h>
33886 #endif
33889 main ()
33891 isinf(0);
33893 return 0;
33895 _ACEOF
33896 if ac_fn_cxx_try_compile "$LINENO"; then :
33897 glibcxx_cv_func_isinf_use=yes
33898 else
33899 glibcxx_cv_func_isinf_use=no
33901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33902 ac_ext=c
33903 ac_cpp='$CPP $CPPFLAGS'
33904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33913 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33915 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33916 for ac_func in isinf
33917 do :
33918 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33919 if test "x$ac_cv_func_isinf" = x""yes; then :
33920 cat >>confdefs.h <<_ACEOF
33921 #define HAVE_ISINF 1
33922 _ACEOF
33925 done
33927 else
33929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33930 $as_echo_n "checking for _isinf declaration... " >&6; }
33931 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33932 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33933 $as_echo_n "(cached) " >&6
33934 else
33937 ac_ext=cpp
33938 ac_cpp='$CXXCPP $CPPFLAGS'
33939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33944 /* end confdefs.h. */
33945 #include <math.h>
33946 #ifdef HAVE_IEEEFP_H
33947 #include <ieeefp.h>
33948 #endif
33951 main ()
33953 _isinf(0);
33955 return 0;
33957 _ACEOF
33958 if ac_fn_cxx_try_compile "$LINENO"; then :
33959 glibcxx_cv_func__isinf_use=yes
33960 else
33961 glibcxx_cv_func__isinf_use=no
33963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33964 ac_ext=c
33965 ac_cpp='$CPP $CPPFLAGS'
33966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33975 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33977 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33978 for ac_func in _isinf
33979 do :
33980 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33981 if test "x$ac_cv_func__isinf" = x""yes; then :
33982 cat >>confdefs.h <<_ACEOF
33983 #define HAVE__ISINF 1
33984 _ACEOF
33987 done
33996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33997 $as_echo_n "checking for isnan declaration... " >&6; }
33998 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33999 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34000 $as_echo_n "(cached) " >&6
34001 else
34004 ac_ext=cpp
34005 ac_cpp='$CXXCPP $CPPFLAGS'
34006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34011 /* end confdefs.h. */
34012 #include <math.h>
34013 #ifdef HAVE_IEEEFP_H
34014 #include <ieeefp.h>
34015 #endif
34018 main ()
34020 isnan(0);
34022 return 0;
34024 _ACEOF
34025 if ac_fn_cxx_try_compile "$LINENO"; then :
34026 glibcxx_cv_func_isnan_use=yes
34027 else
34028 glibcxx_cv_func_isnan_use=no
34030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34031 ac_ext=c
34032 ac_cpp='$CPP $CPPFLAGS'
34033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34042 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34044 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34045 for ac_func in isnan
34046 do :
34047 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34048 if test "x$ac_cv_func_isnan" = x""yes; then :
34049 cat >>confdefs.h <<_ACEOF
34050 #define HAVE_ISNAN 1
34051 _ACEOF
34054 done
34056 else
34058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34059 $as_echo_n "checking for _isnan declaration... " >&6; }
34060 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34061 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34062 $as_echo_n "(cached) " >&6
34063 else
34066 ac_ext=cpp
34067 ac_cpp='$CXXCPP $CPPFLAGS'
34068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34073 /* end confdefs.h. */
34074 #include <math.h>
34075 #ifdef HAVE_IEEEFP_H
34076 #include <ieeefp.h>
34077 #endif
34080 main ()
34082 _isnan(0);
34084 return 0;
34086 _ACEOF
34087 if ac_fn_cxx_try_compile "$LINENO"; then :
34088 glibcxx_cv_func__isnan_use=yes
34089 else
34090 glibcxx_cv_func__isnan_use=no
34092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34093 ac_ext=c
34094 ac_cpp='$CPP $CPPFLAGS'
34095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34104 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34106 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34107 for ac_func in _isnan
34108 do :
34109 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34110 if test "x$ac_cv_func__isnan" = x""yes; then :
34111 cat >>confdefs.h <<_ACEOF
34112 #define HAVE__ISNAN 1
34113 _ACEOF
34116 done
34125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34126 $as_echo_n "checking for finite declaration... " >&6; }
34127 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34128 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34129 $as_echo_n "(cached) " >&6
34130 else
34133 ac_ext=cpp
34134 ac_cpp='$CXXCPP $CPPFLAGS'
34135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34140 /* end confdefs.h. */
34141 #include <math.h>
34142 #ifdef HAVE_IEEEFP_H
34143 #include <ieeefp.h>
34144 #endif
34147 main ()
34149 finite(0);
34151 return 0;
34153 _ACEOF
34154 if ac_fn_cxx_try_compile "$LINENO"; then :
34155 glibcxx_cv_func_finite_use=yes
34156 else
34157 glibcxx_cv_func_finite_use=no
34159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34160 ac_ext=c
34161 ac_cpp='$CPP $CPPFLAGS'
34162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34171 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34173 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34174 for ac_func in finite
34175 do :
34176 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34177 if test "x$ac_cv_func_finite" = x""yes; then :
34178 cat >>confdefs.h <<_ACEOF
34179 #define HAVE_FINITE 1
34180 _ACEOF
34183 done
34185 else
34187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34188 $as_echo_n "checking for _finite declaration... " >&6; }
34189 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34190 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34191 $as_echo_n "(cached) " >&6
34192 else
34195 ac_ext=cpp
34196 ac_cpp='$CXXCPP $CPPFLAGS'
34197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34202 /* end confdefs.h. */
34203 #include <math.h>
34204 #ifdef HAVE_IEEEFP_H
34205 #include <ieeefp.h>
34206 #endif
34209 main ()
34211 _finite(0);
34213 return 0;
34215 _ACEOF
34216 if ac_fn_cxx_try_compile "$LINENO"; then :
34217 glibcxx_cv_func__finite_use=yes
34218 else
34219 glibcxx_cv_func__finite_use=no
34221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34222 ac_ext=c
34223 ac_cpp='$CPP $CPPFLAGS'
34224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34233 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34235 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34236 for ac_func in _finite
34237 do :
34238 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34239 if test "x$ac_cv_func__finite" = x""yes; then :
34240 cat >>confdefs.h <<_ACEOF
34241 #define HAVE__FINITE 1
34242 _ACEOF
34245 done
34254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34255 $as_echo_n "checking for sincos declaration... " >&6; }
34256 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34257 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34258 $as_echo_n "(cached) " >&6
34259 else
34262 ac_ext=cpp
34263 ac_cpp='$CXXCPP $CPPFLAGS'
34264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34269 /* end confdefs.h. */
34270 #include <math.h>
34272 main ()
34274 sincos(0, 0, 0);
34276 return 0;
34278 _ACEOF
34279 if ac_fn_cxx_try_compile "$LINENO"; then :
34280 glibcxx_cv_func_sincos_use=yes
34281 else
34282 glibcxx_cv_func_sincos_use=no
34284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34285 ac_ext=c
34286 ac_cpp='$CPP $CPPFLAGS'
34287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34296 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34298 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34299 for ac_func in sincos
34300 do :
34301 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34302 if test "x$ac_cv_func_sincos" = x""yes; then :
34303 cat >>confdefs.h <<_ACEOF
34304 #define HAVE_SINCOS 1
34305 _ACEOF
34308 done
34310 else
34312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34313 $as_echo_n "checking for _sincos declaration... " >&6; }
34314 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34315 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34316 $as_echo_n "(cached) " >&6
34317 else
34320 ac_ext=cpp
34321 ac_cpp='$CXXCPP $CPPFLAGS'
34322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34327 /* end confdefs.h. */
34328 #include <math.h>
34330 main ()
34332 _sincos(0, 0, 0);
34334 return 0;
34336 _ACEOF
34337 if ac_fn_cxx_try_compile "$LINENO"; then :
34338 glibcxx_cv_func__sincos_use=yes
34339 else
34340 glibcxx_cv_func__sincos_use=no
34342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34343 ac_ext=c
34344 ac_cpp='$CPP $CPPFLAGS'
34345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34354 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34356 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34357 for ac_func in _sincos
34358 do :
34359 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34360 if test "x$ac_cv_func__sincos" = x""yes; then :
34361 cat >>confdefs.h <<_ACEOF
34362 #define HAVE__SINCOS 1
34363 _ACEOF
34366 done
34375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34376 $as_echo_n "checking for fpclass declaration... " >&6; }
34377 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34378 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34379 $as_echo_n "(cached) " >&6
34380 else
34383 ac_ext=cpp
34384 ac_cpp='$CXXCPP $CPPFLAGS'
34385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34390 /* end confdefs.h. */
34391 #include <math.h>
34392 #ifdef HAVE_IEEEFP_H
34393 #include <ieeefp.h>
34394 #endif
34397 main ()
34399 fpclass(0);
34401 return 0;
34403 _ACEOF
34404 if ac_fn_cxx_try_compile "$LINENO"; then :
34405 glibcxx_cv_func_fpclass_use=yes
34406 else
34407 glibcxx_cv_func_fpclass_use=no
34409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34410 ac_ext=c
34411 ac_cpp='$CPP $CPPFLAGS'
34412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34421 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34423 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34424 for ac_func in fpclass
34425 do :
34426 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34427 if test "x$ac_cv_func_fpclass" = x""yes; then :
34428 cat >>confdefs.h <<_ACEOF
34429 #define HAVE_FPCLASS 1
34430 _ACEOF
34433 done
34435 else
34437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34438 $as_echo_n "checking for _fpclass declaration... " >&6; }
34439 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34440 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34441 $as_echo_n "(cached) " >&6
34442 else
34445 ac_ext=cpp
34446 ac_cpp='$CXXCPP $CPPFLAGS'
34447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34452 /* end confdefs.h. */
34453 #include <math.h>
34454 #ifdef HAVE_IEEEFP_H
34455 #include <ieeefp.h>
34456 #endif
34459 main ()
34461 _fpclass(0);
34463 return 0;
34465 _ACEOF
34466 if ac_fn_cxx_try_compile "$LINENO"; then :
34467 glibcxx_cv_func__fpclass_use=yes
34468 else
34469 glibcxx_cv_func__fpclass_use=no
34471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34472 ac_ext=c
34473 ac_cpp='$CPP $CPPFLAGS'
34474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34483 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34485 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34486 for ac_func in _fpclass
34487 do :
34488 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34489 if test "x$ac_cv_func__fpclass" = x""yes; then :
34490 cat >>confdefs.h <<_ACEOF
34491 #define HAVE__FPCLASS 1
34492 _ACEOF
34495 done
34504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34505 $as_echo_n "checking for qfpclass declaration... " >&6; }
34506 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34507 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34508 $as_echo_n "(cached) " >&6
34509 else
34512 ac_ext=cpp
34513 ac_cpp='$CXXCPP $CPPFLAGS'
34514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34519 /* end confdefs.h. */
34520 #include <math.h>
34521 #ifdef HAVE_IEEEFP_H
34522 #include <ieeefp.h>
34523 #endif
34526 main ()
34528 qfpclass(0);
34530 return 0;
34532 _ACEOF
34533 if ac_fn_cxx_try_compile "$LINENO"; then :
34534 glibcxx_cv_func_qfpclass_use=yes
34535 else
34536 glibcxx_cv_func_qfpclass_use=no
34538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34539 ac_ext=c
34540 ac_cpp='$CPP $CPPFLAGS'
34541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34550 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34552 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34553 for ac_func in qfpclass
34554 do :
34555 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34556 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34557 cat >>confdefs.h <<_ACEOF
34558 #define HAVE_QFPCLASS 1
34559 _ACEOF
34562 done
34564 else
34566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34567 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34568 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34569 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34570 $as_echo_n "(cached) " >&6
34571 else
34574 ac_ext=cpp
34575 ac_cpp='$CXXCPP $CPPFLAGS'
34576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34581 /* end confdefs.h. */
34582 #include <math.h>
34583 #ifdef HAVE_IEEEFP_H
34584 #include <ieeefp.h>
34585 #endif
34588 main ()
34590 _qfpclass(0);
34592 return 0;
34594 _ACEOF
34595 if ac_fn_cxx_try_compile "$LINENO"; then :
34596 glibcxx_cv_func__qfpclass_use=yes
34597 else
34598 glibcxx_cv_func__qfpclass_use=no
34600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34601 ac_ext=c
34602 ac_cpp='$CPP $CPPFLAGS'
34603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34612 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34614 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34615 for ac_func in _qfpclass
34616 do :
34617 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34618 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34619 cat >>confdefs.h <<_ACEOF
34620 #define HAVE__QFPCLASS 1
34621 _ACEOF
34624 done
34633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34634 $as_echo_n "checking for hypot declaration... " >&6; }
34635 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34636 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34637 $as_echo_n "(cached) " >&6
34638 else
34641 ac_ext=cpp
34642 ac_cpp='$CXXCPP $CPPFLAGS'
34643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34648 /* end confdefs.h. */
34649 #include <math.h>
34651 main ()
34653 hypot(0, 0);
34655 return 0;
34657 _ACEOF
34658 if ac_fn_cxx_try_compile "$LINENO"; then :
34659 glibcxx_cv_func_hypot_use=yes
34660 else
34661 glibcxx_cv_func_hypot_use=no
34663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34664 ac_ext=c
34665 ac_cpp='$CPP $CPPFLAGS'
34666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34675 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34677 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34678 for ac_func in hypot
34679 do :
34680 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34681 if test "x$ac_cv_func_hypot" = x""yes; then :
34682 cat >>confdefs.h <<_ACEOF
34683 #define HAVE_HYPOT 1
34684 _ACEOF
34687 done
34689 else
34691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34692 $as_echo_n "checking for _hypot declaration... " >&6; }
34693 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34694 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34695 $as_echo_n "(cached) " >&6
34696 else
34699 ac_ext=cpp
34700 ac_cpp='$CXXCPP $CPPFLAGS'
34701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34706 /* end confdefs.h. */
34707 #include <math.h>
34709 main ()
34711 _hypot(0, 0);
34713 return 0;
34715 _ACEOF
34716 if ac_fn_cxx_try_compile "$LINENO"; then :
34717 glibcxx_cv_func__hypot_use=yes
34718 else
34719 glibcxx_cv_func__hypot_use=no
34721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34722 ac_ext=c
34723 ac_cpp='$CPP $CPPFLAGS'
34724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34733 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34735 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34736 for ac_func in _hypot
34737 do :
34738 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34739 if test "x$ac_cv_func__hypot" = x""yes; then :
34740 cat >>confdefs.h <<_ACEOF
34741 #define HAVE__HYPOT 1
34742 _ACEOF
34745 done
34754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34755 $as_echo_n "checking for float trig functions... " >&6; }
34756 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34757 $as_echo_n "(cached) " >&6
34758 else
34761 ac_ext=cpp
34762 ac_cpp='$CXXCPP $CPPFLAGS'
34763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34768 /* end confdefs.h. */
34769 #include <math.h>
34771 main ()
34773 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34775 return 0;
34777 _ACEOF
34778 if ac_fn_cxx_try_compile "$LINENO"; then :
34779 glibcxx_cv_func_float_trig_use=yes
34780 else
34781 glibcxx_cv_func_float_trig_use=no
34783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34784 ac_ext=c
34785 ac_cpp='$CPP $CPPFLAGS'
34786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34793 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34794 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34795 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34796 do :
34797 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34798 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34799 eval as_val=\$$as_ac_var
34800 if test "x$as_val" = x""yes; then :
34801 cat >>confdefs.h <<_ACEOF
34802 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34803 _ACEOF
34806 done
34808 else
34809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34810 $as_echo_n "checking for _float trig functions... " >&6; }
34811 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34812 $as_echo_n "(cached) " >&6
34813 else
34816 ac_ext=cpp
34817 ac_cpp='$CXXCPP $CPPFLAGS'
34818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34823 /* end confdefs.h. */
34824 #include <math.h>
34826 main ()
34828 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34830 return 0;
34832 _ACEOF
34833 if ac_fn_cxx_try_compile "$LINENO"; then :
34834 glibcxx_cv_func__float_trig_use=yes
34835 else
34836 glibcxx_cv_func__float_trig_use=no
34838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34839 ac_ext=c
34840 ac_cpp='$CPP $CPPFLAGS'
34841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34848 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34849 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34850 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34851 do :
34852 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34853 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34854 eval as_val=\$$as_ac_var
34855 if test "x$as_val" = x""yes; then :
34856 cat >>confdefs.h <<_ACEOF
34857 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34858 _ACEOF
34861 done
34870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34871 $as_echo_n "checking for float round functions... " >&6; }
34872 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34873 $as_echo_n "(cached) " >&6
34874 else
34877 ac_ext=cpp
34878 ac_cpp='$CXXCPP $CPPFLAGS'
34879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34884 /* end confdefs.h. */
34885 #include <math.h>
34887 main ()
34889 ceilf (0); floorf (0);
34891 return 0;
34893 _ACEOF
34894 if ac_fn_cxx_try_compile "$LINENO"; then :
34895 glibcxx_cv_func_float_round_use=yes
34896 else
34897 glibcxx_cv_func_float_round_use=no
34899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34900 ac_ext=c
34901 ac_cpp='$CPP $CPPFLAGS'
34902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34909 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34910 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34911 for ac_func in ceilf floorf
34912 do :
34913 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34914 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34915 eval as_val=\$$as_ac_var
34916 if test "x$as_val" = x""yes; then :
34917 cat >>confdefs.h <<_ACEOF
34918 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34919 _ACEOF
34922 done
34924 else
34925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34926 $as_echo_n "checking for _float round functions... " >&6; }
34927 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34928 $as_echo_n "(cached) " >&6
34929 else
34932 ac_ext=cpp
34933 ac_cpp='$CXXCPP $CPPFLAGS'
34934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34939 /* end confdefs.h. */
34940 #include <math.h>
34942 main ()
34944 _ceilf (0); _floorf (0);
34946 return 0;
34948 _ACEOF
34949 if ac_fn_cxx_try_compile "$LINENO"; then :
34950 glibcxx_cv_func__float_round_use=yes
34951 else
34952 glibcxx_cv_func__float_round_use=no
34954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34955 ac_ext=c
34956 ac_cpp='$CPP $CPPFLAGS'
34957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34964 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34965 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34966 for ac_func in _ceilf _floorf
34967 do :
34968 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34969 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34970 eval as_val=\$$as_ac_var
34971 if test "x$as_val" = x""yes; then :
34972 cat >>confdefs.h <<_ACEOF
34973 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34974 _ACEOF
34977 done
34987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34988 $as_echo_n "checking for expf declaration... " >&6; }
34989 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34990 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34991 $as_echo_n "(cached) " >&6
34992 else
34995 ac_ext=cpp
34996 ac_cpp='$CXXCPP $CPPFLAGS'
34997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35002 /* end confdefs.h. */
35003 #include <math.h>
35004 #ifdef HAVE_IEEEFP_H
35005 #include <ieeefp.h>
35006 #endif
35009 main ()
35011 expf(0);
35013 return 0;
35015 _ACEOF
35016 if ac_fn_cxx_try_compile "$LINENO"; then :
35017 glibcxx_cv_func_expf_use=yes
35018 else
35019 glibcxx_cv_func_expf_use=no
35021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35022 ac_ext=c
35023 ac_cpp='$CPP $CPPFLAGS'
35024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35033 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35035 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35036 for ac_func in expf
35037 do :
35038 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35039 if test "x$ac_cv_func_expf" = x""yes; then :
35040 cat >>confdefs.h <<_ACEOF
35041 #define HAVE_EXPF 1
35042 _ACEOF
35045 done
35047 else
35049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35050 $as_echo_n "checking for _expf declaration... " >&6; }
35051 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35052 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35053 $as_echo_n "(cached) " >&6
35054 else
35057 ac_ext=cpp
35058 ac_cpp='$CXXCPP $CPPFLAGS'
35059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35064 /* end confdefs.h. */
35065 #include <math.h>
35066 #ifdef HAVE_IEEEFP_H
35067 #include <ieeefp.h>
35068 #endif
35071 main ()
35073 _expf(0);
35075 return 0;
35077 _ACEOF
35078 if ac_fn_cxx_try_compile "$LINENO"; then :
35079 glibcxx_cv_func__expf_use=yes
35080 else
35081 glibcxx_cv_func__expf_use=no
35083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35084 ac_ext=c
35085 ac_cpp='$CPP $CPPFLAGS'
35086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35095 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35097 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35098 for ac_func in _expf
35099 do :
35100 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35101 if test "x$ac_cv_func__expf" = x""yes; then :
35102 cat >>confdefs.h <<_ACEOF
35103 #define HAVE__EXPF 1
35104 _ACEOF
35107 done
35116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35117 $as_echo_n "checking for isnanf declaration... " >&6; }
35118 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35119 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35120 $as_echo_n "(cached) " >&6
35121 else
35124 ac_ext=cpp
35125 ac_cpp='$CXXCPP $CPPFLAGS'
35126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35131 /* end confdefs.h. */
35132 #include <math.h>
35133 #ifdef HAVE_IEEEFP_H
35134 #include <ieeefp.h>
35135 #endif
35138 main ()
35140 isnanf(0);
35142 return 0;
35144 _ACEOF
35145 if ac_fn_cxx_try_compile "$LINENO"; then :
35146 glibcxx_cv_func_isnanf_use=yes
35147 else
35148 glibcxx_cv_func_isnanf_use=no
35150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35151 ac_ext=c
35152 ac_cpp='$CPP $CPPFLAGS'
35153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35162 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35164 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35165 for ac_func in isnanf
35166 do :
35167 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35168 if test "x$ac_cv_func_isnanf" = x""yes; then :
35169 cat >>confdefs.h <<_ACEOF
35170 #define HAVE_ISNANF 1
35171 _ACEOF
35174 done
35176 else
35178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35179 $as_echo_n "checking for _isnanf declaration... " >&6; }
35180 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35181 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35182 $as_echo_n "(cached) " >&6
35183 else
35186 ac_ext=cpp
35187 ac_cpp='$CXXCPP $CPPFLAGS'
35188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35193 /* end confdefs.h. */
35194 #include <math.h>
35195 #ifdef HAVE_IEEEFP_H
35196 #include <ieeefp.h>
35197 #endif
35200 main ()
35202 _isnanf(0);
35204 return 0;
35206 _ACEOF
35207 if ac_fn_cxx_try_compile "$LINENO"; then :
35208 glibcxx_cv_func__isnanf_use=yes
35209 else
35210 glibcxx_cv_func__isnanf_use=no
35212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35213 ac_ext=c
35214 ac_cpp='$CPP $CPPFLAGS'
35215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35224 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35226 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35227 for ac_func in _isnanf
35228 do :
35229 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35230 if test "x$ac_cv_func__isnanf" = x""yes; then :
35231 cat >>confdefs.h <<_ACEOF
35232 #define HAVE__ISNANF 1
35233 _ACEOF
35236 done
35245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35246 $as_echo_n "checking for isinff declaration... " >&6; }
35247 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35248 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35249 $as_echo_n "(cached) " >&6
35250 else
35253 ac_ext=cpp
35254 ac_cpp='$CXXCPP $CPPFLAGS'
35255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35260 /* end confdefs.h. */
35261 #include <math.h>
35262 #ifdef HAVE_IEEEFP_H
35263 #include <ieeefp.h>
35264 #endif
35267 main ()
35269 isinff(0);
35271 return 0;
35273 _ACEOF
35274 if ac_fn_cxx_try_compile "$LINENO"; then :
35275 glibcxx_cv_func_isinff_use=yes
35276 else
35277 glibcxx_cv_func_isinff_use=no
35279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35280 ac_ext=c
35281 ac_cpp='$CPP $CPPFLAGS'
35282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35291 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35293 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35294 for ac_func in isinff
35295 do :
35296 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35297 if test "x$ac_cv_func_isinff" = x""yes; then :
35298 cat >>confdefs.h <<_ACEOF
35299 #define HAVE_ISINFF 1
35300 _ACEOF
35303 done
35305 else
35307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35308 $as_echo_n "checking for _isinff declaration... " >&6; }
35309 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35310 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35311 $as_echo_n "(cached) " >&6
35312 else
35315 ac_ext=cpp
35316 ac_cpp='$CXXCPP $CPPFLAGS'
35317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35322 /* end confdefs.h. */
35323 #include <math.h>
35324 #ifdef HAVE_IEEEFP_H
35325 #include <ieeefp.h>
35326 #endif
35329 main ()
35331 _isinff(0);
35333 return 0;
35335 _ACEOF
35336 if ac_fn_cxx_try_compile "$LINENO"; then :
35337 glibcxx_cv_func__isinff_use=yes
35338 else
35339 glibcxx_cv_func__isinff_use=no
35341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35342 ac_ext=c
35343 ac_cpp='$CPP $CPPFLAGS'
35344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35353 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35355 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35356 for ac_func in _isinff
35357 do :
35358 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35359 if test "x$ac_cv_func__isinff" = x""yes; then :
35360 cat >>confdefs.h <<_ACEOF
35361 #define HAVE__ISINFF 1
35362 _ACEOF
35365 done
35374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35375 $as_echo_n "checking for atan2f declaration... " >&6; }
35376 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35377 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35378 $as_echo_n "(cached) " >&6
35379 else
35382 ac_ext=cpp
35383 ac_cpp='$CXXCPP $CPPFLAGS'
35384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35389 /* end confdefs.h. */
35390 #include <math.h>
35392 main ()
35394 atan2f(0, 0);
35396 return 0;
35398 _ACEOF
35399 if ac_fn_cxx_try_compile "$LINENO"; then :
35400 glibcxx_cv_func_atan2f_use=yes
35401 else
35402 glibcxx_cv_func_atan2f_use=no
35404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35405 ac_ext=c
35406 ac_cpp='$CPP $CPPFLAGS'
35407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35416 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35418 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35419 for ac_func in atan2f
35420 do :
35421 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35422 if test "x$ac_cv_func_atan2f" = x""yes; then :
35423 cat >>confdefs.h <<_ACEOF
35424 #define HAVE_ATAN2F 1
35425 _ACEOF
35428 done
35430 else
35432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35433 $as_echo_n "checking for _atan2f declaration... " >&6; }
35434 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35435 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35436 $as_echo_n "(cached) " >&6
35437 else
35440 ac_ext=cpp
35441 ac_cpp='$CXXCPP $CPPFLAGS'
35442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35447 /* end confdefs.h. */
35448 #include <math.h>
35450 main ()
35452 _atan2f(0, 0);
35454 return 0;
35456 _ACEOF
35457 if ac_fn_cxx_try_compile "$LINENO"; then :
35458 glibcxx_cv_func__atan2f_use=yes
35459 else
35460 glibcxx_cv_func__atan2f_use=no
35462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35463 ac_ext=c
35464 ac_cpp='$CPP $CPPFLAGS'
35465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35474 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35476 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35477 for ac_func in _atan2f
35478 do :
35479 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35480 if test "x$ac_cv_func__atan2f" = x""yes; then :
35481 cat >>confdefs.h <<_ACEOF
35482 #define HAVE__ATAN2F 1
35483 _ACEOF
35486 done
35495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35496 $as_echo_n "checking for fabsf declaration... " >&6; }
35497 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35498 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35499 $as_echo_n "(cached) " >&6
35500 else
35503 ac_ext=cpp
35504 ac_cpp='$CXXCPP $CPPFLAGS'
35505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35510 /* end confdefs.h. */
35511 #include <math.h>
35512 #ifdef HAVE_IEEEFP_H
35513 #include <ieeefp.h>
35514 #endif
35517 main ()
35519 fabsf(0);
35521 return 0;
35523 _ACEOF
35524 if ac_fn_cxx_try_compile "$LINENO"; then :
35525 glibcxx_cv_func_fabsf_use=yes
35526 else
35527 glibcxx_cv_func_fabsf_use=no
35529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35530 ac_ext=c
35531 ac_cpp='$CPP $CPPFLAGS'
35532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35541 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35543 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35544 for ac_func in fabsf
35545 do :
35546 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35547 if test "x$ac_cv_func_fabsf" = x""yes; then :
35548 cat >>confdefs.h <<_ACEOF
35549 #define HAVE_FABSF 1
35550 _ACEOF
35553 done
35555 else
35557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35558 $as_echo_n "checking for _fabsf declaration... " >&6; }
35559 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35560 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35561 $as_echo_n "(cached) " >&6
35562 else
35565 ac_ext=cpp
35566 ac_cpp='$CXXCPP $CPPFLAGS'
35567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35572 /* end confdefs.h. */
35573 #include <math.h>
35574 #ifdef HAVE_IEEEFP_H
35575 #include <ieeefp.h>
35576 #endif
35579 main ()
35581 _fabsf(0);
35583 return 0;
35585 _ACEOF
35586 if ac_fn_cxx_try_compile "$LINENO"; then :
35587 glibcxx_cv_func__fabsf_use=yes
35588 else
35589 glibcxx_cv_func__fabsf_use=no
35591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35592 ac_ext=c
35593 ac_cpp='$CPP $CPPFLAGS'
35594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35603 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35605 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35606 for ac_func in _fabsf
35607 do :
35608 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35609 if test "x$ac_cv_func__fabsf" = x""yes; then :
35610 cat >>confdefs.h <<_ACEOF
35611 #define HAVE__FABSF 1
35612 _ACEOF
35615 done
35624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35625 $as_echo_n "checking for fmodf declaration... " >&6; }
35626 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35627 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35628 $as_echo_n "(cached) " >&6
35629 else
35632 ac_ext=cpp
35633 ac_cpp='$CXXCPP $CPPFLAGS'
35634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35639 /* end confdefs.h. */
35640 #include <math.h>
35642 main ()
35644 fmodf(0, 0);
35646 return 0;
35648 _ACEOF
35649 if ac_fn_cxx_try_compile "$LINENO"; then :
35650 glibcxx_cv_func_fmodf_use=yes
35651 else
35652 glibcxx_cv_func_fmodf_use=no
35654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35655 ac_ext=c
35656 ac_cpp='$CPP $CPPFLAGS'
35657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35666 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35668 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35669 for ac_func in fmodf
35670 do :
35671 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35672 if test "x$ac_cv_func_fmodf" = x""yes; then :
35673 cat >>confdefs.h <<_ACEOF
35674 #define HAVE_FMODF 1
35675 _ACEOF
35678 done
35680 else
35682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35683 $as_echo_n "checking for _fmodf declaration... " >&6; }
35684 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35685 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35686 $as_echo_n "(cached) " >&6
35687 else
35690 ac_ext=cpp
35691 ac_cpp='$CXXCPP $CPPFLAGS'
35692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35697 /* end confdefs.h. */
35698 #include <math.h>
35700 main ()
35702 _fmodf(0, 0);
35704 return 0;
35706 _ACEOF
35707 if ac_fn_cxx_try_compile "$LINENO"; then :
35708 glibcxx_cv_func__fmodf_use=yes
35709 else
35710 glibcxx_cv_func__fmodf_use=no
35712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35713 ac_ext=c
35714 ac_cpp='$CPP $CPPFLAGS'
35715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35724 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35726 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35727 for ac_func in _fmodf
35728 do :
35729 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35730 if test "x$ac_cv_func__fmodf" = x""yes; then :
35731 cat >>confdefs.h <<_ACEOF
35732 #define HAVE__FMODF 1
35733 _ACEOF
35736 done
35745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35746 $as_echo_n "checking for frexpf declaration... " >&6; }
35747 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35748 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35749 $as_echo_n "(cached) " >&6
35750 else
35753 ac_ext=cpp
35754 ac_cpp='$CXXCPP $CPPFLAGS'
35755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35760 /* end confdefs.h. */
35761 #include <math.h>
35763 main ()
35765 frexpf(0, 0);
35767 return 0;
35769 _ACEOF
35770 if ac_fn_cxx_try_compile "$LINENO"; then :
35771 glibcxx_cv_func_frexpf_use=yes
35772 else
35773 glibcxx_cv_func_frexpf_use=no
35775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35776 ac_ext=c
35777 ac_cpp='$CPP $CPPFLAGS'
35778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35787 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35789 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35790 for ac_func in frexpf
35791 do :
35792 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35793 if test "x$ac_cv_func_frexpf" = x""yes; then :
35794 cat >>confdefs.h <<_ACEOF
35795 #define HAVE_FREXPF 1
35796 _ACEOF
35799 done
35801 else
35803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35804 $as_echo_n "checking for _frexpf declaration... " >&6; }
35805 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35806 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35807 $as_echo_n "(cached) " >&6
35808 else
35811 ac_ext=cpp
35812 ac_cpp='$CXXCPP $CPPFLAGS'
35813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35818 /* end confdefs.h. */
35819 #include <math.h>
35821 main ()
35823 _frexpf(0, 0);
35825 return 0;
35827 _ACEOF
35828 if ac_fn_cxx_try_compile "$LINENO"; then :
35829 glibcxx_cv_func__frexpf_use=yes
35830 else
35831 glibcxx_cv_func__frexpf_use=no
35833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35834 ac_ext=c
35835 ac_cpp='$CPP $CPPFLAGS'
35836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35845 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35847 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35848 for ac_func in _frexpf
35849 do :
35850 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35851 if test "x$ac_cv_func__frexpf" = x""yes; then :
35852 cat >>confdefs.h <<_ACEOF
35853 #define HAVE__FREXPF 1
35854 _ACEOF
35857 done
35866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35867 $as_echo_n "checking for hypotf declaration... " >&6; }
35868 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35869 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35870 $as_echo_n "(cached) " >&6
35871 else
35874 ac_ext=cpp
35875 ac_cpp='$CXXCPP $CPPFLAGS'
35876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35881 /* end confdefs.h. */
35882 #include <math.h>
35884 main ()
35886 hypotf(0, 0);
35888 return 0;
35890 _ACEOF
35891 if ac_fn_cxx_try_compile "$LINENO"; then :
35892 glibcxx_cv_func_hypotf_use=yes
35893 else
35894 glibcxx_cv_func_hypotf_use=no
35896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35897 ac_ext=c
35898 ac_cpp='$CPP $CPPFLAGS'
35899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35908 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35910 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35911 for ac_func in hypotf
35912 do :
35913 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35914 if test "x$ac_cv_func_hypotf" = x""yes; then :
35915 cat >>confdefs.h <<_ACEOF
35916 #define HAVE_HYPOTF 1
35917 _ACEOF
35920 done
35922 else
35924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35925 $as_echo_n "checking for _hypotf declaration... " >&6; }
35926 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35927 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35928 $as_echo_n "(cached) " >&6
35929 else
35932 ac_ext=cpp
35933 ac_cpp='$CXXCPP $CPPFLAGS'
35934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35939 /* end confdefs.h. */
35940 #include <math.h>
35942 main ()
35944 _hypotf(0, 0);
35946 return 0;
35948 _ACEOF
35949 if ac_fn_cxx_try_compile "$LINENO"; then :
35950 glibcxx_cv_func__hypotf_use=yes
35951 else
35952 glibcxx_cv_func__hypotf_use=no
35954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35955 ac_ext=c
35956 ac_cpp='$CPP $CPPFLAGS'
35957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35966 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35968 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35969 for ac_func in _hypotf
35970 do :
35971 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35972 if test "x$ac_cv_func__hypotf" = x""yes; then :
35973 cat >>confdefs.h <<_ACEOF
35974 #define HAVE__HYPOTF 1
35975 _ACEOF
35978 done
35987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35988 $as_echo_n "checking for ldexpf declaration... " >&6; }
35989 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35990 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35991 $as_echo_n "(cached) " >&6
35992 else
35995 ac_ext=cpp
35996 ac_cpp='$CXXCPP $CPPFLAGS'
35997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36002 /* end confdefs.h. */
36003 #include <math.h>
36005 main ()
36007 ldexpf(0, 0);
36009 return 0;
36011 _ACEOF
36012 if ac_fn_cxx_try_compile "$LINENO"; then :
36013 glibcxx_cv_func_ldexpf_use=yes
36014 else
36015 glibcxx_cv_func_ldexpf_use=no
36017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36018 ac_ext=c
36019 ac_cpp='$CPP $CPPFLAGS'
36020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36029 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36031 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36032 for ac_func in ldexpf
36033 do :
36034 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36035 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36036 cat >>confdefs.h <<_ACEOF
36037 #define HAVE_LDEXPF 1
36038 _ACEOF
36041 done
36043 else
36045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36046 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36047 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36048 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36049 $as_echo_n "(cached) " >&6
36050 else
36053 ac_ext=cpp
36054 ac_cpp='$CXXCPP $CPPFLAGS'
36055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36060 /* end confdefs.h. */
36061 #include <math.h>
36063 main ()
36065 _ldexpf(0, 0);
36067 return 0;
36069 _ACEOF
36070 if ac_fn_cxx_try_compile "$LINENO"; then :
36071 glibcxx_cv_func__ldexpf_use=yes
36072 else
36073 glibcxx_cv_func__ldexpf_use=no
36075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36076 ac_ext=c
36077 ac_cpp='$CPP $CPPFLAGS'
36078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36087 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36089 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36090 for ac_func in _ldexpf
36091 do :
36092 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36093 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36094 cat >>confdefs.h <<_ACEOF
36095 #define HAVE__LDEXPF 1
36096 _ACEOF
36099 done
36108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36109 $as_echo_n "checking for logf declaration... " >&6; }
36110 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36111 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36112 $as_echo_n "(cached) " >&6
36113 else
36116 ac_ext=cpp
36117 ac_cpp='$CXXCPP $CPPFLAGS'
36118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36123 /* end confdefs.h. */
36124 #include <math.h>
36125 #ifdef HAVE_IEEEFP_H
36126 #include <ieeefp.h>
36127 #endif
36130 main ()
36132 logf(0);
36134 return 0;
36136 _ACEOF
36137 if ac_fn_cxx_try_compile "$LINENO"; then :
36138 glibcxx_cv_func_logf_use=yes
36139 else
36140 glibcxx_cv_func_logf_use=no
36142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36143 ac_ext=c
36144 ac_cpp='$CPP $CPPFLAGS'
36145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36154 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36156 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36157 for ac_func in logf
36158 do :
36159 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36160 if test "x$ac_cv_func_logf" = x""yes; then :
36161 cat >>confdefs.h <<_ACEOF
36162 #define HAVE_LOGF 1
36163 _ACEOF
36166 done
36168 else
36170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36171 $as_echo_n "checking for _logf declaration... " >&6; }
36172 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36173 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36174 $as_echo_n "(cached) " >&6
36175 else
36178 ac_ext=cpp
36179 ac_cpp='$CXXCPP $CPPFLAGS'
36180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36185 /* end confdefs.h. */
36186 #include <math.h>
36187 #ifdef HAVE_IEEEFP_H
36188 #include <ieeefp.h>
36189 #endif
36192 main ()
36194 _logf(0);
36196 return 0;
36198 _ACEOF
36199 if ac_fn_cxx_try_compile "$LINENO"; then :
36200 glibcxx_cv_func__logf_use=yes
36201 else
36202 glibcxx_cv_func__logf_use=no
36204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36205 ac_ext=c
36206 ac_cpp='$CPP $CPPFLAGS'
36207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36216 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36218 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36219 for ac_func in _logf
36220 do :
36221 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36222 if test "x$ac_cv_func__logf" = x""yes; then :
36223 cat >>confdefs.h <<_ACEOF
36224 #define HAVE__LOGF 1
36225 _ACEOF
36228 done
36237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36238 $as_echo_n "checking for log10f declaration... " >&6; }
36239 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36240 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36241 $as_echo_n "(cached) " >&6
36242 else
36245 ac_ext=cpp
36246 ac_cpp='$CXXCPP $CPPFLAGS'
36247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36252 /* end confdefs.h. */
36253 #include <math.h>
36254 #ifdef HAVE_IEEEFP_H
36255 #include <ieeefp.h>
36256 #endif
36259 main ()
36261 log10f(0);
36263 return 0;
36265 _ACEOF
36266 if ac_fn_cxx_try_compile "$LINENO"; then :
36267 glibcxx_cv_func_log10f_use=yes
36268 else
36269 glibcxx_cv_func_log10f_use=no
36271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36272 ac_ext=c
36273 ac_cpp='$CPP $CPPFLAGS'
36274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36283 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36285 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36286 for ac_func in log10f
36287 do :
36288 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36289 if test "x$ac_cv_func_log10f" = x""yes; then :
36290 cat >>confdefs.h <<_ACEOF
36291 #define HAVE_LOG10F 1
36292 _ACEOF
36295 done
36297 else
36299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36300 $as_echo_n "checking for _log10f declaration... " >&6; }
36301 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36302 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36303 $as_echo_n "(cached) " >&6
36304 else
36307 ac_ext=cpp
36308 ac_cpp='$CXXCPP $CPPFLAGS'
36309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36314 /* end confdefs.h. */
36315 #include <math.h>
36316 #ifdef HAVE_IEEEFP_H
36317 #include <ieeefp.h>
36318 #endif
36321 main ()
36323 _log10f(0);
36325 return 0;
36327 _ACEOF
36328 if ac_fn_cxx_try_compile "$LINENO"; then :
36329 glibcxx_cv_func__log10f_use=yes
36330 else
36331 glibcxx_cv_func__log10f_use=no
36333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36334 ac_ext=c
36335 ac_cpp='$CPP $CPPFLAGS'
36336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36345 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36347 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36348 for ac_func in _log10f
36349 do :
36350 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36351 if test "x$ac_cv_func__log10f" = x""yes; then :
36352 cat >>confdefs.h <<_ACEOF
36353 #define HAVE__LOG10F 1
36354 _ACEOF
36357 done
36366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36367 $as_echo_n "checking for modff declaration... " >&6; }
36368 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36369 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36370 $as_echo_n "(cached) " >&6
36371 else
36374 ac_ext=cpp
36375 ac_cpp='$CXXCPP $CPPFLAGS'
36376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36381 /* end confdefs.h. */
36382 #include <math.h>
36384 main ()
36386 modff(0, 0);
36388 return 0;
36390 _ACEOF
36391 if ac_fn_cxx_try_compile "$LINENO"; then :
36392 glibcxx_cv_func_modff_use=yes
36393 else
36394 glibcxx_cv_func_modff_use=no
36396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36397 ac_ext=c
36398 ac_cpp='$CPP $CPPFLAGS'
36399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36408 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36410 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36411 for ac_func in modff
36412 do :
36413 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36414 if test "x$ac_cv_func_modff" = x""yes; then :
36415 cat >>confdefs.h <<_ACEOF
36416 #define HAVE_MODFF 1
36417 _ACEOF
36420 done
36422 else
36424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36425 $as_echo_n "checking for _modff declaration... " >&6; }
36426 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36427 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36428 $as_echo_n "(cached) " >&6
36429 else
36432 ac_ext=cpp
36433 ac_cpp='$CXXCPP $CPPFLAGS'
36434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36439 /* end confdefs.h. */
36440 #include <math.h>
36442 main ()
36444 _modff(0, 0);
36446 return 0;
36448 _ACEOF
36449 if ac_fn_cxx_try_compile "$LINENO"; then :
36450 glibcxx_cv_func__modff_use=yes
36451 else
36452 glibcxx_cv_func__modff_use=no
36454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36455 ac_ext=c
36456 ac_cpp='$CPP $CPPFLAGS'
36457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36466 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36468 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36469 for ac_func in _modff
36470 do :
36471 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36472 if test "x$ac_cv_func__modff" = x""yes; then :
36473 cat >>confdefs.h <<_ACEOF
36474 #define HAVE__MODFF 1
36475 _ACEOF
36478 done
36487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36488 $as_echo_n "checking for modf declaration... " >&6; }
36489 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36490 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36491 $as_echo_n "(cached) " >&6
36492 else
36495 ac_ext=cpp
36496 ac_cpp='$CXXCPP $CPPFLAGS'
36497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36502 /* end confdefs.h. */
36503 #include <math.h>
36505 main ()
36507 modf(0, 0);
36509 return 0;
36511 _ACEOF
36512 if ac_fn_cxx_try_compile "$LINENO"; then :
36513 glibcxx_cv_func_modf_use=yes
36514 else
36515 glibcxx_cv_func_modf_use=no
36517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36518 ac_ext=c
36519 ac_cpp='$CPP $CPPFLAGS'
36520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36529 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36531 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36532 for ac_func in modf
36533 do :
36534 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36535 if test "x$ac_cv_func_modf" = x""yes; then :
36536 cat >>confdefs.h <<_ACEOF
36537 #define HAVE_MODF 1
36538 _ACEOF
36541 done
36543 else
36545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36546 $as_echo_n "checking for _modf declaration... " >&6; }
36547 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36548 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36549 $as_echo_n "(cached) " >&6
36550 else
36553 ac_ext=cpp
36554 ac_cpp='$CXXCPP $CPPFLAGS'
36555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36560 /* end confdefs.h. */
36561 #include <math.h>
36563 main ()
36565 _modf(0, 0);
36567 return 0;
36569 _ACEOF
36570 if ac_fn_cxx_try_compile "$LINENO"; then :
36571 glibcxx_cv_func__modf_use=yes
36572 else
36573 glibcxx_cv_func__modf_use=no
36575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36576 ac_ext=c
36577 ac_cpp='$CPP $CPPFLAGS'
36578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36587 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36589 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36590 for ac_func in _modf
36591 do :
36592 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36593 if test "x$ac_cv_func__modf" = x""yes; then :
36594 cat >>confdefs.h <<_ACEOF
36595 #define HAVE__MODF 1
36596 _ACEOF
36599 done
36608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36609 $as_echo_n "checking for powf declaration... " >&6; }
36610 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36611 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36612 $as_echo_n "(cached) " >&6
36613 else
36616 ac_ext=cpp
36617 ac_cpp='$CXXCPP $CPPFLAGS'
36618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36623 /* end confdefs.h. */
36624 #include <math.h>
36626 main ()
36628 powf(0, 0);
36630 return 0;
36632 _ACEOF
36633 if ac_fn_cxx_try_compile "$LINENO"; then :
36634 glibcxx_cv_func_powf_use=yes
36635 else
36636 glibcxx_cv_func_powf_use=no
36638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36639 ac_ext=c
36640 ac_cpp='$CPP $CPPFLAGS'
36641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36650 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36652 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36653 for ac_func in powf
36654 do :
36655 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36656 if test "x$ac_cv_func_powf" = x""yes; then :
36657 cat >>confdefs.h <<_ACEOF
36658 #define HAVE_POWF 1
36659 _ACEOF
36662 done
36664 else
36666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36667 $as_echo_n "checking for _powf declaration... " >&6; }
36668 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36669 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36670 $as_echo_n "(cached) " >&6
36671 else
36674 ac_ext=cpp
36675 ac_cpp='$CXXCPP $CPPFLAGS'
36676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36681 /* end confdefs.h. */
36682 #include <math.h>
36684 main ()
36686 _powf(0, 0);
36688 return 0;
36690 _ACEOF
36691 if ac_fn_cxx_try_compile "$LINENO"; then :
36692 glibcxx_cv_func__powf_use=yes
36693 else
36694 glibcxx_cv_func__powf_use=no
36696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36697 ac_ext=c
36698 ac_cpp='$CPP $CPPFLAGS'
36699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36708 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36710 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36711 for ac_func in _powf
36712 do :
36713 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36714 if test "x$ac_cv_func__powf" = x""yes; then :
36715 cat >>confdefs.h <<_ACEOF
36716 #define HAVE__POWF 1
36717 _ACEOF
36720 done
36729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36730 $as_echo_n "checking for sqrtf declaration... " >&6; }
36731 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36732 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36733 $as_echo_n "(cached) " >&6
36734 else
36737 ac_ext=cpp
36738 ac_cpp='$CXXCPP $CPPFLAGS'
36739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36744 /* end confdefs.h. */
36745 #include <math.h>
36746 #ifdef HAVE_IEEEFP_H
36747 #include <ieeefp.h>
36748 #endif
36751 main ()
36753 sqrtf(0);
36755 return 0;
36757 _ACEOF
36758 if ac_fn_cxx_try_compile "$LINENO"; then :
36759 glibcxx_cv_func_sqrtf_use=yes
36760 else
36761 glibcxx_cv_func_sqrtf_use=no
36763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36764 ac_ext=c
36765 ac_cpp='$CPP $CPPFLAGS'
36766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36775 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36777 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36778 for ac_func in sqrtf
36779 do :
36780 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36781 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36782 cat >>confdefs.h <<_ACEOF
36783 #define HAVE_SQRTF 1
36784 _ACEOF
36787 done
36789 else
36791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36792 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36793 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36794 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36795 $as_echo_n "(cached) " >&6
36796 else
36799 ac_ext=cpp
36800 ac_cpp='$CXXCPP $CPPFLAGS'
36801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36806 /* end confdefs.h. */
36807 #include <math.h>
36808 #ifdef HAVE_IEEEFP_H
36809 #include <ieeefp.h>
36810 #endif
36813 main ()
36815 _sqrtf(0);
36817 return 0;
36819 _ACEOF
36820 if ac_fn_cxx_try_compile "$LINENO"; then :
36821 glibcxx_cv_func__sqrtf_use=yes
36822 else
36823 glibcxx_cv_func__sqrtf_use=no
36825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36826 ac_ext=c
36827 ac_cpp='$CPP $CPPFLAGS'
36828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36837 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36839 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36840 for ac_func in _sqrtf
36841 do :
36842 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36843 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36844 cat >>confdefs.h <<_ACEOF
36845 #define HAVE__SQRTF 1
36846 _ACEOF
36849 done
36858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36859 $as_echo_n "checking for sincosf declaration... " >&6; }
36860 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36861 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36862 $as_echo_n "(cached) " >&6
36863 else
36866 ac_ext=cpp
36867 ac_cpp='$CXXCPP $CPPFLAGS'
36868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36873 /* end confdefs.h. */
36874 #include <math.h>
36876 main ()
36878 sincosf(0, 0, 0);
36880 return 0;
36882 _ACEOF
36883 if ac_fn_cxx_try_compile "$LINENO"; then :
36884 glibcxx_cv_func_sincosf_use=yes
36885 else
36886 glibcxx_cv_func_sincosf_use=no
36888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36889 ac_ext=c
36890 ac_cpp='$CPP $CPPFLAGS'
36891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36900 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36902 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36903 for ac_func in sincosf
36904 do :
36905 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36906 if test "x$ac_cv_func_sincosf" = x""yes; then :
36907 cat >>confdefs.h <<_ACEOF
36908 #define HAVE_SINCOSF 1
36909 _ACEOF
36912 done
36914 else
36916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36917 $as_echo_n "checking for _sincosf declaration... " >&6; }
36918 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36919 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36920 $as_echo_n "(cached) " >&6
36921 else
36924 ac_ext=cpp
36925 ac_cpp='$CXXCPP $CPPFLAGS'
36926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36931 /* end confdefs.h. */
36932 #include <math.h>
36934 main ()
36936 _sincosf(0, 0, 0);
36938 return 0;
36940 _ACEOF
36941 if ac_fn_cxx_try_compile "$LINENO"; then :
36942 glibcxx_cv_func__sincosf_use=yes
36943 else
36944 glibcxx_cv_func__sincosf_use=no
36946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36947 ac_ext=c
36948 ac_cpp='$CPP $CPPFLAGS'
36949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36958 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36960 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36961 for ac_func in _sincosf
36962 do :
36963 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36964 if test "x$ac_cv_func__sincosf" = x""yes; then :
36965 cat >>confdefs.h <<_ACEOF
36966 #define HAVE__SINCOSF 1
36967 _ACEOF
36970 done
36979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36980 $as_echo_n "checking for finitef declaration... " >&6; }
36981 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36982 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36983 $as_echo_n "(cached) " >&6
36984 else
36987 ac_ext=cpp
36988 ac_cpp='$CXXCPP $CPPFLAGS'
36989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36994 /* end confdefs.h. */
36995 #include <math.h>
36996 #ifdef HAVE_IEEEFP_H
36997 #include <ieeefp.h>
36998 #endif
37001 main ()
37003 finitef(0);
37005 return 0;
37007 _ACEOF
37008 if ac_fn_cxx_try_compile "$LINENO"; then :
37009 glibcxx_cv_func_finitef_use=yes
37010 else
37011 glibcxx_cv_func_finitef_use=no
37013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37014 ac_ext=c
37015 ac_cpp='$CPP $CPPFLAGS'
37016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37025 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37027 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37028 for ac_func in finitef
37029 do :
37030 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37031 if test "x$ac_cv_func_finitef" = x""yes; then :
37032 cat >>confdefs.h <<_ACEOF
37033 #define HAVE_FINITEF 1
37034 _ACEOF
37037 done
37039 else
37041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37042 $as_echo_n "checking for _finitef declaration... " >&6; }
37043 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37044 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37045 $as_echo_n "(cached) " >&6
37046 else
37049 ac_ext=cpp
37050 ac_cpp='$CXXCPP $CPPFLAGS'
37051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37056 /* end confdefs.h. */
37057 #include <math.h>
37058 #ifdef HAVE_IEEEFP_H
37059 #include <ieeefp.h>
37060 #endif
37063 main ()
37065 _finitef(0);
37067 return 0;
37069 _ACEOF
37070 if ac_fn_cxx_try_compile "$LINENO"; then :
37071 glibcxx_cv_func__finitef_use=yes
37072 else
37073 glibcxx_cv_func__finitef_use=no
37075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37076 ac_ext=c
37077 ac_cpp='$CPP $CPPFLAGS'
37078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37087 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37089 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37090 for ac_func in _finitef
37091 do :
37092 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37093 if test "x$ac_cv_func__finitef" = x""yes; then :
37094 cat >>confdefs.h <<_ACEOF
37095 #define HAVE__FINITEF 1
37096 _ACEOF
37099 done
37108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37109 $as_echo_n "checking for long double trig functions... " >&6; }
37110 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37111 $as_echo_n "(cached) " >&6
37112 else
37115 ac_ext=cpp
37116 ac_cpp='$CXXCPP $CPPFLAGS'
37117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37122 /* end confdefs.h. */
37123 #include <math.h>
37125 main ()
37127 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37129 return 0;
37131 _ACEOF
37132 if ac_fn_cxx_try_compile "$LINENO"; then :
37133 glibcxx_cv_func_long_double_trig_use=yes
37134 else
37135 glibcxx_cv_func_long_double_trig_use=no
37137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37138 ac_ext=c
37139 ac_cpp='$CPP $CPPFLAGS'
37140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37147 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37148 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37149 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37150 do :
37151 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37152 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37153 eval as_val=\$$as_ac_var
37154 if test "x$as_val" = x""yes; then :
37155 cat >>confdefs.h <<_ACEOF
37156 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37157 _ACEOF
37160 done
37162 else
37163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37164 $as_echo_n "checking for _long double trig functions... " >&6; }
37165 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37166 $as_echo_n "(cached) " >&6
37167 else
37170 ac_ext=cpp
37171 ac_cpp='$CXXCPP $CPPFLAGS'
37172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37177 /* end confdefs.h. */
37178 #include <math.h>
37180 main ()
37182 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37184 return 0;
37186 _ACEOF
37187 if ac_fn_cxx_try_compile "$LINENO"; then :
37188 glibcxx_cv_func__long_double_trig_use=yes
37189 else
37190 glibcxx_cv_func__long_double_trig_use=no
37192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37193 ac_ext=c
37194 ac_cpp='$CPP $CPPFLAGS'
37195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37202 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37203 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37204 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37205 do :
37206 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37207 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37208 eval as_val=\$$as_ac_var
37209 if test "x$as_val" = x""yes; then :
37210 cat >>confdefs.h <<_ACEOF
37211 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37212 _ACEOF
37215 done
37224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37225 $as_echo_n "checking for long double round functions... " >&6; }
37226 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37227 $as_echo_n "(cached) " >&6
37228 else
37231 ac_ext=cpp
37232 ac_cpp='$CXXCPP $CPPFLAGS'
37233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37238 /* end confdefs.h. */
37239 #include <math.h>
37241 main ()
37243 ceill (0); floorl (0);
37245 return 0;
37247 _ACEOF
37248 if ac_fn_cxx_try_compile "$LINENO"; then :
37249 glibcxx_cv_func_long_double_round_use=yes
37250 else
37251 glibcxx_cv_func_long_double_round_use=no
37253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37254 ac_ext=c
37255 ac_cpp='$CPP $CPPFLAGS'
37256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37263 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37264 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37265 for ac_func in ceill floorl
37266 do :
37267 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37268 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37269 eval as_val=\$$as_ac_var
37270 if test "x$as_val" = x""yes; then :
37271 cat >>confdefs.h <<_ACEOF
37272 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37273 _ACEOF
37276 done
37278 else
37279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37280 $as_echo_n "checking for _long double round functions... " >&6; }
37281 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37282 $as_echo_n "(cached) " >&6
37283 else
37286 ac_ext=cpp
37287 ac_cpp='$CXXCPP $CPPFLAGS'
37288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37293 /* end confdefs.h. */
37294 #include <math.h>
37296 main ()
37298 _ceill (0); _floorl (0);
37300 return 0;
37302 _ACEOF
37303 if ac_fn_cxx_try_compile "$LINENO"; then :
37304 glibcxx_cv_func__long_double_round_use=yes
37305 else
37306 glibcxx_cv_func__long_double_round_use=no
37308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37309 ac_ext=c
37310 ac_cpp='$CPP $CPPFLAGS'
37311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37318 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37319 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37320 for ac_func in _ceill _floorl
37321 do :
37322 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37323 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37324 eval as_val=\$$as_ac_var
37325 if test "x$as_val" = x""yes; then :
37326 cat >>confdefs.h <<_ACEOF
37327 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37328 _ACEOF
37331 done
37341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37342 $as_echo_n "checking for isnanl declaration... " >&6; }
37343 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37344 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37345 $as_echo_n "(cached) " >&6
37346 else
37349 ac_ext=cpp
37350 ac_cpp='$CXXCPP $CPPFLAGS'
37351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37356 /* end confdefs.h. */
37357 #include <math.h>
37358 #ifdef HAVE_IEEEFP_H
37359 #include <ieeefp.h>
37360 #endif
37363 main ()
37365 isnanl(0);
37367 return 0;
37369 _ACEOF
37370 if ac_fn_cxx_try_compile "$LINENO"; then :
37371 glibcxx_cv_func_isnanl_use=yes
37372 else
37373 glibcxx_cv_func_isnanl_use=no
37375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37376 ac_ext=c
37377 ac_cpp='$CPP $CPPFLAGS'
37378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37387 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37389 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37390 for ac_func in isnanl
37391 do :
37392 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37393 if test "x$ac_cv_func_isnanl" = x""yes; then :
37394 cat >>confdefs.h <<_ACEOF
37395 #define HAVE_ISNANL 1
37396 _ACEOF
37399 done
37401 else
37403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37404 $as_echo_n "checking for _isnanl declaration... " >&6; }
37405 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37406 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37407 $as_echo_n "(cached) " >&6
37408 else
37411 ac_ext=cpp
37412 ac_cpp='$CXXCPP $CPPFLAGS'
37413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37418 /* end confdefs.h. */
37419 #include <math.h>
37420 #ifdef HAVE_IEEEFP_H
37421 #include <ieeefp.h>
37422 #endif
37425 main ()
37427 _isnanl(0);
37429 return 0;
37431 _ACEOF
37432 if ac_fn_cxx_try_compile "$LINENO"; then :
37433 glibcxx_cv_func__isnanl_use=yes
37434 else
37435 glibcxx_cv_func__isnanl_use=no
37437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37438 ac_ext=c
37439 ac_cpp='$CPP $CPPFLAGS'
37440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37449 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37451 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37452 for ac_func in _isnanl
37453 do :
37454 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37455 if test "x$ac_cv_func__isnanl" = x""yes; then :
37456 cat >>confdefs.h <<_ACEOF
37457 #define HAVE__ISNANL 1
37458 _ACEOF
37461 done
37470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37471 $as_echo_n "checking for isinfl declaration... " >&6; }
37472 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37473 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37474 $as_echo_n "(cached) " >&6
37475 else
37478 ac_ext=cpp
37479 ac_cpp='$CXXCPP $CPPFLAGS'
37480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37485 /* end confdefs.h. */
37486 #include <math.h>
37487 #ifdef HAVE_IEEEFP_H
37488 #include <ieeefp.h>
37489 #endif
37492 main ()
37494 isinfl(0);
37496 return 0;
37498 _ACEOF
37499 if ac_fn_cxx_try_compile "$LINENO"; then :
37500 glibcxx_cv_func_isinfl_use=yes
37501 else
37502 glibcxx_cv_func_isinfl_use=no
37504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37505 ac_ext=c
37506 ac_cpp='$CPP $CPPFLAGS'
37507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37516 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37518 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37519 for ac_func in isinfl
37520 do :
37521 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37522 if test "x$ac_cv_func_isinfl" = x""yes; then :
37523 cat >>confdefs.h <<_ACEOF
37524 #define HAVE_ISINFL 1
37525 _ACEOF
37528 done
37530 else
37532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37533 $as_echo_n "checking for _isinfl declaration... " >&6; }
37534 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37535 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37536 $as_echo_n "(cached) " >&6
37537 else
37540 ac_ext=cpp
37541 ac_cpp='$CXXCPP $CPPFLAGS'
37542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37547 /* end confdefs.h. */
37548 #include <math.h>
37549 #ifdef HAVE_IEEEFP_H
37550 #include <ieeefp.h>
37551 #endif
37554 main ()
37556 _isinfl(0);
37558 return 0;
37560 _ACEOF
37561 if ac_fn_cxx_try_compile "$LINENO"; then :
37562 glibcxx_cv_func__isinfl_use=yes
37563 else
37564 glibcxx_cv_func__isinfl_use=no
37566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37567 ac_ext=c
37568 ac_cpp='$CPP $CPPFLAGS'
37569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37578 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37580 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37581 for ac_func in _isinfl
37582 do :
37583 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37584 if test "x$ac_cv_func__isinfl" = x""yes; then :
37585 cat >>confdefs.h <<_ACEOF
37586 #define HAVE__ISINFL 1
37587 _ACEOF
37590 done
37599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37600 $as_echo_n "checking for atan2l declaration... " >&6; }
37601 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37602 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37603 $as_echo_n "(cached) " >&6
37604 else
37607 ac_ext=cpp
37608 ac_cpp='$CXXCPP $CPPFLAGS'
37609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37614 /* end confdefs.h. */
37615 #include <math.h>
37617 main ()
37619 atan2l(0, 0);
37621 return 0;
37623 _ACEOF
37624 if ac_fn_cxx_try_compile "$LINENO"; then :
37625 glibcxx_cv_func_atan2l_use=yes
37626 else
37627 glibcxx_cv_func_atan2l_use=no
37629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37630 ac_ext=c
37631 ac_cpp='$CPP $CPPFLAGS'
37632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37641 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37643 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37644 for ac_func in atan2l
37645 do :
37646 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37647 if test "x$ac_cv_func_atan2l" = x""yes; then :
37648 cat >>confdefs.h <<_ACEOF
37649 #define HAVE_ATAN2L 1
37650 _ACEOF
37653 done
37655 else
37657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37658 $as_echo_n "checking for _atan2l declaration... " >&6; }
37659 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37660 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37661 $as_echo_n "(cached) " >&6
37662 else
37665 ac_ext=cpp
37666 ac_cpp='$CXXCPP $CPPFLAGS'
37667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37672 /* end confdefs.h. */
37673 #include <math.h>
37675 main ()
37677 _atan2l(0, 0);
37679 return 0;
37681 _ACEOF
37682 if ac_fn_cxx_try_compile "$LINENO"; then :
37683 glibcxx_cv_func__atan2l_use=yes
37684 else
37685 glibcxx_cv_func__atan2l_use=no
37687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37688 ac_ext=c
37689 ac_cpp='$CPP $CPPFLAGS'
37690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37699 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37701 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37702 for ac_func in _atan2l
37703 do :
37704 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37705 if test "x$ac_cv_func__atan2l" = x""yes; then :
37706 cat >>confdefs.h <<_ACEOF
37707 #define HAVE__ATAN2L 1
37708 _ACEOF
37711 done
37720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37721 $as_echo_n "checking for expl declaration... " >&6; }
37722 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37723 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37724 $as_echo_n "(cached) " >&6
37725 else
37728 ac_ext=cpp
37729 ac_cpp='$CXXCPP $CPPFLAGS'
37730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37735 /* end confdefs.h. */
37736 #include <math.h>
37737 #ifdef HAVE_IEEEFP_H
37738 #include <ieeefp.h>
37739 #endif
37742 main ()
37744 expl(0);
37746 return 0;
37748 _ACEOF
37749 if ac_fn_cxx_try_compile "$LINENO"; then :
37750 glibcxx_cv_func_expl_use=yes
37751 else
37752 glibcxx_cv_func_expl_use=no
37754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37755 ac_ext=c
37756 ac_cpp='$CPP $CPPFLAGS'
37757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37766 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37768 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37769 for ac_func in expl
37770 do :
37771 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37772 if test "x$ac_cv_func_expl" = x""yes; then :
37773 cat >>confdefs.h <<_ACEOF
37774 #define HAVE_EXPL 1
37775 _ACEOF
37778 done
37780 else
37782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37783 $as_echo_n "checking for _expl declaration... " >&6; }
37784 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37785 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37786 $as_echo_n "(cached) " >&6
37787 else
37790 ac_ext=cpp
37791 ac_cpp='$CXXCPP $CPPFLAGS'
37792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37797 /* end confdefs.h. */
37798 #include <math.h>
37799 #ifdef HAVE_IEEEFP_H
37800 #include <ieeefp.h>
37801 #endif
37804 main ()
37806 _expl(0);
37808 return 0;
37810 _ACEOF
37811 if ac_fn_cxx_try_compile "$LINENO"; then :
37812 glibcxx_cv_func__expl_use=yes
37813 else
37814 glibcxx_cv_func__expl_use=no
37816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37817 ac_ext=c
37818 ac_cpp='$CPP $CPPFLAGS'
37819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37828 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37830 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37831 for ac_func in _expl
37832 do :
37833 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37834 if test "x$ac_cv_func__expl" = x""yes; then :
37835 cat >>confdefs.h <<_ACEOF
37836 #define HAVE__EXPL 1
37837 _ACEOF
37840 done
37849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37850 $as_echo_n "checking for fabsl declaration... " >&6; }
37851 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37852 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37853 $as_echo_n "(cached) " >&6
37854 else
37857 ac_ext=cpp
37858 ac_cpp='$CXXCPP $CPPFLAGS'
37859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37864 /* end confdefs.h. */
37865 #include <math.h>
37866 #ifdef HAVE_IEEEFP_H
37867 #include <ieeefp.h>
37868 #endif
37871 main ()
37873 fabsl(0);
37875 return 0;
37877 _ACEOF
37878 if ac_fn_cxx_try_compile "$LINENO"; then :
37879 glibcxx_cv_func_fabsl_use=yes
37880 else
37881 glibcxx_cv_func_fabsl_use=no
37883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37884 ac_ext=c
37885 ac_cpp='$CPP $CPPFLAGS'
37886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37895 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37897 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37898 for ac_func in fabsl
37899 do :
37900 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37901 if test "x$ac_cv_func_fabsl" = x""yes; then :
37902 cat >>confdefs.h <<_ACEOF
37903 #define HAVE_FABSL 1
37904 _ACEOF
37907 done
37909 else
37911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37912 $as_echo_n "checking for _fabsl declaration... " >&6; }
37913 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37914 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37915 $as_echo_n "(cached) " >&6
37916 else
37919 ac_ext=cpp
37920 ac_cpp='$CXXCPP $CPPFLAGS'
37921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37926 /* end confdefs.h. */
37927 #include <math.h>
37928 #ifdef HAVE_IEEEFP_H
37929 #include <ieeefp.h>
37930 #endif
37933 main ()
37935 _fabsl(0);
37937 return 0;
37939 _ACEOF
37940 if ac_fn_cxx_try_compile "$LINENO"; then :
37941 glibcxx_cv_func__fabsl_use=yes
37942 else
37943 glibcxx_cv_func__fabsl_use=no
37945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37946 ac_ext=c
37947 ac_cpp='$CPP $CPPFLAGS'
37948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37957 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37959 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37960 for ac_func in _fabsl
37961 do :
37962 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37963 if test "x$ac_cv_func__fabsl" = x""yes; then :
37964 cat >>confdefs.h <<_ACEOF
37965 #define HAVE__FABSL 1
37966 _ACEOF
37969 done
37978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37979 $as_echo_n "checking for fmodl declaration... " >&6; }
37980 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37981 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37982 $as_echo_n "(cached) " >&6
37983 else
37986 ac_ext=cpp
37987 ac_cpp='$CXXCPP $CPPFLAGS'
37988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37993 /* end confdefs.h. */
37994 #include <math.h>
37996 main ()
37998 fmodl(0, 0);
38000 return 0;
38002 _ACEOF
38003 if ac_fn_cxx_try_compile "$LINENO"; then :
38004 glibcxx_cv_func_fmodl_use=yes
38005 else
38006 glibcxx_cv_func_fmodl_use=no
38008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38009 ac_ext=c
38010 ac_cpp='$CPP $CPPFLAGS'
38011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38020 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38022 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38023 for ac_func in fmodl
38024 do :
38025 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38026 if test "x$ac_cv_func_fmodl" = x""yes; then :
38027 cat >>confdefs.h <<_ACEOF
38028 #define HAVE_FMODL 1
38029 _ACEOF
38032 done
38034 else
38036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38037 $as_echo_n "checking for _fmodl declaration... " >&6; }
38038 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38039 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38040 $as_echo_n "(cached) " >&6
38041 else
38044 ac_ext=cpp
38045 ac_cpp='$CXXCPP $CPPFLAGS'
38046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38051 /* end confdefs.h. */
38052 #include <math.h>
38054 main ()
38056 _fmodl(0, 0);
38058 return 0;
38060 _ACEOF
38061 if ac_fn_cxx_try_compile "$LINENO"; then :
38062 glibcxx_cv_func__fmodl_use=yes
38063 else
38064 glibcxx_cv_func__fmodl_use=no
38066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38067 ac_ext=c
38068 ac_cpp='$CPP $CPPFLAGS'
38069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38078 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38080 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38081 for ac_func in _fmodl
38082 do :
38083 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38084 if test "x$ac_cv_func__fmodl" = x""yes; then :
38085 cat >>confdefs.h <<_ACEOF
38086 #define HAVE__FMODL 1
38087 _ACEOF
38090 done
38099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38100 $as_echo_n "checking for frexpl declaration... " >&6; }
38101 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38102 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38103 $as_echo_n "(cached) " >&6
38104 else
38107 ac_ext=cpp
38108 ac_cpp='$CXXCPP $CPPFLAGS'
38109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38114 /* end confdefs.h. */
38115 #include <math.h>
38117 main ()
38119 frexpl(0, 0);
38121 return 0;
38123 _ACEOF
38124 if ac_fn_cxx_try_compile "$LINENO"; then :
38125 glibcxx_cv_func_frexpl_use=yes
38126 else
38127 glibcxx_cv_func_frexpl_use=no
38129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38130 ac_ext=c
38131 ac_cpp='$CPP $CPPFLAGS'
38132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38141 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38143 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38144 for ac_func in frexpl
38145 do :
38146 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38147 if test "x$ac_cv_func_frexpl" = x""yes; then :
38148 cat >>confdefs.h <<_ACEOF
38149 #define HAVE_FREXPL 1
38150 _ACEOF
38153 done
38155 else
38157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38158 $as_echo_n "checking for _frexpl declaration... " >&6; }
38159 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38160 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38161 $as_echo_n "(cached) " >&6
38162 else
38165 ac_ext=cpp
38166 ac_cpp='$CXXCPP $CPPFLAGS'
38167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38172 /* end confdefs.h. */
38173 #include <math.h>
38175 main ()
38177 _frexpl(0, 0);
38179 return 0;
38181 _ACEOF
38182 if ac_fn_cxx_try_compile "$LINENO"; then :
38183 glibcxx_cv_func__frexpl_use=yes
38184 else
38185 glibcxx_cv_func__frexpl_use=no
38187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38188 ac_ext=c
38189 ac_cpp='$CPP $CPPFLAGS'
38190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38199 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38201 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38202 for ac_func in _frexpl
38203 do :
38204 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38205 if test "x$ac_cv_func__frexpl" = x""yes; then :
38206 cat >>confdefs.h <<_ACEOF
38207 #define HAVE__FREXPL 1
38208 _ACEOF
38211 done
38220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38221 $as_echo_n "checking for hypotl declaration... " >&6; }
38222 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38223 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38224 $as_echo_n "(cached) " >&6
38225 else
38228 ac_ext=cpp
38229 ac_cpp='$CXXCPP $CPPFLAGS'
38230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38235 /* end confdefs.h. */
38236 #include <math.h>
38238 main ()
38240 hypotl(0, 0);
38242 return 0;
38244 _ACEOF
38245 if ac_fn_cxx_try_compile "$LINENO"; then :
38246 glibcxx_cv_func_hypotl_use=yes
38247 else
38248 glibcxx_cv_func_hypotl_use=no
38250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38251 ac_ext=c
38252 ac_cpp='$CPP $CPPFLAGS'
38253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38262 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38264 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38265 for ac_func in hypotl
38266 do :
38267 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38268 if test "x$ac_cv_func_hypotl" = x""yes; then :
38269 cat >>confdefs.h <<_ACEOF
38270 #define HAVE_HYPOTL 1
38271 _ACEOF
38274 done
38276 else
38278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38279 $as_echo_n "checking for _hypotl declaration... " >&6; }
38280 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38281 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38282 $as_echo_n "(cached) " >&6
38283 else
38286 ac_ext=cpp
38287 ac_cpp='$CXXCPP $CPPFLAGS'
38288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38293 /* end confdefs.h. */
38294 #include <math.h>
38296 main ()
38298 _hypotl(0, 0);
38300 return 0;
38302 _ACEOF
38303 if ac_fn_cxx_try_compile "$LINENO"; then :
38304 glibcxx_cv_func__hypotl_use=yes
38305 else
38306 glibcxx_cv_func__hypotl_use=no
38308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38309 ac_ext=c
38310 ac_cpp='$CPP $CPPFLAGS'
38311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38320 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38322 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38323 for ac_func in _hypotl
38324 do :
38325 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38326 if test "x$ac_cv_func__hypotl" = x""yes; then :
38327 cat >>confdefs.h <<_ACEOF
38328 #define HAVE__HYPOTL 1
38329 _ACEOF
38332 done
38341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38342 $as_echo_n "checking for ldexpl declaration... " >&6; }
38343 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38344 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38345 $as_echo_n "(cached) " >&6
38346 else
38349 ac_ext=cpp
38350 ac_cpp='$CXXCPP $CPPFLAGS'
38351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38356 /* end confdefs.h. */
38357 #include <math.h>
38359 main ()
38361 ldexpl(0, 0);
38363 return 0;
38365 _ACEOF
38366 if ac_fn_cxx_try_compile "$LINENO"; then :
38367 glibcxx_cv_func_ldexpl_use=yes
38368 else
38369 glibcxx_cv_func_ldexpl_use=no
38371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38372 ac_ext=c
38373 ac_cpp='$CPP $CPPFLAGS'
38374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38383 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38385 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38386 for ac_func in ldexpl
38387 do :
38388 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38389 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38390 cat >>confdefs.h <<_ACEOF
38391 #define HAVE_LDEXPL 1
38392 _ACEOF
38395 done
38397 else
38399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38400 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38401 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38402 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38403 $as_echo_n "(cached) " >&6
38404 else
38407 ac_ext=cpp
38408 ac_cpp='$CXXCPP $CPPFLAGS'
38409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38414 /* end confdefs.h. */
38415 #include <math.h>
38417 main ()
38419 _ldexpl(0, 0);
38421 return 0;
38423 _ACEOF
38424 if ac_fn_cxx_try_compile "$LINENO"; then :
38425 glibcxx_cv_func__ldexpl_use=yes
38426 else
38427 glibcxx_cv_func__ldexpl_use=no
38429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38430 ac_ext=c
38431 ac_cpp='$CPP $CPPFLAGS'
38432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38441 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38443 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38444 for ac_func in _ldexpl
38445 do :
38446 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38447 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38448 cat >>confdefs.h <<_ACEOF
38449 #define HAVE__LDEXPL 1
38450 _ACEOF
38453 done
38462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38463 $as_echo_n "checking for logl declaration... " >&6; }
38464 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38465 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38466 $as_echo_n "(cached) " >&6
38467 else
38470 ac_ext=cpp
38471 ac_cpp='$CXXCPP $CPPFLAGS'
38472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38477 /* end confdefs.h. */
38478 #include <math.h>
38479 #ifdef HAVE_IEEEFP_H
38480 #include <ieeefp.h>
38481 #endif
38484 main ()
38486 logl(0);
38488 return 0;
38490 _ACEOF
38491 if ac_fn_cxx_try_compile "$LINENO"; then :
38492 glibcxx_cv_func_logl_use=yes
38493 else
38494 glibcxx_cv_func_logl_use=no
38496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38497 ac_ext=c
38498 ac_cpp='$CPP $CPPFLAGS'
38499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38508 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38510 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38511 for ac_func in logl
38512 do :
38513 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38514 if test "x$ac_cv_func_logl" = x""yes; then :
38515 cat >>confdefs.h <<_ACEOF
38516 #define HAVE_LOGL 1
38517 _ACEOF
38520 done
38522 else
38524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38525 $as_echo_n "checking for _logl declaration... " >&6; }
38526 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38527 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38528 $as_echo_n "(cached) " >&6
38529 else
38532 ac_ext=cpp
38533 ac_cpp='$CXXCPP $CPPFLAGS'
38534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38539 /* end confdefs.h. */
38540 #include <math.h>
38541 #ifdef HAVE_IEEEFP_H
38542 #include <ieeefp.h>
38543 #endif
38546 main ()
38548 _logl(0);
38550 return 0;
38552 _ACEOF
38553 if ac_fn_cxx_try_compile "$LINENO"; then :
38554 glibcxx_cv_func__logl_use=yes
38555 else
38556 glibcxx_cv_func__logl_use=no
38558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38559 ac_ext=c
38560 ac_cpp='$CPP $CPPFLAGS'
38561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38570 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38572 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38573 for ac_func in _logl
38574 do :
38575 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38576 if test "x$ac_cv_func__logl" = x""yes; then :
38577 cat >>confdefs.h <<_ACEOF
38578 #define HAVE__LOGL 1
38579 _ACEOF
38582 done
38591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38592 $as_echo_n "checking for log10l declaration... " >&6; }
38593 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38594 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38595 $as_echo_n "(cached) " >&6
38596 else
38599 ac_ext=cpp
38600 ac_cpp='$CXXCPP $CPPFLAGS'
38601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38606 /* end confdefs.h. */
38607 #include <math.h>
38608 #ifdef HAVE_IEEEFP_H
38609 #include <ieeefp.h>
38610 #endif
38613 main ()
38615 log10l(0);
38617 return 0;
38619 _ACEOF
38620 if ac_fn_cxx_try_compile "$LINENO"; then :
38621 glibcxx_cv_func_log10l_use=yes
38622 else
38623 glibcxx_cv_func_log10l_use=no
38625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38626 ac_ext=c
38627 ac_cpp='$CPP $CPPFLAGS'
38628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38637 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38639 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38640 for ac_func in log10l
38641 do :
38642 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38643 if test "x$ac_cv_func_log10l" = x""yes; then :
38644 cat >>confdefs.h <<_ACEOF
38645 #define HAVE_LOG10L 1
38646 _ACEOF
38649 done
38651 else
38653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38654 $as_echo_n "checking for _log10l declaration... " >&6; }
38655 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38656 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38657 $as_echo_n "(cached) " >&6
38658 else
38661 ac_ext=cpp
38662 ac_cpp='$CXXCPP $CPPFLAGS'
38663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38668 /* end confdefs.h. */
38669 #include <math.h>
38670 #ifdef HAVE_IEEEFP_H
38671 #include <ieeefp.h>
38672 #endif
38675 main ()
38677 _log10l(0);
38679 return 0;
38681 _ACEOF
38682 if ac_fn_cxx_try_compile "$LINENO"; then :
38683 glibcxx_cv_func__log10l_use=yes
38684 else
38685 glibcxx_cv_func__log10l_use=no
38687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38688 ac_ext=c
38689 ac_cpp='$CPP $CPPFLAGS'
38690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38699 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38701 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38702 for ac_func in _log10l
38703 do :
38704 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38705 if test "x$ac_cv_func__log10l" = x""yes; then :
38706 cat >>confdefs.h <<_ACEOF
38707 #define HAVE__LOG10L 1
38708 _ACEOF
38711 done
38720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38721 $as_echo_n "checking for modfl declaration... " >&6; }
38722 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38723 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38724 $as_echo_n "(cached) " >&6
38725 else
38728 ac_ext=cpp
38729 ac_cpp='$CXXCPP $CPPFLAGS'
38730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38735 /* end confdefs.h. */
38736 #include <math.h>
38738 main ()
38740 modfl(0, 0);
38742 return 0;
38744 _ACEOF
38745 if ac_fn_cxx_try_compile "$LINENO"; then :
38746 glibcxx_cv_func_modfl_use=yes
38747 else
38748 glibcxx_cv_func_modfl_use=no
38750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38751 ac_ext=c
38752 ac_cpp='$CPP $CPPFLAGS'
38753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38762 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38764 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38765 for ac_func in modfl
38766 do :
38767 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38768 if test "x$ac_cv_func_modfl" = x""yes; then :
38769 cat >>confdefs.h <<_ACEOF
38770 #define HAVE_MODFL 1
38771 _ACEOF
38774 done
38776 else
38778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38779 $as_echo_n "checking for _modfl declaration... " >&6; }
38780 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38781 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38782 $as_echo_n "(cached) " >&6
38783 else
38786 ac_ext=cpp
38787 ac_cpp='$CXXCPP $CPPFLAGS'
38788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38793 /* end confdefs.h. */
38794 #include <math.h>
38796 main ()
38798 _modfl(0, 0);
38800 return 0;
38802 _ACEOF
38803 if ac_fn_cxx_try_compile "$LINENO"; then :
38804 glibcxx_cv_func__modfl_use=yes
38805 else
38806 glibcxx_cv_func__modfl_use=no
38808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38809 ac_ext=c
38810 ac_cpp='$CPP $CPPFLAGS'
38811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38820 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38822 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38823 for ac_func in _modfl
38824 do :
38825 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38826 if test "x$ac_cv_func__modfl" = x""yes; then :
38827 cat >>confdefs.h <<_ACEOF
38828 #define HAVE__MODFL 1
38829 _ACEOF
38832 done
38841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38842 $as_echo_n "checking for powl declaration... " >&6; }
38843 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38844 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38845 $as_echo_n "(cached) " >&6
38846 else
38849 ac_ext=cpp
38850 ac_cpp='$CXXCPP $CPPFLAGS'
38851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38856 /* end confdefs.h. */
38857 #include <math.h>
38859 main ()
38861 powl(0, 0);
38863 return 0;
38865 _ACEOF
38866 if ac_fn_cxx_try_compile "$LINENO"; then :
38867 glibcxx_cv_func_powl_use=yes
38868 else
38869 glibcxx_cv_func_powl_use=no
38871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38872 ac_ext=c
38873 ac_cpp='$CPP $CPPFLAGS'
38874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38883 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38885 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38886 for ac_func in powl
38887 do :
38888 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38889 if test "x$ac_cv_func_powl" = x""yes; then :
38890 cat >>confdefs.h <<_ACEOF
38891 #define HAVE_POWL 1
38892 _ACEOF
38895 done
38897 else
38899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38900 $as_echo_n "checking for _powl declaration... " >&6; }
38901 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38902 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38903 $as_echo_n "(cached) " >&6
38904 else
38907 ac_ext=cpp
38908 ac_cpp='$CXXCPP $CPPFLAGS'
38909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38914 /* end confdefs.h. */
38915 #include <math.h>
38917 main ()
38919 _powl(0, 0);
38921 return 0;
38923 _ACEOF
38924 if ac_fn_cxx_try_compile "$LINENO"; then :
38925 glibcxx_cv_func__powl_use=yes
38926 else
38927 glibcxx_cv_func__powl_use=no
38929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38930 ac_ext=c
38931 ac_cpp='$CPP $CPPFLAGS'
38932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38941 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38943 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38944 for ac_func in _powl
38945 do :
38946 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38947 if test "x$ac_cv_func__powl" = x""yes; then :
38948 cat >>confdefs.h <<_ACEOF
38949 #define HAVE__POWL 1
38950 _ACEOF
38953 done
38962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38963 $as_echo_n "checking for sqrtl declaration... " >&6; }
38964 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38965 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38966 $as_echo_n "(cached) " >&6
38967 else
38970 ac_ext=cpp
38971 ac_cpp='$CXXCPP $CPPFLAGS'
38972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38977 /* end confdefs.h. */
38978 #include <math.h>
38979 #ifdef HAVE_IEEEFP_H
38980 #include <ieeefp.h>
38981 #endif
38984 main ()
38986 sqrtl(0);
38988 return 0;
38990 _ACEOF
38991 if ac_fn_cxx_try_compile "$LINENO"; then :
38992 glibcxx_cv_func_sqrtl_use=yes
38993 else
38994 glibcxx_cv_func_sqrtl_use=no
38996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38997 ac_ext=c
38998 ac_cpp='$CPP $CPPFLAGS'
38999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39008 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39010 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39011 for ac_func in sqrtl
39012 do :
39013 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39014 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39015 cat >>confdefs.h <<_ACEOF
39016 #define HAVE_SQRTL 1
39017 _ACEOF
39020 done
39022 else
39024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39025 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39026 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39027 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39028 $as_echo_n "(cached) " >&6
39029 else
39032 ac_ext=cpp
39033 ac_cpp='$CXXCPP $CPPFLAGS'
39034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39039 /* end confdefs.h. */
39040 #include <math.h>
39041 #ifdef HAVE_IEEEFP_H
39042 #include <ieeefp.h>
39043 #endif
39046 main ()
39048 _sqrtl(0);
39050 return 0;
39052 _ACEOF
39053 if ac_fn_cxx_try_compile "$LINENO"; then :
39054 glibcxx_cv_func__sqrtl_use=yes
39055 else
39056 glibcxx_cv_func__sqrtl_use=no
39058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39059 ac_ext=c
39060 ac_cpp='$CPP $CPPFLAGS'
39061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39070 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39072 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39073 for ac_func in _sqrtl
39074 do :
39075 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39076 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39077 cat >>confdefs.h <<_ACEOF
39078 #define HAVE__SQRTL 1
39079 _ACEOF
39082 done
39091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39092 $as_echo_n "checking for sincosl declaration... " >&6; }
39093 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39094 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39095 $as_echo_n "(cached) " >&6
39096 else
39099 ac_ext=cpp
39100 ac_cpp='$CXXCPP $CPPFLAGS'
39101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39106 /* end confdefs.h. */
39107 #include <math.h>
39109 main ()
39111 sincosl(0, 0, 0);
39113 return 0;
39115 _ACEOF
39116 if ac_fn_cxx_try_compile "$LINENO"; then :
39117 glibcxx_cv_func_sincosl_use=yes
39118 else
39119 glibcxx_cv_func_sincosl_use=no
39121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39122 ac_ext=c
39123 ac_cpp='$CPP $CPPFLAGS'
39124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39133 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39135 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39136 for ac_func in sincosl
39137 do :
39138 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39139 if test "x$ac_cv_func_sincosl" = x""yes; then :
39140 cat >>confdefs.h <<_ACEOF
39141 #define HAVE_SINCOSL 1
39142 _ACEOF
39145 done
39147 else
39149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39150 $as_echo_n "checking for _sincosl declaration... " >&6; }
39151 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39152 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39153 $as_echo_n "(cached) " >&6
39154 else
39157 ac_ext=cpp
39158 ac_cpp='$CXXCPP $CPPFLAGS'
39159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39164 /* end confdefs.h. */
39165 #include <math.h>
39167 main ()
39169 _sincosl(0, 0, 0);
39171 return 0;
39173 _ACEOF
39174 if ac_fn_cxx_try_compile "$LINENO"; then :
39175 glibcxx_cv_func__sincosl_use=yes
39176 else
39177 glibcxx_cv_func__sincosl_use=no
39179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39180 ac_ext=c
39181 ac_cpp='$CPP $CPPFLAGS'
39182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39191 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39193 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39194 for ac_func in _sincosl
39195 do :
39196 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39197 if test "x$ac_cv_func__sincosl" = x""yes; then :
39198 cat >>confdefs.h <<_ACEOF
39199 #define HAVE__SINCOSL 1
39200 _ACEOF
39203 done
39212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39213 $as_echo_n "checking for finitel declaration... " >&6; }
39214 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39215 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39216 $as_echo_n "(cached) " >&6
39217 else
39220 ac_ext=cpp
39221 ac_cpp='$CXXCPP $CPPFLAGS'
39222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39227 /* end confdefs.h. */
39228 #include <math.h>
39229 #ifdef HAVE_IEEEFP_H
39230 #include <ieeefp.h>
39231 #endif
39234 main ()
39236 finitel(0);
39238 return 0;
39240 _ACEOF
39241 if ac_fn_cxx_try_compile "$LINENO"; then :
39242 glibcxx_cv_func_finitel_use=yes
39243 else
39244 glibcxx_cv_func_finitel_use=no
39246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39247 ac_ext=c
39248 ac_cpp='$CPP $CPPFLAGS'
39249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39258 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39260 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39261 for ac_func in finitel
39262 do :
39263 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39264 if test "x$ac_cv_func_finitel" = x""yes; then :
39265 cat >>confdefs.h <<_ACEOF
39266 #define HAVE_FINITEL 1
39267 _ACEOF
39270 done
39272 else
39274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39275 $as_echo_n "checking for _finitel declaration... " >&6; }
39276 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39277 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39278 $as_echo_n "(cached) " >&6
39279 else
39282 ac_ext=cpp
39283 ac_cpp='$CXXCPP $CPPFLAGS'
39284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39289 /* end confdefs.h. */
39290 #include <math.h>
39291 #ifdef HAVE_IEEEFP_H
39292 #include <ieeefp.h>
39293 #endif
39296 main ()
39298 _finitel(0);
39300 return 0;
39302 _ACEOF
39303 if ac_fn_cxx_try_compile "$LINENO"; then :
39304 glibcxx_cv_func__finitel_use=yes
39305 else
39306 glibcxx_cv_func__finitel_use=no
39308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39309 ac_ext=c
39310 ac_cpp='$CPP $CPPFLAGS'
39311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39320 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39322 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39323 for ac_func in _finitel
39324 do :
39325 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39326 if test "x$ac_cv_func__finitel" = x""yes; then :
39327 cat >>confdefs.h <<_ACEOF
39328 #define HAVE__FINITEL 1
39329 _ACEOF
39332 done
39340 LIBS="$ac_save_LIBS"
39341 CXXFLAGS="$ac_save_CXXFLAGS"
39344 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39345 ac_save_CXXFLAGS="$CXXFLAGS"
39346 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39350 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39351 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39352 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39353 $as_echo_n "(cached) " >&6
39354 else
39357 ac_ext=cpp
39358 ac_cpp='$CXXCPP $CPPFLAGS'
39359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39364 /* end confdefs.h. */
39365 #include <stdlib.h>
39367 main ()
39369 at_quick_exit(0);
39371 return 0;
39373 _ACEOF
39374 if ac_fn_cxx_try_compile "$LINENO"; then :
39375 glibcxx_cv_func_at_quick_exit_use=yes
39376 else
39377 glibcxx_cv_func_at_quick_exit_use=no
39379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39380 ac_ext=c
39381 ac_cpp='$CPP $CPPFLAGS'
39382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39391 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39392 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39393 for ac_func in at_quick_exit
39394 do :
39395 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39396 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39397 cat >>confdefs.h <<_ACEOF
39398 #define HAVE_AT_QUICK_EXIT 1
39399 _ACEOF
39402 done
39407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39408 $as_echo_n "checking for quick_exit declaration... " >&6; }
39409 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39410 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39411 $as_echo_n "(cached) " >&6
39412 else
39415 ac_ext=cpp
39416 ac_cpp='$CXXCPP $CPPFLAGS'
39417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39422 /* end confdefs.h. */
39423 #include <stdlib.h>
39425 main ()
39427 quick_exit(0);
39429 return 0;
39431 _ACEOF
39432 if ac_fn_cxx_try_compile "$LINENO"; then :
39433 glibcxx_cv_func_quick_exit_use=yes
39434 else
39435 glibcxx_cv_func_quick_exit_use=no
39437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39438 ac_ext=c
39439 ac_cpp='$CPP $CPPFLAGS'
39440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39449 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39450 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39451 for ac_func in quick_exit
39452 do :
39453 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39454 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39455 cat >>confdefs.h <<_ACEOF
39456 #define HAVE_QUICK_EXIT 1
39457 _ACEOF
39460 done
39465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39466 $as_echo_n "checking for strtold declaration... " >&6; }
39467 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39468 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39469 $as_echo_n "(cached) " >&6
39470 else
39473 ac_ext=cpp
39474 ac_cpp='$CXXCPP $CPPFLAGS'
39475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39480 /* end confdefs.h. */
39481 #include <stdlib.h>
39483 main ()
39485 strtold(0, 0);
39487 return 0;
39489 _ACEOF
39490 if ac_fn_cxx_try_compile "$LINENO"; then :
39491 glibcxx_cv_func_strtold_use=yes
39492 else
39493 glibcxx_cv_func_strtold_use=no
39495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39496 ac_ext=c
39497 ac_cpp='$CPP $CPPFLAGS'
39498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39507 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39508 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39509 for ac_func in strtold
39510 do :
39511 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39512 if test "x$ac_cv_func_strtold" = x""yes; then :
39513 cat >>confdefs.h <<_ACEOF
39514 #define HAVE_STRTOLD 1
39515 _ACEOF
39518 done
39525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39526 $as_echo_n "checking for strtof declaration... " >&6; }
39527 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39528 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39529 $as_echo_n "(cached) " >&6
39530 else
39533 ac_ext=cpp
39534 ac_cpp='$CXXCPP $CPPFLAGS'
39535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39540 /* end confdefs.h. */
39541 #include <stdlib.h>
39543 main ()
39545 strtof(0, 0);
39547 return 0;
39549 _ACEOF
39550 if ac_fn_cxx_try_compile "$LINENO"; then :
39551 glibcxx_cv_func_strtof_use=yes
39552 else
39553 glibcxx_cv_func_strtof_use=no
39555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39556 ac_ext=c
39557 ac_cpp='$CPP $CPPFLAGS'
39558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39567 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39568 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39569 for ac_func in strtof
39570 do :
39571 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39572 if test "x$ac_cv_func_strtof" = x""yes; then :
39573 cat >>confdefs.h <<_ACEOF
39574 #define HAVE_STRTOF 1
39575 _ACEOF
39578 done
39585 CXXFLAGS="$ac_save_CXXFLAGS"
39587 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
39589 # We don't yet support AIX's TLS ABI.
39590 #GCC_CHECK_TLS
39596 am_save_CPPFLAGS="$CPPFLAGS"
39598 for element in $INCICONV; do
39599 haveit=
39600 for x in $CPPFLAGS; do
39602 acl_save_prefix="$prefix"
39603 prefix="$acl_final_prefix"
39604 acl_save_exec_prefix="$exec_prefix"
39605 exec_prefix="$acl_final_exec_prefix"
39606 eval x=\"$x\"
39607 exec_prefix="$acl_save_exec_prefix"
39608 prefix="$acl_save_prefix"
39610 if test "X$x" = "X$element"; then
39611 haveit=yes
39612 break
39614 done
39615 if test -z "$haveit"; then
39616 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39618 done
39621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39622 $as_echo_n "checking for iconv... " >&6; }
39623 if test "${am_cv_func_iconv+set}" = set; then :
39624 $as_echo_n "(cached) " >&6
39625 else
39627 am_cv_func_iconv="no, consider installing GNU libiconv"
39628 am_cv_lib_iconv=no
39629 if test x$gcc_no_link = xyes; then
39630 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39633 /* end confdefs.h. */
39634 #include <stdlib.h>
39635 #include <iconv.h>
39637 main ()
39639 iconv_t cd = iconv_open("","");
39640 iconv(cd,NULL,NULL,NULL,NULL);
39641 iconv_close(cd);
39643 return 0;
39645 _ACEOF
39646 if ac_fn_c_try_link "$LINENO"; then :
39647 am_cv_func_iconv=yes
39649 rm -f core conftest.err conftest.$ac_objext \
39650 conftest$ac_exeext conftest.$ac_ext
39651 if test "$am_cv_func_iconv" != yes; then
39652 am_save_LIBS="$LIBS"
39653 LIBS="$LIBS $LIBICONV"
39654 if test x$gcc_no_link = xyes; then
39655 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39658 /* end confdefs.h. */
39659 #include <stdlib.h>
39660 #include <iconv.h>
39662 main ()
39664 iconv_t cd = iconv_open("","");
39665 iconv(cd,NULL,NULL,NULL,NULL);
39666 iconv_close(cd);
39668 return 0;
39670 _ACEOF
39671 if ac_fn_c_try_link "$LINENO"; then :
39672 am_cv_lib_iconv=yes
39673 am_cv_func_iconv=yes
39675 rm -f core conftest.err conftest.$ac_objext \
39676 conftest$ac_exeext conftest.$ac_ext
39677 LIBS="$am_save_LIBS"
39681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39682 $as_echo "$am_cv_func_iconv" >&6; }
39683 if test "$am_cv_func_iconv" = yes; then
39685 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39688 if test "$am_cv_lib_iconv" = yes; then
39689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39690 $as_echo_n "checking how to link with libiconv... " >&6; }
39691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39692 $as_echo "$LIBICONV" >&6; }
39693 else
39694 CPPFLAGS="$am_save_CPPFLAGS"
39695 LIBICONV=
39696 LTLIBICONV=
39701 if test "$am_cv_func_iconv" = yes; then
39702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39703 $as_echo_n "checking for iconv declaration... " >&6; }
39704 if test "${am_cv_proto_iconv+set}" = set; then :
39705 $as_echo_n "(cached) " >&6
39706 else
39708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39709 /* end confdefs.h. */
39711 #include <stdlib.h>
39712 #include <iconv.h>
39713 extern
39714 #ifdef __cplusplus
39716 #endif
39717 #if defined(__STDC__) || defined(__cplusplus)
39718 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39719 #else
39720 size_t iconv();
39721 #endif
39724 main ()
39728 return 0;
39730 _ACEOF
39731 if ac_fn_c_try_compile "$LINENO"; then :
39732 am_cv_proto_iconv_arg1=""
39733 else
39734 am_cv_proto_iconv_arg1="const"
39736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39737 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
39740 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39742 }$am_cv_proto_iconv" >&5
39743 $as_echo "${ac_t:-
39744 }$am_cv_proto_iconv" >&6; }
39746 cat >>confdefs.h <<_ACEOF
39747 #define ICONV_CONST $am_cv_proto_iconv_arg1
39748 _ACEOF
39754 *-darwin*)
39755 # Darwin versions vary, but the linker should work in a cross environment,
39756 # so we just check for all the features here.
39757 # Check for available headers.
39759 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39761 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39762 ac_save_CXXFLAGS="$CXXFLAGS"
39763 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39766 $as_echo_n "checking for sin in -lm... " >&6; }
39767 if test "${ac_cv_lib_m_sin+set}" = set; then :
39768 $as_echo_n "(cached) " >&6
39769 else
39770 ac_check_lib_save_LIBS=$LIBS
39771 LIBS="-lm $LIBS"
39772 if test x$gcc_no_link = xyes; then
39773 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39776 /* end confdefs.h. */
39778 /* Override any GCC internal prototype to avoid an error.
39779 Use char because int might match the return type of a GCC
39780 builtin and then its argument prototype would still apply. */
39781 #ifdef __cplusplus
39782 extern "C"
39783 #endif
39784 char sin ();
39786 main ()
39788 return sin ();
39790 return 0;
39792 _ACEOF
39793 if ac_fn_c_try_link "$LINENO"; then :
39794 ac_cv_lib_m_sin=yes
39795 else
39796 ac_cv_lib_m_sin=no
39798 rm -f core conftest.err conftest.$ac_objext \
39799 conftest$ac_exeext conftest.$ac_ext
39800 LIBS=$ac_check_lib_save_LIBS
39802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39803 $as_echo "$ac_cv_lib_m_sin" >&6; }
39804 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39805 libm="-lm"
39808 ac_save_LIBS="$LIBS"
39809 LIBS="$LIBS $libm"
39813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39814 $as_echo_n "checking for isinf declaration... " >&6; }
39815 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39816 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39817 $as_echo_n "(cached) " >&6
39818 else
39821 ac_ext=cpp
39822 ac_cpp='$CXXCPP $CPPFLAGS'
39823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39828 /* end confdefs.h. */
39829 #include <math.h>
39830 #ifdef HAVE_IEEEFP_H
39831 #include <ieeefp.h>
39832 #endif
39835 main ()
39837 isinf(0);
39839 return 0;
39841 _ACEOF
39842 if ac_fn_cxx_try_compile "$LINENO"; then :
39843 glibcxx_cv_func_isinf_use=yes
39844 else
39845 glibcxx_cv_func_isinf_use=no
39847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39848 ac_ext=c
39849 ac_cpp='$CPP $CPPFLAGS'
39850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39859 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39861 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39862 for ac_func in isinf
39863 do :
39864 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39865 if test "x$ac_cv_func_isinf" = x""yes; then :
39866 cat >>confdefs.h <<_ACEOF
39867 #define HAVE_ISINF 1
39868 _ACEOF
39871 done
39873 else
39875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39876 $as_echo_n "checking for _isinf declaration... " >&6; }
39877 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39878 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39879 $as_echo_n "(cached) " >&6
39880 else
39883 ac_ext=cpp
39884 ac_cpp='$CXXCPP $CPPFLAGS'
39885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39890 /* end confdefs.h. */
39891 #include <math.h>
39892 #ifdef HAVE_IEEEFP_H
39893 #include <ieeefp.h>
39894 #endif
39897 main ()
39899 _isinf(0);
39901 return 0;
39903 _ACEOF
39904 if ac_fn_cxx_try_compile "$LINENO"; then :
39905 glibcxx_cv_func__isinf_use=yes
39906 else
39907 glibcxx_cv_func__isinf_use=no
39909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39910 ac_ext=c
39911 ac_cpp='$CPP $CPPFLAGS'
39912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39921 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39923 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39924 for ac_func in _isinf
39925 do :
39926 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39927 if test "x$ac_cv_func__isinf" = x""yes; then :
39928 cat >>confdefs.h <<_ACEOF
39929 #define HAVE__ISINF 1
39930 _ACEOF
39933 done
39942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39943 $as_echo_n "checking for isnan declaration... " >&6; }
39944 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39945 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39946 $as_echo_n "(cached) " >&6
39947 else
39950 ac_ext=cpp
39951 ac_cpp='$CXXCPP $CPPFLAGS'
39952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39957 /* end confdefs.h. */
39958 #include <math.h>
39959 #ifdef HAVE_IEEEFP_H
39960 #include <ieeefp.h>
39961 #endif
39964 main ()
39966 isnan(0);
39968 return 0;
39970 _ACEOF
39971 if ac_fn_cxx_try_compile "$LINENO"; then :
39972 glibcxx_cv_func_isnan_use=yes
39973 else
39974 glibcxx_cv_func_isnan_use=no
39976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39977 ac_ext=c
39978 ac_cpp='$CPP $CPPFLAGS'
39979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39988 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39990 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39991 for ac_func in isnan
39992 do :
39993 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39994 if test "x$ac_cv_func_isnan" = x""yes; then :
39995 cat >>confdefs.h <<_ACEOF
39996 #define HAVE_ISNAN 1
39997 _ACEOF
40000 done
40002 else
40004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40005 $as_echo_n "checking for _isnan declaration... " >&6; }
40006 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40007 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40008 $as_echo_n "(cached) " >&6
40009 else
40012 ac_ext=cpp
40013 ac_cpp='$CXXCPP $CPPFLAGS'
40014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40019 /* end confdefs.h. */
40020 #include <math.h>
40021 #ifdef HAVE_IEEEFP_H
40022 #include <ieeefp.h>
40023 #endif
40026 main ()
40028 _isnan(0);
40030 return 0;
40032 _ACEOF
40033 if ac_fn_cxx_try_compile "$LINENO"; then :
40034 glibcxx_cv_func__isnan_use=yes
40035 else
40036 glibcxx_cv_func__isnan_use=no
40038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40039 ac_ext=c
40040 ac_cpp='$CPP $CPPFLAGS'
40041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40050 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40052 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40053 for ac_func in _isnan
40054 do :
40055 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40056 if test "x$ac_cv_func__isnan" = x""yes; then :
40057 cat >>confdefs.h <<_ACEOF
40058 #define HAVE__ISNAN 1
40059 _ACEOF
40062 done
40071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40072 $as_echo_n "checking for finite declaration... " >&6; }
40073 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40074 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40075 $as_echo_n "(cached) " >&6
40076 else
40079 ac_ext=cpp
40080 ac_cpp='$CXXCPP $CPPFLAGS'
40081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40086 /* end confdefs.h. */
40087 #include <math.h>
40088 #ifdef HAVE_IEEEFP_H
40089 #include <ieeefp.h>
40090 #endif
40093 main ()
40095 finite(0);
40097 return 0;
40099 _ACEOF
40100 if ac_fn_cxx_try_compile "$LINENO"; then :
40101 glibcxx_cv_func_finite_use=yes
40102 else
40103 glibcxx_cv_func_finite_use=no
40105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40106 ac_ext=c
40107 ac_cpp='$CPP $CPPFLAGS'
40108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40117 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40119 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40120 for ac_func in finite
40121 do :
40122 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40123 if test "x$ac_cv_func_finite" = x""yes; then :
40124 cat >>confdefs.h <<_ACEOF
40125 #define HAVE_FINITE 1
40126 _ACEOF
40129 done
40131 else
40133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40134 $as_echo_n "checking for _finite declaration... " >&6; }
40135 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40136 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40137 $as_echo_n "(cached) " >&6
40138 else
40141 ac_ext=cpp
40142 ac_cpp='$CXXCPP $CPPFLAGS'
40143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40148 /* end confdefs.h. */
40149 #include <math.h>
40150 #ifdef HAVE_IEEEFP_H
40151 #include <ieeefp.h>
40152 #endif
40155 main ()
40157 _finite(0);
40159 return 0;
40161 _ACEOF
40162 if ac_fn_cxx_try_compile "$LINENO"; then :
40163 glibcxx_cv_func__finite_use=yes
40164 else
40165 glibcxx_cv_func__finite_use=no
40167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40168 ac_ext=c
40169 ac_cpp='$CPP $CPPFLAGS'
40170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40179 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40181 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40182 for ac_func in _finite
40183 do :
40184 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40185 if test "x$ac_cv_func__finite" = x""yes; then :
40186 cat >>confdefs.h <<_ACEOF
40187 #define HAVE__FINITE 1
40188 _ACEOF
40191 done
40200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40201 $as_echo_n "checking for sincos declaration... " >&6; }
40202 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40203 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40204 $as_echo_n "(cached) " >&6
40205 else
40208 ac_ext=cpp
40209 ac_cpp='$CXXCPP $CPPFLAGS'
40210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40215 /* end confdefs.h. */
40216 #include <math.h>
40218 main ()
40220 sincos(0, 0, 0);
40222 return 0;
40224 _ACEOF
40225 if ac_fn_cxx_try_compile "$LINENO"; then :
40226 glibcxx_cv_func_sincos_use=yes
40227 else
40228 glibcxx_cv_func_sincos_use=no
40230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40231 ac_ext=c
40232 ac_cpp='$CPP $CPPFLAGS'
40233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40242 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40244 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40245 for ac_func in sincos
40246 do :
40247 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40248 if test "x$ac_cv_func_sincos" = x""yes; then :
40249 cat >>confdefs.h <<_ACEOF
40250 #define HAVE_SINCOS 1
40251 _ACEOF
40254 done
40256 else
40258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40259 $as_echo_n "checking for _sincos declaration... " >&6; }
40260 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40261 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40262 $as_echo_n "(cached) " >&6
40263 else
40266 ac_ext=cpp
40267 ac_cpp='$CXXCPP $CPPFLAGS'
40268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40273 /* end confdefs.h. */
40274 #include <math.h>
40276 main ()
40278 _sincos(0, 0, 0);
40280 return 0;
40282 _ACEOF
40283 if ac_fn_cxx_try_compile "$LINENO"; then :
40284 glibcxx_cv_func__sincos_use=yes
40285 else
40286 glibcxx_cv_func__sincos_use=no
40288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40289 ac_ext=c
40290 ac_cpp='$CPP $CPPFLAGS'
40291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40300 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40302 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40303 for ac_func in _sincos
40304 do :
40305 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40306 if test "x$ac_cv_func__sincos" = x""yes; then :
40307 cat >>confdefs.h <<_ACEOF
40308 #define HAVE__SINCOS 1
40309 _ACEOF
40312 done
40321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40322 $as_echo_n "checking for fpclass declaration... " >&6; }
40323 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40324 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40325 $as_echo_n "(cached) " >&6
40326 else
40329 ac_ext=cpp
40330 ac_cpp='$CXXCPP $CPPFLAGS'
40331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40336 /* end confdefs.h. */
40337 #include <math.h>
40338 #ifdef HAVE_IEEEFP_H
40339 #include <ieeefp.h>
40340 #endif
40343 main ()
40345 fpclass(0);
40347 return 0;
40349 _ACEOF
40350 if ac_fn_cxx_try_compile "$LINENO"; then :
40351 glibcxx_cv_func_fpclass_use=yes
40352 else
40353 glibcxx_cv_func_fpclass_use=no
40355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40356 ac_ext=c
40357 ac_cpp='$CPP $CPPFLAGS'
40358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40367 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40369 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40370 for ac_func in fpclass
40371 do :
40372 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40373 if test "x$ac_cv_func_fpclass" = x""yes; then :
40374 cat >>confdefs.h <<_ACEOF
40375 #define HAVE_FPCLASS 1
40376 _ACEOF
40379 done
40381 else
40383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40384 $as_echo_n "checking for _fpclass declaration... " >&6; }
40385 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40386 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40387 $as_echo_n "(cached) " >&6
40388 else
40391 ac_ext=cpp
40392 ac_cpp='$CXXCPP $CPPFLAGS'
40393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40398 /* end confdefs.h. */
40399 #include <math.h>
40400 #ifdef HAVE_IEEEFP_H
40401 #include <ieeefp.h>
40402 #endif
40405 main ()
40407 _fpclass(0);
40409 return 0;
40411 _ACEOF
40412 if ac_fn_cxx_try_compile "$LINENO"; then :
40413 glibcxx_cv_func__fpclass_use=yes
40414 else
40415 glibcxx_cv_func__fpclass_use=no
40417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40418 ac_ext=c
40419 ac_cpp='$CPP $CPPFLAGS'
40420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40429 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40431 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40432 for ac_func in _fpclass
40433 do :
40434 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40435 if test "x$ac_cv_func__fpclass" = x""yes; then :
40436 cat >>confdefs.h <<_ACEOF
40437 #define HAVE__FPCLASS 1
40438 _ACEOF
40441 done
40450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40451 $as_echo_n "checking for qfpclass declaration... " >&6; }
40452 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40453 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40454 $as_echo_n "(cached) " >&6
40455 else
40458 ac_ext=cpp
40459 ac_cpp='$CXXCPP $CPPFLAGS'
40460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40465 /* end confdefs.h. */
40466 #include <math.h>
40467 #ifdef HAVE_IEEEFP_H
40468 #include <ieeefp.h>
40469 #endif
40472 main ()
40474 qfpclass(0);
40476 return 0;
40478 _ACEOF
40479 if ac_fn_cxx_try_compile "$LINENO"; then :
40480 glibcxx_cv_func_qfpclass_use=yes
40481 else
40482 glibcxx_cv_func_qfpclass_use=no
40484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40485 ac_ext=c
40486 ac_cpp='$CPP $CPPFLAGS'
40487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40496 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40498 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40499 for ac_func in qfpclass
40500 do :
40501 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40502 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40503 cat >>confdefs.h <<_ACEOF
40504 #define HAVE_QFPCLASS 1
40505 _ACEOF
40508 done
40510 else
40512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40513 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40514 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40515 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40516 $as_echo_n "(cached) " >&6
40517 else
40520 ac_ext=cpp
40521 ac_cpp='$CXXCPP $CPPFLAGS'
40522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40527 /* end confdefs.h. */
40528 #include <math.h>
40529 #ifdef HAVE_IEEEFP_H
40530 #include <ieeefp.h>
40531 #endif
40534 main ()
40536 _qfpclass(0);
40538 return 0;
40540 _ACEOF
40541 if ac_fn_cxx_try_compile "$LINENO"; then :
40542 glibcxx_cv_func__qfpclass_use=yes
40543 else
40544 glibcxx_cv_func__qfpclass_use=no
40546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40547 ac_ext=c
40548 ac_cpp='$CPP $CPPFLAGS'
40549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40558 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40560 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40561 for ac_func in _qfpclass
40562 do :
40563 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40564 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40565 cat >>confdefs.h <<_ACEOF
40566 #define HAVE__QFPCLASS 1
40567 _ACEOF
40570 done
40579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40580 $as_echo_n "checking for hypot declaration... " >&6; }
40581 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40582 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40583 $as_echo_n "(cached) " >&6
40584 else
40587 ac_ext=cpp
40588 ac_cpp='$CXXCPP $CPPFLAGS'
40589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40594 /* end confdefs.h. */
40595 #include <math.h>
40597 main ()
40599 hypot(0, 0);
40601 return 0;
40603 _ACEOF
40604 if ac_fn_cxx_try_compile "$LINENO"; then :
40605 glibcxx_cv_func_hypot_use=yes
40606 else
40607 glibcxx_cv_func_hypot_use=no
40609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40610 ac_ext=c
40611 ac_cpp='$CPP $CPPFLAGS'
40612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40621 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40623 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40624 for ac_func in hypot
40625 do :
40626 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40627 if test "x$ac_cv_func_hypot" = x""yes; then :
40628 cat >>confdefs.h <<_ACEOF
40629 #define HAVE_HYPOT 1
40630 _ACEOF
40633 done
40635 else
40637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40638 $as_echo_n "checking for _hypot declaration... " >&6; }
40639 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40640 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40641 $as_echo_n "(cached) " >&6
40642 else
40645 ac_ext=cpp
40646 ac_cpp='$CXXCPP $CPPFLAGS'
40647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40652 /* end confdefs.h. */
40653 #include <math.h>
40655 main ()
40657 _hypot(0, 0);
40659 return 0;
40661 _ACEOF
40662 if ac_fn_cxx_try_compile "$LINENO"; then :
40663 glibcxx_cv_func__hypot_use=yes
40664 else
40665 glibcxx_cv_func__hypot_use=no
40667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40668 ac_ext=c
40669 ac_cpp='$CPP $CPPFLAGS'
40670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40679 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40681 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40682 for ac_func in _hypot
40683 do :
40684 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40685 if test "x$ac_cv_func__hypot" = x""yes; then :
40686 cat >>confdefs.h <<_ACEOF
40687 #define HAVE__HYPOT 1
40688 _ACEOF
40691 done
40700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40701 $as_echo_n "checking for float trig functions... " >&6; }
40702 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40703 $as_echo_n "(cached) " >&6
40704 else
40707 ac_ext=cpp
40708 ac_cpp='$CXXCPP $CPPFLAGS'
40709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40714 /* end confdefs.h. */
40715 #include <math.h>
40717 main ()
40719 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40721 return 0;
40723 _ACEOF
40724 if ac_fn_cxx_try_compile "$LINENO"; then :
40725 glibcxx_cv_func_float_trig_use=yes
40726 else
40727 glibcxx_cv_func_float_trig_use=no
40729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40730 ac_ext=c
40731 ac_cpp='$CPP $CPPFLAGS'
40732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40739 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40740 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40741 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40742 do :
40743 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40744 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40745 eval as_val=\$$as_ac_var
40746 if test "x$as_val" = x""yes; then :
40747 cat >>confdefs.h <<_ACEOF
40748 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40749 _ACEOF
40752 done
40754 else
40755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40756 $as_echo_n "checking for _float trig functions... " >&6; }
40757 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40758 $as_echo_n "(cached) " >&6
40759 else
40762 ac_ext=cpp
40763 ac_cpp='$CXXCPP $CPPFLAGS'
40764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40769 /* end confdefs.h. */
40770 #include <math.h>
40772 main ()
40774 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40776 return 0;
40778 _ACEOF
40779 if ac_fn_cxx_try_compile "$LINENO"; then :
40780 glibcxx_cv_func__float_trig_use=yes
40781 else
40782 glibcxx_cv_func__float_trig_use=no
40784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40785 ac_ext=c
40786 ac_cpp='$CPP $CPPFLAGS'
40787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40794 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40795 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40796 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40797 do :
40798 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40799 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40800 eval as_val=\$$as_ac_var
40801 if test "x$as_val" = x""yes; then :
40802 cat >>confdefs.h <<_ACEOF
40803 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40804 _ACEOF
40807 done
40816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40817 $as_echo_n "checking for float round functions... " >&6; }
40818 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40819 $as_echo_n "(cached) " >&6
40820 else
40823 ac_ext=cpp
40824 ac_cpp='$CXXCPP $CPPFLAGS'
40825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40830 /* end confdefs.h. */
40831 #include <math.h>
40833 main ()
40835 ceilf (0); floorf (0);
40837 return 0;
40839 _ACEOF
40840 if ac_fn_cxx_try_compile "$LINENO"; then :
40841 glibcxx_cv_func_float_round_use=yes
40842 else
40843 glibcxx_cv_func_float_round_use=no
40845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40846 ac_ext=c
40847 ac_cpp='$CPP $CPPFLAGS'
40848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40855 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40856 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40857 for ac_func in ceilf floorf
40858 do :
40859 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40860 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40861 eval as_val=\$$as_ac_var
40862 if test "x$as_val" = x""yes; then :
40863 cat >>confdefs.h <<_ACEOF
40864 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40865 _ACEOF
40868 done
40870 else
40871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40872 $as_echo_n "checking for _float round functions... " >&6; }
40873 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40874 $as_echo_n "(cached) " >&6
40875 else
40878 ac_ext=cpp
40879 ac_cpp='$CXXCPP $CPPFLAGS'
40880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40885 /* end confdefs.h. */
40886 #include <math.h>
40888 main ()
40890 _ceilf (0); _floorf (0);
40892 return 0;
40894 _ACEOF
40895 if ac_fn_cxx_try_compile "$LINENO"; then :
40896 glibcxx_cv_func__float_round_use=yes
40897 else
40898 glibcxx_cv_func__float_round_use=no
40900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40901 ac_ext=c
40902 ac_cpp='$CPP $CPPFLAGS'
40903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40910 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40911 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40912 for ac_func in _ceilf _floorf
40913 do :
40914 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40915 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40916 eval as_val=\$$as_ac_var
40917 if test "x$as_val" = x""yes; then :
40918 cat >>confdefs.h <<_ACEOF
40919 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40920 _ACEOF
40923 done
40933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40934 $as_echo_n "checking for expf declaration... " >&6; }
40935 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40936 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40937 $as_echo_n "(cached) " >&6
40938 else
40941 ac_ext=cpp
40942 ac_cpp='$CXXCPP $CPPFLAGS'
40943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40948 /* end confdefs.h. */
40949 #include <math.h>
40950 #ifdef HAVE_IEEEFP_H
40951 #include <ieeefp.h>
40952 #endif
40955 main ()
40957 expf(0);
40959 return 0;
40961 _ACEOF
40962 if ac_fn_cxx_try_compile "$LINENO"; then :
40963 glibcxx_cv_func_expf_use=yes
40964 else
40965 glibcxx_cv_func_expf_use=no
40967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40968 ac_ext=c
40969 ac_cpp='$CPP $CPPFLAGS'
40970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40979 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40981 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40982 for ac_func in expf
40983 do :
40984 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40985 if test "x$ac_cv_func_expf" = x""yes; then :
40986 cat >>confdefs.h <<_ACEOF
40987 #define HAVE_EXPF 1
40988 _ACEOF
40991 done
40993 else
40995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40996 $as_echo_n "checking for _expf declaration... " >&6; }
40997 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40998 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40999 $as_echo_n "(cached) " >&6
41000 else
41003 ac_ext=cpp
41004 ac_cpp='$CXXCPP $CPPFLAGS'
41005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41010 /* end confdefs.h. */
41011 #include <math.h>
41012 #ifdef HAVE_IEEEFP_H
41013 #include <ieeefp.h>
41014 #endif
41017 main ()
41019 _expf(0);
41021 return 0;
41023 _ACEOF
41024 if ac_fn_cxx_try_compile "$LINENO"; then :
41025 glibcxx_cv_func__expf_use=yes
41026 else
41027 glibcxx_cv_func__expf_use=no
41029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41030 ac_ext=c
41031 ac_cpp='$CPP $CPPFLAGS'
41032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41041 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41043 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41044 for ac_func in _expf
41045 do :
41046 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41047 if test "x$ac_cv_func__expf" = x""yes; then :
41048 cat >>confdefs.h <<_ACEOF
41049 #define HAVE__EXPF 1
41050 _ACEOF
41053 done
41062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41063 $as_echo_n "checking for isnanf declaration... " >&6; }
41064 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41065 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41066 $as_echo_n "(cached) " >&6
41067 else
41070 ac_ext=cpp
41071 ac_cpp='$CXXCPP $CPPFLAGS'
41072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41077 /* end confdefs.h. */
41078 #include <math.h>
41079 #ifdef HAVE_IEEEFP_H
41080 #include <ieeefp.h>
41081 #endif
41084 main ()
41086 isnanf(0);
41088 return 0;
41090 _ACEOF
41091 if ac_fn_cxx_try_compile "$LINENO"; then :
41092 glibcxx_cv_func_isnanf_use=yes
41093 else
41094 glibcxx_cv_func_isnanf_use=no
41096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41097 ac_ext=c
41098 ac_cpp='$CPP $CPPFLAGS'
41099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41108 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41110 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41111 for ac_func in isnanf
41112 do :
41113 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41114 if test "x$ac_cv_func_isnanf" = x""yes; then :
41115 cat >>confdefs.h <<_ACEOF
41116 #define HAVE_ISNANF 1
41117 _ACEOF
41120 done
41122 else
41124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41125 $as_echo_n "checking for _isnanf declaration... " >&6; }
41126 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41127 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41128 $as_echo_n "(cached) " >&6
41129 else
41132 ac_ext=cpp
41133 ac_cpp='$CXXCPP $CPPFLAGS'
41134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41139 /* end confdefs.h. */
41140 #include <math.h>
41141 #ifdef HAVE_IEEEFP_H
41142 #include <ieeefp.h>
41143 #endif
41146 main ()
41148 _isnanf(0);
41150 return 0;
41152 _ACEOF
41153 if ac_fn_cxx_try_compile "$LINENO"; then :
41154 glibcxx_cv_func__isnanf_use=yes
41155 else
41156 glibcxx_cv_func__isnanf_use=no
41158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41159 ac_ext=c
41160 ac_cpp='$CPP $CPPFLAGS'
41161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41170 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41172 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41173 for ac_func in _isnanf
41174 do :
41175 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41176 if test "x$ac_cv_func__isnanf" = x""yes; then :
41177 cat >>confdefs.h <<_ACEOF
41178 #define HAVE__ISNANF 1
41179 _ACEOF
41182 done
41191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41192 $as_echo_n "checking for isinff declaration... " >&6; }
41193 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41194 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41195 $as_echo_n "(cached) " >&6
41196 else
41199 ac_ext=cpp
41200 ac_cpp='$CXXCPP $CPPFLAGS'
41201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41206 /* end confdefs.h. */
41207 #include <math.h>
41208 #ifdef HAVE_IEEEFP_H
41209 #include <ieeefp.h>
41210 #endif
41213 main ()
41215 isinff(0);
41217 return 0;
41219 _ACEOF
41220 if ac_fn_cxx_try_compile "$LINENO"; then :
41221 glibcxx_cv_func_isinff_use=yes
41222 else
41223 glibcxx_cv_func_isinff_use=no
41225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41226 ac_ext=c
41227 ac_cpp='$CPP $CPPFLAGS'
41228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41237 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41239 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41240 for ac_func in isinff
41241 do :
41242 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41243 if test "x$ac_cv_func_isinff" = x""yes; then :
41244 cat >>confdefs.h <<_ACEOF
41245 #define HAVE_ISINFF 1
41246 _ACEOF
41249 done
41251 else
41253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41254 $as_echo_n "checking for _isinff declaration... " >&6; }
41255 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41256 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41257 $as_echo_n "(cached) " >&6
41258 else
41261 ac_ext=cpp
41262 ac_cpp='$CXXCPP $CPPFLAGS'
41263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41268 /* end confdefs.h. */
41269 #include <math.h>
41270 #ifdef HAVE_IEEEFP_H
41271 #include <ieeefp.h>
41272 #endif
41275 main ()
41277 _isinff(0);
41279 return 0;
41281 _ACEOF
41282 if ac_fn_cxx_try_compile "$LINENO"; then :
41283 glibcxx_cv_func__isinff_use=yes
41284 else
41285 glibcxx_cv_func__isinff_use=no
41287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41288 ac_ext=c
41289 ac_cpp='$CPP $CPPFLAGS'
41290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41299 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41301 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41302 for ac_func in _isinff
41303 do :
41304 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41305 if test "x$ac_cv_func__isinff" = x""yes; then :
41306 cat >>confdefs.h <<_ACEOF
41307 #define HAVE__ISINFF 1
41308 _ACEOF
41311 done
41320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41321 $as_echo_n "checking for atan2f declaration... " >&6; }
41322 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41323 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41324 $as_echo_n "(cached) " >&6
41325 else
41328 ac_ext=cpp
41329 ac_cpp='$CXXCPP $CPPFLAGS'
41330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41335 /* end confdefs.h. */
41336 #include <math.h>
41338 main ()
41340 atan2f(0, 0);
41342 return 0;
41344 _ACEOF
41345 if ac_fn_cxx_try_compile "$LINENO"; then :
41346 glibcxx_cv_func_atan2f_use=yes
41347 else
41348 glibcxx_cv_func_atan2f_use=no
41350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41351 ac_ext=c
41352 ac_cpp='$CPP $CPPFLAGS'
41353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41362 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41364 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41365 for ac_func in atan2f
41366 do :
41367 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41368 if test "x$ac_cv_func_atan2f" = x""yes; then :
41369 cat >>confdefs.h <<_ACEOF
41370 #define HAVE_ATAN2F 1
41371 _ACEOF
41374 done
41376 else
41378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41379 $as_echo_n "checking for _atan2f declaration... " >&6; }
41380 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41381 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41382 $as_echo_n "(cached) " >&6
41383 else
41386 ac_ext=cpp
41387 ac_cpp='$CXXCPP $CPPFLAGS'
41388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41393 /* end confdefs.h. */
41394 #include <math.h>
41396 main ()
41398 _atan2f(0, 0);
41400 return 0;
41402 _ACEOF
41403 if ac_fn_cxx_try_compile "$LINENO"; then :
41404 glibcxx_cv_func__atan2f_use=yes
41405 else
41406 glibcxx_cv_func__atan2f_use=no
41408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41409 ac_ext=c
41410 ac_cpp='$CPP $CPPFLAGS'
41411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41420 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41422 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41423 for ac_func in _atan2f
41424 do :
41425 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41426 if test "x$ac_cv_func__atan2f" = x""yes; then :
41427 cat >>confdefs.h <<_ACEOF
41428 #define HAVE__ATAN2F 1
41429 _ACEOF
41432 done
41441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41442 $as_echo_n "checking for fabsf declaration... " >&6; }
41443 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41444 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41445 $as_echo_n "(cached) " >&6
41446 else
41449 ac_ext=cpp
41450 ac_cpp='$CXXCPP $CPPFLAGS'
41451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41456 /* end confdefs.h. */
41457 #include <math.h>
41458 #ifdef HAVE_IEEEFP_H
41459 #include <ieeefp.h>
41460 #endif
41463 main ()
41465 fabsf(0);
41467 return 0;
41469 _ACEOF
41470 if ac_fn_cxx_try_compile "$LINENO"; then :
41471 glibcxx_cv_func_fabsf_use=yes
41472 else
41473 glibcxx_cv_func_fabsf_use=no
41475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41476 ac_ext=c
41477 ac_cpp='$CPP $CPPFLAGS'
41478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41487 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41489 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41490 for ac_func in fabsf
41491 do :
41492 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41493 if test "x$ac_cv_func_fabsf" = x""yes; then :
41494 cat >>confdefs.h <<_ACEOF
41495 #define HAVE_FABSF 1
41496 _ACEOF
41499 done
41501 else
41503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41504 $as_echo_n "checking for _fabsf declaration... " >&6; }
41505 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41506 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41507 $as_echo_n "(cached) " >&6
41508 else
41511 ac_ext=cpp
41512 ac_cpp='$CXXCPP $CPPFLAGS'
41513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41518 /* end confdefs.h. */
41519 #include <math.h>
41520 #ifdef HAVE_IEEEFP_H
41521 #include <ieeefp.h>
41522 #endif
41525 main ()
41527 _fabsf(0);
41529 return 0;
41531 _ACEOF
41532 if ac_fn_cxx_try_compile "$LINENO"; then :
41533 glibcxx_cv_func__fabsf_use=yes
41534 else
41535 glibcxx_cv_func__fabsf_use=no
41537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41538 ac_ext=c
41539 ac_cpp='$CPP $CPPFLAGS'
41540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41549 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41551 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41552 for ac_func in _fabsf
41553 do :
41554 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41555 if test "x$ac_cv_func__fabsf" = x""yes; then :
41556 cat >>confdefs.h <<_ACEOF
41557 #define HAVE__FABSF 1
41558 _ACEOF
41561 done
41570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41571 $as_echo_n "checking for fmodf declaration... " >&6; }
41572 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41573 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41574 $as_echo_n "(cached) " >&6
41575 else
41578 ac_ext=cpp
41579 ac_cpp='$CXXCPP $CPPFLAGS'
41580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41585 /* end confdefs.h. */
41586 #include <math.h>
41588 main ()
41590 fmodf(0, 0);
41592 return 0;
41594 _ACEOF
41595 if ac_fn_cxx_try_compile "$LINENO"; then :
41596 glibcxx_cv_func_fmodf_use=yes
41597 else
41598 glibcxx_cv_func_fmodf_use=no
41600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41601 ac_ext=c
41602 ac_cpp='$CPP $CPPFLAGS'
41603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41612 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41614 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41615 for ac_func in fmodf
41616 do :
41617 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41618 if test "x$ac_cv_func_fmodf" = x""yes; then :
41619 cat >>confdefs.h <<_ACEOF
41620 #define HAVE_FMODF 1
41621 _ACEOF
41624 done
41626 else
41628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41629 $as_echo_n "checking for _fmodf declaration... " >&6; }
41630 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41631 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41632 $as_echo_n "(cached) " >&6
41633 else
41636 ac_ext=cpp
41637 ac_cpp='$CXXCPP $CPPFLAGS'
41638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41643 /* end confdefs.h. */
41644 #include <math.h>
41646 main ()
41648 _fmodf(0, 0);
41650 return 0;
41652 _ACEOF
41653 if ac_fn_cxx_try_compile "$LINENO"; then :
41654 glibcxx_cv_func__fmodf_use=yes
41655 else
41656 glibcxx_cv_func__fmodf_use=no
41658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41659 ac_ext=c
41660 ac_cpp='$CPP $CPPFLAGS'
41661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41670 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41672 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41673 for ac_func in _fmodf
41674 do :
41675 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41676 if test "x$ac_cv_func__fmodf" = x""yes; then :
41677 cat >>confdefs.h <<_ACEOF
41678 #define HAVE__FMODF 1
41679 _ACEOF
41682 done
41691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41692 $as_echo_n "checking for frexpf declaration... " >&6; }
41693 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41694 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41695 $as_echo_n "(cached) " >&6
41696 else
41699 ac_ext=cpp
41700 ac_cpp='$CXXCPP $CPPFLAGS'
41701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41706 /* end confdefs.h. */
41707 #include <math.h>
41709 main ()
41711 frexpf(0, 0);
41713 return 0;
41715 _ACEOF
41716 if ac_fn_cxx_try_compile "$LINENO"; then :
41717 glibcxx_cv_func_frexpf_use=yes
41718 else
41719 glibcxx_cv_func_frexpf_use=no
41721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41722 ac_ext=c
41723 ac_cpp='$CPP $CPPFLAGS'
41724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41733 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41735 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41736 for ac_func in frexpf
41737 do :
41738 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41739 if test "x$ac_cv_func_frexpf" = x""yes; then :
41740 cat >>confdefs.h <<_ACEOF
41741 #define HAVE_FREXPF 1
41742 _ACEOF
41745 done
41747 else
41749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41750 $as_echo_n "checking for _frexpf declaration... " >&6; }
41751 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41752 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41753 $as_echo_n "(cached) " >&6
41754 else
41757 ac_ext=cpp
41758 ac_cpp='$CXXCPP $CPPFLAGS'
41759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41764 /* end confdefs.h. */
41765 #include <math.h>
41767 main ()
41769 _frexpf(0, 0);
41771 return 0;
41773 _ACEOF
41774 if ac_fn_cxx_try_compile "$LINENO"; then :
41775 glibcxx_cv_func__frexpf_use=yes
41776 else
41777 glibcxx_cv_func__frexpf_use=no
41779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41780 ac_ext=c
41781 ac_cpp='$CPP $CPPFLAGS'
41782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41791 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41793 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41794 for ac_func in _frexpf
41795 do :
41796 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41797 if test "x$ac_cv_func__frexpf" = x""yes; then :
41798 cat >>confdefs.h <<_ACEOF
41799 #define HAVE__FREXPF 1
41800 _ACEOF
41803 done
41812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41813 $as_echo_n "checking for hypotf declaration... " >&6; }
41814 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41815 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41816 $as_echo_n "(cached) " >&6
41817 else
41820 ac_ext=cpp
41821 ac_cpp='$CXXCPP $CPPFLAGS'
41822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41827 /* end confdefs.h. */
41828 #include <math.h>
41830 main ()
41832 hypotf(0, 0);
41834 return 0;
41836 _ACEOF
41837 if ac_fn_cxx_try_compile "$LINENO"; then :
41838 glibcxx_cv_func_hypotf_use=yes
41839 else
41840 glibcxx_cv_func_hypotf_use=no
41842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41843 ac_ext=c
41844 ac_cpp='$CPP $CPPFLAGS'
41845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41854 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41856 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41857 for ac_func in hypotf
41858 do :
41859 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41860 if test "x$ac_cv_func_hypotf" = x""yes; then :
41861 cat >>confdefs.h <<_ACEOF
41862 #define HAVE_HYPOTF 1
41863 _ACEOF
41866 done
41868 else
41870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41871 $as_echo_n "checking for _hypotf declaration... " >&6; }
41872 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41873 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41874 $as_echo_n "(cached) " >&6
41875 else
41878 ac_ext=cpp
41879 ac_cpp='$CXXCPP $CPPFLAGS'
41880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41885 /* end confdefs.h. */
41886 #include <math.h>
41888 main ()
41890 _hypotf(0, 0);
41892 return 0;
41894 _ACEOF
41895 if ac_fn_cxx_try_compile "$LINENO"; then :
41896 glibcxx_cv_func__hypotf_use=yes
41897 else
41898 glibcxx_cv_func__hypotf_use=no
41900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41901 ac_ext=c
41902 ac_cpp='$CPP $CPPFLAGS'
41903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41912 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41914 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41915 for ac_func in _hypotf
41916 do :
41917 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41918 if test "x$ac_cv_func__hypotf" = x""yes; then :
41919 cat >>confdefs.h <<_ACEOF
41920 #define HAVE__HYPOTF 1
41921 _ACEOF
41924 done
41933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41934 $as_echo_n "checking for ldexpf declaration... " >&6; }
41935 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41936 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41937 $as_echo_n "(cached) " >&6
41938 else
41941 ac_ext=cpp
41942 ac_cpp='$CXXCPP $CPPFLAGS'
41943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41948 /* end confdefs.h. */
41949 #include <math.h>
41951 main ()
41953 ldexpf(0, 0);
41955 return 0;
41957 _ACEOF
41958 if ac_fn_cxx_try_compile "$LINENO"; then :
41959 glibcxx_cv_func_ldexpf_use=yes
41960 else
41961 glibcxx_cv_func_ldexpf_use=no
41963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41964 ac_ext=c
41965 ac_cpp='$CPP $CPPFLAGS'
41966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41975 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41977 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41978 for ac_func in ldexpf
41979 do :
41980 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41981 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41982 cat >>confdefs.h <<_ACEOF
41983 #define HAVE_LDEXPF 1
41984 _ACEOF
41987 done
41989 else
41991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41992 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41993 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41994 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41995 $as_echo_n "(cached) " >&6
41996 else
41999 ac_ext=cpp
42000 ac_cpp='$CXXCPP $CPPFLAGS'
42001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42006 /* end confdefs.h. */
42007 #include <math.h>
42009 main ()
42011 _ldexpf(0, 0);
42013 return 0;
42015 _ACEOF
42016 if ac_fn_cxx_try_compile "$LINENO"; then :
42017 glibcxx_cv_func__ldexpf_use=yes
42018 else
42019 glibcxx_cv_func__ldexpf_use=no
42021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42022 ac_ext=c
42023 ac_cpp='$CPP $CPPFLAGS'
42024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42033 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42035 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42036 for ac_func in _ldexpf
42037 do :
42038 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42039 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42040 cat >>confdefs.h <<_ACEOF
42041 #define HAVE__LDEXPF 1
42042 _ACEOF
42045 done
42054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42055 $as_echo_n "checking for logf declaration... " >&6; }
42056 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42057 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42058 $as_echo_n "(cached) " >&6
42059 else
42062 ac_ext=cpp
42063 ac_cpp='$CXXCPP $CPPFLAGS'
42064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42069 /* end confdefs.h. */
42070 #include <math.h>
42071 #ifdef HAVE_IEEEFP_H
42072 #include <ieeefp.h>
42073 #endif
42076 main ()
42078 logf(0);
42080 return 0;
42082 _ACEOF
42083 if ac_fn_cxx_try_compile "$LINENO"; then :
42084 glibcxx_cv_func_logf_use=yes
42085 else
42086 glibcxx_cv_func_logf_use=no
42088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42089 ac_ext=c
42090 ac_cpp='$CPP $CPPFLAGS'
42091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42100 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42102 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42103 for ac_func in logf
42104 do :
42105 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42106 if test "x$ac_cv_func_logf" = x""yes; then :
42107 cat >>confdefs.h <<_ACEOF
42108 #define HAVE_LOGF 1
42109 _ACEOF
42112 done
42114 else
42116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42117 $as_echo_n "checking for _logf declaration... " >&6; }
42118 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42119 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42120 $as_echo_n "(cached) " >&6
42121 else
42124 ac_ext=cpp
42125 ac_cpp='$CXXCPP $CPPFLAGS'
42126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42131 /* end confdefs.h. */
42132 #include <math.h>
42133 #ifdef HAVE_IEEEFP_H
42134 #include <ieeefp.h>
42135 #endif
42138 main ()
42140 _logf(0);
42142 return 0;
42144 _ACEOF
42145 if ac_fn_cxx_try_compile "$LINENO"; then :
42146 glibcxx_cv_func__logf_use=yes
42147 else
42148 glibcxx_cv_func__logf_use=no
42150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42151 ac_ext=c
42152 ac_cpp='$CPP $CPPFLAGS'
42153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42162 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42164 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42165 for ac_func in _logf
42166 do :
42167 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42168 if test "x$ac_cv_func__logf" = x""yes; then :
42169 cat >>confdefs.h <<_ACEOF
42170 #define HAVE__LOGF 1
42171 _ACEOF
42174 done
42183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42184 $as_echo_n "checking for log10f declaration... " >&6; }
42185 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42186 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42187 $as_echo_n "(cached) " >&6
42188 else
42191 ac_ext=cpp
42192 ac_cpp='$CXXCPP $CPPFLAGS'
42193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42198 /* end confdefs.h. */
42199 #include <math.h>
42200 #ifdef HAVE_IEEEFP_H
42201 #include <ieeefp.h>
42202 #endif
42205 main ()
42207 log10f(0);
42209 return 0;
42211 _ACEOF
42212 if ac_fn_cxx_try_compile "$LINENO"; then :
42213 glibcxx_cv_func_log10f_use=yes
42214 else
42215 glibcxx_cv_func_log10f_use=no
42217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42218 ac_ext=c
42219 ac_cpp='$CPP $CPPFLAGS'
42220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42229 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42231 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42232 for ac_func in log10f
42233 do :
42234 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42235 if test "x$ac_cv_func_log10f" = x""yes; then :
42236 cat >>confdefs.h <<_ACEOF
42237 #define HAVE_LOG10F 1
42238 _ACEOF
42241 done
42243 else
42245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42246 $as_echo_n "checking for _log10f declaration... " >&6; }
42247 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42248 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42249 $as_echo_n "(cached) " >&6
42250 else
42253 ac_ext=cpp
42254 ac_cpp='$CXXCPP $CPPFLAGS'
42255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42260 /* end confdefs.h. */
42261 #include <math.h>
42262 #ifdef HAVE_IEEEFP_H
42263 #include <ieeefp.h>
42264 #endif
42267 main ()
42269 _log10f(0);
42271 return 0;
42273 _ACEOF
42274 if ac_fn_cxx_try_compile "$LINENO"; then :
42275 glibcxx_cv_func__log10f_use=yes
42276 else
42277 glibcxx_cv_func__log10f_use=no
42279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42280 ac_ext=c
42281 ac_cpp='$CPP $CPPFLAGS'
42282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42291 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42293 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42294 for ac_func in _log10f
42295 do :
42296 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42297 if test "x$ac_cv_func__log10f" = x""yes; then :
42298 cat >>confdefs.h <<_ACEOF
42299 #define HAVE__LOG10F 1
42300 _ACEOF
42303 done
42312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42313 $as_echo_n "checking for modff declaration... " >&6; }
42314 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42315 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42316 $as_echo_n "(cached) " >&6
42317 else
42320 ac_ext=cpp
42321 ac_cpp='$CXXCPP $CPPFLAGS'
42322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42327 /* end confdefs.h. */
42328 #include <math.h>
42330 main ()
42332 modff(0, 0);
42334 return 0;
42336 _ACEOF
42337 if ac_fn_cxx_try_compile "$LINENO"; then :
42338 glibcxx_cv_func_modff_use=yes
42339 else
42340 glibcxx_cv_func_modff_use=no
42342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42343 ac_ext=c
42344 ac_cpp='$CPP $CPPFLAGS'
42345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42354 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42356 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42357 for ac_func in modff
42358 do :
42359 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42360 if test "x$ac_cv_func_modff" = x""yes; then :
42361 cat >>confdefs.h <<_ACEOF
42362 #define HAVE_MODFF 1
42363 _ACEOF
42366 done
42368 else
42370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42371 $as_echo_n "checking for _modff declaration... " >&6; }
42372 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42373 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42374 $as_echo_n "(cached) " >&6
42375 else
42378 ac_ext=cpp
42379 ac_cpp='$CXXCPP $CPPFLAGS'
42380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42385 /* end confdefs.h. */
42386 #include <math.h>
42388 main ()
42390 _modff(0, 0);
42392 return 0;
42394 _ACEOF
42395 if ac_fn_cxx_try_compile "$LINENO"; then :
42396 glibcxx_cv_func__modff_use=yes
42397 else
42398 glibcxx_cv_func__modff_use=no
42400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42401 ac_ext=c
42402 ac_cpp='$CPP $CPPFLAGS'
42403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42412 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42414 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42415 for ac_func in _modff
42416 do :
42417 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42418 if test "x$ac_cv_func__modff" = x""yes; then :
42419 cat >>confdefs.h <<_ACEOF
42420 #define HAVE__MODFF 1
42421 _ACEOF
42424 done
42433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42434 $as_echo_n "checking for modf declaration... " >&6; }
42435 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42436 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42437 $as_echo_n "(cached) " >&6
42438 else
42441 ac_ext=cpp
42442 ac_cpp='$CXXCPP $CPPFLAGS'
42443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42448 /* end confdefs.h. */
42449 #include <math.h>
42451 main ()
42453 modf(0, 0);
42455 return 0;
42457 _ACEOF
42458 if ac_fn_cxx_try_compile "$LINENO"; then :
42459 glibcxx_cv_func_modf_use=yes
42460 else
42461 glibcxx_cv_func_modf_use=no
42463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42464 ac_ext=c
42465 ac_cpp='$CPP $CPPFLAGS'
42466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42475 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42477 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42478 for ac_func in modf
42479 do :
42480 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42481 if test "x$ac_cv_func_modf" = x""yes; then :
42482 cat >>confdefs.h <<_ACEOF
42483 #define HAVE_MODF 1
42484 _ACEOF
42487 done
42489 else
42491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42492 $as_echo_n "checking for _modf declaration... " >&6; }
42493 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42494 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42495 $as_echo_n "(cached) " >&6
42496 else
42499 ac_ext=cpp
42500 ac_cpp='$CXXCPP $CPPFLAGS'
42501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42506 /* end confdefs.h. */
42507 #include <math.h>
42509 main ()
42511 _modf(0, 0);
42513 return 0;
42515 _ACEOF
42516 if ac_fn_cxx_try_compile "$LINENO"; then :
42517 glibcxx_cv_func__modf_use=yes
42518 else
42519 glibcxx_cv_func__modf_use=no
42521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42522 ac_ext=c
42523 ac_cpp='$CPP $CPPFLAGS'
42524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42533 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42535 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42536 for ac_func in _modf
42537 do :
42538 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42539 if test "x$ac_cv_func__modf" = x""yes; then :
42540 cat >>confdefs.h <<_ACEOF
42541 #define HAVE__MODF 1
42542 _ACEOF
42545 done
42554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42555 $as_echo_n "checking for powf declaration... " >&6; }
42556 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42557 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42558 $as_echo_n "(cached) " >&6
42559 else
42562 ac_ext=cpp
42563 ac_cpp='$CXXCPP $CPPFLAGS'
42564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42569 /* end confdefs.h. */
42570 #include <math.h>
42572 main ()
42574 powf(0, 0);
42576 return 0;
42578 _ACEOF
42579 if ac_fn_cxx_try_compile "$LINENO"; then :
42580 glibcxx_cv_func_powf_use=yes
42581 else
42582 glibcxx_cv_func_powf_use=no
42584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42585 ac_ext=c
42586 ac_cpp='$CPP $CPPFLAGS'
42587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42596 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42598 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42599 for ac_func in powf
42600 do :
42601 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42602 if test "x$ac_cv_func_powf" = x""yes; then :
42603 cat >>confdefs.h <<_ACEOF
42604 #define HAVE_POWF 1
42605 _ACEOF
42608 done
42610 else
42612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42613 $as_echo_n "checking for _powf declaration... " >&6; }
42614 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42615 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42616 $as_echo_n "(cached) " >&6
42617 else
42620 ac_ext=cpp
42621 ac_cpp='$CXXCPP $CPPFLAGS'
42622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42627 /* end confdefs.h. */
42628 #include <math.h>
42630 main ()
42632 _powf(0, 0);
42634 return 0;
42636 _ACEOF
42637 if ac_fn_cxx_try_compile "$LINENO"; then :
42638 glibcxx_cv_func__powf_use=yes
42639 else
42640 glibcxx_cv_func__powf_use=no
42642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42643 ac_ext=c
42644 ac_cpp='$CPP $CPPFLAGS'
42645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42654 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42656 if test x$glibcxx_cv_func__powf_use = x"yes"; then
42657 for ac_func in _powf
42658 do :
42659 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42660 if test "x$ac_cv_func__powf" = x""yes; then :
42661 cat >>confdefs.h <<_ACEOF
42662 #define HAVE__POWF 1
42663 _ACEOF
42666 done
42675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42676 $as_echo_n "checking for sqrtf declaration... " >&6; }
42677 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42678 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42679 $as_echo_n "(cached) " >&6
42680 else
42683 ac_ext=cpp
42684 ac_cpp='$CXXCPP $CPPFLAGS'
42685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42690 /* end confdefs.h. */
42691 #include <math.h>
42692 #ifdef HAVE_IEEEFP_H
42693 #include <ieeefp.h>
42694 #endif
42697 main ()
42699 sqrtf(0);
42701 return 0;
42703 _ACEOF
42704 if ac_fn_cxx_try_compile "$LINENO"; then :
42705 glibcxx_cv_func_sqrtf_use=yes
42706 else
42707 glibcxx_cv_func_sqrtf_use=no
42709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42710 ac_ext=c
42711 ac_cpp='$CPP $CPPFLAGS'
42712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42721 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42723 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42724 for ac_func in sqrtf
42725 do :
42726 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42727 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42728 cat >>confdefs.h <<_ACEOF
42729 #define HAVE_SQRTF 1
42730 _ACEOF
42733 done
42735 else
42737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42738 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42739 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42740 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42741 $as_echo_n "(cached) " >&6
42742 else
42745 ac_ext=cpp
42746 ac_cpp='$CXXCPP $CPPFLAGS'
42747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42752 /* end confdefs.h. */
42753 #include <math.h>
42754 #ifdef HAVE_IEEEFP_H
42755 #include <ieeefp.h>
42756 #endif
42759 main ()
42761 _sqrtf(0);
42763 return 0;
42765 _ACEOF
42766 if ac_fn_cxx_try_compile "$LINENO"; then :
42767 glibcxx_cv_func__sqrtf_use=yes
42768 else
42769 glibcxx_cv_func__sqrtf_use=no
42771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42772 ac_ext=c
42773 ac_cpp='$CPP $CPPFLAGS'
42774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42783 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42785 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42786 for ac_func in _sqrtf
42787 do :
42788 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42789 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42790 cat >>confdefs.h <<_ACEOF
42791 #define HAVE__SQRTF 1
42792 _ACEOF
42795 done
42804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42805 $as_echo_n "checking for sincosf declaration... " >&6; }
42806 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42807 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42808 $as_echo_n "(cached) " >&6
42809 else
42812 ac_ext=cpp
42813 ac_cpp='$CXXCPP $CPPFLAGS'
42814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42819 /* end confdefs.h. */
42820 #include <math.h>
42822 main ()
42824 sincosf(0, 0, 0);
42826 return 0;
42828 _ACEOF
42829 if ac_fn_cxx_try_compile "$LINENO"; then :
42830 glibcxx_cv_func_sincosf_use=yes
42831 else
42832 glibcxx_cv_func_sincosf_use=no
42834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42835 ac_ext=c
42836 ac_cpp='$CPP $CPPFLAGS'
42837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42846 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42848 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42849 for ac_func in sincosf
42850 do :
42851 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42852 if test "x$ac_cv_func_sincosf" = x""yes; then :
42853 cat >>confdefs.h <<_ACEOF
42854 #define HAVE_SINCOSF 1
42855 _ACEOF
42858 done
42860 else
42862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42863 $as_echo_n "checking for _sincosf declaration... " >&6; }
42864 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42865 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42866 $as_echo_n "(cached) " >&6
42867 else
42870 ac_ext=cpp
42871 ac_cpp='$CXXCPP $CPPFLAGS'
42872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42877 /* end confdefs.h. */
42878 #include <math.h>
42880 main ()
42882 _sincosf(0, 0, 0);
42884 return 0;
42886 _ACEOF
42887 if ac_fn_cxx_try_compile "$LINENO"; then :
42888 glibcxx_cv_func__sincosf_use=yes
42889 else
42890 glibcxx_cv_func__sincosf_use=no
42892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42893 ac_ext=c
42894 ac_cpp='$CPP $CPPFLAGS'
42895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42904 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42906 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42907 for ac_func in _sincosf
42908 do :
42909 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42910 if test "x$ac_cv_func__sincosf" = x""yes; then :
42911 cat >>confdefs.h <<_ACEOF
42912 #define HAVE__SINCOSF 1
42913 _ACEOF
42916 done
42925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42926 $as_echo_n "checking for finitef declaration... " >&6; }
42927 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42928 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42929 $as_echo_n "(cached) " >&6
42930 else
42933 ac_ext=cpp
42934 ac_cpp='$CXXCPP $CPPFLAGS'
42935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42940 /* end confdefs.h. */
42941 #include <math.h>
42942 #ifdef HAVE_IEEEFP_H
42943 #include <ieeefp.h>
42944 #endif
42947 main ()
42949 finitef(0);
42951 return 0;
42953 _ACEOF
42954 if ac_fn_cxx_try_compile "$LINENO"; then :
42955 glibcxx_cv_func_finitef_use=yes
42956 else
42957 glibcxx_cv_func_finitef_use=no
42959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42960 ac_ext=c
42961 ac_cpp='$CPP $CPPFLAGS'
42962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42971 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42973 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42974 for ac_func in finitef
42975 do :
42976 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42977 if test "x$ac_cv_func_finitef" = x""yes; then :
42978 cat >>confdefs.h <<_ACEOF
42979 #define HAVE_FINITEF 1
42980 _ACEOF
42983 done
42985 else
42987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42988 $as_echo_n "checking for _finitef declaration... " >&6; }
42989 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42990 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42991 $as_echo_n "(cached) " >&6
42992 else
42995 ac_ext=cpp
42996 ac_cpp='$CXXCPP $CPPFLAGS'
42997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43002 /* end confdefs.h. */
43003 #include <math.h>
43004 #ifdef HAVE_IEEEFP_H
43005 #include <ieeefp.h>
43006 #endif
43009 main ()
43011 _finitef(0);
43013 return 0;
43015 _ACEOF
43016 if ac_fn_cxx_try_compile "$LINENO"; then :
43017 glibcxx_cv_func__finitef_use=yes
43018 else
43019 glibcxx_cv_func__finitef_use=no
43021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43022 ac_ext=c
43023 ac_cpp='$CPP $CPPFLAGS'
43024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43033 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43035 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43036 for ac_func in _finitef
43037 do :
43038 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43039 if test "x$ac_cv_func__finitef" = x""yes; then :
43040 cat >>confdefs.h <<_ACEOF
43041 #define HAVE__FINITEF 1
43042 _ACEOF
43045 done
43054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43055 $as_echo_n "checking for long double trig functions... " >&6; }
43056 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43057 $as_echo_n "(cached) " >&6
43058 else
43061 ac_ext=cpp
43062 ac_cpp='$CXXCPP $CPPFLAGS'
43063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43068 /* end confdefs.h. */
43069 #include <math.h>
43071 main ()
43073 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43075 return 0;
43077 _ACEOF
43078 if ac_fn_cxx_try_compile "$LINENO"; then :
43079 glibcxx_cv_func_long_double_trig_use=yes
43080 else
43081 glibcxx_cv_func_long_double_trig_use=no
43083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43084 ac_ext=c
43085 ac_cpp='$CPP $CPPFLAGS'
43086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43093 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43094 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43095 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43096 do :
43097 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43098 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43099 eval as_val=\$$as_ac_var
43100 if test "x$as_val" = x""yes; then :
43101 cat >>confdefs.h <<_ACEOF
43102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43103 _ACEOF
43106 done
43108 else
43109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43110 $as_echo_n "checking for _long double trig functions... " >&6; }
43111 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43112 $as_echo_n "(cached) " >&6
43113 else
43116 ac_ext=cpp
43117 ac_cpp='$CXXCPP $CPPFLAGS'
43118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43123 /* end confdefs.h. */
43124 #include <math.h>
43126 main ()
43128 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43130 return 0;
43132 _ACEOF
43133 if ac_fn_cxx_try_compile "$LINENO"; then :
43134 glibcxx_cv_func__long_double_trig_use=yes
43135 else
43136 glibcxx_cv_func__long_double_trig_use=no
43138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43139 ac_ext=c
43140 ac_cpp='$CPP $CPPFLAGS'
43141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43148 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43149 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43150 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43151 do :
43152 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43153 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43154 eval as_val=\$$as_ac_var
43155 if test "x$as_val" = x""yes; then :
43156 cat >>confdefs.h <<_ACEOF
43157 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43158 _ACEOF
43161 done
43170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43171 $as_echo_n "checking for long double round functions... " >&6; }
43172 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43173 $as_echo_n "(cached) " >&6
43174 else
43177 ac_ext=cpp
43178 ac_cpp='$CXXCPP $CPPFLAGS'
43179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43184 /* end confdefs.h. */
43185 #include <math.h>
43187 main ()
43189 ceill (0); floorl (0);
43191 return 0;
43193 _ACEOF
43194 if ac_fn_cxx_try_compile "$LINENO"; then :
43195 glibcxx_cv_func_long_double_round_use=yes
43196 else
43197 glibcxx_cv_func_long_double_round_use=no
43199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43200 ac_ext=c
43201 ac_cpp='$CPP $CPPFLAGS'
43202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43209 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43210 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43211 for ac_func in ceill floorl
43212 do :
43213 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43214 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43215 eval as_val=\$$as_ac_var
43216 if test "x$as_val" = x""yes; then :
43217 cat >>confdefs.h <<_ACEOF
43218 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43219 _ACEOF
43222 done
43224 else
43225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43226 $as_echo_n "checking for _long double round functions... " >&6; }
43227 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43228 $as_echo_n "(cached) " >&6
43229 else
43232 ac_ext=cpp
43233 ac_cpp='$CXXCPP $CPPFLAGS'
43234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43239 /* end confdefs.h. */
43240 #include <math.h>
43242 main ()
43244 _ceill (0); _floorl (0);
43246 return 0;
43248 _ACEOF
43249 if ac_fn_cxx_try_compile "$LINENO"; then :
43250 glibcxx_cv_func__long_double_round_use=yes
43251 else
43252 glibcxx_cv_func__long_double_round_use=no
43254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43255 ac_ext=c
43256 ac_cpp='$CPP $CPPFLAGS'
43257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43264 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43265 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43266 for ac_func in _ceill _floorl
43267 do :
43268 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43269 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43270 eval as_val=\$$as_ac_var
43271 if test "x$as_val" = x""yes; then :
43272 cat >>confdefs.h <<_ACEOF
43273 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43274 _ACEOF
43277 done
43287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43288 $as_echo_n "checking for isnanl declaration... " >&6; }
43289 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43290 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43291 $as_echo_n "(cached) " >&6
43292 else
43295 ac_ext=cpp
43296 ac_cpp='$CXXCPP $CPPFLAGS'
43297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43302 /* end confdefs.h. */
43303 #include <math.h>
43304 #ifdef HAVE_IEEEFP_H
43305 #include <ieeefp.h>
43306 #endif
43309 main ()
43311 isnanl(0);
43313 return 0;
43315 _ACEOF
43316 if ac_fn_cxx_try_compile "$LINENO"; then :
43317 glibcxx_cv_func_isnanl_use=yes
43318 else
43319 glibcxx_cv_func_isnanl_use=no
43321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43322 ac_ext=c
43323 ac_cpp='$CPP $CPPFLAGS'
43324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43333 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43335 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43336 for ac_func in isnanl
43337 do :
43338 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43339 if test "x$ac_cv_func_isnanl" = x""yes; then :
43340 cat >>confdefs.h <<_ACEOF
43341 #define HAVE_ISNANL 1
43342 _ACEOF
43345 done
43347 else
43349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43350 $as_echo_n "checking for _isnanl declaration... " >&6; }
43351 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43352 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43353 $as_echo_n "(cached) " >&6
43354 else
43357 ac_ext=cpp
43358 ac_cpp='$CXXCPP $CPPFLAGS'
43359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43364 /* end confdefs.h. */
43365 #include <math.h>
43366 #ifdef HAVE_IEEEFP_H
43367 #include <ieeefp.h>
43368 #endif
43371 main ()
43373 _isnanl(0);
43375 return 0;
43377 _ACEOF
43378 if ac_fn_cxx_try_compile "$LINENO"; then :
43379 glibcxx_cv_func__isnanl_use=yes
43380 else
43381 glibcxx_cv_func__isnanl_use=no
43383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43384 ac_ext=c
43385 ac_cpp='$CPP $CPPFLAGS'
43386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43395 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43397 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43398 for ac_func in _isnanl
43399 do :
43400 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43401 if test "x$ac_cv_func__isnanl" = x""yes; then :
43402 cat >>confdefs.h <<_ACEOF
43403 #define HAVE__ISNANL 1
43404 _ACEOF
43407 done
43416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43417 $as_echo_n "checking for isinfl declaration... " >&6; }
43418 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43419 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43420 $as_echo_n "(cached) " >&6
43421 else
43424 ac_ext=cpp
43425 ac_cpp='$CXXCPP $CPPFLAGS'
43426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43431 /* end confdefs.h. */
43432 #include <math.h>
43433 #ifdef HAVE_IEEEFP_H
43434 #include <ieeefp.h>
43435 #endif
43438 main ()
43440 isinfl(0);
43442 return 0;
43444 _ACEOF
43445 if ac_fn_cxx_try_compile "$LINENO"; then :
43446 glibcxx_cv_func_isinfl_use=yes
43447 else
43448 glibcxx_cv_func_isinfl_use=no
43450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43451 ac_ext=c
43452 ac_cpp='$CPP $CPPFLAGS'
43453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43462 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43464 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43465 for ac_func in isinfl
43466 do :
43467 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43468 if test "x$ac_cv_func_isinfl" = x""yes; then :
43469 cat >>confdefs.h <<_ACEOF
43470 #define HAVE_ISINFL 1
43471 _ACEOF
43474 done
43476 else
43478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43479 $as_echo_n "checking for _isinfl declaration... " >&6; }
43480 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43481 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43482 $as_echo_n "(cached) " >&6
43483 else
43486 ac_ext=cpp
43487 ac_cpp='$CXXCPP $CPPFLAGS'
43488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43493 /* end confdefs.h. */
43494 #include <math.h>
43495 #ifdef HAVE_IEEEFP_H
43496 #include <ieeefp.h>
43497 #endif
43500 main ()
43502 _isinfl(0);
43504 return 0;
43506 _ACEOF
43507 if ac_fn_cxx_try_compile "$LINENO"; then :
43508 glibcxx_cv_func__isinfl_use=yes
43509 else
43510 glibcxx_cv_func__isinfl_use=no
43512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43513 ac_ext=c
43514 ac_cpp='$CPP $CPPFLAGS'
43515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43524 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43526 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43527 for ac_func in _isinfl
43528 do :
43529 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43530 if test "x$ac_cv_func__isinfl" = x""yes; then :
43531 cat >>confdefs.h <<_ACEOF
43532 #define HAVE__ISINFL 1
43533 _ACEOF
43536 done
43545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43546 $as_echo_n "checking for atan2l declaration... " >&6; }
43547 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43548 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43549 $as_echo_n "(cached) " >&6
43550 else
43553 ac_ext=cpp
43554 ac_cpp='$CXXCPP $CPPFLAGS'
43555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43560 /* end confdefs.h. */
43561 #include <math.h>
43563 main ()
43565 atan2l(0, 0);
43567 return 0;
43569 _ACEOF
43570 if ac_fn_cxx_try_compile "$LINENO"; then :
43571 glibcxx_cv_func_atan2l_use=yes
43572 else
43573 glibcxx_cv_func_atan2l_use=no
43575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43576 ac_ext=c
43577 ac_cpp='$CPP $CPPFLAGS'
43578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43587 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43589 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43590 for ac_func in atan2l
43591 do :
43592 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43593 if test "x$ac_cv_func_atan2l" = x""yes; then :
43594 cat >>confdefs.h <<_ACEOF
43595 #define HAVE_ATAN2L 1
43596 _ACEOF
43599 done
43601 else
43603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43604 $as_echo_n "checking for _atan2l declaration... " >&6; }
43605 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43606 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43607 $as_echo_n "(cached) " >&6
43608 else
43611 ac_ext=cpp
43612 ac_cpp='$CXXCPP $CPPFLAGS'
43613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43618 /* end confdefs.h. */
43619 #include <math.h>
43621 main ()
43623 _atan2l(0, 0);
43625 return 0;
43627 _ACEOF
43628 if ac_fn_cxx_try_compile "$LINENO"; then :
43629 glibcxx_cv_func__atan2l_use=yes
43630 else
43631 glibcxx_cv_func__atan2l_use=no
43633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43634 ac_ext=c
43635 ac_cpp='$CPP $CPPFLAGS'
43636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43645 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43647 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43648 for ac_func in _atan2l
43649 do :
43650 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43651 if test "x$ac_cv_func__atan2l" = x""yes; then :
43652 cat >>confdefs.h <<_ACEOF
43653 #define HAVE__ATAN2L 1
43654 _ACEOF
43657 done
43666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43667 $as_echo_n "checking for expl declaration... " >&6; }
43668 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43669 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43670 $as_echo_n "(cached) " >&6
43671 else
43674 ac_ext=cpp
43675 ac_cpp='$CXXCPP $CPPFLAGS'
43676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43681 /* end confdefs.h. */
43682 #include <math.h>
43683 #ifdef HAVE_IEEEFP_H
43684 #include <ieeefp.h>
43685 #endif
43688 main ()
43690 expl(0);
43692 return 0;
43694 _ACEOF
43695 if ac_fn_cxx_try_compile "$LINENO"; then :
43696 glibcxx_cv_func_expl_use=yes
43697 else
43698 glibcxx_cv_func_expl_use=no
43700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43701 ac_ext=c
43702 ac_cpp='$CPP $CPPFLAGS'
43703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43712 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43714 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43715 for ac_func in expl
43716 do :
43717 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43718 if test "x$ac_cv_func_expl" = x""yes; then :
43719 cat >>confdefs.h <<_ACEOF
43720 #define HAVE_EXPL 1
43721 _ACEOF
43724 done
43726 else
43728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43729 $as_echo_n "checking for _expl declaration... " >&6; }
43730 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43731 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43732 $as_echo_n "(cached) " >&6
43733 else
43736 ac_ext=cpp
43737 ac_cpp='$CXXCPP $CPPFLAGS'
43738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43743 /* end confdefs.h. */
43744 #include <math.h>
43745 #ifdef HAVE_IEEEFP_H
43746 #include <ieeefp.h>
43747 #endif
43750 main ()
43752 _expl(0);
43754 return 0;
43756 _ACEOF
43757 if ac_fn_cxx_try_compile "$LINENO"; then :
43758 glibcxx_cv_func__expl_use=yes
43759 else
43760 glibcxx_cv_func__expl_use=no
43762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43763 ac_ext=c
43764 ac_cpp='$CPP $CPPFLAGS'
43765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43774 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43776 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43777 for ac_func in _expl
43778 do :
43779 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43780 if test "x$ac_cv_func__expl" = x""yes; then :
43781 cat >>confdefs.h <<_ACEOF
43782 #define HAVE__EXPL 1
43783 _ACEOF
43786 done
43795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43796 $as_echo_n "checking for fabsl declaration... " >&6; }
43797 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43798 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43799 $as_echo_n "(cached) " >&6
43800 else
43803 ac_ext=cpp
43804 ac_cpp='$CXXCPP $CPPFLAGS'
43805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43810 /* end confdefs.h. */
43811 #include <math.h>
43812 #ifdef HAVE_IEEEFP_H
43813 #include <ieeefp.h>
43814 #endif
43817 main ()
43819 fabsl(0);
43821 return 0;
43823 _ACEOF
43824 if ac_fn_cxx_try_compile "$LINENO"; then :
43825 glibcxx_cv_func_fabsl_use=yes
43826 else
43827 glibcxx_cv_func_fabsl_use=no
43829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43830 ac_ext=c
43831 ac_cpp='$CPP $CPPFLAGS'
43832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43841 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43843 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43844 for ac_func in fabsl
43845 do :
43846 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43847 if test "x$ac_cv_func_fabsl" = x""yes; then :
43848 cat >>confdefs.h <<_ACEOF
43849 #define HAVE_FABSL 1
43850 _ACEOF
43853 done
43855 else
43857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43858 $as_echo_n "checking for _fabsl declaration... " >&6; }
43859 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43860 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43861 $as_echo_n "(cached) " >&6
43862 else
43865 ac_ext=cpp
43866 ac_cpp='$CXXCPP $CPPFLAGS'
43867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43872 /* end confdefs.h. */
43873 #include <math.h>
43874 #ifdef HAVE_IEEEFP_H
43875 #include <ieeefp.h>
43876 #endif
43879 main ()
43881 _fabsl(0);
43883 return 0;
43885 _ACEOF
43886 if ac_fn_cxx_try_compile "$LINENO"; then :
43887 glibcxx_cv_func__fabsl_use=yes
43888 else
43889 glibcxx_cv_func__fabsl_use=no
43891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43892 ac_ext=c
43893 ac_cpp='$CPP $CPPFLAGS'
43894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43903 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43905 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43906 for ac_func in _fabsl
43907 do :
43908 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43909 if test "x$ac_cv_func__fabsl" = x""yes; then :
43910 cat >>confdefs.h <<_ACEOF
43911 #define HAVE__FABSL 1
43912 _ACEOF
43915 done
43924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43925 $as_echo_n "checking for fmodl declaration... " >&6; }
43926 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43927 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43928 $as_echo_n "(cached) " >&6
43929 else
43932 ac_ext=cpp
43933 ac_cpp='$CXXCPP $CPPFLAGS'
43934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43939 /* end confdefs.h. */
43940 #include <math.h>
43942 main ()
43944 fmodl(0, 0);
43946 return 0;
43948 _ACEOF
43949 if ac_fn_cxx_try_compile "$LINENO"; then :
43950 glibcxx_cv_func_fmodl_use=yes
43951 else
43952 glibcxx_cv_func_fmodl_use=no
43954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43955 ac_ext=c
43956 ac_cpp='$CPP $CPPFLAGS'
43957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43966 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43968 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43969 for ac_func in fmodl
43970 do :
43971 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43972 if test "x$ac_cv_func_fmodl" = x""yes; then :
43973 cat >>confdefs.h <<_ACEOF
43974 #define HAVE_FMODL 1
43975 _ACEOF
43978 done
43980 else
43982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43983 $as_echo_n "checking for _fmodl declaration... " >&6; }
43984 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43985 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43986 $as_echo_n "(cached) " >&6
43987 else
43990 ac_ext=cpp
43991 ac_cpp='$CXXCPP $CPPFLAGS'
43992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43997 /* end confdefs.h. */
43998 #include <math.h>
44000 main ()
44002 _fmodl(0, 0);
44004 return 0;
44006 _ACEOF
44007 if ac_fn_cxx_try_compile "$LINENO"; then :
44008 glibcxx_cv_func__fmodl_use=yes
44009 else
44010 glibcxx_cv_func__fmodl_use=no
44012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44013 ac_ext=c
44014 ac_cpp='$CPP $CPPFLAGS'
44015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44024 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44026 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44027 for ac_func in _fmodl
44028 do :
44029 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44030 if test "x$ac_cv_func__fmodl" = x""yes; then :
44031 cat >>confdefs.h <<_ACEOF
44032 #define HAVE__FMODL 1
44033 _ACEOF
44036 done
44045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44046 $as_echo_n "checking for frexpl declaration... " >&6; }
44047 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44048 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44049 $as_echo_n "(cached) " >&6
44050 else
44053 ac_ext=cpp
44054 ac_cpp='$CXXCPP $CPPFLAGS'
44055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44060 /* end confdefs.h. */
44061 #include <math.h>
44063 main ()
44065 frexpl(0, 0);
44067 return 0;
44069 _ACEOF
44070 if ac_fn_cxx_try_compile "$LINENO"; then :
44071 glibcxx_cv_func_frexpl_use=yes
44072 else
44073 glibcxx_cv_func_frexpl_use=no
44075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44076 ac_ext=c
44077 ac_cpp='$CPP $CPPFLAGS'
44078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44087 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44089 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44090 for ac_func in frexpl
44091 do :
44092 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44093 if test "x$ac_cv_func_frexpl" = x""yes; then :
44094 cat >>confdefs.h <<_ACEOF
44095 #define HAVE_FREXPL 1
44096 _ACEOF
44099 done
44101 else
44103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44104 $as_echo_n "checking for _frexpl declaration... " >&6; }
44105 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44106 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44107 $as_echo_n "(cached) " >&6
44108 else
44111 ac_ext=cpp
44112 ac_cpp='$CXXCPP $CPPFLAGS'
44113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44118 /* end confdefs.h. */
44119 #include <math.h>
44121 main ()
44123 _frexpl(0, 0);
44125 return 0;
44127 _ACEOF
44128 if ac_fn_cxx_try_compile "$LINENO"; then :
44129 glibcxx_cv_func__frexpl_use=yes
44130 else
44131 glibcxx_cv_func__frexpl_use=no
44133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44134 ac_ext=c
44135 ac_cpp='$CPP $CPPFLAGS'
44136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44145 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44147 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44148 for ac_func in _frexpl
44149 do :
44150 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44151 if test "x$ac_cv_func__frexpl" = x""yes; then :
44152 cat >>confdefs.h <<_ACEOF
44153 #define HAVE__FREXPL 1
44154 _ACEOF
44157 done
44166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44167 $as_echo_n "checking for hypotl declaration... " >&6; }
44168 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44169 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44170 $as_echo_n "(cached) " >&6
44171 else
44174 ac_ext=cpp
44175 ac_cpp='$CXXCPP $CPPFLAGS'
44176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44181 /* end confdefs.h. */
44182 #include <math.h>
44184 main ()
44186 hypotl(0, 0);
44188 return 0;
44190 _ACEOF
44191 if ac_fn_cxx_try_compile "$LINENO"; then :
44192 glibcxx_cv_func_hypotl_use=yes
44193 else
44194 glibcxx_cv_func_hypotl_use=no
44196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44197 ac_ext=c
44198 ac_cpp='$CPP $CPPFLAGS'
44199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44208 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44210 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44211 for ac_func in hypotl
44212 do :
44213 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44214 if test "x$ac_cv_func_hypotl" = x""yes; then :
44215 cat >>confdefs.h <<_ACEOF
44216 #define HAVE_HYPOTL 1
44217 _ACEOF
44220 done
44222 else
44224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44225 $as_echo_n "checking for _hypotl declaration... " >&6; }
44226 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44227 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44228 $as_echo_n "(cached) " >&6
44229 else
44232 ac_ext=cpp
44233 ac_cpp='$CXXCPP $CPPFLAGS'
44234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44239 /* end confdefs.h. */
44240 #include <math.h>
44242 main ()
44244 _hypotl(0, 0);
44246 return 0;
44248 _ACEOF
44249 if ac_fn_cxx_try_compile "$LINENO"; then :
44250 glibcxx_cv_func__hypotl_use=yes
44251 else
44252 glibcxx_cv_func__hypotl_use=no
44254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44255 ac_ext=c
44256 ac_cpp='$CPP $CPPFLAGS'
44257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44266 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44268 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44269 for ac_func in _hypotl
44270 do :
44271 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44272 if test "x$ac_cv_func__hypotl" = x""yes; then :
44273 cat >>confdefs.h <<_ACEOF
44274 #define HAVE__HYPOTL 1
44275 _ACEOF
44278 done
44287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44288 $as_echo_n "checking for ldexpl declaration... " >&6; }
44289 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44290 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44291 $as_echo_n "(cached) " >&6
44292 else
44295 ac_ext=cpp
44296 ac_cpp='$CXXCPP $CPPFLAGS'
44297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44302 /* end confdefs.h. */
44303 #include <math.h>
44305 main ()
44307 ldexpl(0, 0);
44309 return 0;
44311 _ACEOF
44312 if ac_fn_cxx_try_compile "$LINENO"; then :
44313 glibcxx_cv_func_ldexpl_use=yes
44314 else
44315 glibcxx_cv_func_ldexpl_use=no
44317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44318 ac_ext=c
44319 ac_cpp='$CPP $CPPFLAGS'
44320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44329 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44331 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44332 for ac_func in ldexpl
44333 do :
44334 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44335 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44336 cat >>confdefs.h <<_ACEOF
44337 #define HAVE_LDEXPL 1
44338 _ACEOF
44341 done
44343 else
44345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44346 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44347 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44348 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44349 $as_echo_n "(cached) " >&6
44350 else
44353 ac_ext=cpp
44354 ac_cpp='$CXXCPP $CPPFLAGS'
44355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44360 /* end confdefs.h. */
44361 #include <math.h>
44363 main ()
44365 _ldexpl(0, 0);
44367 return 0;
44369 _ACEOF
44370 if ac_fn_cxx_try_compile "$LINENO"; then :
44371 glibcxx_cv_func__ldexpl_use=yes
44372 else
44373 glibcxx_cv_func__ldexpl_use=no
44375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44376 ac_ext=c
44377 ac_cpp='$CPP $CPPFLAGS'
44378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44387 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44389 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44390 for ac_func in _ldexpl
44391 do :
44392 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44393 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44394 cat >>confdefs.h <<_ACEOF
44395 #define HAVE__LDEXPL 1
44396 _ACEOF
44399 done
44408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44409 $as_echo_n "checking for logl declaration... " >&6; }
44410 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44411 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44412 $as_echo_n "(cached) " >&6
44413 else
44416 ac_ext=cpp
44417 ac_cpp='$CXXCPP $CPPFLAGS'
44418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44423 /* end confdefs.h. */
44424 #include <math.h>
44425 #ifdef HAVE_IEEEFP_H
44426 #include <ieeefp.h>
44427 #endif
44430 main ()
44432 logl(0);
44434 return 0;
44436 _ACEOF
44437 if ac_fn_cxx_try_compile "$LINENO"; then :
44438 glibcxx_cv_func_logl_use=yes
44439 else
44440 glibcxx_cv_func_logl_use=no
44442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44443 ac_ext=c
44444 ac_cpp='$CPP $CPPFLAGS'
44445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44454 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44456 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44457 for ac_func in logl
44458 do :
44459 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44460 if test "x$ac_cv_func_logl" = x""yes; then :
44461 cat >>confdefs.h <<_ACEOF
44462 #define HAVE_LOGL 1
44463 _ACEOF
44466 done
44468 else
44470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44471 $as_echo_n "checking for _logl declaration... " >&6; }
44472 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44473 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44474 $as_echo_n "(cached) " >&6
44475 else
44478 ac_ext=cpp
44479 ac_cpp='$CXXCPP $CPPFLAGS'
44480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44485 /* end confdefs.h. */
44486 #include <math.h>
44487 #ifdef HAVE_IEEEFP_H
44488 #include <ieeefp.h>
44489 #endif
44492 main ()
44494 _logl(0);
44496 return 0;
44498 _ACEOF
44499 if ac_fn_cxx_try_compile "$LINENO"; then :
44500 glibcxx_cv_func__logl_use=yes
44501 else
44502 glibcxx_cv_func__logl_use=no
44504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44505 ac_ext=c
44506 ac_cpp='$CPP $CPPFLAGS'
44507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44516 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44518 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44519 for ac_func in _logl
44520 do :
44521 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44522 if test "x$ac_cv_func__logl" = x""yes; then :
44523 cat >>confdefs.h <<_ACEOF
44524 #define HAVE__LOGL 1
44525 _ACEOF
44528 done
44537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44538 $as_echo_n "checking for log10l declaration... " >&6; }
44539 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44540 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44541 $as_echo_n "(cached) " >&6
44542 else
44545 ac_ext=cpp
44546 ac_cpp='$CXXCPP $CPPFLAGS'
44547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44552 /* end confdefs.h. */
44553 #include <math.h>
44554 #ifdef HAVE_IEEEFP_H
44555 #include <ieeefp.h>
44556 #endif
44559 main ()
44561 log10l(0);
44563 return 0;
44565 _ACEOF
44566 if ac_fn_cxx_try_compile "$LINENO"; then :
44567 glibcxx_cv_func_log10l_use=yes
44568 else
44569 glibcxx_cv_func_log10l_use=no
44571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44572 ac_ext=c
44573 ac_cpp='$CPP $CPPFLAGS'
44574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44583 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44585 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44586 for ac_func in log10l
44587 do :
44588 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44589 if test "x$ac_cv_func_log10l" = x""yes; then :
44590 cat >>confdefs.h <<_ACEOF
44591 #define HAVE_LOG10L 1
44592 _ACEOF
44595 done
44597 else
44599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44600 $as_echo_n "checking for _log10l declaration... " >&6; }
44601 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44602 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44603 $as_echo_n "(cached) " >&6
44604 else
44607 ac_ext=cpp
44608 ac_cpp='$CXXCPP $CPPFLAGS'
44609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44614 /* end confdefs.h. */
44615 #include <math.h>
44616 #ifdef HAVE_IEEEFP_H
44617 #include <ieeefp.h>
44618 #endif
44621 main ()
44623 _log10l(0);
44625 return 0;
44627 _ACEOF
44628 if ac_fn_cxx_try_compile "$LINENO"; then :
44629 glibcxx_cv_func__log10l_use=yes
44630 else
44631 glibcxx_cv_func__log10l_use=no
44633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44634 ac_ext=c
44635 ac_cpp='$CPP $CPPFLAGS'
44636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44645 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44647 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44648 for ac_func in _log10l
44649 do :
44650 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44651 if test "x$ac_cv_func__log10l" = x""yes; then :
44652 cat >>confdefs.h <<_ACEOF
44653 #define HAVE__LOG10L 1
44654 _ACEOF
44657 done
44666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44667 $as_echo_n "checking for modfl declaration... " >&6; }
44668 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44669 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44670 $as_echo_n "(cached) " >&6
44671 else
44674 ac_ext=cpp
44675 ac_cpp='$CXXCPP $CPPFLAGS'
44676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44681 /* end confdefs.h. */
44682 #include <math.h>
44684 main ()
44686 modfl(0, 0);
44688 return 0;
44690 _ACEOF
44691 if ac_fn_cxx_try_compile "$LINENO"; then :
44692 glibcxx_cv_func_modfl_use=yes
44693 else
44694 glibcxx_cv_func_modfl_use=no
44696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44697 ac_ext=c
44698 ac_cpp='$CPP $CPPFLAGS'
44699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44708 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44710 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44711 for ac_func in modfl
44712 do :
44713 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44714 if test "x$ac_cv_func_modfl" = x""yes; then :
44715 cat >>confdefs.h <<_ACEOF
44716 #define HAVE_MODFL 1
44717 _ACEOF
44720 done
44722 else
44724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44725 $as_echo_n "checking for _modfl declaration... " >&6; }
44726 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44727 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44728 $as_echo_n "(cached) " >&6
44729 else
44732 ac_ext=cpp
44733 ac_cpp='$CXXCPP $CPPFLAGS'
44734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44739 /* end confdefs.h. */
44740 #include <math.h>
44742 main ()
44744 _modfl(0, 0);
44746 return 0;
44748 _ACEOF
44749 if ac_fn_cxx_try_compile "$LINENO"; then :
44750 glibcxx_cv_func__modfl_use=yes
44751 else
44752 glibcxx_cv_func__modfl_use=no
44754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44755 ac_ext=c
44756 ac_cpp='$CPP $CPPFLAGS'
44757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44766 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44768 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44769 for ac_func in _modfl
44770 do :
44771 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44772 if test "x$ac_cv_func__modfl" = x""yes; then :
44773 cat >>confdefs.h <<_ACEOF
44774 #define HAVE__MODFL 1
44775 _ACEOF
44778 done
44787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44788 $as_echo_n "checking for powl declaration... " >&6; }
44789 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44790 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44791 $as_echo_n "(cached) " >&6
44792 else
44795 ac_ext=cpp
44796 ac_cpp='$CXXCPP $CPPFLAGS'
44797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44802 /* end confdefs.h. */
44803 #include <math.h>
44805 main ()
44807 powl(0, 0);
44809 return 0;
44811 _ACEOF
44812 if ac_fn_cxx_try_compile "$LINENO"; then :
44813 glibcxx_cv_func_powl_use=yes
44814 else
44815 glibcxx_cv_func_powl_use=no
44817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44818 ac_ext=c
44819 ac_cpp='$CPP $CPPFLAGS'
44820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44829 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44831 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44832 for ac_func in powl
44833 do :
44834 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44835 if test "x$ac_cv_func_powl" = x""yes; then :
44836 cat >>confdefs.h <<_ACEOF
44837 #define HAVE_POWL 1
44838 _ACEOF
44841 done
44843 else
44845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44846 $as_echo_n "checking for _powl declaration... " >&6; }
44847 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44848 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44849 $as_echo_n "(cached) " >&6
44850 else
44853 ac_ext=cpp
44854 ac_cpp='$CXXCPP $CPPFLAGS'
44855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44860 /* end confdefs.h. */
44861 #include <math.h>
44863 main ()
44865 _powl(0, 0);
44867 return 0;
44869 _ACEOF
44870 if ac_fn_cxx_try_compile "$LINENO"; then :
44871 glibcxx_cv_func__powl_use=yes
44872 else
44873 glibcxx_cv_func__powl_use=no
44875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44876 ac_ext=c
44877 ac_cpp='$CPP $CPPFLAGS'
44878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44887 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44889 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44890 for ac_func in _powl
44891 do :
44892 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44893 if test "x$ac_cv_func__powl" = x""yes; then :
44894 cat >>confdefs.h <<_ACEOF
44895 #define HAVE__POWL 1
44896 _ACEOF
44899 done
44908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44909 $as_echo_n "checking for sqrtl declaration... " >&6; }
44910 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44911 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44912 $as_echo_n "(cached) " >&6
44913 else
44916 ac_ext=cpp
44917 ac_cpp='$CXXCPP $CPPFLAGS'
44918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44923 /* end confdefs.h. */
44924 #include <math.h>
44925 #ifdef HAVE_IEEEFP_H
44926 #include <ieeefp.h>
44927 #endif
44930 main ()
44932 sqrtl(0);
44934 return 0;
44936 _ACEOF
44937 if ac_fn_cxx_try_compile "$LINENO"; then :
44938 glibcxx_cv_func_sqrtl_use=yes
44939 else
44940 glibcxx_cv_func_sqrtl_use=no
44942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44943 ac_ext=c
44944 ac_cpp='$CPP $CPPFLAGS'
44945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44954 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44956 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44957 for ac_func in sqrtl
44958 do :
44959 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44960 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44961 cat >>confdefs.h <<_ACEOF
44962 #define HAVE_SQRTL 1
44963 _ACEOF
44966 done
44968 else
44970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44971 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44972 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44973 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44974 $as_echo_n "(cached) " >&6
44975 else
44978 ac_ext=cpp
44979 ac_cpp='$CXXCPP $CPPFLAGS'
44980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44985 /* end confdefs.h. */
44986 #include <math.h>
44987 #ifdef HAVE_IEEEFP_H
44988 #include <ieeefp.h>
44989 #endif
44992 main ()
44994 _sqrtl(0);
44996 return 0;
44998 _ACEOF
44999 if ac_fn_cxx_try_compile "$LINENO"; then :
45000 glibcxx_cv_func__sqrtl_use=yes
45001 else
45002 glibcxx_cv_func__sqrtl_use=no
45004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45005 ac_ext=c
45006 ac_cpp='$CPP $CPPFLAGS'
45007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45016 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45018 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45019 for ac_func in _sqrtl
45020 do :
45021 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45022 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45023 cat >>confdefs.h <<_ACEOF
45024 #define HAVE__SQRTL 1
45025 _ACEOF
45028 done
45037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45038 $as_echo_n "checking for sincosl declaration... " >&6; }
45039 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45040 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45041 $as_echo_n "(cached) " >&6
45042 else
45045 ac_ext=cpp
45046 ac_cpp='$CXXCPP $CPPFLAGS'
45047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45052 /* end confdefs.h. */
45053 #include <math.h>
45055 main ()
45057 sincosl(0, 0, 0);
45059 return 0;
45061 _ACEOF
45062 if ac_fn_cxx_try_compile "$LINENO"; then :
45063 glibcxx_cv_func_sincosl_use=yes
45064 else
45065 glibcxx_cv_func_sincosl_use=no
45067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45068 ac_ext=c
45069 ac_cpp='$CPP $CPPFLAGS'
45070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45079 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45081 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45082 for ac_func in sincosl
45083 do :
45084 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45085 if test "x$ac_cv_func_sincosl" = x""yes; then :
45086 cat >>confdefs.h <<_ACEOF
45087 #define HAVE_SINCOSL 1
45088 _ACEOF
45091 done
45093 else
45095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45096 $as_echo_n "checking for _sincosl declaration... " >&6; }
45097 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45098 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45099 $as_echo_n "(cached) " >&6
45100 else
45103 ac_ext=cpp
45104 ac_cpp='$CXXCPP $CPPFLAGS'
45105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45110 /* end confdefs.h. */
45111 #include <math.h>
45113 main ()
45115 _sincosl(0, 0, 0);
45117 return 0;
45119 _ACEOF
45120 if ac_fn_cxx_try_compile "$LINENO"; then :
45121 glibcxx_cv_func__sincosl_use=yes
45122 else
45123 glibcxx_cv_func__sincosl_use=no
45125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45126 ac_ext=c
45127 ac_cpp='$CPP $CPPFLAGS'
45128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45137 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45139 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45140 for ac_func in _sincosl
45141 do :
45142 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45143 if test "x$ac_cv_func__sincosl" = x""yes; then :
45144 cat >>confdefs.h <<_ACEOF
45145 #define HAVE__SINCOSL 1
45146 _ACEOF
45149 done
45158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45159 $as_echo_n "checking for finitel declaration... " >&6; }
45160 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45161 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45162 $as_echo_n "(cached) " >&6
45163 else
45166 ac_ext=cpp
45167 ac_cpp='$CXXCPP $CPPFLAGS'
45168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45173 /* end confdefs.h. */
45174 #include <math.h>
45175 #ifdef HAVE_IEEEFP_H
45176 #include <ieeefp.h>
45177 #endif
45180 main ()
45182 finitel(0);
45184 return 0;
45186 _ACEOF
45187 if ac_fn_cxx_try_compile "$LINENO"; then :
45188 glibcxx_cv_func_finitel_use=yes
45189 else
45190 glibcxx_cv_func_finitel_use=no
45192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45193 ac_ext=c
45194 ac_cpp='$CPP $CPPFLAGS'
45195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45204 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45206 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45207 for ac_func in finitel
45208 do :
45209 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45210 if test "x$ac_cv_func_finitel" = x""yes; then :
45211 cat >>confdefs.h <<_ACEOF
45212 #define HAVE_FINITEL 1
45213 _ACEOF
45216 done
45218 else
45220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45221 $as_echo_n "checking for _finitel declaration... " >&6; }
45222 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45223 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45224 $as_echo_n "(cached) " >&6
45225 else
45228 ac_ext=cpp
45229 ac_cpp='$CXXCPP $CPPFLAGS'
45230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45235 /* end confdefs.h. */
45236 #include <math.h>
45237 #ifdef HAVE_IEEEFP_H
45238 #include <ieeefp.h>
45239 #endif
45242 main ()
45244 _finitel(0);
45246 return 0;
45248 _ACEOF
45249 if ac_fn_cxx_try_compile "$LINENO"; then :
45250 glibcxx_cv_func__finitel_use=yes
45251 else
45252 glibcxx_cv_func__finitel_use=no
45254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45255 ac_ext=c
45256 ac_cpp='$CPP $CPPFLAGS'
45257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45266 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45268 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45269 for ac_func in _finitel
45270 do :
45271 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45272 if test "x$ac_cv_func__finitel" = x""yes; then :
45273 cat >>confdefs.h <<_ACEOF
45274 #define HAVE__FINITEL 1
45275 _ACEOF
45278 done
45286 LIBS="$ac_save_LIBS"
45287 CXXFLAGS="$ac_save_CXXFLAGS"
45290 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45291 ac_save_CXXFLAGS="$CXXFLAGS"
45292 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45296 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45297 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45298 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45299 $as_echo_n "(cached) " >&6
45300 else
45303 ac_ext=cpp
45304 ac_cpp='$CXXCPP $CPPFLAGS'
45305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45310 /* end confdefs.h. */
45311 #include <stdlib.h>
45313 main ()
45315 at_quick_exit(0);
45317 return 0;
45319 _ACEOF
45320 if ac_fn_cxx_try_compile "$LINENO"; then :
45321 glibcxx_cv_func_at_quick_exit_use=yes
45322 else
45323 glibcxx_cv_func_at_quick_exit_use=no
45325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45326 ac_ext=c
45327 ac_cpp='$CPP $CPPFLAGS'
45328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45337 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45338 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45339 for ac_func in at_quick_exit
45340 do :
45341 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45342 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45343 cat >>confdefs.h <<_ACEOF
45344 #define HAVE_AT_QUICK_EXIT 1
45345 _ACEOF
45348 done
45353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45354 $as_echo_n "checking for quick_exit declaration... " >&6; }
45355 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45356 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45357 $as_echo_n "(cached) " >&6
45358 else
45361 ac_ext=cpp
45362 ac_cpp='$CXXCPP $CPPFLAGS'
45363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45368 /* end confdefs.h. */
45369 #include <stdlib.h>
45371 main ()
45373 quick_exit(0);
45375 return 0;
45377 _ACEOF
45378 if ac_fn_cxx_try_compile "$LINENO"; then :
45379 glibcxx_cv_func_quick_exit_use=yes
45380 else
45381 glibcxx_cv_func_quick_exit_use=no
45383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45384 ac_ext=c
45385 ac_cpp='$CPP $CPPFLAGS'
45386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45395 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45396 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45397 for ac_func in quick_exit
45398 do :
45399 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45400 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45401 cat >>confdefs.h <<_ACEOF
45402 #define HAVE_QUICK_EXIT 1
45403 _ACEOF
45406 done
45411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45412 $as_echo_n "checking for strtold declaration... " >&6; }
45413 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45414 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45415 $as_echo_n "(cached) " >&6
45416 else
45419 ac_ext=cpp
45420 ac_cpp='$CXXCPP $CPPFLAGS'
45421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45426 /* end confdefs.h. */
45427 #include <stdlib.h>
45429 main ()
45431 strtold(0, 0);
45433 return 0;
45435 _ACEOF
45436 if ac_fn_cxx_try_compile "$LINENO"; then :
45437 glibcxx_cv_func_strtold_use=yes
45438 else
45439 glibcxx_cv_func_strtold_use=no
45441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45442 ac_ext=c
45443 ac_cpp='$CPP $CPPFLAGS'
45444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45453 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45454 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45455 for ac_func in strtold
45456 do :
45457 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45458 if test "x$ac_cv_func_strtold" = x""yes; then :
45459 cat >>confdefs.h <<_ACEOF
45460 #define HAVE_STRTOLD 1
45461 _ACEOF
45464 done
45471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45472 $as_echo_n "checking for strtof declaration... " >&6; }
45473 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45474 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45475 $as_echo_n "(cached) " >&6
45476 else
45479 ac_ext=cpp
45480 ac_cpp='$CXXCPP $CPPFLAGS'
45481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45486 /* end confdefs.h. */
45487 #include <stdlib.h>
45489 main ()
45491 strtof(0, 0);
45493 return 0;
45495 _ACEOF
45496 if ac_fn_cxx_try_compile "$LINENO"; then :
45497 glibcxx_cv_func_strtof_use=yes
45498 else
45499 glibcxx_cv_func_strtof_use=no
45501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45502 ac_ext=c
45503 ac_cpp='$CPP $CPPFLAGS'
45504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45513 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45514 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45515 for ac_func in strtof
45516 do :
45517 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45518 if test "x$ac_cv_func_strtof" = x""yes; then :
45519 cat >>confdefs.h <<_ACEOF
45520 #define HAVE_STRTOF 1
45521 _ACEOF
45524 done
45531 CXXFLAGS="$ac_save_CXXFLAGS"
45535 *djgpp)
45536 # GLIBCXX_CHECK_MATH_SUPPORT
45537 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45539 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45541 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45543 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
45545 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45549 *-freebsd*)
45550 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45553 # If we're not using GNU ld, then there's no point in even trying these
45554 # tests. Check for that first. We should have already tested for gld
45555 # by now (in libtool), but require it now just to be safe...
45556 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45557 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45561 # The name set by libtool depends on the version of libtool. Shame on us
45562 # for depending on an impl detail, but c'est la vie. Older versions used
45563 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45564 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45565 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45566 # set (hence we're using an older libtool), then set it.
45567 if test x${with_gnu_ld+set} != xset; then
45568 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45569 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45570 with_gnu_ld=no
45571 else
45572 with_gnu_ld=$ac_cv_prog_gnu_ld
45576 # Start by getting the version number. I think the libtool test already
45577 # does some of this, but throws away the result.
45578 glibcxx_ld_is_gold=no
45579 if test x"$with_gnu_ld" = x"yes"; then
45580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45581 $as_echo_n "checking for ld version... " >&6; }
45583 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45584 glibcxx_ld_is_gold=yes
45586 ldver=`$LD --version 2>/dev/null |
45587 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
45589 glibcxx_gnu_ld_version=`echo $ldver | \
45590 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45592 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45595 # Set --gc-sections.
45596 glibcxx_have_gc_sections=no
45597 if test "$glibcxx_ld_is_gold" = "yes"; then
45598 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45599 glibcxx_have_gc_sections=yes
45601 else
45602 glibcxx_gcsections_min_ld=21602
45603 if test x"$with_gnu_ld" = x"yes" &&
45604 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45605 glibcxx_have_gc_sections=yes
45608 if test "$glibcxx_have_gc_sections" = "yes"; then
45609 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45610 # NB: This flag only works reliably after 2.16.1. Configure tests
45611 # for this are difficult, so hard wire a value that should work.
45613 ac_test_CFLAGS="${CFLAGS+set}"
45614 ac_save_CFLAGS="$CFLAGS"
45615 CFLAGS='-Wl,--gc-sections'
45617 # Check for -Wl,--gc-sections
45618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45619 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45620 if test x$gcc_no_link = xyes; then
45621 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45624 /* end confdefs.h. */
45625 int one(void) { return 1; }
45626 int two(void) { return 2; }
45629 main ()
45631 two();
45633 return 0;
45635 _ACEOF
45636 if ac_fn_c_try_link "$LINENO"; then :
45637 ac_gcsections=yes
45638 else
45639 ac_gcsections=no
45641 rm -f core conftest.err conftest.$ac_objext \
45642 conftest$ac_exeext conftest.$ac_ext
45643 if test "$ac_gcsections" = "yes"; then
45644 rm -f conftest.c
45645 touch conftest.c
45646 if $CC -c conftest.c; then
45647 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45648 grep "Warning: gc-sections option ignored" > /dev/null; then
45649 ac_gcsections=no
45652 rm -f conftest.c conftest.o conftest
45654 if test "$ac_gcsections" = "yes"; then
45655 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45658 $as_echo "$ac_gcsections" >&6; }
45660 if test "$ac_test_CFLAGS" = set; then
45661 CFLAGS="$ac_save_CFLAGS"
45662 else
45663 # this is the suspicious part
45664 CFLAGS=''
45668 # Set -z,relro.
45669 # Note this is only for shared objects.
45670 ac_ld_relro=no
45671 if test x"$with_gnu_ld" = x"yes"; then
45672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45673 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45674 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45675 if test -n "$cxx_z_relo"; then
45676 OPT_LDFLAGS="-Wl,-z,relro"
45677 ac_ld_relro=yes
45679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45680 $as_echo "$ac_ld_relro" >&6; }
45683 # Set linker optimization flags.
45684 if test x"$with_gnu_ld" = x"yes"; then
45685 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45691 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
45693 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45695 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45697 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45699 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45701 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
45703 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45705 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45707 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45710 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45712 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45714 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45716 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45718 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
45720 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45722 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45724 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45726 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45728 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45730 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45732 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45734 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45736 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45738 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45740 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45742 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45744 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45746 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45748 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45750 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45752 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45754 if test x"long_double_math_on_this_cpu" = x"yes"; then
45755 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45757 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45759 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45763 *-hpux*)
45764 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45767 # If we're not using GNU ld, then there's no point in even trying these
45768 # tests. Check for that first. We should have already tested for gld
45769 # by now (in libtool), but require it now just to be safe...
45770 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45771 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45775 # The name set by libtool depends on the version of libtool. Shame on us
45776 # for depending on an impl detail, but c'est la vie. Older versions used
45777 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45778 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45779 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45780 # set (hence we're using an older libtool), then set it.
45781 if test x${with_gnu_ld+set} != xset; then
45782 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45783 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45784 with_gnu_ld=no
45785 else
45786 with_gnu_ld=$ac_cv_prog_gnu_ld
45790 # Start by getting the version number. I think the libtool test already
45791 # does some of this, but throws away the result.
45792 glibcxx_ld_is_gold=no
45793 if test x"$with_gnu_ld" = x"yes"; then
45794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45795 $as_echo_n "checking for ld version... " >&6; }
45797 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45798 glibcxx_ld_is_gold=yes
45800 ldver=`$LD --version 2>/dev/null |
45801 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
45803 glibcxx_gnu_ld_version=`echo $ldver | \
45804 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45806 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45809 # Set --gc-sections.
45810 glibcxx_have_gc_sections=no
45811 if test "$glibcxx_ld_is_gold" = "yes"; then
45812 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45813 glibcxx_have_gc_sections=yes
45815 else
45816 glibcxx_gcsections_min_ld=21602
45817 if test x"$with_gnu_ld" = x"yes" &&
45818 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45819 glibcxx_have_gc_sections=yes
45822 if test "$glibcxx_have_gc_sections" = "yes"; then
45823 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45824 # NB: This flag only works reliably after 2.16.1. Configure tests
45825 # for this are difficult, so hard wire a value that should work.
45827 ac_test_CFLAGS="${CFLAGS+set}"
45828 ac_save_CFLAGS="$CFLAGS"
45829 CFLAGS='-Wl,--gc-sections'
45831 # Check for -Wl,--gc-sections
45832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45833 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45834 if test x$gcc_no_link = xyes; then
45835 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45838 /* end confdefs.h. */
45839 int one(void) { return 1; }
45840 int two(void) { return 2; }
45843 main ()
45845 two();
45847 return 0;
45849 _ACEOF
45850 if ac_fn_c_try_link "$LINENO"; then :
45851 ac_gcsections=yes
45852 else
45853 ac_gcsections=no
45855 rm -f core conftest.err conftest.$ac_objext \
45856 conftest$ac_exeext conftest.$ac_ext
45857 if test "$ac_gcsections" = "yes"; then
45858 rm -f conftest.c
45859 touch conftest.c
45860 if $CC -c conftest.c; then
45861 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45862 grep "Warning: gc-sections option ignored" > /dev/null; then
45863 ac_gcsections=no
45866 rm -f conftest.c conftest.o conftest
45868 if test "$ac_gcsections" = "yes"; then
45869 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45872 $as_echo "$ac_gcsections" >&6; }
45874 if test "$ac_test_CFLAGS" = set; then
45875 CFLAGS="$ac_save_CFLAGS"
45876 else
45877 # this is the suspicious part
45878 CFLAGS=''
45882 # Set -z,relro.
45883 # Note this is only for shared objects.
45884 ac_ld_relro=no
45885 if test x"$with_gnu_ld" = x"yes"; then
45886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45887 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45888 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45889 if test -n "$cxx_z_relo"; then
45890 OPT_LDFLAGS="-Wl,-z,relro"
45891 ac_ld_relro=yes
45893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45894 $as_echo "$ac_ld_relro" >&6; }
45897 # Set linker optimization flags.
45898 if test x"$with_gnu_ld" = x"yes"; then
45899 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45906 # GLIBCXX_CHECK_MATH_SUPPORT
45907 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45909 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45911 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45913 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45915 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45917 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45919 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45921 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45923 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45925 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45927 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45929 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45931 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45933 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45935 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45937 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45939 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45941 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45943 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45945 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45947 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45950 # GLIBCXX_CHECK_STDLIB_SUPPORT
45951 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45956 # Check whether --enable-tls was given.
45957 if test "${enable_tls+set}" = set; then :
45958 enableval=$enable_tls;
45959 case "$enableval" in
45960 yes|no) ;;
45961 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45962 esac
45964 else
45965 enable_tls=yes
45969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45970 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45971 if test "${gcc_cv_have_tls+set}" = set; then :
45972 $as_echo_n "(cached) " >&6
45973 else
45975 if test "$cross_compiling" = yes; then :
45976 if test x$gcc_no_link = xyes; then
45977 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45980 /* end confdefs.h. */
45981 __thread int a; int b; int main() { return a = b; }
45982 _ACEOF
45983 if ac_fn_c_try_link "$LINENO"; then :
45984 chktls_save_LDFLAGS="$LDFLAGS"
45985 case $host in
45986 *-*-linux*)
45987 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45989 esac
45990 chktls_save_CFLAGS="$CFLAGS"
45991 CFLAGS="-fPIC $CFLAGS"
45992 if test x$gcc_no_link = xyes; then
45993 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45996 /* end confdefs.h. */
45997 int f() { return 0; }
45998 _ACEOF
45999 if ac_fn_c_try_link "$LINENO"; then :
46000 if test x$gcc_no_link = xyes; then
46001 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46004 /* end confdefs.h. */
46005 __thread int a; int b; int f() { return a = b; }
46006 _ACEOF
46007 if ac_fn_c_try_link "$LINENO"; then :
46008 gcc_cv_have_tls=yes
46009 else
46010 gcc_cv_have_tls=no
46012 rm -f core conftest.err conftest.$ac_objext \
46013 conftest$ac_exeext conftest.$ac_ext
46014 else
46015 gcc_cv_have_tls=yes
46017 rm -f core conftest.err conftest.$ac_objext \
46018 conftest$ac_exeext conftest.$ac_ext
46019 CFLAGS="$chktls_save_CFLAGS"
46020 LDFLAGS="$chktls_save_LDFLAGS"
46021 else
46022 gcc_cv_have_tls=no
46024 rm -f core conftest.err conftest.$ac_objext \
46025 conftest$ac_exeext conftest.$ac_ext
46028 else
46029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46030 /* end confdefs.h. */
46031 __thread int a; int b; int main() { return a = b; }
46032 _ACEOF
46033 if ac_fn_c_try_run "$LINENO"; then :
46034 chktls_save_LDFLAGS="$LDFLAGS"
46035 LDFLAGS="-static $LDFLAGS"
46036 if test x$gcc_no_link = xyes; then
46037 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46040 /* end confdefs.h. */
46041 int main() { return 0; }
46042 _ACEOF
46043 if ac_fn_c_try_link "$LINENO"; then :
46044 if test "$cross_compiling" = yes; then :
46045 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46046 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
46047 as_fn_error "cannot run test program while cross compiling
46048 See \`config.log' for more details." "$LINENO" 5; }
46049 else
46050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46051 /* end confdefs.h. */
46052 __thread int a; int b; int main() { return a = b; }
46053 _ACEOF
46054 if ac_fn_c_try_run "$LINENO"; then :
46055 gcc_cv_have_tls=yes
46056 else
46057 gcc_cv_have_tls=no
46059 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46060 conftest.$ac_objext conftest.beam conftest.$ac_ext
46063 else
46064 gcc_cv_have_tls=yes
46066 rm -f core conftest.err conftest.$ac_objext \
46067 conftest$ac_exeext conftest.$ac_ext
46068 LDFLAGS="$chktls_save_LDFLAGS"
46069 if test $gcc_cv_have_tls = yes; then
46070 chktls_save_CFLAGS="$CFLAGS"
46071 thread_CFLAGS=failed
46072 for flag in '' '-pthread' '-lpthread'; do
46073 CFLAGS="$flag $chktls_save_CFLAGS"
46074 if test x$gcc_no_link = xyes; then
46075 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46078 /* end confdefs.h. */
46079 #include <pthread.h>
46080 void *g(void *d) { return NULL; }
46082 main ()
46084 pthread_t t; pthread_create(&t,NULL,g,NULL);
46086 return 0;
46088 _ACEOF
46089 if ac_fn_c_try_link "$LINENO"; then :
46090 thread_CFLAGS="$flag"
46092 rm -f core conftest.err conftest.$ac_objext \
46093 conftest$ac_exeext conftest.$ac_ext
46094 if test "X$thread_CFLAGS" != Xfailed; then
46095 break
46097 done
46098 CFLAGS="$chktls_save_CFLAGS"
46099 if test "X$thread_CFLAGS" != Xfailed; then
46100 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
46101 if test "$cross_compiling" = yes; then :
46102 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46103 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
46104 as_fn_error "cannot run test program while cross compiling
46105 See \`config.log' for more details." "$LINENO" 5; }
46106 else
46107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46108 /* end confdefs.h. */
46109 #include <pthread.h>
46110 __thread int a;
46111 static int *volatile a_in_other_thread;
46112 static void *
46113 thread_func (void *arg)
46115 a_in_other_thread = &a;
46116 return (void *)0;
46119 main ()
46121 pthread_t thread;
46122 void *thread_retval;
46123 int *volatile a_in_main_thread;
46124 a_in_main_thread = &a;
46125 if (pthread_create (&thread, (pthread_attr_t *)0,
46126 thread_func, (void *)0))
46127 return 0;
46128 if (pthread_join (thread, &thread_retval))
46129 return 0;
46130 return (a_in_other_thread == a_in_main_thread);
46132 return 0;
46134 _ACEOF
46135 if ac_fn_c_try_run "$LINENO"; then :
46136 gcc_cv_have_tls=yes
46137 else
46138 gcc_cv_have_tls=no
46140 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46141 conftest.$ac_objext conftest.beam conftest.$ac_ext
46144 CFLAGS="$chktls_save_CFLAGS"
46147 else
46148 gcc_cv_have_tls=no
46150 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46151 conftest.$ac_objext conftest.beam conftest.$ac_ext
46155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
46156 $as_echo "$gcc_cv_have_tls" >&6; }
46157 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
46159 $as_echo "#define HAVE_TLS 1" >>confdefs.h
46162 case "$target" in
46163 *-hpux10*)
46164 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
46166 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
46168 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
46170 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
46172 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
46175 esac
46177 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
46179 # All these tests are for C++; save the language and the compiler flags.
46180 # The CXXFLAGS thing is suspicious, but based on similar bits previously
46181 # found in GLIBCXX_CONFIGURE.
46183 ac_ext=cpp
46184 ac_cpp='$CXXCPP $CPPFLAGS'
46185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46189 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46190 ac_save_CXXFLAGS="$CXXFLAGS"
46192 # Check for maintainer-mode bits.
46193 if test x"$USE_MAINTAINER_MODE" = xno; then
46194 WERROR=''
46195 else
46196 WERROR='-Werror'
46199 # Check for -ffunction-sections -fdata-sections
46200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
46201 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
46202 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
46203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46204 /* end confdefs.h. */
46205 int foo; void bar() { };
46207 main ()
46211 return 0;
46213 _ACEOF
46214 if ac_fn_cxx_try_compile "$LINENO"; then :
46215 ac_fdsections=yes
46216 else
46217 ac_fdsections=no
46219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46220 if test "$ac_test_CXXFLAGS" = set; then
46221 CXXFLAGS="$ac_save_CXXFLAGS"
46222 else
46223 # this is the suspicious part
46224 CXXFLAGS=''
46226 if test x"$ac_fdsections" = x"yes"; then
46227 SECTION_FLAGS='-ffunction-sections -fdata-sections'
46229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
46230 $as_echo "$ac_fdsections" >&6; }
46232 ac_ext=c
46233 ac_cpp='$CPP $CPPFLAGS'
46234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46242 # If we're not using GNU ld, then there's no point in even trying these
46243 # tests. Check for that first. We should have already tested for gld
46244 # by now (in libtool), but require it now just to be safe...
46245 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
46246 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
46250 # The name set by libtool depends on the version of libtool. Shame on us
46251 # for depending on an impl detail, but c'est la vie. Older versions used
46252 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
46253 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
46254 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
46255 # set (hence we're using an older libtool), then set it.
46256 if test x${with_gnu_ld+set} != xset; then
46257 if test x${ac_cv_prog_gnu_ld+set} != xset; then
46258 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
46259 with_gnu_ld=no
46260 else
46261 with_gnu_ld=$ac_cv_prog_gnu_ld
46265 # Start by getting the version number. I think the libtool test already
46266 # does some of this, but throws away the result.
46267 glibcxx_ld_is_gold=no
46268 if test x"$with_gnu_ld" = x"yes"; then
46269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
46270 $as_echo_n "checking for ld version... " >&6; }
46272 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
46273 glibcxx_ld_is_gold=yes
46275 ldver=`$LD --version 2>/dev/null |
46276 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
46278 glibcxx_gnu_ld_version=`echo $ldver | \
46279 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
46280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
46281 $as_echo "$glibcxx_gnu_ld_version" >&6; }
46284 # Set --gc-sections.
46285 glibcxx_have_gc_sections=no
46286 if test "$glibcxx_ld_is_gold" = "yes"; then
46287 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
46288 glibcxx_have_gc_sections=yes
46290 else
46291 glibcxx_gcsections_min_ld=21602
46292 if test x"$with_gnu_ld" = x"yes" &&
46293 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
46294 glibcxx_have_gc_sections=yes
46297 if test "$glibcxx_have_gc_sections" = "yes"; then
46298 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
46299 # NB: This flag only works reliably after 2.16.1. Configure tests
46300 # for this are difficult, so hard wire a value that should work.
46302 ac_test_CFLAGS="${CFLAGS+set}"
46303 ac_save_CFLAGS="$CFLAGS"
46304 CFLAGS='-Wl,--gc-sections'
46306 # Check for -Wl,--gc-sections
46307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
46308 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
46309 if test x$gcc_no_link = xyes; then
46310 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46313 /* end confdefs.h. */
46314 int one(void) { return 1; }
46315 int two(void) { return 2; }
46318 main ()
46320 two();
46322 return 0;
46324 _ACEOF
46325 if ac_fn_c_try_link "$LINENO"; then :
46326 ac_gcsections=yes
46327 else
46328 ac_gcsections=no
46330 rm -f core conftest.err conftest.$ac_objext \
46331 conftest$ac_exeext conftest.$ac_ext
46332 if test "$ac_gcsections" = "yes"; then
46333 rm -f conftest.c
46334 touch conftest.c
46335 if $CC -c conftest.c; then
46336 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
46337 grep "Warning: gc-sections option ignored" > /dev/null; then
46338 ac_gcsections=no
46341 rm -f conftest.c conftest.o conftest
46343 if test "$ac_gcsections" = "yes"; then
46344 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
46346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
46347 $as_echo "$ac_gcsections" >&6; }
46349 if test "$ac_test_CFLAGS" = set; then
46350 CFLAGS="$ac_save_CFLAGS"
46351 else
46352 # this is the suspicious part
46353 CFLAGS=''
46357 # Set -z,relro.
46358 # Note this is only for shared objects.
46359 ac_ld_relro=no
46360 if test x"$with_gnu_ld" = x"yes"; then
46361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
46362 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
46363 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
46364 if test -n "$cxx_z_relo"; then
46365 OPT_LDFLAGS="-Wl,-z,relro"
46366 ac_ld_relro=yes
46368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
46369 $as_echo "$ac_ld_relro" >&6; }
46372 # Set linker optimization flags.
46373 if test x"$with_gnu_ld" = x"yes"; then
46374 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
46381 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46382 ac_save_CXXFLAGS="$CXXFLAGS"
46383 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46386 $as_echo_n "checking for sin in -lm... " >&6; }
46387 if test "${ac_cv_lib_m_sin+set}" = set; then :
46388 $as_echo_n "(cached) " >&6
46389 else
46390 ac_check_lib_save_LIBS=$LIBS
46391 LIBS="-lm $LIBS"
46392 if test x$gcc_no_link = xyes; then
46393 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46396 /* end confdefs.h. */
46398 /* Override any GCC internal prototype to avoid an error.
46399 Use char because int might match the return type of a GCC
46400 builtin and then its argument prototype would still apply. */
46401 #ifdef __cplusplus
46402 extern "C"
46403 #endif
46404 char sin ();
46406 main ()
46408 return sin ();
46410 return 0;
46412 _ACEOF
46413 if ac_fn_c_try_link "$LINENO"; then :
46414 ac_cv_lib_m_sin=yes
46415 else
46416 ac_cv_lib_m_sin=no
46418 rm -f core conftest.err conftest.$ac_objext \
46419 conftest$ac_exeext conftest.$ac_ext
46420 LIBS=$ac_check_lib_save_LIBS
46422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46423 $as_echo "$ac_cv_lib_m_sin" >&6; }
46424 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46425 libm="-lm"
46428 ac_save_LIBS="$LIBS"
46429 LIBS="$LIBS $libm"
46433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46434 $as_echo_n "checking for isinf declaration... " >&6; }
46435 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46436 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46437 $as_echo_n "(cached) " >&6
46438 else
46441 ac_ext=cpp
46442 ac_cpp='$CXXCPP $CPPFLAGS'
46443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46448 /* end confdefs.h. */
46449 #include <math.h>
46450 #ifdef HAVE_IEEEFP_H
46451 #include <ieeefp.h>
46452 #endif
46455 main ()
46457 isinf(0);
46459 return 0;
46461 _ACEOF
46462 if ac_fn_cxx_try_compile "$LINENO"; then :
46463 glibcxx_cv_func_isinf_use=yes
46464 else
46465 glibcxx_cv_func_isinf_use=no
46467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46468 ac_ext=c
46469 ac_cpp='$CPP $CPPFLAGS'
46470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46479 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46481 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46482 for ac_func in isinf
46483 do :
46484 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46485 if test "x$ac_cv_func_isinf" = x""yes; then :
46486 cat >>confdefs.h <<_ACEOF
46487 #define HAVE_ISINF 1
46488 _ACEOF
46491 done
46493 else
46495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46496 $as_echo_n "checking for _isinf declaration... " >&6; }
46497 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46498 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46499 $as_echo_n "(cached) " >&6
46500 else
46503 ac_ext=cpp
46504 ac_cpp='$CXXCPP $CPPFLAGS'
46505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46510 /* end confdefs.h. */
46511 #include <math.h>
46512 #ifdef HAVE_IEEEFP_H
46513 #include <ieeefp.h>
46514 #endif
46517 main ()
46519 _isinf(0);
46521 return 0;
46523 _ACEOF
46524 if ac_fn_cxx_try_compile "$LINENO"; then :
46525 glibcxx_cv_func__isinf_use=yes
46526 else
46527 glibcxx_cv_func__isinf_use=no
46529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46530 ac_ext=c
46531 ac_cpp='$CPP $CPPFLAGS'
46532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46541 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46543 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46544 for ac_func in _isinf
46545 do :
46546 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46547 if test "x$ac_cv_func__isinf" = x""yes; then :
46548 cat >>confdefs.h <<_ACEOF
46549 #define HAVE__ISINF 1
46550 _ACEOF
46553 done
46562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46563 $as_echo_n "checking for isnan declaration... " >&6; }
46564 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46565 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46566 $as_echo_n "(cached) " >&6
46567 else
46570 ac_ext=cpp
46571 ac_cpp='$CXXCPP $CPPFLAGS'
46572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46577 /* end confdefs.h. */
46578 #include <math.h>
46579 #ifdef HAVE_IEEEFP_H
46580 #include <ieeefp.h>
46581 #endif
46584 main ()
46586 isnan(0);
46588 return 0;
46590 _ACEOF
46591 if ac_fn_cxx_try_compile "$LINENO"; then :
46592 glibcxx_cv_func_isnan_use=yes
46593 else
46594 glibcxx_cv_func_isnan_use=no
46596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46597 ac_ext=c
46598 ac_cpp='$CPP $CPPFLAGS'
46599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46608 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46610 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46611 for ac_func in isnan
46612 do :
46613 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46614 if test "x$ac_cv_func_isnan" = x""yes; then :
46615 cat >>confdefs.h <<_ACEOF
46616 #define HAVE_ISNAN 1
46617 _ACEOF
46620 done
46622 else
46624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46625 $as_echo_n "checking for _isnan declaration... " >&6; }
46626 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46627 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46628 $as_echo_n "(cached) " >&6
46629 else
46632 ac_ext=cpp
46633 ac_cpp='$CXXCPP $CPPFLAGS'
46634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46639 /* end confdefs.h. */
46640 #include <math.h>
46641 #ifdef HAVE_IEEEFP_H
46642 #include <ieeefp.h>
46643 #endif
46646 main ()
46648 _isnan(0);
46650 return 0;
46652 _ACEOF
46653 if ac_fn_cxx_try_compile "$LINENO"; then :
46654 glibcxx_cv_func__isnan_use=yes
46655 else
46656 glibcxx_cv_func__isnan_use=no
46658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46659 ac_ext=c
46660 ac_cpp='$CPP $CPPFLAGS'
46661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46670 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46672 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46673 for ac_func in _isnan
46674 do :
46675 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46676 if test "x$ac_cv_func__isnan" = x""yes; then :
46677 cat >>confdefs.h <<_ACEOF
46678 #define HAVE__ISNAN 1
46679 _ACEOF
46682 done
46691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46692 $as_echo_n "checking for finite declaration... " >&6; }
46693 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46694 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46695 $as_echo_n "(cached) " >&6
46696 else
46699 ac_ext=cpp
46700 ac_cpp='$CXXCPP $CPPFLAGS'
46701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46706 /* end confdefs.h. */
46707 #include <math.h>
46708 #ifdef HAVE_IEEEFP_H
46709 #include <ieeefp.h>
46710 #endif
46713 main ()
46715 finite(0);
46717 return 0;
46719 _ACEOF
46720 if ac_fn_cxx_try_compile "$LINENO"; then :
46721 glibcxx_cv_func_finite_use=yes
46722 else
46723 glibcxx_cv_func_finite_use=no
46725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46726 ac_ext=c
46727 ac_cpp='$CPP $CPPFLAGS'
46728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46737 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46739 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46740 for ac_func in finite
46741 do :
46742 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46743 if test "x$ac_cv_func_finite" = x""yes; then :
46744 cat >>confdefs.h <<_ACEOF
46745 #define HAVE_FINITE 1
46746 _ACEOF
46749 done
46751 else
46753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46754 $as_echo_n "checking for _finite declaration... " >&6; }
46755 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46756 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46757 $as_echo_n "(cached) " >&6
46758 else
46761 ac_ext=cpp
46762 ac_cpp='$CXXCPP $CPPFLAGS'
46763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46768 /* end confdefs.h. */
46769 #include <math.h>
46770 #ifdef HAVE_IEEEFP_H
46771 #include <ieeefp.h>
46772 #endif
46775 main ()
46777 _finite(0);
46779 return 0;
46781 _ACEOF
46782 if ac_fn_cxx_try_compile "$LINENO"; then :
46783 glibcxx_cv_func__finite_use=yes
46784 else
46785 glibcxx_cv_func__finite_use=no
46787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46788 ac_ext=c
46789 ac_cpp='$CPP $CPPFLAGS'
46790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46799 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46801 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46802 for ac_func in _finite
46803 do :
46804 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46805 if test "x$ac_cv_func__finite" = x""yes; then :
46806 cat >>confdefs.h <<_ACEOF
46807 #define HAVE__FINITE 1
46808 _ACEOF
46811 done
46820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46821 $as_echo_n "checking for sincos declaration... " >&6; }
46822 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46823 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46824 $as_echo_n "(cached) " >&6
46825 else
46828 ac_ext=cpp
46829 ac_cpp='$CXXCPP $CPPFLAGS'
46830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46835 /* end confdefs.h. */
46836 #include <math.h>
46838 main ()
46840 sincos(0, 0, 0);
46842 return 0;
46844 _ACEOF
46845 if ac_fn_cxx_try_compile "$LINENO"; then :
46846 glibcxx_cv_func_sincos_use=yes
46847 else
46848 glibcxx_cv_func_sincos_use=no
46850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46851 ac_ext=c
46852 ac_cpp='$CPP $CPPFLAGS'
46853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46862 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46864 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46865 for ac_func in sincos
46866 do :
46867 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46868 if test "x$ac_cv_func_sincos" = x""yes; then :
46869 cat >>confdefs.h <<_ACEOF
46870 #define HAVE_SINCOS 1
46871 _ACEOF
46874 done
46876 else
46878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46879 $as_echo_n "checking for _sincos declaration... " >&6; }
46880 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46881 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46882 $as_echo_n "(cached) " >&6
46883 else
46886 ac_ext=cpp
46887 ac_cpp='$CXXCPP $CPPFLAGS'
46888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46893 /* end confdefs.h. */
46894 #include <math.h>
46896 main ()
46898 _sincos(0, 0, 0);
46900 return 0;
46902 _ACEOF
46903 if ac_fn_cxx_try_compile "$LINENO"; then :
46904 glibcxx_cv_func__sincos_use=yes
46905 else
46906 glibcxx_cv_func__sincos_use=no
46908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46909 ac_ext=c
46910 ac_cpp='$CPP $CPPFLAGS'
46911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46920 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46922 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46923 for ac_func in _sincos
46924 do :
46925 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46926 if test "x$ac_cv_func__sincos" = x""yes; then :
46927 cat >>confdefs.h <<_ACEOF
46928 #define HAVE__SINCOS 1
46929 _ACEOF
46932 done
46941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46942 $as_echo_n "checking for fpclass declaration... " >&6; }
46943 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46944 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46945 $as_echo_n "(cached) " >&6
46946 else
46949 ac_ext=cpp
46950 ac_cpp='$CXXCPP $CPPFLAGS'
46951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46956 /* end confdefs.h. */
46957 #include <math.h>
46958 #ifdef HAVE_IEEEFP_H
46959 #include <ieeefp.h>
46960 #endif
46963 main ()
46965 fpclass(0);
46967 return 0;
46969 _ACEOF
46970 if ac_fn_cxx_try_compile "$LINENO"; then :
46971 glibcxx_cv_func_fpclass_use=yes
46972 else
46973 glibcxx_cv_func_fpclass_use=no
46975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46976 ac_ext=c
46977 ac_cpp='$CPP $CPPFLAGS'
46978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46987 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46989 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46990 for ac_func in fpclass
46991 do :
46992 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46993 if test "x$ac_cv_func_fpclass" = x""yes; then :
46994 cat >>confdefs.h <<_ACEOF
46995 #define HAVE_FPCLASS 1
46996 _ACEOF
46999 done
47001 else
47003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47004 $as_echo_n "checking for _fpclass declaration... " >&6; }
47005 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47006 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47007 $as_echo_n "(cached) " >&6
47008 else
47011 ac_ext=cpp
47012 ac_cpp='$CXXCPP $CPPFLAGS'
47013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47018 /* end confdefs.h. */
47019 #include <math.h>
47020 #ifdef HAVE_IEEEFP_H
47021 #include <ieeefp.h>
47022 #endif
47025 main ()
47027 _fpclass(0);
47029 return 0;
47031 _ACEOF
47032 if ac_fn_cxx_try_compile "$LINENO"; then :
47033 glibcxx_cv_func__fpclass_use=yes
47034 else
47035 glibcxx_cv_func__fpclass_use=no
47037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47038 ac_ext=c
47039 ac_cpp='$CPP $CPPFLAGS'
47040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47049 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
47051 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
47052 for ac_func in _fpclass
47053 do :
47054 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
47055 if test "x$ac_cv_func__fpclass" = x""yes; then :
47056 cat >>confdefs.h <<_ACEOF
47057 #define HAVE__FPCLASS 1
47058 _ACEOF
47061 done
47070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
47071 $as_echo_n "checking for qfpclass declaration... " >&6; }
47072 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
47073 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
47074 $as_echo_n "(cached) " >&6
47075 else
47078 ac_ext=cpp
47079 ac_cpp='$CXXCPP $CPPFLAGS'
47080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47085 /* end confdefs.h. */
47086 #include <math.h>
47087 #ifdef HAVE_IEEEFP_H
47088 #include <ieeefp.h>
47089 #endif
47092 main ()
47094 qfpclass(0);
47096 return 0;
47098 _ACEOF
47099 if ac_fn_cxx_try_compile "$LINENO"; then :
47100 glibcxx_cv_func_qfpclass_use=yes
47101 else
47102 glibcxx_cv_func_qfpclass_use=no
47104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47105 ac_ext=c
47106 ac_cpp='$CPP $CPPFLAGS'
47107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
47116 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
47118 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
47119 for ac_func in qfpclass
47120 do :
47121 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
47122 if test "x$ac_cv_func_qfpclass" = x""yes; then :
47123 cat >>confdefs.h <<_ACEOF
47124 #define HAVE_QFPCLASS 1
47125 _ACEOF
47128 done
47130 else
47132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
47133 $as_echo_n "checking for _qfpclass declaration... " >&6; }
47134 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
47135 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
47136 $as_echo_n "(cached) " >&6
47137 else
47140 ac_ext=cpp
47141 ac_cpp='$CXXCPP $CPPFLAGS'
47142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47147 /* end confdefs.h. */
47148 #include <math.h>
47149 #ifdef HAVE_IEEEFP_H
47150 #include <ieeefp.h>
47151 #endif
47154 main ()
47156 _qfpclass(0);
47158 return 0;
47160 _ACEOF
47161 if ac_fn_cxx_try_compile "$LINENO"; then :
47162 glibcxx_cv_func__qfpclass_use=yes
47163 else
47164 glibcxx_cv_func__qfpclass_use=no
47166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47167 ac_ext=c
47168 ac_cpp='$CPP $CPPFLAGS'
47169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47178 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47180 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47181 for ac_func in _qfpclass
47182 do :
47183 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47184 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47185 cat >>confdefs.h <<_ACEOF
47186 #define HAVE__QFPCLASS 1
47187 _ACEOF
47190 done
47199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47200 $as_echo_n "checking for hypot declaration... " >&6; }
47201 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47202 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47203 $as_echo_n "(cached) " >&6
47204 else
47207 ac_ext=cpp
47208 ac_cpp='$CXXCPP $CPPFLAGS'
47209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47214 /* end confdefs.h. */
47215 #include <math.h>
47217 main ()
47219 hypot(0, 0);
47221 return 0;
47223 _ACEOF
47224 if ac_fn_cxx_try_compile "$LINENO"; then :
47225 glibcxx_cv_func_hypot_use=yes
47226 else
47227 glibcxx_cv_func_hypot_use=no
47229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47230 ac_ext=c
47231 ac_cpp='$CPP $CPPFLAGS'
47232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
47241 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47243 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47244 for ac_func in hypot
47245 do :
47246 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47247 if test "x$ac_cv_func_hypot" = x""yes; then :
47248 cat >>confdefs.h <<_ACEOF
47249 #define HAVE_HYPOT 1
47250 _ACEOF
47253 done
47255 else
47257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
47258 $as_echo_n "checking for _hypot declaration... " >&6; }
47259 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
47260 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
47261 $as_echo_n "(cached) " >&6
47262 else
47265 ac_ext=cpp
47266 ac_cpp='$CXXCPP $CPPFLAGS'
47267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47272 /* end confdefs.h. */
47273 #include <math.h>
47275 main ()
47277 _hypot(0, 0);
47279 return 0;
47281 _ACEOF
47282 if ac_fn_cxx_try_compile "$LINENO"; then :
47283 glibcxx_cv_func__hypot_use=yes
47284 else
47285 glibcxx_cv_func__hypot_use=no
47287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47288 ac_ext=c
47289 ac_cpp='$CPP $CPPFLAGS'
47290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47299 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47301 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47302 for ac_func in _hypot
47303 do :
47304 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47305 if test "x$ac_cv_func__hypot" = x""yes; then :
47306 cat >>confdefs.h <<_ACEOF
47307 #define HAVE__HYPOT 1
47308 _ACEOF
47311 done
47320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47321 $as_echo_n "checking for float trig functions... " >&6; }
47322 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47323 $as_echo_n "(cached) " >&6
47324 else
47327 ac_ext=cpp
47328 ac_cpp='$CXXCPP $CPPFLAGS'
47329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47334 /* end confdefs.h. */
47335 #include <math.h>
47337 main ()
47339 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47341 return 0;
47343 _ACEOF
47344 if ac_fn_cxx_try_compile "$LINENO"; then :
47345 glibcxx_cv_func_float_trig_use=yes
47346 else
47347 glibcxx_cv_func_float_trig_use=no
47349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47350 ac_ext=c
47351 ac_cpp='$CPP $CPPFLAGS'
47352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47359 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47360 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47361 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47362 do :
47363 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47364 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47365 eval as_val=\$$as_ac_var
47366 if test "x$as_val" = x""yes; then :
47367 cat >>confdefs.h <<_ACEOF
47368 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47369 _ACEOF
47372 done
47374 else
47375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47376 $as_echo_n "checking for _float trig functions... " >&6; }
47377 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47378 $as_echo_n "(cached) " >&6
47379 else
47382 ac_ext=cpp
47383 ac_cpp='$CXXCPP $CPPFLAGS'
47384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47389 /* end confdefs.h. */
47390 #include <math.h>
47392 main ()
47394 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47396 return 0;
47398 _ACEOF
47399 if ac_fn_cxx_try_compile "$LINENO"; then :
47400 glibcxx_cv_func__float_trig_use=yes
47401 else
47402 glibcxx_cv_func__float_trig_use=no
47404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47405 ac_ext=c
47406 ac_cpp='$CPP $CPPFLAGS'
47407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47414 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47415 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47416 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47417 do :
47418 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47419 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47420 eval as_val=\$$as_ac_var
47421 if test "x$as_val" = x""yes; then :
47422 cat >>confdefs.h <<_ACEOF
47423 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47424 _ACEOF
47427 done
47436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47437 $as_echo_n "checking for float round functions... " >&6; }
47438 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47439 $as_echo_n "(cached) " >&6
47440 else
47443 ac_ext=cpp
47444 ac_cpp='$CXXCPP $CPPFLAGS'
47445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47450 /* end confdefs.h. */
47451 #include <math.h>
47453 main ()
47455 ceilf (0); floorf (0);
47457 return 0;
47459 _ACEOF
47460 if ac_fn_cxx_try_compile "$LINENO"; then :
47461 glibcxx_cv_func_float_round_use=yes
47462 else
47463 glibcxx_cv_func_float_round_use=no
47465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47466 ac_ext=c
47467 ac_cpp='$CPP $CPPFLAGS'
47468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47475 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47476 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47477 for ac_func in ceilf floorf
47478 do :
47479 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47480 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47481 eval as_val=\$$as_ac_var
47482 if test "x$as_val" = x""yes; then :
47483 cat >>confdefs.h <<_ACEOF
47484 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47485 _ACEOF
47488 done
47490 else
47491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47492 $as_echo_n "checking for _float round functions... " >&6; }
47493 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47494 $as_echo_n "(cached) " >&6
47495 else
47498 ac_ext=cpp
47499 ac_cpp='$CXXCPP $CPPFLAGS'
47500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47505 /* end confdefs.h. */
47506 #include <math.h>
47508 main ()
47510 _ceilf (0); _floorf (0);
47512 return 0;
47514 _ACEOF
47515 if ac_fn_cxx_try_compile "$LINENO"; then :
47516 glibcxx_cv_func__float_round_use=yes
47517 else
47518 glibcxx_cv_func__float_round_use=no
47520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47521 ac_ext=c
47522 ac_cpp='$CPP $CPPFLAGS'
47523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47530 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47531 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47532 for ac_func in _ceilf _floorf
47533 do :
47534 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47535 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47536 eval as_val=\$$as_ac_var
47537 if test "x$as_val" = x""yes; then :
47538 cat >>confdefs.h <<_ACEOF
47539 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47540 _ACEOF
47543 done
47553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47554 $as_echo_n "checking for expf declaration... " >&6; }
47555 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47556 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47557 $as_echo_n "(cached) " >&6
47558 else
47561 ac_ext=cpp
47562 ac_cpp='$CXXCPP $CPPFLAGS'
47563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47568 /* end confdefs.h. */
47569 #include <math.h>
47570 #ifdef HAVE_IEEEFP_H
47571 #include <ieeefp.h>
47572 #endif
47575 main ()
47577 expf(0);
47579 return 0;
47581 _ACEOF
47582 if ac_fn_cxx_try_compile "$LINENO"; then :
47583 glibcxx_cv_func_expf_use=yes
47584 else
47585 glibcxx_cv_func_expf_use=no
47587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47588 ac_ext=c
47589 ac_cpp='$CPP $CPPFLAGS'
47590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47599 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47601 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47602 for ac_func in expf
47603 do :
47604 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47605 if test "x$ac_cv_func_expf" = x""yes; then :
47606 cat >>confdefs.h <<_ACEOF
47607 #define HAVE_EXPF 1
47608 _ACEOF
47611 done
47613 else
47615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47616 $as_echo_n "checking for _expf declaration... " >&6; }
47617 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47618 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47619 $as_echo_n "(cached) " >&6
47620 else
47623 ac_ext=cpp
47624 ac_cpp='$CXXCPP $CPPFLAGS'
47625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47630 /* end confdefs.h. */
47631 #include <math.h>
47632 #ifdef HAVE_IEEEFP_H
47633 #include <ieeefp.h>
47634 #endif
47637 main ()
47639 _expf(0);
47641 return 0;
47643 _ACEOF
47644 if ac_fn_cxx_try_compile "$LINENO"; then :
47645 glibcxx_cv_func__expf_use=yes
47646 else
47647 glibcxx_cv_func__expf_use=no
47649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47650 ac_ext=c
47651 ac_cpp='$CPP $CPPFLAGS'
47652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47661 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47663 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47664 for ac_func in _expf
47665 do :
47666 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47667 if test "x$ac_cv_func__expf" = x""yes; then :
47668 cat >>confdefs.h <<_ACEOF
47669 #define HAVE__EXPF 1
47670 _ACEOF
47673 done
47682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47683 $as_echo_n "checking for isnanf declaration... " >&6; }
47684 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47685 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47686 $as_echo_n "(cached) " >&6
47687 else
47690 ac_ext=cpp
47691 ac_cpp='$CXXCPP $CPPFLAGS'
47692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47697 /* end confdefs.h. */
47698 #include <math.h>
47699 #ifdef HAVE_IEEEFP_H
47700 #include <ieeefp.h>
47701 #endif
47704 main ()
47706 isnanf(0);
47708 return 0;
47710 _ACEOF
47711 if ac_fn_cxx_try_compile "$LINENO"; then :
47712 glibcxx_cv_func_isnanf_use=yes
47713 else
47714 glibcxx_cv_func_isnanf_use=no
47716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47717 ac_ext=c
47718 ac_cpp='$CPP $CPPFLAGS'
47719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47728 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47730 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47731 for ac_func in isnanf
47732 do :
47733 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47734 if test "x$ac_cv_func_isnanf" = x""yes; then :
47735 cat >>confdefs.h <<_ACEOF
47736 #define HAVE_ISNANF 1
47737 _ACEOF
47740 done
47742 else
47744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47745 $as_echo_n "checking for _isnanf declaration... " >&6; }
47746 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47747 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47748 $as_echo_n "(cached) " >&6
47749 else
47752 ac_ext=cpp
47753 ac_cpp='$CXXCPP $CPPFLAGS'
47754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47759 /* end confdefs.h. */
47760 #include <math.h>
47761 #ifdef HAVE_IEEEFP_H
47762 #include <ieeefp.h>
47763 #endif
47766 main ()
47768 _isnanf(0);
47770 return 0;
47772 _ACEOF
47773 if ac_fn_cxx_try_compile "$LINENO"; then :
47774 glibcxx_cv_func__isnanf_use=yes
47775 else
47776 glibcxx_cv_func__isnanf_use=no
47778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47779 ac_ext=c
47780 ac_cpp='$CPP $CPPFLAGS'
47781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47790 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47792 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47793 for ac_func in _isnanf
47794 do :
47795 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47796 if test "x$ac_cv_func__isnanf" = x""yes; then :
47797 cat >>confdefs.h <<_ACEOF
47798 #define HAVE__ISNANF 1
47799 _ACEOF
47802 done
47811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47812 $as_echo_n "checking for isinff declaration... " >&6; }
47813 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47814 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47815 $as_echo_n "(cached) " >&6
47816 else
47819 ac_ext=cpp
47820 ac_cpp='$CXXCPP $CPPFLAGS'
47821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47826 /* end confdefs.h. */
47827 #include <math.h>
47828 #ifdef HAVE_IEEEFP_H
47829 #include <ieeefp.h>
47830 #endif
47833 main ()
47835 isinff(0);
47837 return 0;
47839 _ACEOF
47840 if ac_fn_cxx_try_compile "$LINENO"; then :
47841 glibcxx_cv_func_isinff_use=yes
47842 else
47843 glibcxx_cv_func_isinff_use=no
47845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47846 ac_ext=c
47847 ac_cpp='$CPP $CPPFLAGS'
47848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47857 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47859 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47860 for ac_func in isinff
47861 do :
47862 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47863 if test "x$ac_cv_func_isinff" = x""yes; then :
47864 cat >>confdefs.h <<_ACEOF
47865 #define HAVE_ISINFF 1
47866 _ACEOF
47869 done
47871 else
47873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47874 $as_echo_n "checking for _isinff declaration... " >&6; }
47875 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47876 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47877 $as_echo_n "(cached) " >&6
47878 else
47881 ac_ext=cpp
47882 ac_cpp='$CXXCPP $CPPFLAGS'
47883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47888 /* end confdefs.h. */
47889 #include <math.h>
47890 #ifdef HAVE_IEEEFP_H
47891 #include <ieeefp.h>
47892 #endif
47895 main ()
47897 _isinff(0);
47899 return 0;
47901 _ACEOF
47902 if ac_fn_cxx_try_compile "$LINENO"; then :
47903 glibcxx_cv_func__isinff_use=yes
47904 else
47905 glibcxx_cv_func__isinff_use=no
47907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47908 ac_ext=c
47909 ac_cpp='$CPP $CPPFLAGS'
47910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47919 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47921 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47922 for ac_func in _isinff
47923 do :
47924 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47925 if test "x$ac_cv_func__isinff" = x""yes; then :
47926 cat >>confdefs.h <<_ACEOF
47927 #define HAVE__ISINFF 1
47928 _ACEOF
47931 done
47940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47941 $as_echo_n "checking for atan2f declaration... " >&6; }
47942 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47943 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47944 $as_echo_n "(cached) " >&6
47945 else
47948 ac_ext=cpp
47949 ac_cpp='$CXXCPP $CPPFLAGS'
47950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47955 /* end confdefs.h. */
47956 #include <math.h>
47958 main ()
47960 atan2f(0, 0);
47962 return 0;
47964 _ACEOF
47965 if ac_fn_cxx_try_compile "$LINENO"; then :
47966 glibcxx_cv_func_atan2f_use=yes
47967 else
47968 glibcxx_cv_func_atan2f_use=no
47970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47971 ac_ext=c
47972 ac_cpp='$CPP $CPPFLAGS'
47973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47982 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47984 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47985 for ac_func in atan2f
47986 do :
47987 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47988 if test "x$ac_cv_func_atan2f" = x""yes; then :
47989 cat >>confdefs.h <<_ACEOF
47990 #define HAVE_ATAN2F 1
47991 _ACEOF
47994 done
47996 else
47998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47999 $as_echo_n "checking for _atan2f declaration... " >&6; }
48000 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48001 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48002 $as_echo_n "(cached) " >&6
48003 else
48006 ac_ext=cpp
48007 ac_cpp='$CXXCPP $CPPFLAGS'
48008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48013 /* end confdefs.h. */
48014 #include <math.h>
48016 main ()
48018 _atan2f(0, 0);
48020 return 0;
48022 _ACEOF
48023 if ac_fn_cxx_try_compile "$LINENO"; then :
48024 glibcxx_cv_func__atan2f_use=yes
48025 else
48026 glibcxx_cv_func__atan2f_use=no
48028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48029 ac_ext=c
48030 ac_cpp='$CPP $CPPFLAGS'
48031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48040 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
48042 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48043 for ac_func in _atan2f
48044 do :
48045 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48046 if test "x$ac_cv_func__atan2f" = x""yes; then :
48047 cat >>confdefs.h <<_ACEOF
48048 #define HAVE__ATAN2F 1
48049 _ACEOF
48052 done
48061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
48062 $as_echo_n "checking for fabsf declaration... " >&6; }
48063 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48064 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
48065 $as_echo_n "(cached) " >&6
48066 else
48069 ac_ext=cpp
48070 ac_cpp='$CXXCPP $CPPFLAGS'
48071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48076 /* end confdefs.h. */
48077 #include <math.h>
48078 #ifdef HAVE_IEEEFP_H
48079 #include <ieeefp.h>
48080 #endif
48083 main ()
48085 fabsf(0);
48087 return 0;
48089 _ACEOF
48090 if ac_fn_cxx_try_compile "$LINENO"; then :
48091 glibcxx_cv_func_fabsf_use=yes
48092 else
48093 glibcxx_cv_func_fabsf_use=no
48095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48096 ac_ext=c
48097 ac_cpp='$CPP $CPPFLAGS'
48098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
48107 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
48109 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48110 for ac_func in fabsf
48111 do :
48112 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
48113 if test "x$ac_cv_func_fabsf" = x""yes; then :
48114 cat >>confdefs.h <<_ACEOF
48115 #define HAVE_FABSF 1
48116 _ACEOF
48119 done
48121 else
48123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
48124 $as_echo_n "checking for _fabsf declaration... " >&6; }
48125 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48126 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
48127 $as_echo_n "(cached) " >&6
48128 else
48131 ac_ext=cpp
48132 ac_cpp='$CXXCPP $CPPFLAGS'
48133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48138 /* end confdefs.h. */
48139 #include <math.h>
48140 #ifdef HAVE_IEEEFP_H
48141 #include <ieeefp.h>
48142 #endif
48145 main ()
48147 _fabsf(0);
48149 return 0;
48151 _ACEOF
48152 if ac_fn_cxx_try_compile "$LINENO"; then :
48153 glibcxx_cv_func__fabsf_use=yes
48154 else
48155 glibcxx_cv_func__fabsf_use=no
48157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48158 ac_ext=c
48159 ac_cpp='$CPP $CPPFLAGS'
48160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48169 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48171 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48172 for ac_func in _fabsf
48173 do :
48174 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48175 if test "x$ac_cv_func__fabsf" = x""yes; then :
48176 cat >>confdefs.h <<_ACEOF
48177 #define HAVE__FABSF 1
48178 _ACEOF
48181 done
48190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48191 $as_echo_n "checking for fmodf declaration... " >&6; }
48192 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48193 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48194 $as_echo_n "(cached) " >&6
48195 else
48198 ac_ext=cpp
48199 ac_cpp='$CXXCPP $CPPFLAGS'
48200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48205 /* end confdefs.h. */
48206 #include <math.h>
48208 main ()
48210 fmodf(0, 0);
48212 return 0;
48214 _ACEOF
48215 if ac_fn_cxx_try_compile "$LINENO"; then :
48216 glibcxx_cv_func_fmodf_use=yes
48217 else
48218 glibcxx_cv_func_fmodf_use=no
48220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48221 ac_ext=c
48222 ac_cpp='$CPP $CPPFLAGS'
48223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48232 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48234 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48235 for ac_func in fmodf
48236 do :
48237 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48238 if test "x$ac_cv_func_fmodf" = x""yes; then :
48239 cat >>confdefs.h <<_ACEOF
48240 #define HAVE_FMODF 1
48241 _ACEOF
48244 done
48246 else
48248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48249 $as_echo_n "checking for _fmodf declaration... " >&6; }
48250 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48251 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
48252 $as_echo_n "(cached) " >&6
48253 else
48256 ac_ext=cpp
48257 ac_cpp='$CXXCPP $CPPFLAGS'
48258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48263 /* end confdefs.h. */
48264 #include <math.h>
48266 main ()
48268 _fmodf(0, 0);
48270 return 0;
48272 _ACEOF
48273 if ac_fn_cxx_try_compile "$LINENO"; then :
48274 glibcxx_cv_func__fmodf_use=yes
48275 else
48276 glibcxx_cv_func__fmodf_use=no
48278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48279 ac_ext=c
48280 ac_cpp='$CPP $CPPFLAGS'
48281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48290 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48292 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48293 for ac_func in _fmodf
48294 do :
48295 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48296 if test "x$ac_cv_func__fmodf" = x""yes; then :
48297 cat >>confdefs.h <<_ACEOF
48298 #define HAVE__FMODF 1
48299 _ACEOF
48302 done
48311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48312 $as_echo_n "checking for frexpf declaration... " >&6; }
48313 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48314 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48315 $as_echo_n "(cached) " >&6
48316 else
48319 ac_ext=cpp
48320 ac_cpp='$CXXCPP $CPPFLAGS'
48321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48326 /* end confdefs.h. */
48327 #include <math.h>
48329 main ()
48331 frexpf(0, 0);
48333 return 0;
48335 _ACEOF
48336 if ac_fn_cxx_try_compile "$LINENO"; then :
48337 glibcxx_cv_func_frexpf_use=yes
48338 else
48339 glibcxx_cv_func_frexpf_use=no
48341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48342 ac_ext=c
48343 ac_cpp='$CPP $CPPFLAGS'
48344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48353 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48355 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48356 for ac_func in frexpf
48357 do :
48358 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48359 if test "x$ac_cv_func_frexpf" = x""yes; then :
48360 cat >>confdefs.h <<_ACEOF
48361 #define HAVE_FREXPF 1
48362 _ACEOF
48365 done
48367 else
48369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48370 $as_echo_n "checking for _frexpf declaration... " >&6; }
48371 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48372 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48373 $as_echo_n "(cached) " >&6
48374 else
48377 ac_ext=cpp
48378 ac_cpp='$CXXCPP $CPPFLAGS'
48379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48384 /* end confdefs.h. */
48385 #include <math.h>
48387 main ()
48389 _frexpf(0, 0);
48391 return 0;
48393 _ACEOF
48394 if ac_fn_cxx_try_compile "$LINENO"; then :
48395 glibcxx_cv_func__frexpf_use=yes
48396 else
48397 glibcxx_cv_func__frexpf_use=no
48399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48400 ac_ext=c
48401 ac_cpp='$CPP $CPPFLAGS'
48402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48411 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48413 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48414 for ac_func in _frexpf
48415 do :
48416 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48417 if test "x$ac_cv_func__frexpf" = x""yes; then :
48418 cat >>confdefs.h <<_ACEOF
48419 #define HAVE__FREXPF 1
48420 _ACEOF
48423 done
48432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48433 $as_echo_n "checking for hypotf declaration... " >&6; }
48434 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48435 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48436 $as_echo_n "(cached) " >&6
48437 else
48440 ac_ext=cpp
48441 ac_cpp='$CXXCPP $CPPFLAGS'
48442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48447 /* end confdefs.h. */
48448 #include <math.h>
48450 main ()
48452 hypotf(0, 0);
48454 return 0;
48456 _ACEOF
48457 if ac_fn_cxx_try_compile "$LINENO"; then :
48458 glibcxx_cv_func_hypotf_use=yes
48459 else
48460 glibcxx_cv_func_hypotf_use=no
48462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48463 ac_ext=c
48464 ac_cpp='$CPP $CPPFLAGS'
48465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48474 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48476 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48477 for ac_func in hypotf
48478 do :
48479 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48480 if test "x$ac_cv_func_hypotf" = x""yes; then :
48481 cat >>confdefs.h <<_ACEOF
48482 #define HAVE_HYPOTF 1
48483 _ACEOF
48486 done
48488 else
48490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48491 $as_echo_n "checking for _hypotf declaration... " >&6; }
48492 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48493 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48494 $as_echo_n "(cached) " >&6
48495 else
48498 ac_ext=cpp
48499 ac_cpp='$CXXCPP $CPPFLAGS'
48500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48505 /* end confdefs.h. */
48506 #include <math.h>
48508 main ()
48510 _hypotf(0, 0);
48512 return 0;
48514 _ACEOF
48515 if ac_fn_cxx_try_compile "$LINENO"; then :
48516 glibcxx_cv_func__hypotf_use=yes
48517 else
48518 glibcxx_cv_func__hypotf_use=no
48520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48521 ac_ext=c
48522 ac_cpp='$CPP $CPPFLAGS'
48523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48532 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48534 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48535 for ac_func in _hypotf
48536 do :
48537 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48538 if test "x$ac_cv_func__hypotf" = x""yes; then :
48539 cat >>confdefs.h <<_ACEOF
48540 #define HAVE__HYPOTF 1
48541 _ACEOF
48544 done
48553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48554 $as_echo_n "checking for ldexpf declaration... " >&6; }
48555 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48556 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48557 $as_echo_n "(cached) " >&6
48558 else
48561 ac_ext=cpp
48562 ac_cpp='$CXXCPP $CPPFLAGS'
48563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48568 /* end confdefs.h. */
48569 #include <math.h>
48571 main ()
48573 ldexpf(0, 0);
48575 return 0;
48577 _ACEOF
48578 if ac_fn_cxx_try_compile "$LINENO"; then :
48579 glibcxx_cv_func_ldexpf_use=yes
48580 else
48581 glibcxx_cv_func_ldexpf_use=no
48583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48584 ac_ext=c
48585 ac_cpp='$CPP $CPPFLAGS'
48586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48595 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48597 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48598 for ac_func in ldexpf
48599 do :
48600 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48601 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48602 cat >>confdefs.h <<_ACEOF
48603 #define HAVE_LDEXPF 1
48604 _ACEOF
48607 done
48609 else
48611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48612 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48613 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48614 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48615 $as_echo_n "(cached) " >&6
48616 else
48619 ac_ext=cpp
48620 ac_cpp='$CXXCPP $CPPFLAGS'
48621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48626 /* end confdefs.h. */
48627 #include <math.h>
48629 main ()
48631 _ldexpf(0, 0);
48633 return 0;
48635 _ACEOF
48636 if ac_fn_cxx_try_compile "$LINENO"; then :
48637 glibcxx_cv_func__ldexpf_use=yes
48638 else
48639 glibcxx_cv_func__ldexpf_use=no
48641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48642 ac_ext=c
48643 ac_cpp='$CPP $CPPFLAGS'
48644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48653 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48655 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48656 for ac_func in _ldexpf
48657 do :
48658 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48659 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48660 cat >>confdefs.h <<_ACEOF
48661 #define HAVE__LDEXPF 1
48662 _ACEOF
48665 done
48674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48675 $as_echo_n "checking for logf declaration... " >&6; }
48676 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48677 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48678 $as_echo_n "(cached) " >&6
48679 else
48682 ac_ext=cpp
48683 ac_cpp='$CXXCPP $CPPFLAGS'
48684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48689 /* end confdefs.h. */
48690 #include <math.h>
48691 #ifdef HAVE_IEEEFP_H
48692 #include <ieeefp.h>
48693 #endif
48696 main ()
48698 logf(0);
48700 return 0;
48702 _ACEOF
48703 if ac_fn_cxx_try_compile "$LINENO"; then :
48704 glibcxx_cv_func_logf_use=yes
48705 else
48706 glibcxx_cv_func_logf_use=no
48708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48709 ac_ext=c
48710 ac_cpp='$CPP $CPPFLAGS'
48711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48720 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48722 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48723 for ac_func in logf
48724 do :
48725 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48726 if test "x$ac_cv_func_logf" = x""yes; then :
48727 cat >>confdefs.h <<_ACEOF
48728 #define HAVE_LOGF 1
48729 _ACEOF
48732 done
48734 else
48736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48737 $as_echo_n "checking for _logf declaration... " >&6; }
48738 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48739 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48740 $as_echo_n "(cached) " >&6
48741 else
48744 ac_ext=cpp
48745 ac_cpp='$CXXCPP $CPPFLAGS'
48746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48751 /* end confdefs.h. */
48752 #include <math.h>
48753 #ifdef HAVE_IEEEFP_H
48754 #include <ieeefp.h>
48755 #endif
48758 main ()
48760 _logf(0);
48762 return 0;
48764 _ACEOF
48765 if ac_fn_cxx_try_compile "$LINENO"; then :
48766 glibcxx_cv_func__logf_use=yes
48767 else
48768 glibcxx_cv_func__logf_use=no
48770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48771 ac_ext=c
48772 ac_cpp='$CPP $CPPFLAGS'
48773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48782 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48784 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48785 for ac_func in _logf
48786 do :
48787 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48788 if test "x$ac_cv_func__logf" = x""yes; then :
48789 cat >>confdefs.h <<_ACEOF
48790 #define HAVE__LOGF 1
48791 _ACEOF
48794 done
48803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48804 $as_echo_n "checking for log10f declaration... " >&6; }
48805 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48806 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48807 $as_echo_n "(cached) " >&6
48808 else
48811 ac_ext=cpp
48812 ac_cpp='$CXXCPP $CPPFLAGS'
48813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48818 /* end confdefs.h. */
48819 #include <math.h>
48820 #ifdef HAVE_IEEEFP_H
48821 #include <ieeefp.h>
48822 #endif
48825 main ()
48827 log10f(0);
48829 return 0;
48831 _ACEOF
48832 if ac_fn_cxx_try_compile "$LINENO"; then :
48833 glibcxx_cv_func_log10f_use=yes
48834 else
48835 glibcxx_cv_func_log10f_use=no
48837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48838 ac_ext=c
48839 ac_cpp='$CPP $CPPFLAGS'
48840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48849 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48851 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48852 for ac_func in log10f
48853 do :
48854 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48855 if test "x$ac_cv_func_log10f" = x""yes; then :
48856 cat >>confdefs.h <<_ACEOF
48857 #define HAVE_LOG10F 1
48858 _ACEOF
48861 done
48863 else
48865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48866 $as_echo_n "checking for _log10f declaration... " >&6; }
48867 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48868 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48869 $as_echo_n "(cached) " >&6
48870 else
48873 ac_ext=cpp
48874 ac_cpp='$CXXCPP $CPPFLAGS'
48875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48880 /* end confdefs.h. */
48881 #include <math.h>
48882 #ifdef HAVE_IEEEFP_H
48883 #include <ieeefp.h>
48884 #endif
48887 main ()
48889 _log10f(0);
48891 return 0;
48893 _ACEOF
48894 if ac_fn_cxx_try_compile "$LINENO"; then :
48895 glibcxx_cv_func__log10f_use=yes
48896 else
48897 glibcxx_cv_func__log10f_use=no
48899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48900 ac_ext=c
48901 ac_cpp='$CPP $CPPFLAGS'
48902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48911 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48913 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48914 for ac_func in _log10f
48915 do :
48916 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48917 if test "x$ac_cv_func__log10f" = x""yes; then :
48918 cat >>confdefs.h <<_ACEOF
48919 #define HAVE__LOG10F 1
48920 _ACEOF
48923 done
48932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48933 $as_echo_n "checking for modff declaration... " >&6; }
48934 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48935 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48936 $as_echo_n "(cached) " >&6
48937 else
48940 ac_ext=cpp
48941 ac_cpp='$CXXCPP $CPPFLAGS'
48942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48947 /* end confdefs.h. */
48948 #include <math.h>
48950 main ()
48952 modff(0, 0);
48954 return 0;
48956 _ACEOF
48957 if ac_fn_cxx_try_compile "$LINENO"; then :
48958 glibcxx_cv_func_modff_use=yes
48959 else
48960 glibcxx_cv_func_modff_use=no
48962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48963 ac_ext=c
48964 ac_cpp='$CPP $CPPFLAGS'
48965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48974 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48976 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48977 for ac_func in modff
48978 do :
48979 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48980 if test "x$ac_cv_func_modff" = x""yes; then :
48981 cat >>confdefs.h <<_ACEOF
48982 #define HAVE_MODFF 1
48983 _ACEOF
48986 done
48988 else
48990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48991 $as_echo_n "checking for _modff declaration... " >&6; }
48992 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48993 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48994 $as_echo_n "(cached) " >&6
48995 else
48998 ac_ext=cpp
48999 ac_cpp='$CXXCPP $CPPFLAGS'
49000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49005 /* end confdefs.h. */
49006 #include <math.h>
49008 main ()
49010 _modff(0, 0);
49012 return 0;
49014 _ACEOF
49015 if ac_fn_cxx_try_compile "$LINENO"; then :
49016 glibcxx_cv_func__modff_use=yes
49017 else
49018 glibcxx_cv_func__modff_use=no
49020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49021 ac_ext=c
49022 ac_cpp='$CPP $CPPFLAGS'
49023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49032 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49034 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49035 for ac_func in _modff
49036 do :
49037 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49038 if test "x$ac_cv_func__modff" = x""yes; then :
49039 cat >>confdefs.h <<_ACEOF
49040 #define HAVE__MODFF 1
49041 _ACEOF
49044 done
49053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
49054 $as_echo_n "checking for modf declaration... " >&6; }
49055 if test x${glibcxx_cv_func_modf_use+set} != xset; then
49056 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
49057 $as_echo_n "(cached) " >&6
49058 else
49061 ac_ext=cpp
49062 ac_cpp='$CXXCPP $CPPFLAGS'
49063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49068 /* end confdefs.h. */
49069 #include <math.h>
49071 main ()
49073 modf(0, 0);
49075 return 0;
49077 _ACEOF
49078 if ac_fn_cxx_try_compile "$LINENO"; then :
49079 glibcxx_cv_func_modf_use=yes
49080 else
49081 glibcxx_cv_func_modf_use=no
49083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49084 ac_ext=c
49085 ac_cpp='$CPP $CPPFLAGS'
49086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
49095 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
49097 if test x$glibcxx_cv_func_modf_use = x"yes"; then
49098 for ac_func in modf
49099 do :
49100 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
49101 if test "x$ac_cv_func_modf" = x""yes; then :
49102 cat >>confdefs.h <<_ACEOF
49103 #define HAVE_MODF 1
49104 _ACEOF
49107 done
49109 else
49111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
49112 $as_echo_n "checking for _modf declaration... " >&6; }
49113 if test x${glibcxx_cv_func__modf_use+set} != xset; then
49114 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
49115 $as_echo_n "(cached) " >&6
49116 else
49119 ac_ext=cpp
49120 ac_cpp='$CXXCPP $CPPFLAGS'
49121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49126 /* end confdefs.h. */
49127 #include <math.h>
49129 main ()
49131 _modf(0, 0);
49133 return 0;
49135 _ACEOF
49136 if ac_fn_cxx_try_compile "$LINENO"; then :
49137 glibcxx_cv_func__modf_use=yes
49138 else
49139 glibcxx_cv_func__modf_use=no
49141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49142 ac_ext=c
49143 ac_cpp='$CPP $CPPFLAGS'
49144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
49153 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
49155 if test x$glibcxx_cv_func__modf_use = x"yes"; then
49156 for ac_func in _modf
49157 do :
49158 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49159 if test "x$ac_cv_func__modf" = x""yes; then :
49160 cat >>confdefs.h <<_ACEOF
49161 #define HAVE__MODF 1
49162 _ACEOF
49165 done
49174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49175 $as_echo_n "checking for powf declaration... " >&6; }
49176 if test x${glibcxx_cv_func_powf_use+set} != xset; then
49177 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
49178 $as_echo_n "(cached) " >&6
49179 else
49182 ac_ext=cpp
49183 ac_cpp='$CXXCPP $CPPFLAGS'
49184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49189 /* end confdefs.h. */
49190 #include <math.h>
49192 main ()
49194 powf(0, 0);
49196 return 0;
49198 _ACEOF
49199 if ac_fn_cxx_try_compile "$LINENO"; then :
49200 glibcxx_cv_func_powf_use=yes
49201 else
49202 glibcxx_cv_func_powf_use=no
49204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49205 ac_ext=c
49206 ac_cpp='$CPP $CPPFLAGS'
49207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49216 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49218 if test x$glibcxx_cv_func_powf_use = x"yes"; then
49219 for ac_func in powf
49220 do :
49221 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49222 if test "x$ac_cv_func_powf" = x""yes; then :
49223 cat >>confdefs.h <<_ACEOF
49224 #define HAVE_POWF 1
49225 _ACEOF
49228 done
49230 else
49232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49233 $as_echo_n "checking for _powf declaration... " >&6; }
49234 if test x${glibcxx_cv_func__powf_use+set} != xset; then
49235 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49236 $as_echo_n "(cached) " >&6
49237 else
49240 ac_ext=cpp
49241 ac_cpp='$CXXCPP $CPPFLAGS'
49242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49247 /* end confdefs.h. */
49248 #include <math.h>
49250 main ()
49252 _powf(0, 0);
49254 return 0;
49256 _ACEOF
49257 if ac_fn_cxx_try_compile "$LINENO"; then :
49258 glibcxx_cv_func__powf_use=yes
49259 else
49260 glibcxx_cv_func__powf_use=no
49262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49263 ac_ext=c
49264 ac_cpp='$CPP $CPPFLAGS'
49265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49274 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
49276 if test x$glibcxx_cv_func__powf_use = x"yes"; then
49277 for ac_func in _powf
49278 do :
49279 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49280 if test "x$ac_cv_func__powf" = x""yes; then :
49281 cat >>confdefs.h <<_ACEOF
49282 #define HAVE__POWF 1
49283 _ACEOF
49286 done
49295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49296 $as_echo_n "checking for sqrtf declaration... " >&6; }
49297 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49298 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49299 $as_echo_n "(cached) " >&6
49300 else
49303 ac_ext=cpp
49304 ac_cpp='$CXXCPP $CPPFLAGS'
49305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49310 /* end confdefs.h. */
49311 #include <math.h>
49312 #ifdef HAVE_IEEEFP_H
49313 #include <ieeefp.h>
49314 #endif
49317 main ()
49319 sqrtf(0);
49321 return 0;
49323 _ACEOF
49324 if ac_fn_cxx_try_compile "$LINENO"; then :
49325 glibcxx_cv_func_sqrtf_use=yes
49326 else
49327 glibcxx_cv_func_sqrtf_use=no
49329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49330 ac_ext=c
49331 ac_cpp='$CPP $CPPFLAGS'
49332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49341 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49343 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49344 for ac_func in sqrtf
49345 do :
49346 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49347 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49348 cat >>confdefs.h <<_ACEOF
49349 #define HAVE_SQRTF 1
49350 _ACEOF
49353 done
49355 else
49357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49358 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49359 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49360 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49361 $as_echo_n "(cached) " >&6
49362 else
49365 ac_ext=cpp
49366 ac_cpp='$CXXCPP $CPPFLAGS'
49367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49372 /* end confdefs.h. */
49373 #include <math.h>
49374 #ifdef HAVE_IEEEFP_H
49375 #include <ieeefp.h>
49376 #endif
49379 main ()
49381 _sqrtf(0);
49383 return 0;
49385 _ACEOF
49386 if ac_fn_cxx_try_compile "$LINENO"; then :
49387 glibcxx_cv_func__sqrtf_use=yes
49388 else
49389 glibcxx_cv_func__sqrtf_use=no
49391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49392 ac_ext=c
49393 ac_cpp='$CPP $CPPFLAGS'
49394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49403 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49405 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49406 for ac_func in _sqrtf
49407 do :
49408 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49409 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49410 cat >>confdefs.h <<_ACEOF
49411 #define HAVE__SQRTF 1
49412 _ACEOF
49415 done
49424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49425 $as_echo_n "checking for sincosf declaration... " >&6; }
49426 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49427 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49428 $as_echo_n "(cached) " >&6
49429 else
49432 ac_ext=cpp
49433 ac_cpp='$CXXCPP $CPPFLAGS'
49434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49439 /* end confdefs.h. */
49440 #include <math.h>
49442 main ()
49444 sincosf(0, 0, 0);
49446 return 0;
49448 _ACEOF
49449 if ac_fn_cxx_try_compile "$LINENO"; then :
49450 glibcxx_cv_func_sincosf_use=yes
49451 else
49452 glibcxx_cv_func_sincosf_use=no
49454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49455 ac_ext=c
49456 ac_cpp='$CPP $CPPFLAGS'
49457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49466 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49468 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49469 for ac_func in sincosf
49470 do :
49471 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49472 if test "x$ac_cv_func_sincosf" = x""yes; then :
49473 cat >>confdefs.h <<_ACEOF
49474 #define HAVE_SINCOSF 1
49475 _ACEOF
49478 done
49480 else
49482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49483 $as_echo_n "checking for _sincosf declaration... " >&6; }
49484 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49485 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49486 $as_echo_n "(cached) " >&6
49487 else
49490 ac_ext=cpp
49491 ac_cpp='$CXXCPP $CPPFLAGS'
49492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49497 /* end confdefs.h. */
49498 #include <math.h>
49500 main ()
49502 _sincosf(0, 0, 0);
49504 return 0;
49506 _ACEOF
49507 if ac_fn_cxx_try_compile "$LINENO"; then :
49508 glibcxx_cv_func__sincosf_use=yes
49509 else
49510 glibcxx_cv_func__sincosf_use=no
49512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49513 ac_ext=c
49514 ac_cpp='$CPP $CPPFLAGS'
49515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49524 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49526 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49527 for ac_func in _sincosf
49528 do :
49529 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49530 if test "x$ac_cv_func__sincosf" = x""yes; then :
49531 cat >>confdefs.h <<_ACEOF
49532 #define HAVE__SINCOSF 1
49533 _ACEOF
49536 done
49545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49546 $as_echo_n "checking for finitef declaration... " >&6; }
49547 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49548 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49549 $as_echo_n "(cached) " >&6
49550 else
49553 ac_ext=cpp
49554 ac_cpp='$CXXCPP $CPPFLAGS'
49555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49560 /* end confdefs.h. */
49561 #include <math.h>
49562 #ifdef HAVE_IEEEFP_H
49563 #include <ieeefp.h>
49564 #endif
49567 main ()
49569 finitef(0);
49571 return 0;
49573 _ACEOF
49574 if ac_fn_cxx_try_compile "$LINENO"; then :
49575 glibcxx_cv_func_finitef_use=yes
49576 else
49577 glibcxx_cv_func_finitef_use=no
49579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49580 ac_ext=c
49581 ac_cpp='$CPP $CPPFLAGS'
49582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49591 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49593 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49594 for ac_func in finitef
49595 do :
49596 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49597 if test "x$ac_cv_func_finitef" = x""yes; then :
49598 cat >>confdefs.h <<_ACEOF
49599 #define HAVE_FINITEF 1
49600 _ACEOF
49603 done
49605 else
49607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49608 $as_echo_n "checking for _finitef declaration... " >&6; }
49609 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49610 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49611 $as_echo_n "(cached) " >&6
49612 else
49615 ac_ext=cpp
49616 ac_cpp='$CXXCPP $CPPFLAGS'
49617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49622 /* end confdefs.h. */
49623 #include <math.h>
49624 #ifdef HAVE_IEEEFP_H
49625 #include <ieeefp.h>
49626 #endif
49629 main ()
49631 _finitef(0);
49633 return 0;
49635 _ACEOF
49636 if ac_fn_cxx_try_compile "$LINENO"; then :
49637 glibcxx_cv_func__finitef_use=yes
49638 else
49639 glibcxx_cv_func__finitef_use=no
49641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49642 ac_ext=c
49643 ac_cpp='$CPP $CPPFLAGS'
49644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49653 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49655 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49656 for ac_func in _finitef
49657 do :
49658 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49659 if test "x$ac_cv_func__finitef" = x""yes; then :
49660 cat >>confdefs.h <<_ACEOF
49661 #define HAVE__FINITEF 1
49662 _ACEOF
49665 done
49674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49675 $as_echo_n "checking for long double trig functions... " >&6; }
49676 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49677 $as_echo_n "(cached) " >&6
49678 else
49681 ac_ext=cpp
49682 ac_cpp='$CXXCPP $CPPFLAGS'
49683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49688 /* end confdefs.h. */
49689 #include <math.h>
49691 main ()
49693 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49695 return 0;
49697 _ACEOF
49698 if ac_fn_cxx_try_compile "$LINENO"; then :
49699 glibcxx_cv_func_long_double_trig_use=yes
49700 else
49701 glibcxx_cv_func_long_double_trig_use=no
49703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49704 ac_ext=c
49705 ac_cpp='$CPP $CPPFLAGS'
49706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49713 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49714 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49715 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49716 do :
49717 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49718 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49719 eval as_val=\$$as_ac_var
49720 if test "x$as_val" = x""yes; then :
49721 cat >>confdefs.h <<_ACEOF
49722 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49723 _ACEOF
49726 done
49728 else
49729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49730 $as_echo_n "checking for _long double trig functions... " >&6; }
49731 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49732 $as_echo_n "(cached) " >&6
49733 else
49736 ac_ext=cpp
49737 ac_cpp='$CXXCPP $CPPFLAGS'
49738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49743 /* end confdefs.h. */
49744 #include <math.h>
49746 main ()
49748 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49750 return 0;
49752 _ACEOF
49753 if ac_fn_cxx_try_compile "$LINENO"; then :
49754 glibcxx_cv_func__long_double_trig_use=yes
49755 else
49756 glibcxx_cv_func__long_double_trig_use=no
49758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49759 ac_ext=c
49760 ac_cpp='$CPP $CPPFLAGS'
49761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49768 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49769 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49770 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49771 do :
49772 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49773 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49774 eval as_val=\$$as_ac_var
49775 if test "x$as_val" = x""yes; then :
49776 cat >>confdefs.h <<_ACEOF
49777 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49778 _ACEOF
49781 done
49790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49791 $as_echo_n "checking for long double round functions... " >&6; }
49792 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49793 $as_echo_n "(cached) " >&6
49794 else
49797 ac_ext=cpp
49798 ac_cpp='$CXXCPP $CPPFLAGS'
49799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49804 /* end confdefs.h. */
49805 #include <math.h>
49807 main ()
49809 ceill (0); floorl (0);
49811 return 0;
49813 _ACEOF
49814 if ac_fn_cxx_try_compile "$LINENO"; then :
49815 glibcxx_cv_func_long_double_round_use=yes
49816 else
49817 glibcxx_cv_func_long_double_round_use=no
49819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49820 ac_ext=c
49821 ac_cpp='$CPP $CPPFLAGS'
49822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49829 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49830 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49831 for ac_func in ceill floorl
49832 do :
49833 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49834 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49835 eval as_val=\$$as_ac_var
49836 if test "x$as_val" = x""yes; then :
49837 cat >>confdefs.h <<_ACEOF
49838 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49839 _ACEOF
49842 done
49844 else
49845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49846 $as_echo_n "checking for _long double round functions... " >&6; }
49847 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49848 $as_echo_n "(cached) " >&6
49849 else
49852 ac_ext=cpp
49853 ac_cpp='$CXXCPP $CPPFLAGS'
49854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49859 /* end confdefs.h. */
49860 #include <math.h>
49862 main ()
49864 _ceill (0); _floorl (0);
49866 return 0;
49868 _ACEOF
49869 if ac_fn_cxx_try_compile "$LINENO"; then :
49870 glibcxx_cv_func__long_double_round_use=yes
49871 else
49872 glibcxx_cv_func__long_double_round_use=no
49874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49875 ac_ext=c
49876 ac_cpp='$CPP $CPPFLAGS'
49877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49884 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49885 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49886 for ac_func in _ceill _floorl
49887 do :
49888 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49889 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49890 eval as_val=\$$as_ac_var
49891 if test "x$as_val" = x""yes; then :
49892 cat >>confdefs.h <<_ACEOF
49893 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49894 _ACEOF
49897 done
49907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49908 $as_echo_n "checking for isnanl declaration... " >&6; }
49909 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49910 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49911 $as_echo_n "(cached) " >&6
49912 else
49915 ac_ext=cpp
49916 ac_cpp='$CXXCPP $CPPFLAGS'
49917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49922 /* end confdefs.h. */
49923 #include <math.h>
49924 #ifdef HAVE_IEEEFP_H
49925 #include <ieeefp.h>
49926 #endif
49929 main ()
49931 isnanl(0);
49933 return 0;
49935 _ACEOF
49936 if ac_fn_cxx_try_compile "$LINENO"; then :
49937 glibcxx_cv_func_isnanl_use=yes
49938 else
49939 glibcxx_cv_func_isnanl_use=no
49941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49942 ac_ext=c
49943 ac_cpp='$CPP $CPPFLAGS'
49944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49953 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49955 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49956 for ac_func in isnanl
49957 do :
49958 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49959 if test "x$ac_cv_func_isnanl" = x""yes; then :
49960 cat >>confdefs.h <<_ACEOF
49961 #define HAVE_ISNANL 1
49962 _ACEOF
49965 done
49967 else
49969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49970 $as_echo_n "checking for _isnanl declaration... " >&6; }
49971 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49972 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49973 $as_echo_n "(cached) " >&6
49974 else
49977 ac_ext=cpp
49978 ac_cpp='$CXXCPP $CPPFLAGS'
49979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49984 /* end confdefs.h. */
49985 #include <math.h>
49986 #ifdef HAVE_IEEEFP_H
49987 #include <ieeefp.h>
49988 #endif
49991 main ()
49993 _isnanl(0);
49995 return 0;
49997 _ACEOF
49998 if ac_fn_cxx_try_compile "$LINENO"; then :
49999 glibcxx_cv_func__isnanl_use=yes
50000 else
50001 glibcxx_cv_func__isnanl_use=no
50003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50004 ac_ext=c
50005 ac_cpp='$CPP $CPPFLAGS'
50006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50015 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50017 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50018 for ac_func in _isnanl
50019 do :
50020 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50021 if test "x$ac_cv_func__isnanl" = x""yes; then :
50022 cat >>confdefs.h <<_ACEOF
50023 #define HAVE__ISNANL 1
50024 _ACEOF
50027 done
50036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50037 $as_echo_n "checking for isinfl declaration... " >&6; }
50038 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50039 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50040 $as_echo_n "(cached) " >&6
50041 else
50044 ac_ext=cpp
50045 ac_cpp='$CXXCPP $CPPFLAGS'
50046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50051 /* end confdefs.h. */
50052 #include <math.h>
50053 #ifdef HAVE_IEEEFP_H
50054 #include <ieeefp.h>
50055 #endif
50058 main ()
50060 isinfl(0);
50062 return 0;
50064 _ACEOF
50065 if ac_fn_cxx_try_compile "$LINENO"; then :
50066 glibcxx_cv_func_isinfl_use=yes
50067 else
50068 glibcxx_cv_func_isinfl_use=no
50070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50071 ac_ext=c
50072 ac_cpp='$CPP $CPPFLAGS'
50073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
50082 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
50084 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
50085 for ac_func in isinfl
50086 do :
50087 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
50088 if test "x$ac_cv_func_isinfl" = x""yes; then :
50089 cat >>confdefs.h <<_ACEOF
50090 #define HAVE_ISINFL 1
50091 _ACEOF
50094 done
50096 else
50098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
50099 $as_echo_n "checking for _isinfl declaration... " >&6; }
50100 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
50101 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
50102 $as_echo_n "(cached) " >&6
50103 else
50106 ac_ext=cpp
50107 ac_cpp='$CXXCPP $CPPFLAGS'
50108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50113 /* end confdefs.h. */
50114 #include <math.h>
50115 #ifdef HAVE_IEEEFP_H
50116 #include <ieeefp.h>
50117 #endif
50120 main ()
50122 _isinfl(0);
50124 return 0;
50126 _ACEOF
50127 if ac_fn_cxx_try_compile "$LINENO"; then :
50128 glibcxx_cv_func__isinfl_use=yes
50129 else
50130 glibcxx_cv_func__isinfl_use=no
50132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50133 ac_ext=c
50134 ac_cpp='$CPP $CPPFLAGS'
50135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
50144 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
50146 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
50147 for ac_func in _isinfl
50148 do :
50149 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
50150 if test "x$ac_cv_func__isinfl" = x""yes; then :
50151 cat >>confdefs.h <<_ACEOF
50152 #define HAVE__ISINFL 1
50153 _ACEOF
50156 done
50165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
50166 $as_echo_n "checking for atan2l declaration... " >&6; }
50167 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50168 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
50169 $as_echo_n "(cached) " >&6
50170 else
50173 ac_ext=cpp
50174 ac_cpp='$CXXCPP $CPPFLAGS'
50175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50180 /* end confdefs.h. */
50181 #include <math.h>
50183 main ()
50185 atan2l(0, 0);
50187 return 0;
50189 _ACEOF
50190 if ac_fn_cxx_try_compile "$LINENO"; then :
50191 glibcxx_cv_func_atan2l_use=yes
50192 else
50193 glibcxx_cv_func_atan2l_use=no
50195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50196 ac_ext=c
50197 ac_cpp='$CPP $CPPFLAGS'
50198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50207 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50209 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50210 for ac_func in atan2l
50211 do :
50212 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50213 if test "x$ac_cv_func_atan2l" = x""yes; then :
50214 cat >>confdefs.h <<_ACEOF
50215 #define HAVE_ATAN2L 1
50216 _ACEOF
50219 done
50221 else
50223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50224 $as_echo_n "checking for _atan2l declaration... " >&6; }
50225 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50226 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50227 $as_echo_n "(cached) " >&6
50228 else
50231 ac_ext=cpp
50232 ac_cpp='$CXXCPP $CPPFLAGS'
50233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50238 /* end confdefs.h. */
50239 #include <math.h>
50241 main ()
50243 _atan2l(0, 0);
50245 return 0;
50247 _ACEOF
50248 if ac_fn_cxx_try_compile "$LINENO"; then :
50249 glibcxx_cv_func__atan2l_use=yes
50250 else
50251 glibcxx_cv_func__atan2l_use=no
50253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50254 ac_ext=c
50255 ac_cpp='$CPP $CPPFLAGS'
50256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
50265 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
50267 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
50268 for ac_func in _atan2l
50269 do :
50270 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
50271 if test "x$ac_cv_func__atan2l" = x""yes; then :
50272 cat >>confdefs.h <<_ACEOF
50273 #define HAVE__ATAN2L 1
50274 _ACEOF
50277 done
50286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50287 $as_echo_n "checking for expl declaration... " >&6; }
50288 if test x${glibcxx_cv_func_expl_use+set} != xset; then
50289 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50290 $as_echo_n "(cached) " >&6
50291 else
50294 ac_ext=cpp
50295 ac_cpp='$CXXCPP $CPPFLAGS'
50296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50301 /* end confdefs.h. */
50302 #include <math.h>
50303 #ifdef HAVE_IEEEFP_H
50304 #include <ieeefp.h>
50305 #endif
50308 main ()
50310 expl(0);
50312 return 0;
50314 _ACEOF
50315 if ac_fn_cxx_try_compile "$LINENO"; then :
50316 glibcxx_cv_func_expl_use=yes
50317 else
50318 glibcxx_cv_func_expl_use=no
50320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50321 ac_ext=c
50322 ac_cpp='$CPP $CPPFLAGS'
50323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50332 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50334 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50335 for ac_func in expl
50336 do :
50337 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50338 if test "x$ac_cv_func_expl" = x""yes; then :
50339 cat >>confdefs.h <<_ACEOF
50340 #define HAVE_EXPL 1
50341 _ACEOF
50344 done
50346 else
50348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50349 $as_echo_n "checking for _expl declaration... " >&6; }
50350 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50351 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50352 $as_echo_n "(cached) " >&6
50353 else
50356 ac_ext=cpp
50357 ac_cpp='$CXXCPP $CPPFLAGS'
50358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50363 /* end confdefs.h. */
50364 #include <math.h>
50365 #ifdef HAVE_IEEEFP_H
50366 #include <ieeefp.h>
50367 #endif
50370 main ()
50372 _expl(0);
50374 return 0;
50376 _ACEOF
50377 if ac_fn_cxx_try_compile "$LINENO"; then :
50378 glibcxx_cv_func__expl_use=yes
50379 else
50380 glibcxx_cv_func__expl_use=no
50382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50383 ac_ext=c
50384 ac_cpp='$CPP $CPPFLAGS'
50385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50394 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50396 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50397 for ac_func in _expl
50398 do :
50399 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50400 if test "x$ac_cv_func__expl" = x""yes; then :
50401 cat >>confdefs.h <<_ACEOF
50402 #define HAVE__EXPL 1
50403 _ACEOF
50406 done
50415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50416 $as_echo_n "checking for fabsl declaration... " >&6; }
50417 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50418 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50419 $as_echo_n "(cached) " >&6
50420 else
50423 ac_ext=cpp
50424 ac_cpp='$CXXCPP $CPPFLAGS'
50425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50430 /* end confdefs.h. */
50431 #include <math.h>
50432 #ifdef HAVE_IEEEFP_H
50433 #include <ieeefp.h>
50434 #endif
50437 main ()
50439 fabsl(0);
50441 return 0;
50443 _ACEOF
50444 if ac_fn_cxx_try_compile "$LINENO"; then :
50445 glibcxx_cv_func_fabsl_use=yes
50446 else
50447 glibcxx_cv_func_fabsl_use=no
50449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50450 ac_ext=c
50451 ac_cpp='$CPP $CPPFLAGS'
50452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50461 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50463 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50464 for ac_func in fabsl
50465 do :
50466 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50467 if test "x$ac_cv_func_fabsl" = x""yes; then :
50468 cat >>confdefs.h <<_ACEOF
50469 #define HAVE_FABSL 1
50470 _ACEOF
50473 done
50475 else
50477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50478 $as_echo_n "checking for _fabsl declaration... " >&6; }
50479 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50480 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50481 $as_echo_n "(cached) " >&6
50482 else
50485 ac_ext=cpp
50486 ac_cpp='$CXXCPP $CPPFLAGS'
50487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50492 /* end confdefs.h. */
50493 #include <math.h>
50494 #ifdef HAVE_IEEEFP_H
50495 #include <ieeefp.h>
50496 #endif
50499 main ()
50501 _fabsl(0);
50503 return 0;
50505 _ACEOF
50506 if ac_fn_cxx_try_compile "$LINENO"; then :
50507 glibcxx_cv_func__fabsl_use=yes
50508 else
50509 glibcxx_cv_func__fabsl_use=no
50511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50512 ac_ext=c
50513 ac_cpp='$CPP $CPPFLAGS'
50514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50523 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50525 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50526 for ac_func in _fabsl
50527 do :
50528 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50529 if test "x$ac_cv_func__fabsl" = x""yes; then :
50530 cat >>confdefs.h <<_ACEOF
50531 #define HAVE__FABSL 1
50532 _ACEOF
50535 done
50544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50545 $as_echo_n "checking for fmodl declaration... " >&6; }
50546 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50547 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50548 $as_echo_n "(cached) " >&6
50549 else
50552 ac_ext=cpp
50553 ac_cpp='$CXXCPP $CPPFLAGS'
50554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50559 /* end confdefs.h. */
50560 #include <math.h>
50562 main ()
50564 fmodl(0, 0);
50566 return 0;
50568 _ACEOF
50569 if ac_fn_cxx_try_compile "$LINENO"; then :
50570 glibcxx_cv_func_fmodl_use=yes
50571 else
50572 glibcxx_cv_func_fmodl_use=no
50574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50575 ac_ext=c
50576 ac_cpp='$CPP $CPPFLAGS'
50577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50586 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50588 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50589 for ac_func in fmodl
50590 do :
50591 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50592 if test "x$ac_cv_func_fmodl" = x""yes; then :
50593 cat >>confdefs.h <<_ACEOF
50594 #define HAVE_FMODL 1
50595 _ACEOF
50598 done
50600 else
50602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50603 $as_echo_n "checking for _fmodl declaration... " >&6; }
50604 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50605 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50606 $as_echo_n "(cached) " >&6
50607 else
50610 ac_ext=cpp
50611 ac_cpp='$CXXCPP $CPPFLAGS'
50612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50617 /* end confdefs.h. */
50618 #include <math.h>
50620 main ()
50622 _fmodl(0, 0);
50624 return 0;
50626 _ACEOF
50627 if ac_fn_cxx_try_compile "$LINENO"; then :
50628 glibcxx_cv_func__fmodl_use=yes
50629 else
50630 glibcxx_cv_func__fmodl_use=no
50632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50633 ac_ext=c
50634 ac_cpp='$CPP $CPPFLAGS'
50635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50644 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50646 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50647 for ac_func in _fmodl
50648 do :
50649 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50650 if test "x$ac_cv_func__fmodl" = x""yes; then :
50651 cat >>confdefs.h <<_ACEOF
50652 #define HAVE__FMODL 1
50653 _ACEOF
50656 done
50665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50666 $as_echo_n "checking for frexpl declaration... " >&6; }
50667 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50668 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50669 $as_echo_n "(cached) " >&6
50670 else
50673 ac_ext=cpp
50674 ac_cpp='$CXXCPP $CPPFLAGS'
50675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50680 /* end confdefs.h. */
50681 #include <math.h>
50683 main ()
50685 frexpl(0, 0);
50687 return 0;
50689 _ACEOF
50690 if ac_fn_cxx_try_compile "$LINENO"; then :
50691 glibcxx_cv_func_frexpl_use=yes
50692 else
50693 glibcxx_cv_func_frexpl_use=no
50695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50696 ac_ext=c
50697 ac_cpp='$CPP $CPPFLAGS'
50698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50707 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50709 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50710 for ac_func in frexpl
50711 do :
50712 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50713 if test "x$ac_cv_func_frexpl" = x""yes; then :
50714 cat >>confdefs.h <<_ACEOF
50715 #define HAVE_FREXPL 1
50716 _ACEOF
50719 done
50721 else
50723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50724 $as_echo_n "checking for _frexpl declaration... " >&6; }
50725 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50726 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50727 $as_echo_n "(cached) " >&6
50728 else
50731 ac_ext=cpp
50732 ac_cpp='$CXXCPP $CPPFLAGS'
50733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50738 /* end confdefs.h. */
50739 #include <math.h>
50741 main ()
50743 _frexpl(0, 0);
50745 return 0;
50747 _ACEOF
50748 if ac_fn_cxx_try_compile "$LINENO"; then :
50749 glibcxx_cv_func__frexpl_use=yes
50750 else
50751 glibcxx_cv_func__frexpl_use=no
50753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50754 ac_ext=c
50755 ac_cpp='$CPP $CPPFLAGS'
50756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50765 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50767 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50768 for ac_func in _frexpl
50769 do :
50770 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50771 if test "x$ac_cv_func__frexpl" = x""yes; then :
50772 cat >>confdefs.h <<_ACEOF
50773 #define HAVE__FREXPL 1
50774 _ACEOF
50777 done
50786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50787 $as_echo_n "checking for hypotl declaration... " >&6; }
50788 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50789 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50790 $as_echo_n "(cached) " >&6
50791 else
50794 ac_ext=cpp
50795 ac_cpp='$CXXCPP $CPPFLAGS'
50796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50801 /* end confdefs.h. */
50802 #include <math.h>
50804 main ()
50806 hypotl(0, 0);
50808 return 0;
50810 _ACEOF
50811 if ac_fn_cxx_try_compile "$LINENO"; then :
50812 glibcxx_cv_func_hypotl_use=yes
50813 else
50814 glibcxx_cv_func_hypotl_use=no
50816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50817 ac_ext=c
50818 ac_cpp='$CPP $CPPFLAGS'
50819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50828 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50830 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50831 for ac_func in hypotl
50832 do :
50833 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50834 if test "x$ac_cv_func_hypotl" = x""yes; then :
50835 cat >>confdefs.h <<_ACEOF
50836 #define HAVE_HYPOTL 1
50837 _ACEOF
50840 done
50842 else
50844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50845 $as_echo_n "checking for _hypotl declaration... " >&6; }
50846 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50847 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50848 $as_echo_n "(cached) " >&6
50849 else
50852 ac_ext=cpp
50853 ac_cpp='$CXXCPP $CPPFLAGS'
50854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50859 /* end confdefs.h. */
50860 #include <math.h>
50862 main ()
50864 _hypotl(0, 0);
50866 return 0;
50868 _ACEOF
50869 if ac_fn_cxx_try_compile "$LINENO"; then :
50870 glibcxx_cv_func__hypotl_use=yes
50871 else
50872 glibcxx_cv_func__hypotl_use=no
50874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50875 ac_ext=c
50876 ac_cpp='$CPP $CPPFLAGS'
50877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50886 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50888 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50889 for ac_func in _hypotl
50890 do :
50891 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50892 if test "x$ac_cv_func__hypotl" = x""yes; then :
50893 cat >>confdefs.h <<_ACEOF
50894 #define HAVE__HYPOTL 1
50895 _ACEOF
50898 done
50907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50908 $as_echo_n "checking for ldexpl declaration... " >&6; }
50909 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50910 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50911 $as_echo_n "(cached) " >&6
50912 else
50915 ac_ext=cpp
50916 ac_cpp='$CXXCPP $CPPFLAGS'
50917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50922 /* end confdefs.h. */
50923 #include <math.h>
50925 main ()
50927 ldexpl(0, 0);
50929 return 0;
50931 _ACEOF
50932 if ac_fn_cxx_try_compile "$LINENO"; then :
50933 glibcxx_cv_func_ldexpl_use=yes
50934 else
50935 glibcxx_cv_func_ldexpl_use=no
50937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50938 ac_ext=c
50939 ac_cpp='$CPP $CPPFLAGS'
50940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50949 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50951 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50952 for ac_func in ldexpl
50953 do :
50954 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50955 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50956 cat >>confdefs.h <<_ACEOF
50957 #define HAVE_LDEXPL 1
50958 _ACEOF
50961 done
50963 else
50965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50966 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50967 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50968 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50969 $as_echo_n "(cached) " >&6
50970 else
50973 ac_ext=cpp
50974 ac_cpp='$CXXCPP $CPPFLAGS'
50975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50980 /* end confdefs.h. */
50981 #include <math.h>
50983 main ()
50985 _ldexpl(0, 0);
50987 return 0;
50989 _ACEOF
50990 if ac_fn_cxx_try_compile "$LINENO"; then :
50991 glibcxx_cv_func__ldexpl_use=yes
50992 else
50993 glibcxx_cv_func__ldexpl_use=no
50995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50996 ac_ext=c
50997 ac_cpp='$CPP $CPPFLAGS'
50998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51007 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51009 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51010 for ac_func in _ldexpl
51011 do :
51012 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51013 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51014 cat >>confdefs.h <<_ACEOF
51015 #define HAVE__LDEXPL 1
51016 _ACEOF
51019 done
51028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51029 $as_echo_n "checking for logl declaration... " >&6; }
51030 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51031 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51032 $as_echo_n "(cached) " >&6
51033 else
51036 ac_ext=cpp
51037 ac_cpp='$CXXCPP $CPPFLAGS'
51038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51043 /* end confdefs.h. */
51044 #include <math.h>
51045 #ifdef HAVE_IEEEFP_H
51046 #include <ieeefp.h>
51047 #endif
51050 main ()
51052 logl(0);
51054 return 0;
51056 _ACEOF
51057 if ac_fn_cxx_try_compile "$LINENO"; then :
51058 glibcxx_cv_func_logl_use=yes
51059 else
51060 glibcxx_cv_func_logl_use=no
51062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51063 ac_ext=c
51064 ac_cpp='$CPP $CPPFLAGS'
51065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
51074 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
51076 if test x$glibcxx_cv_func_logl_use = x"yes"; then
51077 for ac_func in logl
51078 do :
51079 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
51080 if test "x$ac_cv_func_logl" = x""yes; then :
51081 cat >>confdefs.h <<_ACEOF
51082 #define HAVE_LOGL 1
51083 _ACEOF
51086 done
51088 else
51090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
51091 $as_echo_n "checking for _logl declaration... " >&6; }
51092 if test x${glibcxx_cv_func__logl_use+set} != xset; then
51093 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
51094 $as_echo_n "(cached) " >&6
51095 else
51098 ac_ext=cpp
51099 ac_cpp='$CXXCPP $CPPFLAGS'
51100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51105 /* end confdefs.h. */
51106 #include <math.h>
51107 #ifdef HAVE_IEEEFP_H
51108 #include <ieeefp.h>
51109 #endif
51112 main ()
51114 _logl(0);
51116 return 0;
51118 _ACEOF
51119 if ac_fn_cxx_try_compile "$LINENO"; then :
51120 glibcxx_cv_func__logl_use=yes
51121 else
51122 glibcxx_cv_func__logl_use=no
51124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51125 ac_ext=c
51126 ac_cpp='$CPP $CPPFLAGS'
51127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
51136 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
51138 if test x$glibcxx_cv_func__logl_use = x"yes"; then
51139 for ac_func in _logl
51140 do :
51141 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
51142 if test "x$ac_cv_func__logl" = x""yes; then :
51143 cat >>confdefs.h <<_ACEOF
51144 #define HAVE__LOGL 1
51145 _ACEOF
51148 done
51157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51158 $as_echo_n "checking for log10l declaration... " >&6; }
51159 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51160 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
51161 $as_echo_n "(cached) " >&6
51162 else
51165 ac_ext=cpp
51166 ac_cpp='$CXXCPP $CPPFLAGS'
51167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51172 /* end confdefs.h. */
51173 #include <math.h>
51174 #ifdef HAVE_IEEEFP_H
51175 #include <ieeefp.h>
51176 #endif
51179 main ()
51181 log10l(0);
51183 return 0;
51185 _ACEOF
51186 if ac_fn_cxx_try_compile "$LINENO"; then :
51187 glibcxx_cv_func_log10l_use=yes
51188 else
51189 glibcxx_cv_func_log10l_use=no
51191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51192 ac_ext=c
51193 ac_cpp='$CPP $CPPFLAGS'
51194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
51203 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51205 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51206 for ac_func in log10l
51207 do :
51208 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51209 if test "x$ac_cv_func_log10l" = x""yes; then :
51210 cat >>confdefs.h <<_ACEOF
51211 #define HAVE_LOG10L 1
51212 _ACEOF
51215 done
51217 else
51219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51220 $as_echo_n "checking for _log10l declaration... " >&6; }
51221 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51222 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51223 $as_echo_n "(cached) " >&6
51224 else
51227 ac_ext=cpp
51228 ac_cpp='$CXXCPP $CPPFLAGS'
51229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51234 /* end confdefs.h. */
51235 #include <math.h>
51236 #ifdef HAVE_IEEEFP_H
51237 #include <ieeefp.h>
51238 #endif
51241 main ()
51243 _log10l(0);
51245 return 0;
51247 _ACEOF
51248 if ac_fn_cxx_try_compile "$LINENO"; then :
51249 glibcxx_cv_func__log10l_use=yes
51250 else
51251 glibcxx_cv_func__log10l_use=no
51253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51254 ac_ext=c
51255 ac_cpp='$CPP $CPPFLAGS'
51256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
51265 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
51267 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
51268 for ac_func in _log10l
51269 do :
51270 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
51271 if test "x$ac_cv_func__log10l" = x""yes; then :
51272 cat >>confdefs.h <<_ACEOF
51273 #define HAVE__LOG10L 1
51274 _ACEOF
51277 done
51286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51287 $as_echo_n "checking for modfl declaration... " >&6; }
51288 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51289 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51290 $as_echo_n "(cached) " >&6
51291 else
51294 ac_ext=cpp
51295 ac_cpp='$CXXCPP $CPPFLAGS'
51296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51301 /* end confdefs.h. */
51302 #include <math.h>
51304 main ()
51306 modfl(0, 0);
51308 return 0;
51310 _ACEOF
51311 if ac_fn_cxx_try_compile "$LINENO"; then :
51312 glibcxx_cv_func_modfl_use=yes
51313 else
51314 glibcxx_cv_func_modfl_use=no
51316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51317 ac_ext=c
51318 ac_cpp='$CPP $CPPFLAGS'
51319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51328 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51330 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51331 for ac_func in modfl
51332 do :
51333 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51334 if test "x$ac_cv_func_modfl" = x""yes; then :
51335 cat >>confdefs.h <<_ACEOF
51336 #define HAVE_MODFL 1
51337 _ACEOF
51340 done
51342 else
51344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51345 $as_echo_n "checking for _modfl declaration... " >&6; }
51346 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51347 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51348 $as_echo_n "(cached) " >&6
51349 else
51352 ac_ext=cpp
51353 ac_cpp='$CXXCPP $CPPFLAGS'
51354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51359 /* end confdefs.h. */
51360 #include <math.h>
51362 main ()
51364 _modfl(0, 0);
51366 return 0;
51368 _ACEOF
51369 if ac_fn_cxx_try_compile "$LINENO"; then :
51370 glibcxx_cv_func__modfl_use=yes
51371 else
51372 glibcxx_cv_func__modfl_use=no
51374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51375 ac_ext=c
51376 ac_cpp='$CPP $CPPFLAGS'
51377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51386 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51388 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51389 for ac_func in _modfl
51390 do :
51391 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51392 if test "x$ac_cv_func__modfl" = x""yes; then :
51393 cat >>confdefs.h <<_ACEOF
51394 #define HAVE__MODFL 1
51395 _ACEOF
51398 done
51407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51408 $as_echo_n "checking for powl declaration... " >&6; }
51409 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51410 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51411 $as_echo_n "(cached) " >&6
51412 else
51415 ac_ext=cpp
51416 ac_cpp='$CXXCPP $CPPFLAGS'
51417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51422 /* end confdefs.h. */
51423 #include <math.h>
51425 main ()
51427 powl(0, 0);
51429 return 0;
51431 _ACEOF
51432 if ac_fn_cxx_try_compile "$LINENO"; then :
51433 glibcxx_cv_func_powl_use=yes
51434 else
51435 glibcxx_cv_func_powl_use=no
51437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51438 ac_ext=c
51439 ac_cpp='$CPP $CPPFLAGS'
51440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51449 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51451 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51452 for ac_func in powl
51453 do :
51454 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51455 if test "x$ac_cv_func_powl" = x""yes; then :
51456 cat >>confdefs.h <<_ACEOF
51457 #define HAVE_POWL 1
51458 _ACEOF
51461 done
51463 else
51465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51466 $as_echo_n "checking for _powl declaration... " >&6; }
51467 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51468 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51469 $as_echo_n "(cached) " >&6
51470 else
51473 ac_ext=cpp
51474 ac_cpp='$CXXCPP $CPPFLAGS'
51475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51480 /* end confdefs.h. */
51481 #include <math.h>
51483 main ()
51485 _powl(0, 0);
51487 return 0;
51489 _ACEOF
51490 if ac_fn_cxx_try_compile "$LINENO"; then :
51491 glibcxx_cv_func__powl_use=yes
51492 else
51493 glibcxx_cv_func__powl_use=no
51495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51496 ac_ext=c
51497 ac_cpp='$CPP $CPPFLAGS'
51498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51507 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51509 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51510 for ac_func in _powl
51511 do :
51512 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51513 if test "x$ac_cv_func__powl" = x""yes; then :
51514 cat >>confdefs.h <<_ACEOF
51515 #define HAVE__POWL 1
51516 _ACEOF
51519 done
51528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51529 $as_echo_n "checking for sqrtl declaration... " >&6; }
51530 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51531 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51532 $as_echo_n "(cached) " >&6
51533 else
51536 ac_ext=cpp
51537 ac_cpp='$CXXCPP $CPPFLAGS'
51538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51543 /* end confdefs.h. */
51544 #include <math.h>
51545 #ifdef HAVE_IEEEFP_H
51546 #include <ieeefp.h>
51547 #endif
51550 main ()
51552 sqrtl(0);
51554 return 0;
51556 _ACEOF
51557 if ac_fn_cxx_try_compile "$LINENO"; then :
51558 glibcxx_cv_func_sqrtl_use=yes
51559 else
51560 glibcxx_cv_func_sqrtl_use=no
51562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51563 ac_ext=c
51564 ac_cpp='$CPP $CPPFLAGS'
51565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51574 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51576 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51577 for ac_func in sqrtl
51578 do :
51579 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51580 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51581 cat >>confdefs.h <<_ACEOF
51582 #define HAVE_SQRTL 1
51583 _ACEOF
51586 done
51588 else
51590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51591 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51592 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51593 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51594 $as_echo_n "(cached) " >&6
51595 else
51598 ac_ext=cpp
51599 ac_cpp='$CXXCPP $CPPFLAGS'
51600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51605 /* end confdefs.h. */
51606 #include <math.h>
51607 #ifdef HAVE_IEEEFP_H
51608 #include <ieeefp.h>
51609 #endif
51612 main ()
51614 _sqrtl(0);
51616 return 0;
51618 _ACEOF
51619 if ac_fn_cxx_try_compile "$LINENO"; then :
51620 glibcxx_cv_func__sqrtl_use=yes
51621 else
51622 glibcxx_cv_func__sqrtl_use=no
51624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51625 ac_ext=c
51626 ac_cpp='$CPP $CPPFLAGS'
51627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51636 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51638 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51639 for ac_func in _sqrtl
51640 do :
51641 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51642 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51643 cat >>confdefs.h <<_ACEOF
51644 #define HAVE__SQRTL 1
51645 _ACEOF
51648 done
51657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51658 $as_echo_n "checking for sincosl declaration... " >&6; }
51659 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51660 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51661 $as_echo_n "(cached) " >&6
51662 else
51665 ac_ext=cpp
51666 ac_cpp='$CXXCPP $CPPFLAGS'
51667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51672 /* end confdefs.h. */
51673 #include <math.h>
51675 main ()
51677 sincosl(0, 0, 0);
51679 return 0;
51681 _ACEOF
51682 if ac_fn_cxx_try_compile "$LINENO"; then :
51683 glibcxx_cv_func_sincosl_use=yes
51684 else
51685 glibcxx_cv_func_sincosl_use=no
51687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51688 ac_ext=c
51689 ac_cpp='$CPP $CPPFLAGS'
51690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51699 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51701 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51702 for ac_func in sincosl
51703 do :
51704 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51705 if test "x$ac_cv_func_sincosl" = x""yes; then :
51706 cat >>confdefs.h <<_ACEOF
51707 #define HAVE_SINCOSL 1
51708 _ACEOF
51711 done
51713 else
51715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51716 $as_echo_n "checking for _sincosl declaration... " >&6; }
51717 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51718 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51719 $as_echo_n "(cached) " >&6
51720 else
51723 ac_ext=cpp
51724 ac_cpp='$CXXCPP $CPPFLAGS'
51725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51730 /* end confdefs.h. */
51731 #include <math.h>
51733 main ()
51735 _sincosl(0, 0, 0);
51737 return 0;
51739 _ACEOF
51740 if ac_fn_cxx_try_compile "$LINENO"; then :
51741 glibcxx_cv_func__sincosl_use=yes
51742 else
51743 glibcxx_cv_func__sincosl_use=no
51745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51746 ac_ext=c
51747 ac_cpp='$CPP $CPPFLAGS'
51748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51757 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51759 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51760 for ac_func in _sincosl
51761 do :
51762 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51763 if test "x$ac_cv_func__sincosl" = x""yes; then :
51764 cat >>confdefs.h <<_ACEOF
51765 #define HAVE__SINCOSL 1
51766 _ACEOF
51769 done
51778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51779 $as_echo_n "checking for finitel declaration... " >&6; }
51780 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51781 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51782 $as_echo_n "(cached) " >&6
51783 else
51786 ac_ext=cpp
51787 ac_cpp='$CXXCPP $CPPFLAGS'
51788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51793 /* end confdefs.h. */
51794 #include <math.h>
51795 #ifdef HAVE_IEEEFP_H
51796 #include <ieeefp.h>
51797 #endif
51800 main ()
51802 finitel(0);
51804 return 0;
51806 _ACEOF
51807 if ac_fn_cxx_try_compile "$LINENO"; then :
51808 glibcxx_cv_func_finitel_use=yes
51809 else
51810 glibcxx_cv_func_finitel_use=no
51812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51813 ac_ext=c
51814 ac_cpp='$CPP $CPPFLAGS'
51815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51824 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51826 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51827 for ac_func in finitel
51828 do :
51829 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51830 if test "x$ac_cv_func_finitel" = x""yes; then :
51831 cat >>confdefs.h <<_ACEOF
51832 #define HAVE_FINITEL 1
51833 _ACEOF
51836 done
51838 else
51840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51841 $as_echo_n "checking for _finitel declaration... " >&6; }
51842 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51843 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51844 $as_echo_n "(cached) " >&6
51845 else
51848 ac_ext=cpp
51849 ac_cpp='$CXXCPP $CPPFLAGS'
51850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51855 /* end confdefs.h. */
51856 #include <math.h>
51857 #ifdef HAVE_IEEEFP_H
51858 #include <ieeefp.h>
51859 #endif
51862 main ()
51864 _finitel(0);
51866 return 0;
51868 _ACEOF
51869 if ac_fn_cxx_try_compile "$LINENO"; then :
51870 glibcxx_cv_func__finitel_use=yes
51871 else
51872 glibcxx_cv_func__finitel_use=no
51874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51875 ac_ext=c
51876 ac_cpp='$CPP $CPPFLAGS'
51877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51886 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51888 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51889 for ac_func in _finitel
51890 do :
51891 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51892 if test "x$ac_cv_func__finitel" = x""yes; then :
51893 cat >>confdefs.h <<_ACEOF
51894 #define HAVE__FINITEL 1
51895 _ACEOF
51898 done
51906 LIBS="$ac_save_LIBS"
51907 CXXFLAGS="$ac_save_CXXFLAGS"
51910 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51911 ac_save_CXXFLAGS="$CXXFLAGS"
51912 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51916 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51917 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51918 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51919 $as_echo_n "(cached) " >&6
51920 else
51923 ac_ext=cpp
51924 ac_cpp='$CXXCPP $CPPFLAGS'
51925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51930 /* end confdefs.h. */
51931 #include <stdlib.h>
51933 main ()
51935 at_quick_exit(0);
51937 return 0;
51939 _ACEOF
51940 if ac_fn_cxx_try_compile "$LINENO"; then :
51941 glibcxx_cv_func_at_quick_exit_use=yes
51942 else
51943 glibcxx_cv_func_at_quick_exit_use=no
51945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51946 ac_ext=c
51947 ac_cpp='$CPP $CPPFLAGS'
51948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51957 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51958 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51959 for ac_func in at_quick_exit
51960 do :
51961 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51962 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51963 cat >>confdefs.h <<_ACEOF
51964 #define HAVE_AT_QUICK_EXIT 1
51965 _ACEOF
51968 done
51973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51974 $as_echo_n "checking for quick_exit declaration... " >&6; }
51975 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51976 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51977 $as_echo_n "(cached) " >&6
51978 else
51981 ac_ext=cpp
51982 ac_cpp='$CXXCPP $CPPFLAGS'
51983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51988 /* end confdefs.h. */
51989 #include <stdlib.h>
51991 main ()
51993 quick_exit(0);
51995 return 0;
51997 _ACEOF
51998 if ac_fn_cxx_try_compile "$LINENO"; then :
51999 glibcxx_cv_func_quick_exit_use=yes
52000 else
52001 glibcxx_cv_func_quick_exit_use=no
52003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52004 ac_ext=c
52005 ac_cpp='$CPP $CPPFLAGS'
52006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52015 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52016 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52017 for ac_func in quick_exit
52018 do :
52019 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52020 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52021 cat >>confdefs.h <<_ACEOF
52022 #define HAVE_QUICK_EXIT 1
52023 _ACEOF
52026 done
52031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52032 $as_echo_n "checking for strtold declaration... " >&6; }
52033 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52034 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52035 $as_echo_n "(cached) " >&6
52036 else
52039 ac_ext=cpp
52040 ac_cpp='$CXXCPP $CPPFLAGS'
52041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52046 /* end confdefs.h. */
52047 #include <stdlib.h>
52049 main ()
52051 strtold(0, 0);
52053 return 0;
52055 _ACEOF
52056 if ac_fn_cxx_try_compile "$LINENO"; then :
52057 glibcxx_cv_func_strtold_use=yes
52058 else
52059 glibcxx_cv_func_strtold_use=no
52061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52062 ac_ext=c
52063 ac_cpp='$CPP $CPPFLAGS'
52064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
52073 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
52074 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52075 for ac_func in strtold
52076 do :
52077 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
52078 if test "x$ac_cv_func_strtold" = x""yes; then :
52079 cat >>confdefs.h <<_ACEOF
52080 #define HAVE_STRTOLD 1
52081 _ACEOF
52084 done
52091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
52092 $as_echo_n "checking for strtof declaration... " >&6; }
52093 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52094 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
52095 $as_echo_n "(cached) " >&6
52096 else
52099 ac_ext=cpp
52100 ac_cpp='$CXXCPP $CPPFLAGS'
52101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52106 /* end confdefs.h. */
52107 #include <stdlib.h>
52109 main ()
52111 strtof(0, 0);
52113 return 0;
52115 _ACEOF
52116 if ac_fn_cxx_try_compile "$LINENO"; then :
52117 glibcxx_cv_func_strtof_use=yes
52118 else
52119 glibcxx_cv_func_strtof_use=no
52121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52122 ac_ext=c
52123 ac_cpp='$CPP $CPPFLAGS'
52124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
52133 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
52134 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52135 for ac_func in strtof
52136 do :
52137 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
52138 if test "x$ac_cv_func_strtof" = x""yes; then :
52139 cat >>confdefs.h <<_ACEOF
52140 #define HAVE_STRTOF 1
52141 _ACEOF
52144 done
52151 CXXFLAGS="$ac_save_CXXFLAGS"
52153 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
52157 # Check whether --enable-tls was given.
52158 if test "${enable_tls+set}" = set; then :
52159 enableval=$enable_tls;
52160 case "$enableval" in
52161 yes|no) ;;
52162 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52163 esac
52165 else
52166 enable_tls=yes
52170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52171 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52172 if test "${gcc_cv_have_tls+set}" = set; then :
52173 $as_echo_n "(cached) " >&6
52174 else
52176 if test "$cross_compiling" = yes; then :
52177 if test x$gcc_no_link = xyes; then
52178 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52181 /* end confdefs.h. */
52182 __thread int a; int b; int main() { return a = b; }
52183 _ACEOF
52184 if ac_fn_c_try_link "$LINENO"; then :
52185 chktls_save_LDFLAGS="$LDFLAGS"
52186 case $host in
52187 *-*-linux*)
52188 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52190 esac
52191 chktls_save_CFLAGS="$CFLAGS"
52192 CFLAGS="-fPIC $CFLAGS"
52193 if test x$gcc_no_link = xyes; then
52194 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52197 /* end confdefs.h. */
52198 int f() { return 0; }
52199 _ACEOF
52200 if ac_fn_c_try_link "$LINENO"; then :
52201 if test x$gcc_no_link = xyes; then
52202 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52205 /* end confdefs.h. */
52206 __thread int a; int b; int f() { return a = b; }
52207 _ACEOF
52208 if ac_fn_c_try_link "$LINENO"; then :
52209 gcc_cv_have_tls=yes
52210 else
52211 gcc_cv_have_tls=no
52213 rm -f core conftest.err conftest.$ac_objext \
52214 conftest$ac_exeext conftest.$ac_ext
52215 else
52216 gcc_cv_have_tls=yes
52218 rm -f core conftest.err conftest.$ac_objext \
52219 conftest$ac_exeext conftest.$ac_ext
52220 CFLAGS="$chktls_save_CFLAGS"
52221 LDFLAGS="$chktls_save_LDFLAGS"
52222 else
52223 gcc_cv_have_tls=no
52225 rm -f core conftest.err conftest.$ac_objext \
52226 conftest$ac_exeext conftest.$ac_ext
52229 else
52230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52231 /* end confdefs.h. */
52232 __thread int a; int b; int main() { return a = b; }
52233 _ACEOF
52234 if ac_fn_c_try_run "$LINENO"; then :
52235 chktls_save_LDFLAGS="$LDFLAGS"
52236 LDFLAGS="-static $LDFLAGS"
52237 if test x$gcc_no_link = xyes; then
52238 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52241 /* end confdefs.h. */
52242 int main() { return 0; }
52243 _ACEOF
52244 if ac_fn_c_try_link "$LINENO"; then :
52245 if test "$cross_compiling" = yes; then :
52246 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52248 as_fn_error "cannot run test program while cross compiling
52249 See \`config.log' for more details." "$LINENO" 5; }
52250 else
52251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52252 /* end confdefs.h. */
52253 __thread int a; int b; int main() { return a = b; }
52254 _ACEOF
52255 if ac_fn_c_try_run "$LINENO"; then :
52256 gcc_cv_have_tls=yes
52257 else
52258 gcc_cv_have_tls=no
52260 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52261 conftest.$ac_objext conftest.beam conftest.$ac_ext
52264 else
52265 gcc_cv_have_tls=yes
52267 rm -f core conftest.err conftest.$ac_objext \
52268 conftest$ac_exeext conftest.$ac_ext
52269 LDFLAGS="$chktls_save_LDFLAGS"
52270 if test $gcc_cv_have_tls = yes; then
52271 chktls_save_CFLAGS="$CFLAGS"
52272 thread_CFLAGS=failed
52273 for flag in '' '-pthread' '-lpthread'; do
52274 CFLAGS="$flag $chktls_save_CFLAGS"
52275 if test x$gcc_no_link = xyes; then
52276 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52279 /* end confdefs.h. */
52280 #include <pthread.h>
52281 void *g(void *d) { return NULL; }
52283 main ()
52285 pthread_t t; pthread_create(&t,NULL,g,NULL);
52287 return 0;
52289 _ACEOF
52290 if ac_fn_c_try_link "$LINENO"; then :
52291 thread_CFLAGS="$flag"
52293 rm -f core conftest.err conftest.$ac_objext \
52294 conftest$ac_exeext conftest.$ac_ext
52295 if test "X$thread_CFLAGS" != Xfailed; then
52296 break
52298 done
52299 CFLAGS="$chktls_save_CFLAGS"
52300 if test "X$thread_CFLAGS" != Xfailed; then
52301 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52302 if test "$cross_compiling" = yes; then :
52303 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52304 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52305 as_fn_error "cannot run test program while cross compiling
52306 See \`config.log' for more details." "$LINENO" 5; }
52307 else
52308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52309 /* end confdefs.h. */
52310 #include <pthread.h>
52311 __thread int a;
52312 static int *volatile a_in_other_thread;
52313 static void *
52314 thread_func (void *arg)
52316 a_in_other_thread = &a;
52317 return (void *)0;
52320 main ()
52322 pthread_t thread;
52323 void *thread_retval;
52324 int *volatile a_in_main_thread;
52325 a_in_main_thread = &a;
52326 if (pthread_create (&thread, (pthread_attr_t *)0,
52327 thread_func, (void *)0))
52328 return 0;
52329 if (pthread_join (thread, &thread_retval))
52330 return 0;
52331 return (a_in_other_thread == a_in_main_thread);
52333 return 0;
52335 _ACEOF
52336 if ac_fn_c_try_run "$LINENO"; then :
52337 gcc_cv_have_tls=yes
52338 else
52339 gcc_cv_have_tls=no
52341 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52342 conftest.$ac_objext conftest.beam conftest.$ac_ext
52345 CFLAGS="$chktls_save_CFLAGS"
52348 else
52349 gcc_cv_have_tls=no
52351 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52352 conftest.$ac_objext conftest.beam conftest.$ac_ext
52356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52357 $as_echo "$gcc_cv_have_tls" >&6; }
52358 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52360 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52368 am_save_CPPFLAGS="$CPPFLAGS"
52370 for element in $INCICONV; do
52371 haveit=
52372 for x in $CPPFLAGS; do
52374 acl_save_prefix="$prefix"
52375 prefix="$acl_final_prefix"
52376 acl_save_exec_prefix="$exec_prefix"
52377 exec_prefix="$acl_final_exec_prefix"
52378 eval x=\"$x\"
52379 exec_prefix="$acl_save_exec_prefix"
52380 prefix="$acl_save_prefix"
52382 if test "X$x" = "X$element"; then
52383 haveit=yes
52384 break
52386 done
52387 if test -z "$haveit"; then
52388 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
52390 done
52393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
52394 $as_echo_n "checking for iconv... " >&6; }
52395 if test "${am_cv_func_iconv+set}" = set; then :
52396 $as_echo_n "(cached) " >&6
52397 else
52399 am_cv_func_iconv="no, consider installing GNU libiconv"
52400 am_cv_lib_iconv=no
52401 if test x$gcc_no_link = xyes; then
52402 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52405 /* end confdefs.h. */
52406 #include <stdlib.h>
52407 #include <iconv.h>
52409 main ()
52411 iconv_t cd = iconv_open("","");
52412 iconv(cd,NULL,NULL,NULL,NULL);
52413 iconv_close(cd);
52415 return 0;
52417 _ACEOF
52418 if ac_fn_c_try_link "$LINENO"; then :
52419 am_cv_func_iconv=yes
52421 rm -f core conftest.err conftest.$ac_objext \
52422 conftest$ac_exeext conftest.$ac_ext
52423 if test "$am_cv_func_iconv" != yes; then
52424 am_save_LIBS="$LIBS"
52425 LIBS="$LIBS $LIBICONV"
52426 if test x$gcc_no_link = xyes; then
52427 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52430 /* end confdefs.h. */
52431 #include <stdlib.h>
52432 #include <iconv.h>
52434 main ()
52436 iconv_t cd = iconv_open("","");
52437 iconv(cd,NULL,NULL,NULL,NULL);
52438 iconv_close(cd);
52440 return 0;
52442 _ACEOF
52443 if ac_fn_c_try_link "$LINENO"; then :
52444 am_cv_lib_iconv=yes
52445 am_cv_func_iconv=yes
52447 rm -f core conftest.err conftest.$ac_objext \
52448 conftest$ac_exeext conftest.$ac_ext
52449 LIBS="$am_save_LIBS"
52453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
52454 $as_echo "$am_cv_func_iconv" >&6; }
52455 if test "$am_cv_func_iconv" = yes; then
52457 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
52460 if test "$am_cv_lib_iconv" = yes; then
52461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
52462 $as_echo_n "checking how to link with libiconv... " >&6; }
52463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
52464 $as_echo "$LIBICONV" >&6; }
52465 else
52466 CPPFLAGS="$am_save_CPPFLAGS"
52467 LIBICONV=
52468 LTLIBICONV=
52473 if test "$am_cv_func_iconv" = yes; then
52474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
52475 $as_echo_n "checking for iconv declaration... " >&6; }
52476 if test "${am_cv_proto_iconv+set}" = set; then :
52477 $as_echo_n "(cached) " >&6
52478 else
52480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52481 /* end confdefs.h. */
52483 #include <stdlib.h>
52484 #include <iconv.h>
52485 extern
52486 #ifdef __cplusplus
52488 #endif
52489 #if defined(__STDC__) || defined(__cplusplus)
52490 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
52491 #else
52492 size_t iconv();
52493 #endif
52496 main ()
52500 return 0;
52502 _ACEOF
52503 if ac_fn_c_try_compile "$LINENO"; then :
52504 am_cv_proto_iconv_arg1=""
52505 else
52506 am_cv_proto_iconv_arg1="const"
52508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52509 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
52512 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
52513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
52514 }$am_cv_proto_iconv" >&5
52515 $as_echo "${ac_t:-
52516 }$am_cv_proto_iconv" >&6; }
52518 cat >>confdefs.h <<_ACEOF
52519 #define ICONV_CONST $am_cv_proto_iconv_arg1
52520 _ACEOF
52525 *-mingw32*)
52527 # If we're not using GNU ld, then there's no point in even trying these
52528 # tests. Check for that first. We should have already tested for gld
52529 # by now (in libtool), but require it now just to be safe...
52530 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52531 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52535 # The name set by libtool depends on the version of libtool. Shame on us
52536 # for depending on an impl detail, but c'est la vie. Older versions used
52537 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52538 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52539 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52540 # set (hence we're using an older libtool), then set it.
52541 if test x${with_gnu_ld+set} != xset; then
52542 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52543 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52544 with_gnu_ld=no
52545 else
52546 with_gnu_ld=$ac_cv_prog_gnu_ld
52550 # Start by getting the version number. I think the libtool test already
52551 # does some of this, but throws away the result.
52552 glibcxx_ld_is_gold=no
52553 if test x"$with_gnu_ld" = x"yes"; then
52554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52555 $as_echo_n "checking for ld version... " >&6; }
52557 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52558 glibcxx_ld_is_gold=yes
52560 ldver=`$LD --version 2>/dev/null |
52561 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
52563 glibcxx_gnu_ld_version=`echo $ldver | \
52564 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52566 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52569 # Set --gc-sections.
52570 glibcxx_have_gc_sections=no
52571 if test "$glibcxx_ld_is_gold" = "yes"; then
52572 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52573 glibcxx_have_gc_sections=yes
52575 else
52576 glibcxx_gcsections_min_ld=21602
52577 if test x"$with_gnu_ld" = x"yes" &&
52578 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52579 glibcxx_have_gc_sections=yes
52582 if test "$glibcxx_have_gc_sections" = "yes"; then
52583 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52584 # NB: This flag only works reliably after 2.16.1. Configure tests
52585 # for this are difficult, so hard wire a value that should work.
52587 ac_test_CFLAGS="${CFLAGS+set}"
52588 ac_save_CFLAGS="$CFLAGS"
52589 CFLAGS='-Wl,--gc-sections'
52591 # Check for -Wl,--gc-sections
52592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52593 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52594 if test x$gcc_no_link = xyes; then
52595 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52598 /* end confdefs.h. */
52599 int one(void) { return 1; }
52600 int two(void) { return 2; }
52603 main ()
52605 two();
52607 return 0;
52609 _ACEOF
52610 if ac_fn_c_try_link "$LINENO"; then :
52611 ac_gcsections=yes
52612 else
52613 ac_gcsections=no
52615 rm -f core conftest.err conftest.$ac_objext \
52616 conftest$ac_exeext conftest.$ac_ext
52617 if test "$ac_gcsections" = "yes"; then
52618 rm -f conftest.c
52619 touch conftest.c
52620 if $CC -c conftest.c; then
52621 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52622 grep "Warning: gc-sections option ignored" > /dev/null; then
52623 ac_gcsections=no
52626 rm -f conftest.c conftest.o conftest
52628 if test "$ac_gcsections" = "yes"; then
52629 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52632 $as_echo "$ac_gcsections" >&6; }
52634 if test "$ac_test_CFLAGS" = set; then
52635 CFLAGS="$ac_save_CFLAGS"
52636 else
52637 # this is the suspicious part
52638 CFLAGS=''
52642 # Set -z,relro.
52643 # Note this is only for shared objects.
52644 ac_ld_relro=no
52645 if test x"$with_gnu_ld" = x"yes"; then
52646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52647 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52648 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52649 if test -n "$cxx_z_relo"; then
52650 OPT_LDFLAGS="-Wl,-z,relro"
52651 ac_ld_relro=yes
52653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52654 $as_echo "$ac_ld_relro" >&6; }
52657 # Set linker optimization flags.
52658 if test x"$with_gnu_ld" = x"yes"; then
52659 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52666 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52667 ac_save_CXXFLAGS="$CXXFLAGS"
52668 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52671 $as_echo_n "checking for sin in -lm... " >&6; }
52672 if test "${ac_cv_lib_m_sin+set}" = set; then :
52673 $as_echo_n "(cached) " >&6
52674 else
52675 ac_check_lib_save_LIBS=$LIBS
52676 LIBS="-lm $LIBS"
52677 if test x$gcc_no_link = xyes; then
52678 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52681 /* end confdefs.h. */
52683 /* Override any GCC internal prototype to avoid an error.
52684 Use char because int might match the return type of a GCC
52685 builtin and then its argument prototype would still apply. */
52686 #ifdef __cplusplus
52687 extern "C"
52688 #endif
52689 char sin ();
52691 main ()
52693 return sin ();
52695 return 0;
52697 _ACEOF
52698 if ac_fn_c_try_link "$LINENO"; then :
52699 ac_cv_lib_m_sin=yes
52700 else
52701 ac_cv_lib_m_sin=no
52703 rm -f core conftest.err conftest.$ac_objext \
52704 conftest$ac_exeext conftest.$ac_ext
52705 LIBS=$ac_check_lib_save_LIBS
52707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52708 $as_echo "$ac_cv_lib_m_sin" >&6; }
52709 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52710 libm="-lm"
52713 ac_save_LIBS="$LIBS"
52714 LIBS="$LIBS $libm"
52718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52719 $as_echo_n "checking for isinf declaration... " >&6; }
52720 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52721 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52722 $as_echo_n "(cached) " >&6
52723 else
52726 ac_ext=cpp
52727 ac_cpp='$CXXCPP $CPPFLAGS'
52728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52733 /* end confdefs.h. */
52734 #include <math.h>
52735 #ifdef HAVE_IEEEFP_H
52736 #include <ieeefp.h>
52737 #endif
52740 main ()
52742 isinf(0);
52744 return 0;
52746 _ACEOF
52747 if ac_fn_cxx_try_compile "$LINENO"; then :
52748 glibcxx_cv_func_isinf_use=yes
52749 else
52750 glibcxx_cv_func_isinf_use=no
52752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52753 ac_ext=c
52754 ac_cpp='$CPP $CPPFLAGS'
52755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52764 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52766 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52767 for ac_func in isinf
52768 do :
52769 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52770 if test "x$ac_cv_func_isinf" = x""yes; then :
52771 cat >>confdefs.h <<_ACEOF
52772 #define HAVE_ISINF 1
52773 _ACEOF
52776 done
52778 else
52780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52781 $as_echo_n "checking for _isinf declaration... " >&6; }
52782 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52783 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52784 $as_echo_n "(cached) " >&6
52785 else
52788 ac_ext=cpp
52789 ac_cpp='$CXXCPP $CPPFLAGS'
52790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52795 /* end confdefs.h. */
52796 #include <math.h>
52797 #ifdef HAVE_IEEEFP_H
52798 #include <ieeefp.h>
52799 #endif
52802 main ()
52804 _isinf(0);
52806 return 0;
52808 _ACEOF
52809 if ac_fn_cxx_try_compile "$LINENO"; then :
52810 glibcxx_cv_func__isinf_use=yes
52811 else
52812 glibcxx_cv_func__isinf_use=no
52814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52815 ac_ext=c
52816 ac_cpp='$CPP $CPPFLAGS'
52817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52826 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52828 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52829 for ac_func in _isinf
52830 do :
52831 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52832 if test "x$ac_cv_func__isinf" = x""yes; then :
52833 cat >>confdefs.h <<_ACEOF
52834 #define HAVE__ISINF 1
52835 _ACEOF
52838 done
52847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52848 $as_echo_n "checking for isnan declaration... " >&6; }
52849 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52850 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52851 $as_echo_n "(cached) " >&6
52852 else
52855 ac_ext=cpp
52856 ac_cpp='$CXXCPP $CPPFLAGS'
52857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52862 /* end confdefs.h. */
52863 #include <math.h>
52864 #ifdef HAVE_IEEEFP_H
52865 #include <ieeefp.h>
52866 #endif
52869 main ()
52871 isnan(0);
52873 return 0;
52875 _ACEOF
52876 if ac_fn_cxx_try_compile "$LINENO"; then :
52877 glibcxx_cv_func_isnan_use=yes
52878 else
52879 glibcxx_cv_func_isnan_use=no
52881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52882 ac_ext=c
52883 ac_cpp='$CPP $CPPFLAGS'
52884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52893 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52895 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52896 for ac_func in isnan
52897 do :
52898 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52899 if test "x$ac_cv_func_isnan" = x""yes; then :
52900 cat >>confdefs.h <<_ACEOF
52901 #define HAVE_ISNAN 1
52902 _ACEOF
52905 done
52907 else
52909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52910 $as_echo_n "checking for _isnan declaration... " >&6; }
52911 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52912 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52913 $as_echo_n "(cached) " >&6
52914 else
52917 ac_ext=cpp
52918 ac_cpp='$CXXCPP $CPPFLAGS'
52919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52924 /* end confdefs.h. */
52925 #include <math.h>
52926 #ifdef HAVE_IEEEFP_H
52927 #include <ieeefp.h>
52928 #endif
52931 main ()
52933 _isnan(0);
52935 return 0;
52937 _ACEOF
52938 if ac_fn_cxx_try_compile "$LINENO"; then :
52939 glibcxx_cv_func__isnan_use=yes
52940 else
52941 glibcxx_cv_func__isnan_use=no
52943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52944 ac_ext=c
52945 ac_cpp='$CPP $CPPFLAGS'
52946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52955 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52957 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52958 for ac_func in _isnan
52959 do :
52960 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52961 if test "x$ac_cv_func__isnan" = x""yes; then :
52962 cat >>confdefs.h <<_ACEOF
52963 #define HAVE__ISNAN 1
52964 _ACEOF
52967 done
52976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52977 $as_echo_n "checking for finite declaration... " >&6; }
52978 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52979 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52980 $as_echo_n "(cached) " >&6
52981 else
52984 ac_ext=cpp
52985 ac_cpp='$CXXCPP $CPPFLAGS'
52986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52991 /* end confdefs.h. */
52992 #include <math.h>
52993 #ifdef HAVE_IEEEFP_H
52994 #include <ieeefp.h>
52995 #endif
52998 main ()
53000 finite(0);
53002 return 0;
53004 _ACEOF
53005 if ac_fn_cxx_try_compile "$LINENO"; then :
53006 glibcxx_cv_func_finite_use=yes
53007 else
53008 glibcxx_cv_func_finite_use=no
53010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53011 ac_ext=c
53012 ac_cpp='$CPP $CPPFLAGS'
53013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53022 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53024 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53025 for ac_func in finite
53026 do :
53027 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53028 if test "x$ac_cv_func_finite" = x""yes; then :
53029 cat >>confdefs.h <<_ACEOF
53030 #define HAVE_FINITE 1
53031 _ACEOF
53034 done
53036 else
53038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53039 $as_echo_n "checking for _finite declaration... " >&6; }
53040 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53041 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53042 $as_echo_n "(cached) " >&6
53043 else
53046 ac_ext=cpp
53047 ac_cpp='$CXXCPP $CPPFLAGS'
53048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53053 /* end confdefs.h. */
53054 #include <math.h>
53055 #ifdef HAVE_IEEEFP_H
53056 #include <ieeefp.h>
53057 #endif
53060 main ()
53062 _finite(0);
53064 return 0;
53066 _ACEOF
53067 if ac_fn_cxx_try_compile "$LINENO"; then :
53068 glibcxx_cv_func__finite_use=yes
53069 else
53070 glibcxx_cv_func__finite_use=no
53072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53073 ac_ext=c
53074 ac_cpp='$CPP $CPPFLAGS'
53075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53084 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53086 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53087 for ac_func in _finite
53088 do :
53089 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53090 if test "x$ac_cv_func__finite" = x""yes; then :
53091 cat >>confdefs.h <<_ACEOF
53092 #define HAVE__FINITE 1
53093 _ACEOF
53096 done
53105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53106 $as_echo_n "checking for sincos declaration... " >&6; }
53107 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53108 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53109 $as_echo_n "(cached) " >&6
53110 else
53113 ac_ext=cpp
53114 ac_cpp='$CXXCPP $CPPFLAGS'
53115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53120 /* end confdefs.h. */
53121 #include <math.h>
53123 main ()
53125 sincos(0, 0, 0);
53127 return 0;
53129 _ACEOF
53130 if ac_fn_cxx_try_compile "$LINENO"; then :
53131 glibcxx_cv_func_sincos_use=yes
53132 else
53133 glibcxx_cv_func_sincos_use=no
53135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53136 ac_ext=c
53137 ac_cpp='$CPP $CPPFLAGS'
53138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53147 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53149 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53150 for ac_func in sincos
53151 do :
53152 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53153 if test "x$ac_cv_func_sincos" = x""yes; then :
53154 cat >>confdefs.h <<_ACEOF
53155 #define HAVE_SINCOS 1
53156 _ACEOF
53159 done
53161 else
53163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53164 $as_echo_n "checking for _sincos declaration... " >&6; }
53165 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53166 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53167 $as_echo_n "(cached) " >&6
53168 else
53171 ac_ext=cpp
53172 ac_cpp='$CXXCPP $CPPFLAGS'
53173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53178 /* end confdefs.h. */
53179 #include <math.h>
53181 main ()
53183 _sincos(0, 0, 0);
53185 return 0;
53187 _ACEOF
53188 if ac_fn_cxx_try_compile "$LINENO"; then :
53189 glibcxx_cv_func__sincos_use=yes
53190 else
53191 glibcxx_cv_func__sincos_use=no
53193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53194 ac_ext=c
53195 ac_cpp='$CPP $CPPFLAGS'
53196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53205 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53207 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53208 for ac_func in _sincos
53209 do :
53210 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53211 if test "x$ac_cv_func__sincos" = x""yes; then :
53212 cat >>confdefs.h <<_ACEOF
53213 #define HAVE__SINCOS 1
53214 _ACEOF
53217 done
53226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53227 $as_echo_n "checking for fpclass declaration... " >&6; }
53228 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53229 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53230 $as_echo_n "(cached) " >&6
53231 else
53234 ac_ext=cpp
53235 ac_cpp='$CXXCPP $CPPFLAGS'
53236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53241 /* end confdefs.h. */
53242 #include <math.h>
53243 #ifdef HAVE_IEEEFP_H
53244 #include <ieeefp.h>
53245 #endif
53248 main ()
53250 fpclass(0);
53252 return 0;
53254 _ACEOF
53255 if ac_fn_cxx_try_compile "$LINENO"; then :
53256 glibcxx_cv_func_fpclass_use=yes
53257 else
53258 glibcxx_cv_func_fpclass_use=no
53260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53261 ac_ext=c
53262 ac_cpp='$CPP $CPPFLAGS'
53263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53272 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53274 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53275 for ac_func in fpclass
53276 do :
53277 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53278 if test "x$ac_cv_func_fpclass" = x""yes; then :
53279 cat >>confdefs.h <<_ACEOF
53280 #define HAVE_FPCLASS 1
53281 _ACEOF
53284 done
53286 else
53288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53289 $as_echo_n "checking for _fpclass declaration... " >&6; }
53290 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53291 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53292 $as_echo_n "(cached) " >&6
53293 else
53296 ac_ext=cpp
53297 ac_cpp='$CXXCPP $CPPFLAGS'
53298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53303 /* end confdefs.h. */
53304 #include <math.h>
53305 #ifdef HAVE_IEEEFP_H
53306 #include <ieeefp.h>
53307 #endif
53310 main ()
53312 _fpclass(0);
53314 return 0;
53316 _ACEOF
53317 if ac_fn_cxx_try_compile "$LINENO"; then :
53318 glibcxx_cv_func__fpclass_use=yes
53319 else
53320 glibcxx_cv_func__fpclass_use=no
53322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53323 ac_ext=c
53324 ac_cpp='$CPP $CPPFLAGS'
53325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53334 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53336 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53337 for ac_func in _fpclass
53338 do :
53339 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53340 if test "x$ac_cv_func__fpclass" = x""yes; then :
53341 cat >>confdefs.h <<_ACEOF
53342 #define HAVE__FPCLASS 1
53343 _ACEOF
53346 done
53355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53356 $as_echo_n "checking for qfpclass declaration... " >&6; }
53357 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53358 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53359 $as_echo_n "(cached) " >&6
53360 else
53363 ac_ext=cpp
53364 ac_cpp='$CXXCPP $CPPFLAGS'
53365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53370 /* end confdefs.h. */
53371 #include <math.h>
53372 #ifdef HAVE_IEEEFP_H
53373 #include <ieeefp.h>
53374 #endif
53377 main ()
53379 qfpclass(0);
53381 return 0;
53383 _ACEOF
53384 if ac_fn_cxx_try_compile "$LINENO"; then :
53385 glibcxx_cv_func_qfpclass_use=yes
53386 else
53387 glibcxx_cv_func_qfpclass_use=no
53389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53390 ac_ext=c
53391 ac_cpp='$CPP $CPPFLAGS'
53392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53401 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53403 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53404 for ac_func in qfpclass
53405 do :
53406 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53407 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53408 cat >>confdefs.h <<_ACEOF
53409 #define HAVE_QFPCLASS 1
53410 _ACEOF
53413 done
53415 else
53417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53418 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53419 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53420 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53421 $as_echo_n "(cached) " >&6
53422 else
53425 ac_ext=cpp
53426 ac_cpp='$CXXCPP $CPPFLAGS'
53427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53432 /* end confdefs.h. */
53433 #include <math.h>
53434 #ifdef HAVE_IEEEFP_H
53435 #include <ieeefp.h>
53436 #endif
53439 main ()
53441 _qfpclass(0);
53443 return 0;
53445 _ACEOF
53446 if ac_fn_cxx_try_compile "$LINENO"; then :
53447 glibcxx_cv_func__qfpclass_use=yes
53448 else
53449 glibcxx_cv_func__qfpclass_use=no
53451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53452 ac_ext=c
53453 ac_cpp='$CPP $CPPFLAGS'
53454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53463 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53465 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53466 for ac_func in _qfpclass
53467 do :
53468 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53469 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53470 cat >>confdefs.h <<_ACEOF
53471 #define HAVE__QFPCLASS 1
53472 _ACEOF
53475 done
53484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53485 $as_echo_n "checking for hypot declaration... " >&6; }
53486 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53487 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53488 $as_echo_n "(cached) " >&6
53489 else
53492 ac_ext=cpp
53493 ac_cpp='$CXXCPP $CPPFLAGS'
53494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53499 /* end confdefs.h. */
53500 #include <math.h>
53502 main ()
53504 hypot(0, 0);
53506 return 0;
53508 _ACEOF
53509 if ac_fn_cxx_try_compile "$LINENO"; then :
53510 glibcxx_cv_func_hypot_use=yes
53511 else
53512 glibcxx_cv_func_hypot_use=no
53514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53515 ac_ext=c
53516 ac_cpp='$CPP $CPPFLAGS'
53517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53526 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53528 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53529 for ac_func in hypot
53530 do :
53531 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53532 if test "x$ac_cv_func_hypot" = x""yes; then :
53533 cat >>confdefs.h <<_ACEOF
53534 #define HAVE_HYPOT 1
53535 _ACEOF
53538 done
53540 else
53542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53543 $as_echo_n "checking for _hypot declaration... " >&6; }
53544 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53545 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53546 $as_echo_n "(cached) " >&6
53547 else
53550 ac_ext=cpp
53551 ac_cpp='$CXXCPP $CPPFLAGS'
53552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53557 /* end confdefs.h. */
53558 #include <math.h>
53560 main ()
53562 _hypot(0, 0);
53564 return 0;
53566 _ACEOF
53567 if ac_fn_cxx_try_compile "$LINENO"; then :
53568 glibcxx_cv_func__hypot_use=yes
53569 else
53570 glibcxx_cv_func__hypot_use=no
53572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53573 ac_ext=c
53574 ac_cpp='$CPP $CPPFLAGS'
53575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53584 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53586 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53587 for ac_func in _hypot
53588 do :
53589 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53590 if test "x$ac_cv_func__hypot" = x""yes; then :
53591 cat >>confdefs.h <<_ACEOF
53592 #define HAVE__HYPOT 1
53593 _ACEOF
53596 done
53605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53606 $as_echo_n "checking for float trig functions... " >&6; }
53607 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53608 $as_echo_n "(cached) " >&6
53609 else
53612 ac_ext=cpp
53613 ac_cpp='$CXXCPP $CPPFLAGS'
53614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53619 /* end confdefs.h. */
53620 #include <math.h>
53622 main ()
53624 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53626 return 0;
53628 _ACEOF
53629 if ac_fn_cxx_try_compile "$LINENO"; then :
53630 glibcxx_cv_func_float_trig_use=yes
53631 else
53632 glibcxx_cv_func_float_trig_use=no
53634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53635 ac_ext=c
53636 ac_cpp='$CPP $CPPFLAGS'
53637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53644 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53645 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53646 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53647 do :
53648 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53649 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53650 eval as_val=\$$as_ac_var
53651 if test "x$as_val" = x""yes; then :
53652 cat >>confdefs.h <<_ACEOF
53653 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53654 _ACEOF
53657 done
53659 else
53660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53661 $as_echo_n "checking for _float trig functions... " >&6; }
53662 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53663 $as_echo_n "(cached) " >&6
53664 else
53667 ac_ext=cpp
53668 ac_cpp='$CXXCPP $CPPFLAGS'
53669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53674 /* end confdefs.h. */
53675 #include <math.h>
53677 main ()
53679 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53681 return 0;
53683 _ACEOF
53684 if ac_fn_cxx_try_compile "$LINENO"; then :
53685 glibcxx_cv_func__float_trig_use=yes
53686 else
53687 glibcxx_cv_func__float_trig_use=no
53689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53690 ac_ext=c
53691 ac_cpp='$CPP $CPPFLAGS'
53692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53699 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53700 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53701 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53702 do :
53703 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53704 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53705 eval as_val=\$$as_ac_var
53706 if test "x$as_val" = x""yes; then :
53707 cat >>confdefs.h <<_ACEOF
53708 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53709 _ACEOF
53712 done
53721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53722 $as_echo_n "checking for float round functions... " >&6; }
53723 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53724 $as_echo_n "(cached) " >&6
53725 else
53728 ac_ext=cpp
53729 ac_cpp='$CXXCPP $CPPFLAGS'
53730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53735 /* end confdefs.h. */
53736 #include <math.h>
53738 main ()
53740 ceilf (0); floorf (0);
53742 return 0;
53744 _ACEOF
53745 if ac_fn_cxx_try_compile "$LINENO"; then :
53746 glibcxx_cv_func_float_round_use=yes
53747 else
53748 glibcxx_cv_func_float_round_use=no
53750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53751 ac_ext=c
53752 ac_cpp='$CPP $CPPFLAGS'
53753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53760 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53761 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53762 for ac_func in ceilf floorf
53763 do :
53764 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53765 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53766 eval as_val=\$$as_ac_var
53767 if test "x$as_val" = x""yes; then :
53768 cat >>confdefs.h <<_ACEOF
53769 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53770 _ACEOF
53773 done
53775 else
53776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53777 $as_echo_n "checking for _float round functions... " >&6; }
53778 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53779 $as_echo_n "(cached) " >&6
53780 else
53783 ac_ext=cpp
53784 ac_cpp='$CXXCPP $CPPFLAGS'
53785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53790 /* end confdefs.h. */
53791 #include <math.h>
53793 main ()
53795 _ceilf (0); _floorf (0);
53797 return 0;
53799 _ACEOF
53800 if ac_fn_cxx_try_compile "$LINENO"; then :
53801 glibcxx_cv_func__float_round_use=yes
53802 else
53803 glibcxx_cv_func__float_round_use=no
53805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53806 ac_ext=c
53807 ac_cpp='$CPP $CPPFLAGS'
53808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53815 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53816 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53817 for ac_func in _ceilf _floorf
53818 do :
53819 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53820 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53821 eval as_val=\$$as_ac_var
53822 if test "x$as_val" = x""yes; then :
53823 cat >>confdefs.h <<_ACEOF
53824 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53825 _ACEOF
53828 done
53838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53839 $as_echo_n "checking for expf declaration... " >&6; }
53840 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53841 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53842 $as_echo_n "(cached) " >&6
53843 else
53846 ac_ext=cpp
53847 ac_cpp='$CXXCPP $CPPFLAGS'
53848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53853 /* end confdefs.h. */
53854 #include <math.h>
53855 #ifdef HAVE_IEEEFP_H
53856 #include <ieeefp.h>
53857 #endif
53860 main ()
53862 expf(0);
53864 return 0;
53866 _ACEOF
53867 if ac_fn_cxx_try_compile "$LINENO"; then :
53868 glibcxx_cv_func_expf_use=yes
53869 else
53870 glibcxx_cv_func_expf_use=no
53872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53873 ac_ext=c
53874 ac_cpp='$CPP $CPPFLAGS'
53875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53884 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53886 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53887 for ac_func in expf
53888 do :
53889 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53890 if test "x$ac_cv_func_expf" = x""yes; then :
53891 cat >>confdefs.h <<_ACEOF
53892 #define HAVE_EXPF 1
53893 _ACEOF
53896 done
53898 else
53900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53901 $as_echo_n "checking for _expf declaration... " >&6; }
53902 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53903 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53904 $as_echo_n "(cached) " >&6
53905 else
53908 ac_ext=cpp
53909 ac_cpp='$CXXCPP $CPPFLAGS'
53910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53915 /* end confdefs.h. */
53916 #include <math.h>
53917 #ifdef HAVE_IEEEFP_H
53918 #include <ieeefp.h>
53919 #endif
53922 main ()
53924 _expf(0);
53926 return 0;
53928 _ACEOF
53929 if ac_fn_cxx_try_compile "$LINENO"; then :
53930 glibcxx_cv_func__expf_use=yes
53931 else
53932 glibcxx_cv_func__expf_use=no
53934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53935 ac_ext=c
53936 ac_cpp='$CPP $CPPFLAGS'
53937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53946 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53948 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53949 for ac_func in _expf
53950 do :
53951 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53952 if test "x$ac_cv_func__expf" = x""yes; then :
53953 cat >>confdefs.h <<_ACEOF
53954 #define HAVE__EXPF 1
53955 _ACEOF
53958 done
53967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53968 $as_echo_n "checking for isnanf declaration... " >&6; }
53969 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53970 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53971 $as_echo_n "(cached) " >&6
53972 else
53975 ac_ext=cpp
53976 ac_cpp='$CXXCPP $CPPFLAGS'
53977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53982 /* end confdefs.h. */
53983 #include <math.h>
53984 #ifdef HAVE_IEEEFP_H
53985 #include <ieeefp.h>
53986 #endif
53989 main ()
53991 isnanf(0);
53993 return 0;
53995 _ACEOF
53996 if ac_fn_cxx_try_compile "$LINENO"; then :
53997 glibcxx_cv_func_isnanf_use=yes
53998 else
53999 glibcxx_cv_func_isnanf_use=no
54001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54002 ac_ext=c
54003 ac_cpp='$CPP $CPPFLAGS'
54004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54013 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54015 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54016 for ac_func in isnanf
54017 do :
54018 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54019 if test "x$ac_cv_func_isnanf" = x""yes; then :
54020 cat >>confdefs.h <<_ACEOF
54021 #define HAVE_ISNANF 1
54022 _ACEOF
54025 done
54027 else
54029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54030 $as_echo_n "checking for _isnanf declaration... " >&6; }
54031 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54032 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54033 $as_echo_n "(cached) " >&6
54034 else
54037 ac_ext=cpp
54038 ac_cpp='$CXXCPP $CPPFLAGS'
54039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54044 /* end confdefs.h. */
54045 #include <math.h>
54046 #ifdef HAVE_IEEEFP_H
54047 #include <ieeefp.h>
54048 #endif
54051 main ()
54053 _isnanf(0);
54055 return 0;
54057 _ACEOF
54058 if ac_fn_cxx_try_compile "$LINENO"; then :
54059 glibcxx_cv_func__isnanf_use=yes
54060 else
54061 glibcxx_cv_func__isnanf_use=no
54063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54064 ac_ext=c
54065 ac_cpp='$CPP $CPPFLAGS'
54066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54075 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54077 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54078 for ac_func in _isnanf
54079 do :
54080 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54081 if test "x$ac_cv_func__isnanf" = x""yes; then :
54082 cat >>confdefs.h <<_ACEOF
54083 #define HAVE__ISNANF 1
54084 _ACEOF
54087 done
54096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54097 $as_echo_n "checking for isinff declaration... " >&6; }
54098 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54099 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54100 $as_echo_n "(cached) " >&6
54101 else
54104 ac_ext=cpp
54105 ac_cpp='$CXXCPP $CPPFLAGS'
54106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54111 /* end confdefs.h. */
54112 #include <math.h>
54113 #ifdef HAVE_IEEEFP_H
54114 #include <ieeefp.h>
54115 #endif
54118 main ()
54120 isinff(0);
54122 return 0;
54124 _ACEOF
54125 if ac_fn_cxx_try_compile "$LINENO"; then :
54126 glibcxx_cv_func_isinff_use=yes
54127 else
54128 glibcxx_cv_func_isinff_use=no
54130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54131 ac_ext=c
54132 ac_cpp='$CPP $CPPFLAGS'
54133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54142 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54144 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54145 for ac_func in isinff
54146 do :
54147 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54148 if test "x$ac_cv_func_isinff" = x""yes; then :
54149 cat >>confdefs.h <<_ACEOF
54150 #define HAVE_ISINFF 1
54151 _ACEOF
54154 done
54156 else
54158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54159 $as_echo_n "checking for _isinff declaration... " >&6; }
54160 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54161 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54162 $as_echo_n "(cached) " >&6
54163 else
54166 ac_ext=cpp
54167 ac_cpp='$CXXCPP $CPPFLAGS'
54168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54173 /* end confdefs.h. */
54174 #include <math.h>
54175 #ifdef HAVE_IEEEFP_H
54176 #include <ieeefp.h>
54177 #endif
54180 main ()
54182 _isinff(0);
54184 return 0;
54186 _ACEOF
54187 if ac_fn_cxx_try_compile "$LINENO"; then :
54188 glibcxx_cv_func__isinff_use=yes
54189 else
54190 glibcxx_cv_func__isinff_use=no
54192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54193 ac_ext=c
54194 ac_cpp='$CPP $CPPFLAGS'
54195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54204 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54206 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54207 for ac_func in _isinff
54208 do :
54209 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54210 if test "x$ac_cv_func__isinff" = x""yes; then :
54211 cat >>confdefs.h <<_ACEOF
54212 #define HAVE__ISINFF 1
54213 _ACEOF
54216 done
54225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54226 $as_echo_n "checking for atan2f declaration... " >&6; }
54227 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54228 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54229 $as_echo_n "(cached) " >&6
54230 else
54233 ac_ext=cpp
54234 ac_cpp='$CXXCPP $CPPFLAGS'
54235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54240 /* end confdefs.h. */
54241 #include <math.h>
54243 main ()
54245 atan2f(0, 0);
54247 return 0;
54249 _ACEOF
54250 if ac_fn_cxx_try_compile "$LINENO"; then :
54251 glibcxx_cv_func_atan2f_use=yes
54252 else
54253 glibcxx_cv_func_atan2f_use=no
54255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54256 ac_ext=c
54257 ac_cpp='$CPP $CPPFLAGS'
54258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54267 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54269 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54270 for ac_func in atan2f
54271 do :
54272 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54273 if test "x$ac_cv_func_atan2f" = x""yes; then :
54274 cat >>confdefs.h <<_ACEOF
54275 #define HAVE_ATAN2F 1
54276 _ACEOF
54279 done
54281 else
54283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54284 $as_echo_n "checking for _atan2f declaration... " >&6; }
54285 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54286 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54287 $as_echo_n "(cached) " >&6
54288 else
54291 ac_ext=cpp
54292 ac_cpp='$CXXCPP $CPPFLAGS'
54293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54298 /* end confdefs.h. */
54299 #include <math.h>
54301 main ()
54303 _atan2f(0, 0);
54305 return 0;
54307 _ACEOF
54308 if ac_fn_cxx_try_compile "$LINENO"; then :
54309 glibcxx_cv_func__atan2f_use=yes
54310 else
54311 glibcxx_cv_func__atan2f_use=no
54313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54314 ac_ext=c
54315 ac_cpp='$CPP $CPPFLAGS'
54316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54325 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54327 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54328 for ac_func in _atan2f
54329 do :
54330 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54331 if test "x$ac_cv_func__atan2f" = x""yes; then :
54332 cat >>confdefs.h <<_ACEOF
54333 #define HAVE__ATAN2F 1
54334 _ACEOF
54337 done
54346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54347 $as_echo_n "checking for fabsf declaration... " >&6; }
54348 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54349 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54350 $as_echo_n "(cached) " >&6
54351 else
54354 ac_ext=cpp
54355 ac_cpp='$CXXCPP $CPPFLAGS'
54356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54361 /* end confdefs.h. */
54362 #include <math.h>
54363 #ifdef HAVE_IEEEFP_H
54364 #include <ieeefp.h>
54365 #endif
54368 main ()
54370 fabsf(0);
54372 return 0;
54374 _ACEOF
54375 if ac_fn_cxx_try_compile "$LINENO"; then :
54376 glibcxx_cv_func_fabsf_use=yes
54377 else
54378 glibcxx_cv_func_fabsf_use=no
54380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54381 ac_ext=c
54382 ac_cpp='$CPP $CPPFLAGS'
54383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54392 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54394 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54395 for ac_func in fabsf
54396 do :
54397 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54398 if test "x$ac_cv_func_fabsf" = x""yes; then :
54399 cat >>confdefs.h <<_ACEOF
54400 #define HAVE_FABSF 1
54401 _ACEOF
54404 done
54406 else
54408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54409 $as_echo_n "checking for _fabsf declaration... " >&6; }
54410 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54411 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54412 $as_echo_n "(cached) " >&6
54413 else
54416 ac_ext=cpp
54417 ac_cpp='$CXXCPP $CPPFLAGS'
54418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54423 /* end confdefs.h. */
54424 #include <math.h>
54425 #ifdef HAVE_IEEEFP_H
54426 #include <ieeefp.h>
54427 #endif
54430 main ()
54432 _fabsf(0);
54434 return 0;
54436 _ACEOF
54437 if ac_fn_cxx_try_compile "$LINENO"; then :
54438 glibcxx_cv_func__fabsf_use=yes
54439 else
54440 glibcxx_cv_func__fabsf_use=no
54442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54443 ac_ext=c
54444 ac_cpp='$CPP $CPPFLAGS'
54445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54454 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54456 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54457 for ac_func in _fabsf
54458 do :
54459 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54460 if test "x$ac_cv_func__fabsf" = x""yes; then :
54461 cat >>confdefs.h <<_ACEOF
54462 #define HAVE__FABSF 1
54463 _ACEOF
54466 done
54475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54476 $as_echo_n "checking for fmodf declaration... " >&6; }
54477 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54478 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54479 $as_echo_n "(cached) " >&6
54480 else
54483 ac_ext=cpp
54484 ac_cpp='$CXXCPP $CPPFLAGS'
54485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54490 /* end confdefs.h. */
54491 #include <math.h>
54493 main ()
54495 fmodf(0, 0);
54497 return 0;
54499 _ACEOF
54500 if ac_fn_cxx_try_compile "$LINENO"; then :
54501 glibcxx_cv_func_fmodf_use=yes
54502 else
54503 glibcxx_cv_func_fmodf_use=no
54505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54506 ac_ext=c
54507 ac_cpp='$CPP $CPPFLAGS'
54508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54517 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54519 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54520 for ac_func in fmodf
54521 do :
54522 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54523 if test "x$ac_cv_func_fmodf" = x""yes; then :
54524 cat >>confdefs.h <<_ACEOF
54525 #define HAVE_FMODF 1
54526 _ACEOF
54529 done
54531 else
54533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54534 $as_echo_n "checking for _fmodf declaration... " >&6; }
54535 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54536 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54537 $as_echo_n "(cached) " >&6
54538 else
54541 ac_ext=cpp
54542 ac_cpp='$CXXCPP $CPPFLAGS'
54543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54548 /* end confdefs.h. */
54549 #include <math.h>
54551 main ()
54553 _fmodf(0, 0);
54555 return 0;
54557 _ACEOF
54558 if ac_fn_cxx_try_compile "$LINENO"; then :
54559 glibcxx_cv_func__fmodf_use=yes
54560 else
54561 glibcxx_cv_func__fmodf_use=no
54563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54564 ac_ext=c
54565 ac_cpp='$CPP $CPPFLAGS'
54566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54575 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54577 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54578 for ac_func in _fmodf
54579 do :
54580 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54581 if test "x$ac_cv_func__fmodf" = x""yes; then :
54582 cat >>confdefs.h <<_ACEOF
54583 #define HAVE__FMODF 1
54584 _ACEOF
54587 done
54596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54597 $as_echo_n "checking for frexpf declaration... " >&6; }
54598 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54599 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54600 $as_echo_n "(cached) " >&6
54601 else
54604 ac_ext=cpp
54605 ac_cpp='$CXXCPP $CPPFLAGS'
54606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54611 /* end confdefs.h. */
54612 #include <math.h>
54614 main ()
54616 frexpf(0, 0);
54618 return 0;
54620 _ACEOF
54621 if ac_fn_cxx_try_compile "$LINENO"; then :
54622 glibcxx_cv_func_frexpf_use=yes
54623 else
54624 glibcxx_cv_func_frexpf_use=no
54626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54627 ac_ext=c
54628 ac_cpp='$CPP $CPPFLAGS'
54629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54638 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54640 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54641 for ac_func in frexpf
54642 do :
54643 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54644 if test "x$ac_cv_func_frexpf" = x""yes; then :
54645 cat >>confdefs.h <<_ACEOF
54646 #define HAVE_FREXPF 1
54647 _ACEOF
54650 done
54652 else
54654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54655 $as_echo_n "checking for _frexpf declaration... " >&6; }
54656 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54657 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54658 $as_echo_n "(cached) " >&6
54659 else
54662 ac_ext=cpp
54663 ac_cpp='$CXXCPP $CPPFLAGS'
54664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54669 /* end confdefs.h. */
54670 #include <math.h>
54672 main ()
54674 _frexpf(0, 0);
54676 return 0;
54678 _ACEOF
54679 if ac_fn_cxx_try_compile "$LINENO"; then :
54680 glibcxx_cv_func__frexpf_use=yes
54681 else
54682 glibcxx_cv_func__frexpf_use=no
54684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54685 ac_ext=c
54686 ac_cpp='$CPP $CPPFLAGS'
54687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54696 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54698 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54699 for ac_func in _frexpf
54700 do :
54701 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54702 if test "x$ac_cv_func__frexpf" = x""yes; then :
54703 cat >>confdefs.h <<_ACEOF
54704 #define HAVE__FREXPF 1
54705 _ACEOF
54708 done
54717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54718 $as_echo_n "checking for hypotf declaration... " >&6; }
54719 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54720 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54721 $as_echo_n "(cached) " >&6
54722 else
54725 ac_ext=cpp
54726 ac_cpp='$CXXCPP $CPPFLAGS'
54727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54732 /* end confdefs.h. */
54733 #include <math.h>
54735 main ()
54737 hypotf(0, 0);
54739 return 0;
54741 _ACEOF
54742 if ac_fn_cxx_try_compile "$LINENO"; then :
54743 glibcxx_cv_func_hypotf_use=yes
54744 else
54745 glibcxx_cv_func_hypotf_use=no
54747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54748 ac_ext=c
54749 ac_cpp='$CPP $CPPFLAGS'
54750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54759 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54761 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54762 for ac_func in hypotf
54763 do :
54764 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54765 if test "x$ac_cv_func_hypotf" = x""yes; then :
54766 cat >>confdefs.h <<_ACEOF
54767 #define HAVE_HYPOTF 1
54768 _ACEOF
54771 done
54773 else
54775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54776 $as_echo_n "checking for _hypotf declaration... " >&6; }
54777 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54778 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54779 $as_echo_n "(cached) " >&6
54780 else
54783 ac_ext=cpp
54784 ac_cpp='$CXXCPP $CPPFLAGS'
54785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54790 /* end confdefs.h. */
54791 #include <math.h>
54793 main ()
54795 _hypotf(0, 0);
54797 return 0;
54799 _ACEOF
54800 if ac_fn_cxx_try_compile "$LINENO"; then :
54801 glibcxx_cv_func__hypotf_use=yes
54802 else
54803 glibcxx_cv_func__hypotf_use=no
54805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54806 ac_ext=c
54807 ac_cpp='$CPP $CPPFLAGS'
54808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54817 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54819 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54820 for ac_func in _hypotf
54821 do :
54822 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54823 if test "x$ac_cv_func__hypotf" = x""yes; then :
54824 cat >>confdefs.h <<_ACEOF
54825 #define HAVE__HYPOTF 1
54826 _ACEOF
54829 done
54838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54839 $as_echo_n "checking for ldexpf declaration... " >&6; }
54840 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54841 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54842 $as_echo_n "(cached) " >&6
54843 else
54846 ac_ext=cpp
54847 ac_cpp='$CXXCPP $CPPFLAGS'
54848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54853 /* end confdefs.h. */
54854 #include <math.h>
54856 main ()
54858 ldexpf(0, 0);
54860 return 0;
54862 _ACEOF
54863 if ac_fn_cxx_try_compile "$LINENO"; then :
54864 glibcxx_cv_func_ldexpf_use=yes
54865 else
54866 glibcxx_cv_func_ldexpf_use=no
54868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54869 ac_ext=c
54870 ac_cpp='$CPP $CPPFLAGS'
54871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54880 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54882 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54883 for ac_func in ldexpf
54884 do :
54885 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54886 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54887 cat >>confdefs.h <<_ACEOF
54888 #define HAVE_LDEXPF 1
54889 _ACEOF
54892 done
54894 else
54896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54897 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54898 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54899 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54900 $as_echo_n "(cached) " >&6
54901 else
54904 ac_ext=cpp
54905 ac_cpp='$CXXCPP $CPPFLAGS'
54906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54911 /* end confdefs.h. */
54912 #include <math.h>
54914 main ()
54916 _ldexpf(0, 0);
54918 return 0;
54920 _ACEOF
54921 if ac_fn_cxx_try_compile "$LINENO"; then :
54922 glibcxx_cv_func__ldexpf_use=yes
54923 else
54924 glibcxx_cv_func__ldexpf_use=no
54926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54927 ac_ext=c
54928 ac_cpp='$CPP $CPPFLAGS'
54929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54938 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54940 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54941 for ac_func in _ldexpf
54942 do :
54943 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54944 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54945 cat >>confdefs.h <<_ACEOF
54946 #define HAVE__LDEXPF 1
54947 _ACEOF
54950 done
54959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54960 $as_echo_n "checking for logf declaration... " >&6; }
54961 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54962 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54963 $as_echo_n "(cached) " >&6
54964 else
54967 ac_ext=cpp
54968 ac_cpp='$CXXCPP $CPPFLAGS'
54969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54974 /* end confdefs.h. */
54975 #include <math.h>
54976 #ifdef HAVE_IEEEFP_H
54977 #include <ieeefp.h>
54978 #endif
54981 main ()
54983 logf(0);
54985 return 0;
54987 _ACEOF
54988 if ac_fn_cxx_try_compile "$LINENO"; then :
54989 glibcxx_cv_func_logf_use=yes
54990 else
54991 glibcxx_cv_func_logf_use=no
54993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54994 ac_ext=c
54995 ac_cpp='$CPP $CPPFLAGS'
54996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55005 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55007 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55008 for ac_func in logf
55009 do :
55010 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55011 if test "x$ac_cv_func_logf" = x""yes; then :
55012 cat >>confdefs.h <<_ACEOF
55013 #define HAVE_LOGF 1
55014 _ACEOF
55017 done
55019 else
55021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55022 $as_echo_n "checking for _logf declaration... " >&6; }
55023 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55024 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55025 $as_echo_n "(cached) " >&6
55026 else
55029 ac_ext=cpp
55030 ac_cpp='$CXXCPP $CPPFLAGS'
55031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55036 /* end confdefs.h. */
55037 #include <math.h>
55038 #ifdef HAVE_IEEEFP_H
55039 #include <ieeefp.h>
55040 #endif
55043 main ()
55045 _logf(0);
55047 return 0;
55049 _ACEOF
55050 if ac_fn_cxx_try_compile "$LINENO"; then :
55051 glibcxx_cv_func__logf_use=yes
55052 else
55053 glibcxx_cv_func__logf_use=no
55055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55056 ac_ext=c
55057 ac_cpp='$CPP $CPPFLAGS'
55058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55067 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55069 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55070 for ac_func in _logf
55071 do :
55072 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55073 if test "x$ac_cv_func__logf" = x""yes; then :
55074 cat >>confdefs.h <<_ACEOF
55075 #define HAVE__LOGF 1
55076 _ACEOF
55079 done
55088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55089 $as_echo_n "checking for log10f declaration... " >&6; }
55090 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55091 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55092 $as_echo_n "(cached) " >&6
55093 else
55096 ac_ext=cpp
55097 ac_cpp='$CXXCPP $CPPFLAGS'
55098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55103 /* end confdefs.h. */
55104 #include <math.h>
55105 #ifdef HAVE_IEEEFP_H
55106 #include <ieeefp.h>
55107 #endif
55110 main ()
55112 log10f(0);
55114 return 0;
55116 _ACEOF
55117 if ac_fn_cxx_try_compile "$LINENO"; then :
55118 glibcxx_cv_func_log10f_use=yes
55119 else
55120 glibcxx_cv_func_log10f_use=no
55122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55123 ac_ext=c
55124 ac_cpp='$CPP $CPPFLAGS'
55125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55134 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55136 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55137 for ac_func in log10f
55138 do :
55139 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55140 if test "x$ac_cv_func_log10f" = x""yes; then :
55141 cat >>confdefs.h <<_ACEOF
55142 #define HAVE_LOG10F 1
55143 _ACEOF
55146 done
55148 else
55150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55151 $as_echo_n "checking for _log10f declaration... " >&6; }
55152 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55153 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55154 $as_echo_n "(cached) " >&6
55155 else
55158 ac_ext=cpp
55159 ac_cpp='$CXXCPP $CPPFLAGS'
55160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55165 /* end confdefs.h. */
55166 #include <math.h>
55167 #ifdef HAVE_IEEEFP_H
55168 #include <ieeefp.h>
55169 #endif
55172 main ()
55174 _log10f(0);
55176 return 0;
55178 _ACEOF
55179 if ac_fn_cxx_try_compile "$LINENO"; then :
55180 glibcxx_cv_func__log10f_use=yes
55181 else
55182 glibcxx_cv_func__log10f_use=no
55184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55185 ac_ext=c
55186 ac_cpp='$CPP $CPPFLAGS'
55187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55196 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55198 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55199 for ac_func in _log10f
55200 do :
55201 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55202 if test "x$ac_cv_func__log10f" = x""yes; then :
55203 cat >>confdefs.h <<_ACEOF
55204 #define HAVE__LOG10F 1
55205 _ACEOF
55208 done
55217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55218 $as_echo_n "checking for modff declaration... " >&6; }
55219 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55220 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55221 $as_echo_n "(cached) " >&6
55222 else
55225 ac_ext=cpp
55226 ac_cpp='$CXXCPP $CPPFLAGS'
55227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55232 /* end confdefs.h. */
55233 #include <math.h>
55235 main ()
55237 modff(0, 0);
55239 return 0;
55241 _ACEOF
55242 if ac_fn_cxx_try_compile "$LINENO"; then :
55243 glibcxx_cv_func_modff_use=yes
55244 else
55245 glibcxx_cv_func_modff_use=no
55247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55248 ac_ext=c
55249 ac_cpp='$CPP $CPPFLAGS'
55250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55259 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55261 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55262 for ac_func in modff
55263 do :
55264 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55265 if test "x$ac_cv_func_modff" = x""yes; then :
55266 cat >>confdefs.h <<_ACEOF
55267 #define HAVE_MODFF 1
55268 _ACEOF
55271 done
55273 else
55275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55276 $as_echo_n "checking for _modff declaration... " >&6; }
55277 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55278 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55279 $as_echo_n "(cached) " >&6
55280 else
55283 ac_ext=cpp
55284 ac_cpp='$CXXCPP $CPPFLAGS'
55285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55290 /* end confdefs.h. */
55291 #include <math.h>
55293 main ()
55295 _modff(0, 0);
55297 return 0;
55299 _ACEOF
55300 if ac_fn_cxx_try_compile "$LINENO"; then :
55301 glibcxx_cv_func__modff_use=yes
55302 else
55303 glibcxx_cv_func__modff_use=no
55305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55306 ac_ext=c
55307 ac_cpp='$CPP $CPPFLAGS'
55308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55317 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55319 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55320 for ac_func in _modff
55321 do :
55322 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55323 if test "x$ac_cv_func__modff" = x""yes; then :
55324 cat >>confdefs.h <<_ACEOF
55325 #define HAVE__MODFF 1
55326 _ACEOF
55329 done
55338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55339 $as_echo_n "checking for modf declaration... " >&6; }
55340 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55341 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55342 $as_echo_n "(cached) " >&6
55343 else
55346 ac_ext=cpp
55347 ac_cpp='$CXXCPP $CPPFLAGS'
55348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55353 /* end confdefs.h. */
55354 #include <math.h>
55356 main ()
55358 modf(0, 0);
55360 return 0;
55362 _ACEOF
55363 if ac_fn_cxx_try_compile "$LINENO"; then :
55364 glibcxx_cv_func_modf_use=yes
55365 else
55366 glibcxx_cv_func_modf_use=no
55368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55369 ac_ext=c
55370 ac_cpp='$CPP $CPPFLAGS'
55371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55380 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55382 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55383 for ac_func in modf
55384 do :
55385 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55386 if test "x$ac_cv_func_modf" = x""yes; then :
55387 cat >>confdefs.h <<_ACEOF
55388 #define HAVE_MODF 1
55389 _ACEOF
55392 done
55394 else
55396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55397 $as_echo_n "checking for _modf declaration... " >&6; }
55398 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55399 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55400 $as_echo_n "(cached) " >&6
55401 else
55404 ac_ext=cpp
55405 ac_cpp='$CXXCPP $CPPFLAGS'
55406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55411 /* end confdefs.h. */
55412 #include <math.h>
55414 main ()
55416 _modf(0, 0);
55418 return 0;
55420 _ACEOF
55421 if ac_fn_cxx_try_compile "$LINENO"; then :
55422 glibcxx_cv_func__modf_use=yes
55423 else
55424 glibcxx_cv_func__modf_use=no
55426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55427 ac_ext=c
55428 ac_cpp='$CPP $CPPFLAGS'
55429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55438 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55440 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55441 for ac_func in _modf
55442 do :
55443 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55444 if test "x$ac_cv_func__modf" = x""yes; then :
55445 cat >>confdefs.h <<_ACEOF
55446 #define HAVE__MODF 1
55447 _ACEOF
55450 done
55459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55460 $as_echo_n "checking for powf declaration... " >&6; }
55461 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55462 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55463 $as_echo_n "(cached) " >&6
55464 else
55467 ac_ext=cpp
55468 ac_cpp='$CXXCPP $CPPFLAGS'
55469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55474 /* end confdefs.h. */
55475 #include <math.h>
55477 main ()
55479 powf(0, 0);
55481 return 0;
55483 _ACEOF
55484 if ac_fn_cxx_try_compile "$LINENO"; then :
55485 glibcxx_cv_func_powf_use=yes
55486 else
55487 glibcxx_cv_func_powf_use=no
55489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55490 ac_ext=c
55491 ac_cpp='$CPP $CPPFLAGS'
55492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55501 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55503 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55504 for ac_func in powf
55505 do :
55506 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55507 if test "x$ac_cv_func_powf" = x""yes; then :
55508 cat >>confdefs.h <<_ACEOF
55509 #define HAVE_POWF 1
55510 _ACEOF
55513 done
55515 else
55517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55518 $as_echo_n "checking for _powf declaration... " >&6; }
55519 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55520 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55521 $as_echo_n "(cached) " >&6
55522 else
55525 ac_ext=cpp
55526 ac_cpp='$CXXCPP $CPPFLAGS'
55527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55532 /* end confdefs.h. */
55533 #include <math.h>
55535 main ()
55537 _powf(0, 0);
55539 return 0;
55541 _ACEOF
55542 if ac_fn_cxx_try_compile "$LINENO"; then :
55543 glibcxx_cv_func__powf_use=yes
55544 else
55545 glibcxx_cv_func__powf_use=no
55547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55548 ac_ext=c
55549 ac_cpp='$CPP $CPPFLAGS'
55550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55559 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55561 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55562 for ac_func in _powf
55563 do :
55564 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55565 if test "x$ac_cv_func__powf" = x""yes; then :
55566 cat >>confdefs.h <<_ACEOF
55567 #define HAVE__POWF 1
55568 _ACEOF
55571 done
55580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55581 $as_echo_n "checking for sqrtf declaration... " >&6; }
55582 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55583 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55584 $as_echo_n "(cached) " >&6
55585 else
55588 ac_ext=cpp
55589 ac_cpp='$CXXCPP $CPPFLAGS'
55590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55595 /* end confdefs.h. */
55596 #include <math.h>
55597 #ifdef HAVE_IEEEFP_H
55598 #include <ieeefp.h>
55599 #endif
55602 main ()
55604 sqrtf(0);
55606 return 0;
55608 _ACEOF
55609 if ac_fn_cxx_try_compile "$LINENO"; then :
55610 glibcxx_cv_func_sqrtf_use=yes
55611 else
55612 glibcxx_cv_func_sqrtf_use=no
55614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55615 ac_ext=c
55616 ac_cpp='$CPP $CPPFLAGS'
55617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55626 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55628 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55629 for ac_func in sqrtf
55630 do :
55631 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55632 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55633 cat >>confdefs.h <<_ACEOF
55634 #define HAVE_SQRTF 1
55635 _ACEOF
55638 done
55640 else
55642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55643 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55644 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55645 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55646 $as_echo_n "(cached) " >&6
55647 else
55650 ac_ext=cpp
55651 ac_cpp='$CXXCPP $CPPFLAGS'
55652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55657 /* end confdefs.h. */
55658 #include <math.h>
55659 #ifdef HAVE_IEEEFP_H
55660 #include <ieeefp.h>
55661 #endif
55664 main ()
55666 _sqrtf(0);
55668 return 0;
55670 _ACEOF
55671 if ac_fn_cxx_try_compile "$LINENO"; then :
55672 glibcxx_cv_func__sqrtf_use=yes
55673 else
55674 glibcxx_cv_func__sqrtf_use=no
55676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55677 ac_ext=c
55678 ac_cpp='$CPP $CPPFLAGS'
55679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55688 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55690 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55691 for ac_func in _sqrtf
55692 do :
55693 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55694 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55695 cat >>confdefs.h <<_ACEOF
55696 #define HAVE__SQRTF 1
55697 _ACEOF
55700 done
55709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55710 $as_echo_n "checking for sincosf declaration... " >&6; }
55711 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55712 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55713 $as_echo_n "(cached) " >&6
55714 else
55717 ac_ext=cpp
55718 ac_cpp='$CXXCPP $CPPFLAGS'
55719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55724 /* end confdefs.h. */
55725 #include <math.h>
55727 main ()
55729 sincosf(0, 0, 0);
55731 return 0;
55733 _ACEOF
55734 if ac_fn_cxx_try_compile "$LINENO"; then :
55735 glibcxx_cv_func_sincosf_use=yes
55736 else
55737 glibcxx_cv_func_sincosf_use=no
55739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55740 ac_ext=c
55741 ac_cpp='$CPP $CPPFLAGS'
55742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55751 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55753 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55754 for ac_func in sincosf
55755 do :
55756 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55757 if test "x$ac_cv_func_sincosf" = x""yes; then :
55758 cat >>confdefs.h <<_ACEOF
55759 #define HAVE_SINCOSF 1
55760 _ACEOF
55763 done
55765 else
55767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55768 $as_echo_n "checking for _sincosf declaration... " >&6; }
55769 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55770 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55771 $as_echo_n "(cached) " >&6
55772 else
55775 ac_ext=cpp
55776 ac_cpp='$CXXCPP $CPPFLAGS'
55777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55782 /* end confdefs.h. */
55783 #include <math.h>
55785 main ()
55787 _sincosf(0, 0, 0);
55789 return 0;
55791 _ACEOF
55792 if ac_fn_cxx_try_compile "$LINENO"; then :
55793 glibcxx_cv_func__sincosf_use=yes
55794 else
55795 glibcxx_cv_func__sincosf_use=no
55797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55798 ac_ext=c
55799 ac_cpp='$CPP $CPPFLAGS'
55800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55809 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55811 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55812 for ac_func in _sincosf
55813 do :
55814 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55815 if test "x$ac_cv_func__sincosf" = x""yes; then :
55816 cat >>confdefs.h <<_ACEOF
55817 #define HAVE__SINCOSF 1
55818 _ACEOF
55821 done
55830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55831 $as_echo_n "checking for finitef declaration... " >&6; }
55832 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55833 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55834 $as_echo_n "(cached) " >&6
55835 else
55838 ac_ext=cpp
55839 ac_cpp='$CXXCPP $CPPFLAGS'
55840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55845 /* end confdefs.h. */
55846 #include <math.h>
55847 #ifdef HAVE_IEEEFP_H
55848 #include <ieeefp.h>
55849 #endif
55852 main ()
55854 finitef(0);
55856 return 0;
55858 _ACEOF
55859 if ac_fn_cxx_try_compile "$LINENO"; then :
55860 glibcxx_cv_func_finitef_use=yes
55861 else
55862 glibcxx_cv_func_finitef_use=no
55864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55865 ac_ext=c
55866 ac_cpp='$CPP $CPPFLAGS'
55867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55876 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55878 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55879 for ac_func in finitef
55880 do :
55881 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55882 if test "x$ac_cv_func_finitef" = x""yes; then :
55883 cat >>confdefs.h <<_ACEOF
55884 #define HAVE_FINITEF 1
55885 _ACEOF
55888 done
55890 else
55892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55893 $as_echo_n "checking for _finitef declaration... " >&6; }
55894 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55895 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55896 $as_echo_n "(cached) " >&6
55897 else
55900 ac_ext=cpp
55901 ac_cpp='$CXXCPP $CPPFLAGS'
55902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55907 /* end confdefs.h. */
55908 #include <math.h>
55909 #ifdef HAVE_IEEEFP_H
55910 #include <ieeefp.h>
55911 #endif
55914 main ()
55916 _finitef(0);
55918 return 0;
55920 _ACEOF
55921 if ac_fn_cxx_try_compile "$LINENO"; then :
55922 glibcxx_cv_func__finitef_use=yes
55923 else
55924 glibcxx_cv_func__finitef_use=no
55926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55927 ac_ext=c
55928 ac_cpp='$CPP $CPPFLAGS'
55929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55938 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55940 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55941 for ac_func in _finitef
55942 do :
55943 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55944 if test "x$ac_cv_func__finitef" = x""yes; then :
55945 cat >>confdefs.h <<_ACEOF
55946 #define HAVE__FINITEF 1
55947 _ACEOF
55950 done
55959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55960 $as_echo_n "checking for long double trig functions... " >&6; }
55961 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55962 $as_echo_n "(cached) " >&6
55963 else
55966 ac_ext=cpp
55967 ac_cpp='$CXXCPP $CPPFLAGS'
55968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55973 /* end confdefs.h. */
55974 #include <math.h>
55976 main ()
55978 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55980 return 0;
55982 _ACEOF
55983 if ac_fn_cxx_try_compile "$LINENO"; then :
55984 glibcxx_cv_func_long_double_trig_use=yes
55985 else
55986 glibcxx_cv_func_long_double_trig_use=no
55988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55989 ac_ext=c
55990 ac_cpp='$CPP $CPPFLAGS'
55991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55998 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55999 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56000 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56001 do :
56002 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56003 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56004 eval as_val=\$$as_ac_var
56005 if test "x$as_val" = x""yes; then :
56006 cat >>confdefs.h <<_ACEOF
56007 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56008 _ACEOF
56011 done
56013 else
56014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56015 $as_echo_n "checking for _long double trig functions... " >&6; }
56016 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56017 $as_echo_n "(cached) " >&6
56018 else
56021 ac_ext=cpp
56022 ac_cpp='$CXXCPP $CPPFLAGS'
56023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56028 /* end confdefs.h. */
56029 #include <math.h>
56031 main ()
56033 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56035 return 0;
56037 _ACEOF
56038 if ac_fn_cxx_try_compile "$LINENO"; then :
56039 glibcxx_cv_func__long_double_trig_use=yes
56040 else
56041 glibcxx_cv_func__long_double_trig_use=no
56043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56044 ac_ext=c
56045 ac_cpp='$CPP $CPPFLAGS'
56046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56053 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56054 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56055 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56056 do :
56057 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56058 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56059 eval as_val=\$$as_ac_var
56060 if test "x$as_val" = x""yes; then :
56061 cat >>confdefs.h <<_ACEOF
56062 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56063 _ACEOF
56066 done
56075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56076 $as_echo_n "checking for long double round functions... " >&6; }
56077 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56078 $as_echo_n "(cached) " >&6
56079 else
56082 ac_ext=cpp
56083 ac_cpp='$CXXCPP $CPPFLAGS'
56084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56089 /* end confdefs.h. */
56090 #include <math.h>
56092 main ()
56094 ceill (0); floorl (0);
56096 return 0;
56098 _ACEOF
56099 if ac_fn_cxx_try_compile "$LINENO"; then :
56100 glibcxx_cv_func_long_double_round_use=yes
56101 else
56102 glibcxx_cv_func_long_double_round_use=no
56104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56105 ac_ext=c
56106 ac_cpp='$CPP $CPPFLAGS'
56107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56114 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56115 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56116 for ac_func in ceill floorl
56117 do :
56118 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56119 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56120 eval as_val=\$$as_ac_var
56121 if test "x$as_val" = x""yes; then :
56122 cat >>confdefs.h <<_ACEOF
56123 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56124 _ACEOF
56127 done
56129 else
56130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56131 $as_echo_n "checking for _long double round functions... " >&6; }
56132 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56133 $as_echo_n "(cached) " >&6
56134 else
56137 ac_ext=cpp
56138 ac_cpp='$CXXCPP $CPPFLAGS'
56139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56144 /* end confdefs.h. */
56145 #include <math.h>
56147 main ()
56149 _ceill (0); _floorl (0);
56151 return 0;
56153 _ACEOF
56154 if ac_fn_cxx_try_compile "$LINENO"; then :
56155 glibcxx_cv_func__long_double_round_use=yes
56156 else
56157 glibcxx_cv_func__long_double_round_use=no
56159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56160 ac_ext=c
56161 ac_cpp='$CPP $CPPFLAGS'
56162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56169 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56170 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56171 for ac_func in _ceill _floorl
56172 do :
56173 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56174 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56175 eval as_val=\$$as_ac_var
56176 if test "x$as_val" = x""yes; then :
56177 cat >>confdefs.h <<_ACEOF
56178 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56179 _ACEOF
56182 done
56192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56193 $as_echo_n "checking for isnanl declaration... " >&6; }
56194 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56195 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56196 $as_echo_n "(cached) " >&6
56197 else
56200 ac_ext=cpp
56201 ac_cpp='$CXXCPP $CPPFLAGS'
56202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56207 /* end confdefs.h. */
56208 #include <math.h>
56209 #ifdef HAVE_IEEEFP_H
56210 #include <ieeefp.h>
56211 #endif
56214 main ()
56216 isnanl(0);
56218 return 0;
56220 _ACEOF
56221 if ac_fn_cxx_try_compile "$LINENO"; then :
56222 glibcxx_cv_func_isnanl_use=yes
56223 else
56224 glibcxx_cv_func_isnanl_use=no
56226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56227 ac_ext=c
56228 ac_cpp='$CPP $CPPFLAGS'
56229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56238 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56240 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56241 for ac_func in isnanl
56242 do :
56243 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56244 if test "x$ac_cv_func_isnanl" = x""yes; then :
56245 cat >>confdefs.h <<_ACEOF
56246 #define HAVE_ISNANL 1
56247 _ACEOF
56250 done
56252 else
56254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56255 $as_echo_n "checking for _isnanl declaration... " >&6; }
56256 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56257 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56258 $as_echo_n "(cached) " >&6
56259 else
56262 ac_ext=cpp
56263 ac_cpp='$CXXCPP $CPPFLAGS'
56264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56269 /* end confdefs.h. */
56270 #include <math.h>
56271 #ifdef HAVE_IEEEFP_H
56272 #include <ieeefp.h>
56273 #endif
56276 main ()
56278 _isnanl(0);
56280 return 0;
56282 _ACEOF
56283 if ac_fn_cxx_try_compile "$LINENO"; then :
56284 glibcxx_cv_func__isnanl_use=yes
56285 else
56286 glibcxx_cv_func__isnanl_use=no
56288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56289 ac_ext=c
56290 ac_cpp='$CPP $CPPFLAGS'
56291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56300 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56302 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56303 for ac_func in _isnanl
56304 do :
56305 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56306 if test "x$ac_cv_func__isnanl" = x""yes; then :
56307 cat >>confdefs.h <<_ACEOF
56308 #define HAVE__ISNANL 1
56309 _ACEOF
56312 done
56321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56322 $as_echo_n "checking for isinfl declaration... " >&6; }
56323 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56324 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56325 $as_echo_n "(cached) " >&6
56326 else
56329 ac_ext=cpp
56330 ac_cpp='$CXXCPP $CPPFLAGS'
56331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56336 /* end confdefs.h. */
56337 #include <math.h>
56338 #ifdef HAVE_IEEEFP_H
56339 #include <ieeefp.h>
56340 #endif
56343 main ()
56345 isinfl(0);
56347 return 0;
56349 _ACEOF
56350 if ac_fn_cxx_try_compile "$LINENO"; then :
56351 glibcxx_cv_func_isinfl_use=yes
56352 else
56353 glibcxx_cv_func_isinfl_use=no
56355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56356 ac_ext=c
56357 ac_cpp='$CPP $CPPFLAGS'
56358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56367 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56369 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56370 for ac_func in isinfl
56371 do :
56372 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56373 if test "x$ac_cv_func_isinfl" = x""yes; then :
56374 cat >>confdefs.h <<_ACEOF
56375 #define HAVE_ISINFL 1
56376 _ACEOF
56379 done
56381 else
56383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56384 $as_echo_n "checking for _isinfl declaration... " >&6; }
56385 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56386 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56387 $as_echo_n "(cached) " >&6
56388 else
56391 ac_ext=cpp
56392 ac_cpp='$CXXCPP $CPPFLAGS'
56393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56398 /* end confdefs.h. */
56399 #include <math.h>
56400 #ifdef HAVE_IEEEFP_H
56401 #include <ieeefp.h>
56402 #endif
56405 main ()
56407 _isinfl(0);
56409 return 0;
56411 _ACEOF
56412 if ac_fn_cxx_try_compile "$LINENO"; then :
56413 glibcxx_cv_func__isinfl_use=yes
56414 else
56415 glibcxx_cv_func__isinfl_use=no
56417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56418 ac_ext=c
56419 ac_cpp='$CPP $CPPFLAGS'
56420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56429 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56431 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56432 for ac_func in _isinfl
56433 do :
56434 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56435 if test "x$ac_cv_func__isinfl" = x""yes; then :
56436 cat >>confdefs.h <<_ACEOF
56437 #define HAVE__ISINFL 1
56438 _ACEOF
56441 done
56450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56451 $as_echo_n "checking for atan2l declaration... " >&6; }
56452 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56453 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56454 $as_echo_n "(cached) " >&6
56455 else
56458 ac_ext=cpp
56459 ac_cpp='$CXXCPP $CPPFLAGS'
56460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56465 /* end confdefs.h. */
56466 #include <math.h>
56468 main ()
56470 atan2l(0, 0);
56472 return 0;
56474 _ACEOF
56475 if ac_fn_cxx_try_compile "$LINENO"; then :
56476 glibcxx_cv_func_atan2l_use=yes
56477 else
56478 glibcxx_cv_func_atan2l_use=no
56480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56481 ac_ext=c
56482 ac_cpp='$CPP $CPPFLAGS'
56483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56492 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56494 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56495 for ac_func in atan2l
56496 do :
56497 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56498 if test "x$ac_cv_func_atan2l" = x""yes; then :
56499 cat >>confdefs.h <<_ACEOF
56500 #define HAVE_ATAN2L 1
56501 _ACEOF
56504 done
56506 else
56508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56509 $as_echo_n "checking for _atan2l declaration... " >&6; }
56510 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56511 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56512 $as_echo_n "(cached) " >&6
56513 else
56516 ac_ext=cpp
56517 ac_cpp='$CXXCPP $CPPFLAGS'
56518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56523 /* end confdefs.h. */
56524 #include <math.h>
56526 main ()
56528 _atan2l(0, 0);
56530 return 0;
56532 _ACEOF
56533 if ac_fn_cxx_try_compile "$LINENO"; then :
56534 glibcxx_cv_func__atan2l_use=yes
56535 else
56536 glibcxx_cv_func__atan2l_use=no
56538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56539 ac_ext=c
56540 ac_cpp='$CPP $CPPFLAGS'
56541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56550 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56552 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56553 for ac_func in _atan2l
56554 do :
56555 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56556 if test "x$ac_cv_func__atan2l" = x""yes; then :
56557 cat >>confdefs.h <<_ACEOF
56558 #define HAVE__ATAN2L 1
56559 _ACEOF
56562 done
56571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56572 $as_echo_n "checking for expl declaration... " >&6; }
56573 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56574 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56575 $as_echo_n "(cached) " >&6
56576 else
56579 ac_ext=cpp
56580 ac_cpp='$CXXCPP $CPPFLAGS'
56581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56586 /* end confdefs.h. */
56587 #include <math.h>
56588 #ifdef HAVE_IEEEFP_H
56589 #include <ieeefp.h>
56590 #endif
56593 main ()
56595 expl(0);
56597 return 0;
56599 _ACEOF
56600 if ac_fn_cxx_try_compile "$LINENO"; then :
56601 glibcxx_cv_func_expl_use=yes
56602 else
56603 glibcxx_cv_func_expl_use=no
56605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56606 ac_ext=c
56607 ac_cpp='$CPP $CPPFLAGS'
56608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56617 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56619 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56620 for ac_func in expl
56621 do :
56622 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56623 if test "x$ac_cv_func_expl" = x""yes; then :
56624 cat >>confdefs.h <<_ACEOF
56625 #define HAVE_EXPL 1
56626 _ACEOF
56629 done
56631 else
56633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56634 $as_echo_n "checking for _expl declaration... " >&6; }
56635 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56636 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56637 $as_echo_n "(cached) " >&6
56638 else
56641 ac_ext=cpp
56642 ac_cpp='$CXXCPP $CPPFLAGS'
56643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56648 /* end confdefs.h. */
56649 #include <math.h>
56650 #ifdef HAVE_IEEEFP_H
56651 #include <ieeefp.h>
56652 #endif
56655 main ()
56657 _expl(0);
56659 return 0;
56661 _ACEOF
56662 if ac_fn_cxx_try_compile "$LINENO"; then :
56663 glibcxx_cv_func__expl_use=yes
56664 else
56665 glibcxx_cv_func__expl_use=no
56667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56668 ac_ext=c
56669 ac_cpp='$CPP $CPPFLAGS'
56670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56679 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56681 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56682 for ac_func in _expl
56683 do :
56684 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56685 if test "x$ac_cv_func__expl" = x""yes; then :
56686 cat >>confdefs.h <<_ACEOF
56687 #define HAVE__EXPL 1
56688 _ACEOF
56691 done
56700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56701 $as_echo_n "checking for fabsl declaration... " >&6; }
56702 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56703 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56704 $as_echo_n "(cached) " >&6
56705 else
56708 ac_ext=cpp
56709 ac_cpp='$CXXCPP $CPPFLAGS'
56710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56715 /* end confdefs.h. */
56716 #include <math.h>
56717 #ifdef HAVE_IEEEFP_H
56718 #include <ieeefp.h>
56719 #endif
56722 main ()
56724 fabsl(0);
56726 return 0;
56728 _ACEOF
56729 if ac_fn_cxx_try_compile "$LINENO"; then :
56730 glibcxx_cv_func_fabsl_use=yes
56731 else
56732 glibcxx_cv_func_fabsl_use=no
56734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56735 ac_ext=c
56736 ac_cpp='$CPP $CPPFLAGS'
56737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56746 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56748 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56749 for ac_func in fabsl
56750 do :
56751 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56752 if test "x$ac_cv_func_fabsl" = x""yes; then :
56753 cat >>confdefs.h <<_ACEOF
56754 #define HAVE_FABSL 1
56755 _ACEOF
56758 done
56760 else
56762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56763 $as_echo_n "checking for _fabsl declaration... " >&6; }
56764 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56765 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56766 $as_echo_n "(cached) " >&6
56767 else
56770 ac_ext=cpp
56771 ac_cpp='$CXXCPP $CPPFLAGS'
56772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56777 /* end confdefs.h. */
56778 #include <math.h>
56779 #ifdef HAVE_IEEEFP_H
56780 #include <ieeefp.h>
56781 #endif
56784 main ()
56786 _fabsl(0);
56788 return 0;
56790 _ACEOF
56791 if ac_fn_cxx_try_compile "$LINENO"; then :
56792 glibcxx_cv_func__fabsl_use=yes
56793 else
56794 glibcxx_cv_func__fabsl_use=no
56796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56797 ac_ext=c
56798 ac_cpp='$CPP $CPPFLAGS'
56799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56808 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56810 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56811 for ac_func in _fabsl
56812 do :
56813 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56814 if test "x$ac_cv_func__fabsl" = x""yes; then :
56815 cat >>confdefs.h <<_ACEOF
56816 #define HAVE__FABSL 1
56817 _ACEOF
56820 done
56829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56830 $as_echo_n "checking for fmodl declaration... " >&6; }
56831 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56832 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56833 $as_echo_n "(cached) " >&6
56834 else
56837 ac_ext=cpp
56838 ac_cpp='$CXXCPP $CPPFLAGS'
56839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56844 /* end confdefs.h. */
56845 #include <math.h>
56847 main ()
56849 fmodl(0, 0);
56851 return 0;
56853 _ACEOF
56854 if ac_fn_cxx_try_compile "$LINENO"; then :
56855 glibcxx_cv_func_fmodl_use=yes
56856 else
56857 glibcxx_cv_func_fmodl_use=no
56859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56860 ac_ext=c
56861 ac_cpp='$CPP $CPPFLAGS'
56862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56871 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56873 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56874 for ac_func in fmodl
56875 do :
56876 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56877 if test "x$ac_cv_func_fmodl" = x""yes; then :
56878 cat >>confdefs.h <<_ACEOF
56879 #define HAVE_FMODL 1
56880 _ACEOF
56883 done
56885 else
56887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56888 $as_echo_n "checking for _fmodl declaration... " >&6; }
56889 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56890 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56891 $as_echo_n "(cached) " >&6
56892 else
56895 ac_ext=cpp
56896 ac_cpp='$CXXCPP $CPPFLAGS'
56897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56902 /* end confdefs.h. */
56903 #include <math.h>
56905 main ()
56907 _fmodl(0, 0);
56909 return 0;
56911 _ACEOF
56912 if ac_fn_cxx_try_compile "$LINENO"; then :
56913 glibcxx_cv_func__fmodl_use=yes
56914 else
56915 glibcxx_cv_func__fmodl_use=no
56917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56918 ac_ext=c
56919 ac_cpp='$CPP $CPPFLAGS'
56920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56929 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56931 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56932 for ac_func in _fmodl
56933 do :
56934 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56935 if test "x$ac_cv_func__fmodl" = x""yes; then :
56936 cat >>confdefs.h <<_ACEOF
56937 #define HAVE__FMODL 1
56938 _ACEOF
56941 done
56950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56951 $as_echo_n "checking for frexpl declaration... " >&6; }
56952 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56953 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56954 $as_echo_n "(cached) " >&6
56955 else
56958 ac_ext=cpp
56959 ac_cpp='$CXXCPP $CPPFLAGS'
56960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56965 /* end confdefs.h. */
56966 #include <math.h>
56968 main ()
56970 frexpl(0, 0);
56972 return 0;
56974 _ACEOF
56975 if ac_fn_cxx_try_compile "$LINENO"; then :
56976 glibcxx_cv_func_frexpl_use=yes
56977 else
56978 glibcxx_cv_func_frexpl_use=no
56980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56981 ac_ext=c
56982 ac_cpp='$CPP $CPPFLAGS'
56983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56992 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56994 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56995 for ac_func in frexpl
56996 do :
56997 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56998 if test "x$ac_cv_func_frexpl" = x""yes; then :
56999 cat >>confdefs.h <<_ACEOF
57000 #define HAVE_FREXPL 1
57001 _ACEOF
57004 done
57006 else
57008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57009 $as_echo_n "checking for _frexpl declaration... " >&6; }
57010 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57011 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57012 $as_echo_n "(cached) " >&6
57013 else
57016 ac_ext=cpp
57017 ac_cpp='$CXXCPP $CPPFLAGS'
57018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57023 /* end confdefs.h. */
57024 #include <math.h>
57026 main ()
57028 _frexpl(0, 0);
57030 return 0;
57032 _ACEOF
57033 if ac_fn_cxx_try_compile "$LINENO"; then :
57034 glibcxx_cv_func__frexpl_use=yes
57035 else
57036 glibcxx_cv_func__frexpl_use=no
57038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57039 ac_ext=c
57040 ac_cpp='$CPP $CPPFLAGS'
57041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57050 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57052 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57053 for ac_func in _frexpl
57054 do :
57055 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57056 if test "x$ac_cv_func__frexpl" = x""yes; then :
57057 cat >>confdefs.h <<_ACEOF
57058 #define HAVE__FREXPL 1
57059 _ACEOF
57062 done
57071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57072 $as_echo_n "checking for hypotl declaration... " >&6; }
57073 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57074 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57075 $as_echo_n "(cached) " >&6
57076 else
57079 ac_ext=cpp
57080 ac_cpp='$CXXCPP $CPPFLAGS'
57081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57086 /* end confdefs.h. */
57087 #include <math.h>
57089 main ()
57091 hypotl(0, 0);
57093 return 0;
57095 _ACEOF
57096 if ac_fn_cxx_try_compile "$LINENO"; then :
57097 glibcxx_cv_func_hypotl_use=yes
57098 else
57099 glibcxx_cv_func_hypotl_use=no
57101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57102 ac_ext=c
57103 ac_cpp='$CPP $CPPFLAGS'
57104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57113 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57115 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57116 for ac_func in hypotl
57117 do :
57118 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57119 if test "x$ac_cv_func_hypotl" = x""yes; then :
57120 cat >>confdefs.h <<_ACEOF
57121 #define HAVE_HYPOTL 1
57122 _ACEOF
57125 done
57127 else
57129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57130 $as_echo_n "checking for _hypotl declaration... " >&6; }
57131 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57132 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57133 $as_echo_n "(cached) " >&6
57134 else
57137 ac_ext=cpp
57138 ac_cpp='$CXXCPP $CPPFLAGS'
57139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57144 /* end confdefs.h. */
57145 #include <math.h>
57147 main ()
57149 _hypotl(0, 0);
57151 return 0;
57153 _ACEOF
57154 if ac_fn_cxx_try_compile "$LINENO"; then :
57155 glibcxx_cv_func__hypotl_use=yes
57156 else
57157 glibcxx_cv_func__hypotl_use=no
57159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57160 ac_ext=c
57161 ac_cpp='$CPP $CPPFLAGS'
57162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57171 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57173 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57174 for ac_func in _hypotl
57175 do :
57176 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57177 if test "x$ac_cv_func__hypotl" = x""yes; then :
57178 cat >>confdefs.h <<_ACEOF
57179 #define HAVE__HYPOTL 1
57180 _ACEOF
57183 done
57192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57193 $as_echo_n "checking for ldexpl declaration... " >&6; }
57194 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57195 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57196 $as_echo_n "(cached) " >&6
57197 else
57200 ac_ext=cpp
57201 ac_cpp='$CXXCPP $CPPFLAGS'
57202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57207 /* end confdefs.h. */
57208 #include <math.h>
57210 main ()
57212 ldexpl(0, 0);
57214 return 0;
57216 _ACEOF
57217 if ac_fn_cxx_try_compile "$LINENO"; then :
57218 glibcxx_cv_func_ldexpl_use=yes
57219 else
57220 glibcxx_cv_func_ldexpl_use=no
57222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57223 ac_ext=c
57224 ac_cpp='$CPP $CPPFLAGS'
57225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57234 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57236 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57237 for ac_func in ldexpl
57238 do :
57239 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57240 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57241 cat >>confdefs.h <<_ACEOF
57242 #define HAVE_LDEXPL 1
57243 _ACEOF
57246 done
57248 else
57250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57251 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57252 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57253 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57254 $as_echo_n "(cached) " >&6
57255 else
57258 ac_ext=cpp
57259 ac_cpp='$CXXCPP $CPPFLAGS'
57260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57265 /* end confdefs.h. */
57266 #include <math.h>
57268 main ()
57270 _ldexpl(0, 0);
57272 return 0;
57274 _ACEOF
57275 if ac_fn_cxx_try_compile "$LINENO"; then :
57276 glibcxx_cv_func__ldexpl_use=yes
57277 else
57278 glibcxx_cv_func__ldexpl_use=no
57280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57281 ac_ext=c
57282 ac_cpp='$CPP $CPPFLAGS'
57283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57292 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57294 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57295 for ac_func in _ldexpl
57296 do :
57297 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57298 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57299 cat >>confdefs.h <<_ACEOF
57300 #define HAVE__LDEXPL 1
57301 _ACEOF
57304 done
57313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57314 $as_echo_n "checking for logl declaration... " >&6; }
57315 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57316 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57317 $as_echo_n "(cached) " >&6
57318 else
57321 ac_ext=cpp
57322 ac_cpp='$CXXCPP $CPPFLAGS'
57323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57328 /* end confdefs.h. */
57329 #include <math.h>
57330 #ifdef HAVE_IEEEFP_H
57331 #include <ieeefp.h>
57332 #endif
57335 main ()
57337 logl(0);
57339 return 0;
57341 _ACEOF
57342 if ac_fn_cxx_try_compile "$LINENO"; then :
57343 glibcxx_cv_func_logl_use=yes
57344 else
57345 glibcxx_cv_func_logl_use=no
57347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57348 ac_ext=c
57349 ac_cpp='$CPP $CPPFLAGS'
57350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57359 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57361 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57362 for ac_func in logl
57363 do :
57364 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57365 if test "x$ac_cv_func_logl" = x""yes; then :
57366 cat >>confdefs.h <<_ACEOF
57367 #define HAVE_LOGL 1
57368 _ACEOF
57371 done
57373 else
57375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57376 $as_echo_n "checking for _logl declaration... " >&6; }
57377 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57378 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57379 $as_echo_n "(cached) " >&6
57380 else
57383 ac_ext=cpp
57384 ac_cpp='$CXXCPP $CPPFLAGS'
57385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57390 /* end confdefs.h. */
57391 #include <math.h>
57392 #ifdef HAVE_IEEEFP_H
57393 #include <ieeefp.h>
57394 #endif
57397 main ()
57399 _logl(0);
57401 return 0;
57403 _ACEOF
57404 if ac_fn_cxx_try_compile "$LINENO"; then :
57405 glibcxx_cv_func__logl_use=yes
57406 else
57407 glibcxx_cv_func__logl_use=no
57409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57410 ac_ext=c
57411 ac_cpp='$CPP $CPPFLAGS'
57412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57421 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57423 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57424 for ac_func in _logl
57425 do :
57426 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57427 if test "x$ac_cv_func__logl" = x""yes; then :
57428 cat >>confdefs.h <<_ACEOF
57429 #define HAVE__LOGL 1
57430 _ACEOF
57433 done
57442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57443 $as_echo_n "checking for log10l declaration... " >&6; }
57444 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57445 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57446 $as_echo_n "(cached) " >&6
57447 else
57450 ac_ext=cpp
57451 ac_cpp='$CXXCPP $CPPFLAGS'
57452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57457 /* end confdefs.h. */
57458 #include <math.h>
57459 #ifdef HAVE_IEEEFP_H
57460 #include <ieeefp.h>
57461 #endif
57464 main ()
57466 log10l(0);
57468 return 0;
57470 _ACEOF
57471 if ac_fn_cxx_try_compile "$LINENO"; then :
57472 glibcxx_cv_func_log10l_use=yes
57473 else
57474 glibcxx_cv_func_log10l_use=no
57476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57477 ac_ext=c
57478 ac_cpp='$CPP $CPPFLAGS'
57479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57488 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57490 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57491 for ac_func in log10l
57492 do :
57493 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57494 if test "x$ac_cv_func_log10l" = x""yes; then :
57495 cat >>confdefs.h <<_ACEOF
57496 #define HAVE_LOG10L 1
57497 _ACEOF
57500 done
57502 else
57504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57505 $as_echo_n "checking for _log10l declaration... " >&6; }
57506 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57507 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57508 $as_echo_n "(cached) " >&6
57509 else
57512 ac_ext=cpp
57513 ac_cpp='$CXXCPP $CPPFLAGS'
57514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57519 /* end confdefs.h. */
57520 #include <math.h>
57521 #ifdef HAVE_IEEEFP_H
57522 #include <ieeefp.h>
57523 #endif
57526 main ()
57528 _log10l(0);
57530 return 0;
57532 _ACEOF
57533 if ac_fn_cxx_try_compile "$LINENO"; then :
57534 glibcxx_cv_func__log10l_use=yes
57535 else
57536 glibcxx_cv_func__log10l_use=no
57538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57539 ac_ext=c
57540 ac_cpp='$CPP $CPPFLAGS'
57541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57550 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57552 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57553 for ac_func in _log10l
57554 do :
57555 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57556 if test "x$ac_cv_func__log10l" = x""yes; then :
57557 cat >>confdefs.h <<_ACEOF
57558 #define HAVE__LOG10L 1
57559 _ACEOF
57562 done
57571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57572 $as_echo_n "checking for modfl declaration... " >&6; }
57573 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57574 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57575 $as_echo_n "(cached) " >&6
57576 else
57579 ac_ext=cpp
57580 ac_cpp='$CXXCPP $CPPFLAGS'
57581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57586 /* end confdefs.h. */
57587 #include <math.h>
57589 main ()
57591 modfl(0, 0);
57593 return 0;
57595 _ACEOF
57596 if ac_fn_cxx_try_compile "$LINENO"; then :
57597 glibcxx_cv_func_modfl_use=yes
57598 else
57599 glibcxx_cv_func_modfl_use=no
57601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57602 ac_ext=c
57603 ac_cpp='$CPP $CPPFLAGS'
57604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57613 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57615 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57616 for ac_func in modfl
57617 do :
57618 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57619 if test "x$ac_cv_func_modfl" = x""yes; then :
57620 cat >>confdefs.h <<_ACEOF
57621 #define HAVE_MODFL 1
57622 _ACEOF
57625 done
57627 else
57629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57630 $as_echo_n "checking for _modfl declaration... " >&6; }
57631 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57632 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57633 $as_echo_n "(cached) " >&6
57634 else
57637 ac_ext=cpp
57638 ac_cpp='$CXXCPP $CPPFLAGS'
57639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57644 /* end confdefs.h. */
57645 #include <math.h>
57647 main ()
57649 _modfl(0, 0);
57651 return 0;
57653 _ACEOF
57654 if ac_fn_cxx_try_compile "$LINENO"; then :
57655 glibcxx_cv_func__modfl_use=yes
57656 else
57657 glibcxx_cv_func__modfl_use=no
57659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57660 ac_ext=c
57661 ac_cpp='$CPP $CPPFLAGS'
57662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57671 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57673 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57674 for ac_func in _modfl
57675 do :
57676 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57677 if test "x$ac_cv_func__modfl" = x""yes; then :
57678 cat >>confdefs.h <<_ACEOF
57679 #define HAVE__MODFL 1
57680 _ACEOF
57683 done
57692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57693 $as_echo_n "checking for powl declaration... " >&6; }
57694 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57695 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57696 $as_echo_n "(cached) " >&6
57697 else
57700 ac_ext=cpp
57701 ac_cpp='$CXXCPP $CPPFLAGS'
57702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57707 /* end confdefs.h. */
57708 #include <math.h>
57710 main ()
57712 powl(0, 0);
57714 return 0;
57716 _ACEOF
57717 if ac_fn_cxx_try_compile "$LINENO"; then :
57718 glibcxx_cv_func_powl_use=yes
57719 else
57720 glibcxx_cv_func_powl_use=no
57722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57723 ac_ext=c
57724 ac_cpp='$CPP $CPPFLAGS'
57725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57734 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57736 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57737 for ac_func in powl
57738 do :
57739 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57740 if test "x$ac_cv_func_powl" = x""yes; then :
57741 cat >>confdefs.h <<_ACEOF
57742 #define HAVE_POWL 1
57743 _ACEOF
57746 done
57748 else
57750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57751 $as_echo_n "checking for _powl declaration... " >&6; }
57752 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57753 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57754 $as_echo_n "(cached) " >&6
57755 else
57758 ac_ext=cpp
57759 ac_cpp='$CXXCPP $CPPFLAGS'
57760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57765 /* end confdefs.h. */
57766 #include <math.h>
57768 main ()
57770 _powl(0, 0);
57772 return 0;
57774 _ACEOF
57775 if ac_fn_cxx_try_compile "$LINENO"; then :
57776 glibcxx_cv_func__powl_use=yes
57777 else
57778 glibcxx_cv_func__powl_use=no
57780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57781 ac_ext=c
57782 ac_cpp='$CPP $CPPFLAGS'
57783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57792 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57794 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57795 for ac_func in _powl
57796 do :
57797 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57798 if test "x$ac_cv_func__powl" = x""yes; then :
57799 cat >>confdefs.h <<_ACEOF
57800 #define HAVE__POWL 1
57801 _ACEOF
57804 done
57813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57814 $as_echo_n "checking for sqrtl declaration... " >&6; }
57815 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57816 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57817 $as_echo_n "(cached) " >&6
57818 else
57821 ac_ext=cpp
57822 ac_cpp='$CXXCPP $CPPFLAGS'
57823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57828 /* end confdefs.h. */
57829 #include <math.h>
57830 #ifdef HAVE_IEEEFP_H
57831 #include <ieeefp.h>
57832 #endif
57835 main ()
57837 sqrtl(0);
57839 return 0;
57841 _ACEOF
57842 if ac_fn_cxx_try_compile "$LINENO"; then :
57843 glibcxx_cv_func_sqrtl_use=yes
57844 else
57845 glibcxx_cv_func_sqrtl_use=no
57847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57848 ac_ext=c
57849 ac_cpp='$CPP $CPPFLAGS'
57850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57859 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57861 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57862 for ac_func in sqrtl
57863 do :
57864 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57865 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57866 cat >>confdefs.h <<_ACEOF
57867 #define HAVE_SQRTL 1
57868 _ACEOF
57871 done
57873 else
57875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57876 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57877 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57878 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57879 $as_echo_n "(cached) " >&6
57880 else
57883 ac_ext=cpp
57884 ac_cpp='$CXXCPP $CPPFLAGS'
57885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57890 /* end confdefs.h. */
57891 #include <math.h>
57892 #ifdef HAVE_IEEEFP_H
57893 #include <ieeefp.h>
57894 #endif
57897 main ()
57899 _sqrtl(0);
57901 return 0;
57903 _ACEOF
57904 if ac_fn_cxx_try_compile "$LINENO"; then :
57905 glibcxx_cv_func__sqrtl_use=yes
57906 else
57907 glibcxx_cv_func__sqrtl_use=no
57909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57910 ac_ext=c
57911 ac_cpp='$CPP $CPPFLAGS'
57912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57921 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57923 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57924 for ac_func in _sqrtl
57925 do :
57926 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57927 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57928 cat >>confdefs.h <<_ACEOF
57929 #define HAVE__SQRTL 1
57930 _ACEOF
57933 done
57942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57943 $as_echo_n "checking for sincosl declaration... " >&6; }
57944 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57945 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57946 $as_echo_n "(cached) " >&6
57947 else
57950 ac_ext=cpp
57951 ac_cpp='$CXXCPP $CPPFLAGS'
57952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57957 /* end confdefs.h. */
57958 #include <math.h>
57960 main ()
57962 sincosl(0, 0, 0);
57964 return 0;
57966 _ACEOF
57967 if ac_fn_cxx_try_compile "$LINENO"; then :
57968 glibcxx_cv_func_sincosl_use=yes
57969 else
57970 glibcxx_cv_func_sincosl_use=no
57972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57973 ac_ext=c
57974 ac_cpp='$CPP $CPPFLAGS'
57975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57984 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57986 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57987 for ac_func in sincosl
57988 do :
57989 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57990 if test "x$ac_cv_func_sincosl" = x""yes; then :
57991 cat >>confdefs.h <<_ACEOF
57992 #define HAVE_SINCOSL 1
57993 _ACEOF
57996 done
57998 else
58000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58001 $as_echo_n "checking for _sincosl declaration... " >&6; }
58002 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58003 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58004 $as_echo_n "(cached) " >&6
58005 else
58008 ac_ext=cpp
58009 ac_cpp='$CXXCPP $CPPFLAGS'
58010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58015 /* end confdefs.h. */
58016 #include <math.h>
58018 main ()
58020 _sincosl(0, 0, 0);
58022 return 0;
58024 _ACEOF
58025 if ac_fn_cxx_try_compile "$LINENO"; then :
58026 glibcxx_cv_func__sincosl_use=yes
58027 else
58028 glibcxx_cv_func__sincosl_use=no
58030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58031 ac_ext=c
58032 ac_cpp='$CPP $CPPFLAGS'
58033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58042 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58044 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58045 for ac_func in _sincosl
58046 do :
58047 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58048 if test "x$ac_cv_func__sincosl" = x""yes; then :
58049 cat >>confdefs.h <<_ACEOF
58050 #define HAVE__SINCOSL 1
58051 _ACEOF
58054 done
58063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58064 $as_echo_n "checking for finitel declaration... " >&6; }
58065 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58066 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58067 $as_echo_n "(cached) " >&6
58068 else
58071 ac_ext=cpp
58072 ac_cpp='$CXXCPP $CPPFLAGS'
58073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58078 /* end confdefs.h. */
58079 #include <math.h>
58080 #ifdef HAVE_IEEEFP_H
58081 #include <ieeefp.h>
58082 #endif
58085 main ()
58087 finitel(0);
58089 return 0;
58091 _ACEOF
58092 if ac_fn_cxx_try_compile "$LINENO"; then :
58093 glibcxx_cv_func_finitel_use=yes
58094 else
58095 glibcxx_cv_func_finitel_use=no
58097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58098 ac_ext=c
58099 ac_cpp='$CPP $CPPFLAGS'
58100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58109 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58111 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58112 for ac_func in finitel
58113 do :
58114 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58115 if test "x$ac_cv_func_finitel" = x""yes; then :
58116 cat >>confdefs.h <<_ACEOF
58117 #define HAVE_FINITEL 1
58118 _ACEOF
58121 done
58123 else
58125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58126 $as_echo_n "checking for _finitel declaration... " >&6; }
58127 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58128 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58129 $as_echo_n "(cached) " >&6
58130 else
58133 ac_ext=cpp
58134 ac_cpp='$CXXCPP $CPPFLAGS'
58135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58140 /* end confdefs.h. */
58141 #include <math.h>
58142 #ifdef HAVE_IEEEFP_H
58143 #include <ieeefp.h>
58144 #endif
58147 main ()
58149 _finitel(0);
58151 return 0;
58153 _ACEOF
58154 if ac_fn_cxx_try_compile "$LINENO"; then :
58155 glibcxx_cv_func__finitel_use=yes
58156 else
58157 glibcxx_cv_func__finitel_use=no
58159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58160 ac_ext=c
58161 ac_cpp='$CPP $CPPFLAGS'
58162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58171 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58173 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58174 for ac_func in _finitel
58175 do :
58176 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58177 if test "x$ac_cv_func__finitel" = x""yes; then :
58178 cat >>confdefs.h <<_ACEOF
58179 #define HAVE__FINITEL 1
58180 _ACEOF
58183 done
58191 LIBS="$ac_save_LIBS"
58192 CXXFLAGS="$ac_save_CXXFLAGS"
58195 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58196 ac_save_CXXFLAGS="$CXXFLAGS"
58197 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58201 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58202 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58203 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58204 $as_echo_n "(cached) " >&6
58205 else
58208 ac_ext=cpp
58209 ac_cpp='$CXXCPP $CPPFLAGS'
58210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58215 /* end confdefs.h. */
58216 #include <stdlib.h>
58218 main ()
58220 at_quick_exit(0);
58222 return 0;
58224 _ACEOF
58225 if ac_fn_cxx_try_compile "$LINENO"; then :
58226 glibcxx_cv_func_at_quick_exit_use=yes
58227 else
58228 glibcxx_cv_func_at_quick_exit_use=no
58230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58231 ac_ext=c
58232 ac_cpp='$CPP $CPPFLAGS'
58233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58242 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58243 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58244 for ac_func in at_quick_exit
58245 do :
58246 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58247 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58248 cat >>confdefs.h <<_ACEOF
58249 #define HAVE_AT_QUICK_EXIT 1
58250 _ACEOF
58253 done
58258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58259 $as_echo_n "checking for quick_exit declaration... " >&6; }
58260 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58261 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58262 $as_echo_n "(cached) " >&6
58263 else
58266 ac_ext=cpp
58267 ac_cpp='$CXXCPP $CPPFLAGS'
58268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58273 /* end confdefs.h. */
58274 #include <stdlib.h>
58276 main ()
58278 quick_exit(0);
58280 return 0;
58282 _ACEOF
58283 if ac_fn_cxx_try_compile "$LINENO"; then :
58284 glibcxx_cv_func_quick_exit_use=yes
58285 else
58286 glibcxx_cv_func_quick_exit_use=no
58288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58289 ac_ext=c
58290 ac_cpp='$CPP $CPPFLAGS'
58291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58300 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58301 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58302 for ac_func in quick_exit
58303 do :
58304 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58305 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58306 cat >>confdefs.h <<_ACEOF
58307 #define HAVE_QUICK_EXIT 1
58308 _ACEOF
58311 done
58316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58317 $as_echo_n "checking for strtold declaration... " >&6; }
58318 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58319 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58320 $as_echo_n "(cached) " >&6
58321 else
58324 ac_ext=cpp
58325 ac_cpp='$CXXCPP $CPPFLAGS'
58326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58331 /* end confdefs.h. */
58332 #include <stdlib.h>
58334 main ()
58336 strtold(0, 0);
58338 return 0;
58340 _ACEOF
58341 if ac_fn_cxx_try_compile "$LINENO"; then :
58342 glibcxx_cv_func_strtold_use=yes
58343 else
58344 glibcxx_cv_func_strtold_use=no
58346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58347 ac_ext=c
58348 ac_cpp='$CPP $CPPFLAGS'
58349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58358 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58359 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58360 for ac_func in strtold
58361 do :
58362 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58363 if test "x$ac_cv_func_strtold" = x""yes; then :
58364 cat >>confdefs.h <<_ACEOF
58365 #define HAVE_STRTOLD 1
58366 _ACEOF
58369 done
58376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58377 $as_echo_n "checking for strtof declaration... " >&6; }
58378 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58379 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58380 $as_echo_n "(cached) " >&6
58381 else
58384 ac_ext=cpp
58385 ac_cpp='$CXXCPP $CPPFLAGS'
58386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58391 /* end confdefs.h. */
58392 #include <stdlib.h>
58394 main ()
58396 strtof(0, 0);
58398 return 0;
58400 _ACEOF
58401 if ac_fn_cxx_try_compile "$LINENO"; then :
58402 glibcxx_cv_func_strtof_use=yes
58403 else
58404 glibcxx_cv_func_strtof_use=no
58406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58407 ac_ext=c
58408 ac_cpp='$CPP $CPPFLAGS'
58409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58418 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58419 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58420 for ac_func in strtof
58421 do :
58422 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58423 if test "x$ac_cv_func_strtof" = x""yes; then :
58424 cat >>confdefs.h <<_ACEOF
58425 #define HAVE_STRTOF 1
58426 _ACEOF
58429 done
58436 CXXFLAGS="$ac_save_CXXFLAGS"
58439 *-netbsd*)
58440 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58443 # If we're not using GNU ld, then there's no point in even trying these
58444 # tests. Check for that first. We should have already tested for gld
58445 # by now (in libtool), but require it now just to be safe...
58446 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58447 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58451 # The name set by libtool depends on the version of libtool. Shame on us
58452 # for depending on an impl detail, but c'est la vie. Older versions used
58453 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58454 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58455 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58456 # set (hence we're using an older libtool), then set it.
58457 if test x${with_gnu_ld+set} != xset; then
58458 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58459 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58460 with_gnu_ld=no
58461 else
58462 with_gnu_ld=$ac_cv_prog_gnu_ld
58466 # Start by getting the version number. I think the libtool test already
58467 # does some of this, but throws away the result.
58468 glibcxx_ld_is_gold=no
58469 if test x"$with_gnu_ld" = x"yes"; then
58470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58471 $as_echo_n "checking for ld version... " >&6; }
58473 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58474 glibcxx_ld_is_gold=yes
58476 ldver=`$LD --version 2>/dev/null |
58477 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
58479 glibcxx_gnu_ld_version=`echo $ldver | \
58480 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58482 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58485 # Set --gc-sections.
58486 glibcxx_have_gc_sections=no
58487 if test "$glibcxx_ld_is_gold" = "yes"; then
58488 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58489 glibcxx_have_gc_sections=yes
58491 else
58492 glibcxx_gcsections_min_ld=21602
58493 if test x"$with_gnu_ld" = x"yes" &&
58494 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58495 glibcxx_have_gc_sections=yes
58498 if test "$glibcxx_have_gc_sections" = "yes"; then
58499 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58500 # NB: This flag only works reliably after 2.16.1. Configure tests
58501 # for this are difficult, so hard wire a value that should work.
58503 ac_test_CFLAGS="${CFLAGS+set}"
58504 ac_save_CFLAGS="$CFLAGS"
58505 CFLAGS='-Wl,--gc-sections'
58507 # Check for -Wl,--gc-sections
58508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58509 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58510 if test x$gcc_no_link = xyes; then
58511 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58514 /* end confdefs.h. */
58515 int one(void) { return 1; }
58516 int two(void) { return 2; }
58519 main ()
58521 two();
58523 return 0;
58525 _ACEOF
58526 if ac_fn_c_try_link "$LINENO"; then :
58527 ac_gcsections=yes
58528 else
58529 ac_gcsections=no
58531 rm -f core conftest.err conftest.$ac_objext \
58532 conftest$ac_exeext conftest.$ac_ext
58533 if test "$ac_gcsections" = "yes"; then
58534 rm -f conftest.c
58535 touch conftest.c
58536 if $CC -c conftest.c; then
58537 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58538 grep "Warning: gc-sections option ignored" > /dev/null; then
58539 ac_gcsections=no
58542 rm -f conftest.c conftest.o conftest
58544 if test "$ac_gcsections" = "yes"; then
58545 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58548 $as_echo "$ac_gcsections" >&6; }
58550 if test "$ac_test_CFLAGS" = set; then
58551 CFLAGS="$ac_save_CFLAGS"
58552 else
58553 # this is the suspicious part
58554 CFLAGS=''
58558 # Set -z,relro.
58559 # Note this is only for shared objects.
58560 ac_ld_relro=no
58561 if test x"$with_gnu_ld" = x"yes"; then
58562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58563 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58564 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58565 if test -n "$cxx_z_relo"; then
58566 OPT_LDFLAGS="-Wl,-z,relro"
58567 ac_ld_relro=yes
58569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58570 $as_echo "$ac_ld_relro" >&6; }
58573 # Set linker optimization flags.
58574 if test x"$with_gnu_ld" = x"yes"; then
58575 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58581 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
58583 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
58585 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
58587 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
58589 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
58591 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
58593 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
58595 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
58597 if test x"long_double_math_on_this_cpu" = x"yes"; then
58598 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
58600 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
58602 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
58606 *-qnx6.1* | *-qnx6.2*)
58607 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58610 # If we're not using GNU ld, then there's no point in even trying these
58611 # tests. Check for that first. We should have already tested for gld
58612 # by now (in libtool), but require it now just to be safe...
58613 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58614 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58618 # The name set by libtool depends on the version of libtool. Shame on us
58619 # for depending on an impl detail, but c'est la vie. Older versions used
58620 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58621 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58622 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58623 # set (hence we're using an older libtool), then set it.
58624 if test x${with_gnu_ld+set} != xset; then
58625 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58626 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58627 with_gnu_ld=no
58628 else
58629 with_gnu_ld=$ac_cv_prog_gnu_ld
58633 # Start by getting the version number. I think the libtool test already
58634 # does some of this, but throws away the result.
58635 glibcxx_ld_is_gold=no
58636 if test x"$with_gnu_ld" = x"yes"; then
58637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58638 $as_echo_n "checking for ld version... " >&6; }
58640 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58641 glibcxx_ld_is_gold=yes
58643 ldver=`$LD --version 2>/dev/null |
58644 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
58646 glibcxx_gnu_ld_version=`echo $ldver | \
58647 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58649 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58652 # Set --gc-sections.
58653 glibcxx_have_gc_sections=no
58654 if test "$glibcxx_ld_is_gold" = "yes"; then
58655 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58656 glibcxx_have_gc_sections=yes
58658 else
58659 glibcxx_gcsections_min_ld=21602
58660 if test x"$with_gnu_ld" = x"yes" &&
58661 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58662 glibcxx_have_gc_sections=yes
58665 if test "$glibcxx_have_gc_sections" = "yes"; then
58666 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58667 # NB: This flag only works reliably after 2.16.1. Configure tests
58668 # for this are difficult, so hard wire a value that should work.
58670 ac_test_CFLAGS="${CFLAGS+set}"
58671 ac_save_CFLAGS="$CFLAGS"
58672 CFLAGS='-Wl,--gc-sections'
58674 # Check for -Wl,--gc-sections
58675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58676 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58677 if test x$gcc_no_link = xyes; then
58678 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58681 /* end confdefs.h. */
58682 int one(void) { return 1; }
58683 int two(void) { return 2; }
58686 main ()
58688 two();
58690 return 0;
58692 _ACEOF
58693 if ac_fn_c_try_link "$LINENO"; then :
58694 ac_gcsections=yes
58695 else
58696 ac_gcsections=no
58698 rm -f core conftest.err conftest.$ac_objext \
58699 conftest$ac_exeext conftest.$ac_ext
58700 if test "$ac_gcsections" = "yes"; then
58701 rm -f conftest.c
58702 touch conftest.c
58703 if $CC -c conftest.c; then
58704 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58705 grep "Warning: gc-sections option ignored" > /dev/null; then
58706 ac_gcsections=no
58709 rm -f conftest.c conftest.o conftest
58711 if test "$ac_gcsections" = "yes"; then
58712 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58715 $as_echo "$ac_gcsections" >&6; }
58717 if test "$ac_test_CFLAGS" = set; then
58718 CFLAGS="$ac_save_CFLAGS"
58719 else
58720 # this is the suspicious part
58721 CFLAGS=''
58725 # Set -z,relro.
58726 # Note this is only for shared objects.
58727 ac_ld_relro=no
58728 if test x"$with_gnu_ld" = x"yes"; then
58729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58730 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58731 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58732 if test -n "$cxx_z_relo"; then
58733 OPT_LDFLAGS="-Wl,-z,relro"
58734 ac_ld_relro=yes
58736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58737 $as_echo "$ac_ld_relro" >&6; }
58740 # Set linker optimization flags.
58741 if test x"$with_gnu_ld" = x"yes"; then
58742 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58748 $as_echo "#define HAVE_COSF 1" >>confdefs.h
58750 $as_echo "#define HAVE_COSL 1" >>confdefs.h
58752 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
58754 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
58756 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
58758 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
58760 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
58762 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
58764 $as_echo "#define HAVE_SINF 1" >>confdefs.h
58766 $as_echo "#define HAVE_SINL 1" >>confdefs.h
58768 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
58770 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
58773 *-rtems*)
58775 # All these tests are for C++; save the language and the compiler flags.
58776 # The CXXFLAGS thing is suspicious, but based on similar bits previously
58777 # found in GLIBCXX_CONFIGURE.
58779 ac_ext=cpp
58780 ac_cpp='$CXXCPP $CPPFLAGS'
58781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58785 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58786 ac_save_CXXFLAGS="$CXXFLAGS"
58788 # Check for maintainer-mode bits.
58789 if test x"$USE_MAINTAINER_MODE" = xno; then
58790 WERROR=''
58791 else
58792 WERROR='-Werror'
58795 # Check for -ffunction-sections -fdata-sections
58796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
58797 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
58798 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
58799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58800 /* end confdefs.h. */
58801 int foo; void bar() { };
58803 main ()
58807 return 0;
58809 _ACEOF
58810 if ac_fn_cxx_try_compile "$LINENO"; then :
58811 ac_fdsections=yes
58812 else
58813 ac_fdsections=no
58815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58816 if test "$ac_test_CXXFLAGS" = set; then
58817 CXXFLAGS="$ac_save_CXXFLAGS"
58818 else
58819 # this is the suspicious part
58820 CXXFLAGS=''
58822 if test x"$ac_fdsections" = x"yes"; then
58823 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
58826 $as_echo "$ac_fdsections" >&6; }
58828 ac_ext=c
58829 ac_cpp='$CPP $CPPFLAGS'
58830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58838 # If we're not using GNU ld, then there's no point in even trying these
58839 # tests. Check for that first. We should have already tested for gld
58840 # by now (in libtool), but require it now just to be safe...
58841 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58842 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58846 # The name set by libtool depends on the version of libtool. Shame on us
58847 # for depending on an impl detail, but c'est la vie. Older versions used
58848 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58849 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58850 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58851 # set (hence we're using an older libtool), then set it.
58852 if test x${with_gnu_ld+set} != xset; then
58853 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58854 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58855 with_gnu_ld=no
58856 else
58857 with_gnu_ld=$ac_cv_prog_gnu_ld
58861 # Start by getting the version number. I think the libtool test already
58862 # does some of this, but throws away the result.
58863 glibcxx_ld_is_gold=no
58864 if test x"$with_gnu_ld" = x"yes"; then
58865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58866 $as_echo_n "checking for ld version... " >&6; }
58868 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58869 glibcxx_ld_is_gold=yes
58871 ldver=`$LD --version 2>/dev/null |
58872 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
58874 glibcxx_gnu_ld_version=`echo $ldver | \
58875 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58877 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58880 # Set --gc-sections.
58881 glibcxx_have_gc_sections=no
58882 if test "$glibcxx_ld_is_gold" = "yes"; then
58883 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58884 glibcxx_have_gc_sections=yes
58886 else
58887 glibcxx_gcsections_min_ld=21602
58888 if test x"$with_gnu_ld" = x"yes" &&
58889 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58890 glibcxx_have_gc_sections=yes
58893 if test "$glibcxx_have_gc_sections" = "yes"; then
58894 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58895 # NB: This flag only works reliably after 2.16.1. Configure tests
58896 # for this are difficult, so hard wire a value that should work.
58898 ac_test_CFLAGS="${CFLAGS+set}"
58899 ac_save_CFLAGS="$CFLAGS"
58900 CFLAGS='-Wl,--gc-sections'
58902 # Check for -Wl,--gc-sections
58903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58904 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58905 if test x$gcc_no_link = xyes; then
58906 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58909 /* end confdefs.h. */
58910 int one(void) { return 1; }
58911 int two(void) { return 2; }
58914 main ()
58916 two();
58918 return 0;
58920 _ACEOF
58921 if ac_fn_c_try_link "$LINENO"; then :
58922 ac_gcsections=yes
58923 else
58924 ac_gcsections=no
58926 rm -f core conftest.err conftest.$ac_objext \
58927 conftest$ac_exeext conftest.$ac_ext
58928 if test "$ac_gcsections" = "yes"; then
58929 rm -f conftest.c
58930 touch conftest.c
58931 if $CC -c conftest.c; then
58932 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58933 grep "Warning: gc-sections option ignored" > /dev/null; then
58934 ac_gcsections=no
58937 rm -f conftest.c conftest.o conftest
58939 if test "$ac_gcsections" = "yes"; then
58940 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58943 $as_echo "$ac_gcsections" >&6; }
58945 if test "$ac_test_CFLAGS" = set; then
58946 CFLAGS="$ac_save_CFLAGS"
58947 else
58948 # this is the suspicious part
58949 CFLAGS=''
58953 # Set -z,relro.
58954 # Note this is only for shared objects.
58955 ac_ld_relro=no
58956 if test x"$with_gnu_ld" = x"yes"; then
58957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58958 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58959 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58960 if test -n "$cxx_z_relo"; then
58961 OPT_LDFLAGS="-Wl,-z,relro"
58962 ac_ld_relro=yes
58964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58965 $as_echo "$ac_ld_relro" >&6; }
58968 # Set linker optimization flags.
58969 if test x"$with_gnu_ld" = x"yes"; then
58970 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58977 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58978 ac_save_CXXFLAGS="$CXXFLAGS"
58979 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58982 $as_echo_n "checking for sin in -lm... " >&6; }
58983 if test "${ac_cv_lib_m_sin+set}" = set; then :
58984 $as_echo_n "(cached) " >&6
58985 else
58986 ac_check_lib_save_LIBS=$LIBS
58987 LIBS="-lm $LIBS"
58988 if test x$gcc_no_link = xyes; then
58989 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58992 /* end confdefs.h. */
58994 /* Override any GCC internal prototype to avoid an error.
58995 Use char because int might match the return type of a GCC
58996 builtin and then its argument prototype would still apply. */
58997 #ifdef __cplusplus
58998 extern "C"
58999 #endif
59000 char sin ();
59002 main ()
59004 return sin ();
59006 return 0;
59008 _ACEOF
59009 if ac_fn_c_try_link "$LINENO"; then :
59010 ac_cv_lib_m_sin=yes
59011 else
59012 ac_cv_lib_m_sin=no
59014 rm -f core conftest.err conftest.$ac_objext \
59015 conftest$ac_exeext conftest.$ac_ext
59016 LIBS=$ac_check_lib_save_LIBS
59018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59019 $as_echo "$ac_cv_lib_m_sin" >&6; }
59020 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59021 libm="-lm"
59024 ac_save_LIBS="$LIBS"
59025 LIBS="$LIBS $libm"
59029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59030 $as_echo_n "checking for isinf declaration... " >&6; }
59031 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59032 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59033 $as_echo_n "(cached) " >&6
59034 else
59037 ac_ext=cpp
59038 ac_cpp='$CXXCPP $CPPFLAGS'
59039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59044 /* end confdefs.h. */
59045 #include <math.h>
59046 #ifdef HAVE_IEEEFP_H
59047 #include <ieeefp.h>
59048 #endif
59051 main ()
59053 isinf(0);
59055 return 0;
59057 _ACEOF
59058 if ac_fn_cxx_try_compile "$LINENO"; then :
59059 glibcxx_cv_func_isinf_use=yes
59060 else
59061 glibcxx_cv_func_isinf_use=no
59063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59064 ac_ext=c
59065 ac_cpp='$CPP $CPPFLAGS'
59066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59075 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59077 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59078 for ac_func in isinf
59079 do :
59080 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59081 if test "x$ac_cv_func_isinf" = x""yes; then :
59082 cat >>confdefs.h <<_ACEOF
59083 #define HAVE_ISINF 1
59084 _ACEOF
59087 done
59089 else
59091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59092 $as_echo_n "checking for _isinf declaration... " >&6; }
59093 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59094 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59095 $as_echo_n "(cached) " >&6
59096 else
59099 ac_ext=cpp
59100 ac_cpp='$CXXCPP $CPPFLAGS'
59101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59106 /* end confdefs.h. */
59107 #include <math.h>
59108 #ifdef HAVE_IEEEFP_H
59109 #include <ieeefp.h>
59110 #endif
59113 main ()
59115 _isinf(0);
59117 return 0;
59119 _ACEOF
59120 if ac_fn_cxx_try_compile "$LINENO"; then :
59121 glibcxx_cv_func__isinf_use=yes
59122 else
59123 glibcxx_cv_func__isinf_use=no
59125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59126 ac_ext=c
59127 ac_cpp='$CPP $CPPFLAGS'
59128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59137 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59139 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59140 for ac_func in _isinf
59141 do :
59142 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59143 if test "x$ac_cv_func__isinf" = x""yes; then :
59144 cat >>confdefs.h <<_ACEOF
59145 #define HAVE__ISINF 1
59146 _ACEOF
59149 done
59158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59159 $as_echo_n "checking for isnan declaration... " >&6; }
59160 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59161 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59162 $as_echo_n "(cached) " >&6
59163 else
59166 ac_ext=cpp
59167 ac_cpp='$CXXCPP $CPPFLAGS'
59168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59173 /* end confdefs.h. */
59174 #include <math.h>
59175 #ifdef HAVE_IEEEFP_H
59176 #include <ieeefp.h>
59177 #endif
59180 main ()
59182 isnan(0);
59184 return 0;
59186 _ACEOF
59187 if ac_fn_cxx_try_compile "$LINENO"; then :
59188 glibcxx_cv_func_isnan_use=yes
59189 else
59190 glibcxx_cv_func_isnan_use=no
59192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59193 ac_ext=c
59194 ac_cpp='$CPP $CPPFLAGS'
59195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59204 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59206 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59207 for ac_func in isnan
59208 do :
59209 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59210 if test "x$ac_cv_func_isnan" = x""yes; then :
59211 cat >>confdefs.h <<_ACEOF
59212 #define HAVE_ISNAN 1
59213 _ACEOF
59216 done
59218 else
59220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59221 $as_echo_n "checking for _isnan declaration... " >&6; }
59222 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59223 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59224 $as_echo_n "(cached) " >&6
59225 else
59228 ac_ext=cpp
59229 ac_cpp='$CXXCPP $CPPFLAGS'
59230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59235 /* end confdefs.h. */
59236 #include <math.h>
59237 #ifdef HAVE_IEEEFP_H
59238 #include <ieeefp.h>
59239 #endif
59242 main ()
59244 _isnan(0);
59246 return 0;
59248 _ACEOF
59249 if ac_fn_cxx_try_compile "$LINENO"; then :
59250 glibcxx_cv_func__isnan_use=yes
59251 else
59252 glibcxx_cv_func__isnan_use=no
59254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59255 ac_ext=c
59256 ac_cpp='$CPP $CPPFLAGS'
59257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59266 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59268 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59269 for ac_func in _isnan
59270 do :
59271 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59272 if test "x$ac_cv_func__isnan" = x""yes; then :
59273 cat >>confdefs.h <<_ACEOF
59274 #define HAVE__ISNAN 1
59275 _ACEOF
59278 done
59287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59288 $as_echo_n "checking for finite declaration... " >&6; }
59289 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59290 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59291 $as_echo_n "(cached) " >&6
59292 else
59295 ac_ext=cpp
59296 ac_cpp='$CXXCPP $CPPFLAGS'
59297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59302 /* end confdefs.h. */
59303 #include <math.h>
59304 #ifdef HAVE_IEEEFP_H
59305 #include <ieeefp.h>
59306 #endif
59309 main ()
59311 finite(0);
59313 return 0;
59315 _ACEOF
59316 if ac_fn_cxx_try_compile "$LINENO"; then :
59317 glibcxx_cv_func_finite_use=yes
59318 else
59319 glibcxx_cv_func_finite_use=no
59321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59322 ac_ext=c
59323 ac_cpp='$CPP $CPPFLAGS'
59324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59333 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59335 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59336 for ac_func in finite
59337 do :
59338 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59339 if test "x$ac_cv_func_finite" = x""yes; then :
59340 cat >>confdefs.h <<_ACEOF
59341 #define HAVE_FINITE 1
59342 _ACEOF
59345 done
59347 else
59349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59350 $as_echo_n "checking for _finite declaration... " >&6; }
59351 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59352 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59353 $as_echo_n "(cached) " >&6
59354 else
59357 ac_ext=cpp
59358 ac_cpp='$CXXCPP $CPPFLAGS'
59359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59364 /* end confdefs.h. */
59365 #include <math.h>
59366 #ifdef HAVE_IEEEFP_H
59367 #include <ieeefp.h>
59368 #endif
59371 main ()
59373 _finite(0);
59375 return 0;
59377 _ACEOF
59378 if ac_fn_cxx_try_compile "$LINENO"; then :
59379 glibcxx_cv_func__finite_use=yes
59380 else
59381 glibcxx_cv_func__finite_use=no
59383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59384 ac_ext=c
59385 ac_cpp='$CPP $CPPFLAGS'
59386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59395 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59397 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59398 for ac_func in _finite
59399 do :
59400 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59401 if test "x$ac_cv_func__finite" = x""yes; then :
59402 cat >>confdefs.h <<_ACEOF
59403 #define HAVE__FINITE 1
59404 _ACEOF
59407 done
59416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59417 $as_echo_n "checking for sincos declaration... " >&6; }
59418 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59419 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59420 $as_echo_n "(cached) " >&6
59421 else
59424 ac_ext=cpp
59425 ac_cpp='$CXXCPP $CPPFLAGS'
59426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59431 /* end confdefs.h. */
59432 #include <math.h>
59434 main ()
59436 sincos(0, 0, 0);
59438 return 0;
59440 _ACEOF
59441 if ac_fn_cxx_try_compile "$LINENO"; then :
59442 glibcxx_cv_func_sincos_use=yes
59443 else
59444 glibcxx_cv_func_sincos_use=no
59446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59447 ac_ext=c
59448 ac_cpp='$CPP $CPPFLAGS'
59449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59458 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59460 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59461 for ac_func in sincos
59462 do :
59463 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59464 if test "x$ac_cv_func_sincos" = x""yes; then :
59465 cat >>confdefs.h <<_ACEOF
59466 #define HAVE_SINCOS 1
59467 _ACEOF
59470 done
59472 else
59474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59475 $as_echo_n "checking for _sincos declaration... " >&6; }
59476 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59477 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59478 $as_echo_n "(cached) " >&6
59479 else
59482 ac_ext=cpp
59483 ac_cpp='$CXXCPP $CPPFLAGS'
59484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59489 /* end confdefs.h. */
59490 #include <math.h>
59492 main ()
59494 _sincos(0, 0, 0);
59496 return 0;
59498 _ACEOF
59499 if ac_fn_cxx_try_compile "$LINENO"; then :
59500 glibcxx_cv_func__sincos_use=yes
59501 else
59502 glibcxx_cv_func__sincos_use=no
59504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59505 ac_ext=c
59506 ac_cpp='$CPP $CPPFLAGS'
59507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59516 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59518 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59519 for ac_func in _sincos
59520 do :
59521 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59522 if test "x$ac_cv_func__sincos" = x""yes; then :
59523 cat >>confdefs.h <<_ACEOF
59524 #define HAVE__SINCOS 1
59525 _ACEOF
59528 done
59537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59538 $as_echo_n "checking for fpclass declaration... " >&6; }
59539 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59540 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59541 $as_echo_n "(cached) " >&6
59542 else
59545 ac_ext=cpp
59546 ac_cpp='$CXXCPP $CPPFLAGS'
59547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59552 /* end confdefs.h. */
59553 #include <math.h>
59554 #ifdef HAVE_IEEEFP_H
59555 #include <ieeefp.h>
59556 #endif
59559 main ()
59561 fpclass(0);
59563 return 0;
59565 _ACEOF
59566 if ac_fn_cxx_try_compile "$LINENO"; then :
59567 glibcxx_cv_func_fpclass_use=yes
59568 else
59569 glibcxx_cv_func_fpclass_use=no
59571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59572 ac_ext=c
59573 ac_cpp='$CPP $CPPFLAGS'
59574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59583 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59585 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59586 for ac_func in fpclass
59587 do :
59588 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59589 if test "x$ac_cv_func_fpclass" = x""yes; then :
59590 cat >>confdefs.h <<_ACEOF
59591 #define HAVE_FPCLASS 1
59592 _ACEOF
59595 done
59597 else
59599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59600 $as_echo_n "checking for _fpclass declaration... " >&6; }
59601 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59602 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59603 $as_echo_n "(cached) " >&6
59604 else
59607 ac_ext=cpp
59608 ac_cpp='$CXXCPP $CPPFLAGS'
59609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59614 /* end confdefs.h. */
59615 #include <math.h>
59616 #ifdef HAVE_IEEEFP_H
59617 #include <ieeefp.h>
59618 #endif
59621 main ()
59623 _fpclass(0);
59625 return 0;
59627 _ACEOF
59628 if ac_fn_cxx_try_compile "$LINENO"; then :
59629 glibcxx_cv_func__fpclass_use=yes
59630 else
59631 glibcxx_cv_func__fpclass_use=no
59633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59634 ac_ext=c
59635 ac_cpp='$CPP $CPPFLAGS'
59636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59645 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59647 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59648 for ac_func in _fpclass
59649 do :
59650 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59651 if test "x$ac_cv_func__fpclass" = x""yes; then :
59652 cat >>confdefs.h <<_ACEOF
59653 #define HAVE__FPCLASS 1
59654 _ACEOF
59657 done
59666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59667 $as_echo_n "checking for qfpclass declaration... " >&6; }
59668 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59669 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59670 $as_echo_n "(cached) " >&6
59671 else
59674 ac_ext=cpp
59675 ac_cpp='$CXXCPP $CPPFLAGS'
59676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59681 /* end confdefs.h. */
59682 #include <math.h>
59683 #ifdef HAVE_IEEEFP_H
59684 #include <ieeefp.h>
59685 #endif
59688 main ()
59690 qfpclass(0);
59692 return 0;
59694 _ACEOF
59695 if ac_fn_cxx_try_compile "$LINENO"; then :
59696 glibcxx_cv_func_qfpclass_use=yes
59697 else
59698 glibcxx_cv_func_qfpclass_use=no
59700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59701 ac_ext=c
59702 ac_cpp='$CPP $CPPFLAGS'
59703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59712 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59714 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59715 for ac_func in qfpclass
59716 do :
59717 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59718 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59719 cat >>confdefs.h <<_ACEOF
59720 #define HAVE_QFPCLASS 1
59721 _ACEOF
59724 done
59726 else
59728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59729 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59730 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59731 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59732 $as_echo_n "(cached) " >&6
59733 else
59736 ac_ext=cpp
59737 ac_cpp='$CXXCPP $CPPFLAGS'
59738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59743 /* end confdefs.h. */
59744 #include <math.h>
59745 #ifdef HAVE_IEEEFP_H
59746 #include <ieeefp.h>
59747 #endif
59750 main ()
59752 _qfpclass(0);
59754 return 0;
59756 _ACEOF
59757 if ac_fn_cxx_try_compile "$LINENO"; then :
59758 glibcxx_cv_func__qfpclass_use=yes
59759 else
59760 glibcxx_cv_func__qfpclass_use=no
59762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59763 ac_ext=c
59764 ac_cpp='$CPP $CPPFLAGS'
59765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59774 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59776 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59777 for ac_func in _qfpclass
59778 do :
59779 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59780 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59781 cat >>confdefs.h <<_ACEOF
59782 #define HAVE__QFPCLASS 1
59783 _ACEOF
59786 done
59795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59796 $as_echo_n "checking for hypot declaration... " >&6; }
59797 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59798 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59799 $as_echo_n "(cached) " >&6
59800 else
59803 ac_ext=cpp
59804 ac_cpp='$CXXCPP $CPPFLAGS'
59805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59810 /* end confdefs.h. */
59811 #include <math.h>
59813 main ()
59815 hypot(0, 0);
59817 return 0;
59819 _ACEOF
59820 if ac_fn_cxx_try_compile "$LINENO"; then :
59821 glibcxx_cv_func_hypot_use=yes
59822 else
59823 glibcxx_cv_func_hypot_use=no
59825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59826 ac_ext=c
59827 ac_cpp='$CPP $CPPFLAGS'
59828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59837 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59839 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59840 for ac_func in hypot
59841 do :
59842 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59843 if test "x$ac_cv_func_hypot" = x""yes; then :
59844 cat >>confdefs.h <<_ACEOF
59845 #define HAVE_HYPOT 1
59846 _ACEOF
59849 done
59851 else
59853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59854 $as_echo_n "checking for _hypot declaration... " >&6; }
59855 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59856 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59857 $as_echo_n "(cached) " >&6
59858 else
59861 ac_ext=cpp
59862 ac_cpp='$CXXCPP $CPPFLAGS'
59863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59868 /* end confdefs.h. */
59869 #include <math.h>
59871 main ()
59873 _hypot(0, 0);
59875 return 0;
59877 _ACEOF
59878 if ac_fn_cxx_try_compile "$LINENO"; then :
59879 glibcxx_cv_func__hypot_use=yes
59880 else
59881 glibcxx_cv_func__hypot_use=no
59883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59884 ac_ext=c
59885 ac_cpp='$CPP $CPPFLAGS'
59886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59895 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59897 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59898 for ac_func in _hypot
59899 do :
59900 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59901 if test "x$ac_cv_func__hypot" = x""yes; then :
59902 cat >>confdefs.h <<_ACEOF
59903 #define HAVE__HYPOT 1
59904 _ACEOF
59907 done
59916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59917 $as_echo_n "checking for float trig functions... " >&6; }
59918 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59919 $as_echo_n "(cached) " >&6
59920 else
59923 ac_ext=cpp
59924 ac_cpp='$CXXCPP $CPPFLAGS'
59925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59930 /* end confdefs.h. */
59931 #include <math.h>
59933 main ()
59935 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59937 return 0;
59939 _ACEOF
59940 if ac_fn_cxx_try_compile "$LINENO"; then :
59941 glibcxx_cv_func_float_trig_use=yes
59942 else
59943 glibcxx_cv_func_float_trig_use=no
59945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59946 ac_ext=c
59947 ac_cpp='$CPP $CPPFLAGS'
59948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59955 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59956 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59957 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59958 do :
59959 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59960 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59961 eval as_val=\$$as_ac_var
59962 if test "x$as_val" = x""yes; then :
59963 cat >>confdefs.h <<_ACEOF
59964 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59965 _ACEOF
59968 done
59970 else
59971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59972 $as_echo_n "checking for _float trig functions... " >&6; }
59973 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59974 $as_echo_n "(cached) " >&6
59975 else
59978 ac_ext=cpp
59979 ac_cpp='$CXXCPP $CPPFLAGS'
59980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59985 /* end confdefs.h. */
59986 #include <math.h>
59988 main ()
59990 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59992 return 0;
59994 _ACEOF
59995 if ac_fn_cxx_try_compile "$LINENO"; then :
59996 glibcxx_cv_func__float_trig_use=yes
59997 else
59998 glibcxx_cv_func__float_trig_use=no
60000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60001 ac_ext=c
60002 ac_cpp='$CPP $CPPFLAGS'
60003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60010 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60011 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60012 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60013 do :
60014 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60015 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60016 eval as_val=\$$as_ac_var
60017 if test "x$as_val" = x""yes; then :
60018 cat >>confdefs.h <<_ACEOF
60019 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60020 _ACEOF
60023 done
60032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60033 $as_echo_n "checking for float round functions... " >&6; }
60034 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60035 $as_echo_n "(cached) " >&6
60036 else
60039 ac_ext=cpp
60040 ac_cpp='$CXXCPP $CPPFLAGS'
60041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60046 /* end confdefs.h. */
60047 #include <math.h>
60049 main ()
60051 ceilf (0); floorf (0);
60053 return 0;
60055 _ACEOF
60056 if ac_fn_cxx_try_compile "$LINENO"; then :
60057 glibcxx_cv_func_float_round_use=yes
60058 else
60059 glibcxx_cv_func_float_round_use=no
60061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60062 ac_ext=c
60063 ac_cpp='$CPP $CPPFLAGS'
60064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60071 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60072 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60073 for ac_func in ceilf floorf
60074 do :
60075 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60076 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60077 eval as_val=\$$as_ac_var
60078 if test "x$as_val" = x""yes; then :
60079 cat >>confdefs.h <<_ACEOF
60080 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60081 _ACEOF
60084 done
60086 else
60087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60088 $as_echo_n "checking for _float round functions... " >&6; }
60089 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60090 $as_echo_n "(cached) " >&6
60091 else
60094 ac_ext=cpp
60095 ac_cpp='$CXXCPP $CPPFLAGS'
60096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60101 /* end confdefs.h. */
60102 #include <math.h>
60104 main ()
60106 _ceilf (0); _floorf (0);
60108 return 0;
60110 _ACEOF
60111 if ac_fn_cxx_try_compile "$LINENO"; then :
60112 glibcxx_cv_func__float_round_use=yes
60113 else
60114 glibcxx_cv_func__float_round_use=no
60116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60117 ac_ext=c
60118 ac_cpp='$CPP $CPPFLAGS'
60119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60126 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60127 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60128 for ac_func in _ceilf _floorf
60129 do :
60130 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60131 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60132 eval as_val=\$$as_ac_var
60133 if test "x$as_val" = x""yes; then :
60134 cat >>confdefs.h <<_ACEOF
60135 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60136 _ACEOF
60139 done
60149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60150 $as_echo_n "checking for expf declaration... " >&6; }
60151 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60152 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60153 $as_echo_n "(cached) " >&6
60154 else
60157 ac_ext=cpp
60158 ac_cpp='$CXXCPP $CPPFLAGS'
60159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60164 /* end confdefs.h. */
60165 #include <math.h>
60166 #ifdef HAVE_IEEEFP_H
60167 #include <ieeefp.h>
60168 #endif
60171 main ()
60173 expf(0);
60175 return 0;
60177 _ACEOF
60178 if ac_fn_cxx_try_compile "$LINENO"; then :
60179 glibcxx_cv_func_expf_use=yes
60180 else
60181 glibcxx_cv_func_expf_use=no
60183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60184 ac_ext=c
60185 ac_cpp='$CPP $CPPFLAGS'
60186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60195 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60197 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60198 for ac_func in expf
60199 do :
60200 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60201 if test "x$ac_cv_func_expf" = x""yes; then :
60202 cat >>confdefs.h <<_ACEOF
60203 #define HAVE_EXPF 1
60204 _ACEOF
60207 done
60209 else
60211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60212 $as_echo_n "checking for _expf declaration... " >&6; }
60213 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60214 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60215 $as_echo_n "(cached) " >&6
60216 else
60219 ac_ext=cpp
60220 ac_cpp='$CXXCPP $CPPFLAGS'
60221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60226 /* end confdefs.h. */
60227 #include <math.h>
60228 #ifdef HAVE_IEEEFP_H
60229 #include <ieeefp.h>
60230 #endif
60233 main ()
60235 _expf(0);
60237 return 0;
60239 _ACEOF
60240 if ac_fn_cxx_try_compile "$LINENO"; then :
60241 glibcxx_cv_func__expf_use=yes
60242 else
60243 glibcxx_cv_func__expf_use=no
60245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60246 ac_ext=c
60247 ac_cpp='$CPP $CPPFLAGS'
60248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60257 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60259 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60260 for ac_func in _expf
60261 do :
60262 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60263 if test "x$ac_cv_func__expf" = x""yes; then :
60264 cat >>confdefs.h <<_ACEOF
60265 #define HAVE__EXPF 1
60266 _ACEOF
60269 done
60278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60279 $as_echo_n "checking for isnanf declaration... " >&6; }
60280 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60281 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60282 $as_echo_n "(cached) " >&6
60283 else
60286 ac_ext=cpp
60287 ac_cpp='$CXXCPP $CPPFLAGS'
60288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60293 /* end confdefs.h. */
60294 #include <math.h>
60295 #ifdef HAVE_IEEEFP_H
60296 #include <ieeefp.h>
60297 #endif
60300 main ()
60302 isnanf(0);
60304 return 0;
60306 _ACEOF
60307 if ac_fn_cxx_try_compile "$LINENO"; then :
60308 glibcxx_cv_func_isnanf_use=yes
60309 else
60310 glibcxx_cv_func_isnanf_use=no
60312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60313 ac_ext=c
60314 ac_cpp='$CPP $CPPFLAGS'
60315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60324 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60326 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60327 for ac_func in isnanf
60328 do :
60329 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60330 if test "x$ac_cv_func_isnanf" = x""yes; then :
60331 cat >>confdefs.h <<_ACEOF
60332 #define HAVE_ISNANF 1
60333 _ACEOF
60336 done
60338 else
60340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60341 $as_echo_n "checking for _isnanf declaration... " >&6; }
60342 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60343 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60344 $as_echo_n "(cached) " >&6
60345 else
60348 ac_ext=cpp
60349 ac_cpp='$CXXCPP $CPPFLAGS'
60350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60355 /* end confdefs.h. */
60356 #include <math.h>
60357 #ifdef HAVE_IEEEFP_H
60358 #include <ieeefp.h>
60359 #endif
60362 main ()
60364 _isnanf(0);
60366 return 0;
60368 _ACEOF
60369 if ac_fn_cxx_try_compile "$LINENO"; then :
60370 glibcxx_cv_func__isnanf_use=yes
60371 else
60372 glibcxx_cv_func__isnanf_use=no
60374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60375 ac_ext=c
60376 ac_cpp='$CPP $CPPFLAGS'
60377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60386 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60388 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60389 for ac_func in _isnanf
60390 do :
60391 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60392 if test "x$ac_cv_func__isnanf" = x""yes; then :
60393 cat >>confdefs.h <<_ACEOF
60394 #define HAVE__ISNANF 1
60395 _ACEOF
60398 done
60407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60408 $as_echo_n "checking for isinff declaration... " >&6; }
60409 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60410 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60411 $as_echo_n "(cached) " >&6
60412 else
60415 ac_ext=cpp
60416 ac_cpp='$CXXCPP $CPPFLAGS'
60417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60422 /* end confdefs.h. */
60423 #include <math.h>
60424 #ifdef HAVE_IEEEFP_H
60425 #include <ieeefp.h>
60426 #endif
60429 main ()
60431 isinff(0);
60433 return 0;
60435 _ACEOF
60436 if ac_fn_cxx_try_compile "$LINENO"; then :
60437 glibcxx_cv_func_isinff_use=yes
60438 else
60439 glibcxx_cv_func_isinff_use=no
60441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60442 ac_ext=c
60443 ac_cpp='$CPP $CPPFLAGS'
60444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60453 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60455 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60456 for ac_func in isinff
60457 do :
60458 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60459 if test "x$ac_cv_func_isinff" = x""yes; then :
60460 cat >>confdefs.h <<_ACEOF
60461 #define HAVE_ISINFF 1
60462 _ACEOF
60465 done
60467 else
60469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60470 $as_echo_n "checking for _isinff declaration... " >&6; }
60471 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60472 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60473 $as_echo_n "(cached) " >&6
60474 else
60477 ac_ext=cpp
60478 ac_cpp='$CXXCPP $CPPFLAGS'
60479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60484 /* end confdefs.h. */
60485 #include <math.h>
60486 #ifdef HAVE_IEEEFP_H
60487 #include <ieeefp.h>
60488 #endif
60491 main ()
60493 _isinff(0);
60495 return 0;
60497 _ACEOF
60498 if ac_fn_cxx_try_compile "$LINENO"; then :
60499 glibcxx_cv_func__isinff_use=yes
60500 else
60501 glibcxx_cv_func__isinff_use=no
60503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60504 ac_ext=c
60505 ac_cpp='$CPP $CPPFLAGS'
60506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60515 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60517 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60518 for ac_func in _isinff
60519 do :
60520 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60521 if test "x$ac_cv_func__isinff" = x""yes; then :
60522 cat >>confdefs.h <<_ACEOF
60523 #define HAVE__ISINFF 1
60524 _ACEOF
60527 done
60536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60537 $as_echo_n "checking for atan2f declaration... " >&6; }
60538 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60539 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60540 $as_echo_n "(cached) " >&6
60541 else
60544 ac_ext=cpp
60545 ac_cpp='$CXXCPP $CPPFLAGS'
60546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60551 /* end confdefs.h. */
60552 #include <math.h>
60554 main ()
60556 atan2f(0, 0);
60558 return 0;
60560 _ACEOF
60561 if ac_fn_cxx_try_compile "$LINENO"; then :
60562 glibcxx_cv_func_atan2f_use=yes
60563 else
60564 glibcxx_cv_func_atan2f_use=no
60566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60567 ac_ext=c
60568 ac_cpp='$CPP $CPPFLAGS'
60569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60578 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60580 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60581 for ac_func in atan2f
60582 do :
60583 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60584 if test "x$ac_cv_func_atan2f" = x""yes; then :
60585 cat >>confdefs.h <<_ACEOF
60586 #define HAVE_ATAN2F 1
60587 _ACEOF
60590 done
60592 else
60594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60595 $as_echo_n "checking for _atan2f declaration... " >&6; }
60596 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60597 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60598 $as_echo_n "(cached) " >&6
60599 else
60602 ac_ext=cpp
60603 ac_cpp='$CXXCPP $CPPFLAGS'
60604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60609 /* end confdefs.h. */
60610 #include <math.h>
60612 main ()
60614 _atan2f(0, 0);
60616 return 0;
60618 _ACEOF
60619 if ac_fn_cxx_try_compile "$LINENO"; then :
60620 glibcxx_cv_func__atan2f_use=yes
60621 else
60622 glibcxx_cv_func__atan2f_use=no
60624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60625 ac_ext=c
60626 ac_cpp='$CPP $CPPFLAGS'
60627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60636 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60638 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60639 for ac_func in _atan2f
60640 do :
60641 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60642 if test "x$ac_cv_func__atan2f" = x""yes; then :
60643 cat >>confdefs.h <<_ACEOF
60644 #define HAVE__ATAN2F 1
60645 _ACEOF
60648 done
60657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60658 $as_echo_n "checking for fabsf declaration... " >&6; }
60659 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60660 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60661 $as_echo_n "(cached) " >&6
60662 else
60665 ac_ext=cpp
60666 ac_cpp='$CXXCPP $CPPFLAGS'
60667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60672 /* end confdefs.h. */
60673 #include <math.h>
60674 #ifdef HAVE_IEEEFP_H
60675 #include <ieeefp.h>
60676 #endif
60679 main ()
60681 fabsf(0);
60683 return 0;
60685 _ACEOF
60686 if ac_fn_cxx_try_compile "$LINENO"; then :
60687 glibcxx_cv_func_fabsf_use=yes
60688 else
60689 glibcxx_cv_func_fabsf_use=no
60691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60692 ac_ext=c
60693 ac_cpp='$CPP $CPPFLAGS'
60694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60703 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60705 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60706 for ac_func in fabsf
60707 do :
60708 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60709 if test "x$ac_cv_func_fabsf" = x""yes; then :
60710 cat >>confdefs.h <<_ACEOF
60711 #define HAVE_FABSF 1
60712 _ACEOF
60715 done
60717 else
60719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60720 $as_echo_n "checking for _fabsf declaration... " >&6; }
60721 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60722 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60723 $as_echo_n "(cached) " >&6
60724 else
60727 ac_ext=cpp
60728 ac_cpp='$CXXCPP $CPPFLAGS'
60729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60734 /* end confdefs.h. */
60735 #include <math.h>
60736 #ifdef HAVE_IEEEFP_H
60737 #include <ieeefp.h>
60738 #endif
60741 main ()
60743 _fabsf(0);
60745 return 0;
60747 _ACEOF
60748 if ac_fn_cxx_try_compile "$LINENO"; then :
60749 glibcxx_cv_func__fabsf_use=yes
60750 else
60751 glibcxx_cv_func__fabsf_use=no
60753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60754 ac_ext=c
60755 ac_cpp='$CPP $CPPFLAGS'
60756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60765 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60767 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60768 for ac_func in _fabsf
60769 do :
60770 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60771 if test "x$ac_cv_func__fabsf" = x""yes; then :
60772 cat >>confdefs.h <<_ACEOF
60773 #define HAVE__FABSF 1
60774 _ACEOF
60777 done
60786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60787 $as_echo_n "checking for fmodf declaration... " >&6; }
60788 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60789 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60790 $as_echo_n "(cached) " >&6
60791 else
60794 ac_ext=cpp
60795 ac_cpp='$CXXCPP $CPPFLAGS'
60796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60801 /* end confdefs.h. */
60802 #include <math.h>
60804 main ()
60806 fmodf(0, 0);
60808 return 0;
60810 _ACEOF
60811 if ac_fn_cxx_try_compile "$LINENO"; then :
60812 glibcxx_cv_func_fmodf_use=yes
60813 else
60814 glibcxx_cv_func_fmodf_use=no
60816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60817 ac_ext=c
60818 ac_cpp='$CPP $CPPFLAGS'
60819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60828 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60830 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60831 for ac_func in fmodf
60832 do :
60833 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60834 if test "x$ac_cv_func_fmodf" = x""yes; then :
60835 cat >>confdefs.h <<_ACEOF
60836 #define HAVE_FMODF 1
60837 _ACEOF
60840 done
60842 else
60844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60845 $as_echo_n "checking for _fmodf declaration... " >&6; }
60846 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60847 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60848 $as_echo_n "(cached) " >&6
60849 else
60852 ac_ext=cpp
60853 ac_cpp='$CXXCPP $CPPFLAGS'
60854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60859 /* end confdefs.h. */
60860 #include <math.h>
60862 main ()
60864 _fmodf(0, 0);
60866 return 0;
60868 _ACEOF
60869 if ac_fn_cxx_try_compile "$LINENO"; then :
60870 glibcxx_cv_func__fmodf_use=yes
60871 else
60872 glibcxx_cv_func__fmodf_use=no
60874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60875 ac_ext=c
60876 ac_cpp='$CPP $CPPFLAGS'
60877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60886 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60888 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60889 for ac_func in _fmodf
60890 do :
60891 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60892 if test "x$ac_cv_func__fmodf" = x""yes; then :
60893 cat >>confdefs.h <<_ACEOF
60894 #define HAVE__FMODF 1
60895 _ACEOF
60898 done
60907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60908 $as_echo_n "checking for frexpf declaration... " >&6; }
60909 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60910 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60911 $as_echo_n "(cached) " >&6
60912 else
60915 ac_ext=cpp
60916 ac_cpp='$CXXCPP $CPPFLAGS'
60917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60922 /* end confdefs.h. */
60923 #include <math.h>
60925 main ()
60927 frexpf(0, 0);
60929 return 0;
60931 _ACEOF
60932 if ac_fn_cxx_try_compile "$LINENO"; then :
60933 glibcxx_cv_func_frexpf_use=yes
60934 else
60935 glibcxx_cv_func_frexpf_use=no
60937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60938 ac_ext=c
60939 ac_cpp='$CPP $CPPFLAGS'
60940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60949 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60951 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60952 for ac_func in frexpf
60953 do :
60954 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60955 if test "x$ac_cv_func_frexpf" = x""yes; then :
60956 cat >>confdefs.h <<_ACEOF
60957 #define HAVE_FREXPF 1
60958 _ACEOF
60961 done
60963 else
60965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60966 $as_echo_n "checking for _frexpf declaration... " >&6; }
60967 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60968 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60969 $as_echo_n "(cached) " >&6
60970 else
60973 ac_ext=cpp
60974 ac_cpp='$CXXCPP $CPPFLAGS'
60975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60980 /* end confdefs.h. */
60981 #include <math.h>
60983 main ()
60985 _frexpf(0, 0);
60987 return 0;
60989 _ACEOF
60990 if ac_fn_cxx_try_compile "$LINENO"; then :
60991 glibcxx_cv_func__frexpf_use=yes
60992 else
60993 glibcxx_cv_func__frexpf_use=no
60995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60996 ac_ext=c
60997 ac_cpp='$CPP $CPPFLAGS'
60998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61007 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61009 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61010 for ac_func in _frexpf
61011 do :
61012 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61013 if test "x$ac_cv_func__frexpf" = x""yes; then :
61014 cat >>confdefs.h <<_ACEOF
61015 #define HAVE__FREXPF 1
61016 _ACEOF
61019 done
61028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61029 $as_echo_n "checking for hypotf declaration... " >&6; }
61030 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61031 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61032 $as_echo_n "(cached) " >&6
61033 else
61036 ac_ext=cpp
61037 ac_cpp='$CXXCPP $CPPFLAGS'
61038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61043 /* end confdefs.h. */
61044 #include <math.h>
61046 main ()
61048 hypotf(0, 0);
61050 return 0;
61052 _ACEOF
61053 if ac_fn_cxx_try_compile "$LINENO"; then :
61054 glibcxx_cv_func_hypotf_use=yes
61055 else
61056 glibcxx_cv_func_hypotf_use=no
61058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61059 ac_ext=c
61060 ac_cpp='$CPP $CPPFLAGS'
61061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61070 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61072 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61073 for ac_func in hypotf
61074 do :
61075 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61076 if test "x$ac_cv_func_hypotf" = x""yes; then :
61077 cat >>confdefs.h <<_ACEOF
61078 #define HAVE_HYPOTF 1
61079 _ACEOF
61082 done
61084 else
61086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61087 $as_echo_n "checking for _hypotf declaration... " >&6; }
61088 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61089 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61090 $as_echo_n "(cached) " >&6
61091 else
61094 ac_ext=cpp
61095 ac_cpp='$CXXCPP $CPPFLAGS'
61096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61101 /* end confdefs.h. */
61102 #include <math.h>
61104 main ()
61106 _hypotf(0, 0);
61108 return 0;
61110 _ACEOF
61111 if ac_fn_cxx_try_compile "$LINENO"; then :
61112 glibcxx_cv_func__hypotf_use=yes
61113 else
61114 glibcxx_cv_func__hypotf_use=no
61116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61117 ac_ext=c
61118 ac_cpp='$CPP $CPPFLAGS'
61119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61128 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61130 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61131 for ac_func in _hypotf
61132 do :
61133 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61134 if test "x$ac_cv_func__hypotf" = x""yes; then :
61135 cat >>confdefs.h <<_ACEOF
61136 #define HAVE__HYPOTF 1
61137 _ACEOF
61140 done
61149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61150 $as_echo_n "checking for ldexpf declaration... " >&6; }
61151 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61152 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61153 $as_echo_n "(cached) " >&6
61154 else
61157 ac_ext=cpp
61158 ac_cpp='$CXXCPP $CPPFLAGS'
61159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61164 /* end confdefs.h. */
61165 #include <math.h>
61167 main ()
61169 ldexpf(0, 0);
61171 return 0;
61173 _ACEOF
61174 if ac_fn_cxx_try_compile "$LINENO"; then :
61175 glibcxx_cv_func_ldexpf_use=yes
61176 else
61177 glibcxx_cv_func_ldexpf_use=no
61179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61180 ac_ext=c
61181 ac_cpp='$CPP $CPPFLAGS'
61182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61191 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61193 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61194 for ac_func in ldexpf
61195 do :
61196 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61197 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61198 cat >>confdefs.h <<_ACEOF
61199 #define HAVE_LDEXPF 1
61200 _ACEOF
61203 done
61205 else
61207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61208 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61209 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61210 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61211 $as_echo_n "(cached) " >&6
61212 else
61215 ac_ext=cpp
61216 ac_cpp='$CXXCPP $CPPFLAGS'
61217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61222 /* end confdefs.h. */
61223 #include <math.h>
61225 main ()
61227 _ldexpf(0, 0);
61229 return 0;
61231 _ACEOF
61232 if ac_fn_cxx_try_compile "$LINENO"; then :
61233 glibcxx_cv_func__ldexpf_use=yes
61234 else
61235 glibcxx_cv_func__ldexpf_use=no
61237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61238 ac_ext=c
61239 ac_cpp='$CPP $CPPFLAGS'
61240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61249 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61251 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61252 for ac_func in _ldexpf
61253 do :
61254 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61255 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61256 cat >>confdefs.h <<_ACEOF
61257 #define HAVE__LDEXPF 1
61258 _ACEOF
61261 done
61270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61271 $as_echo_n "checking for logf declaration... " >&6; }
61272 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61273 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61274 $as_echo_n "(cached) " >&6
61275 else
61278 ac_ext=cpp
61279 ac_cpp='$CXXCPP $CPPFLAGS'
61280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61285 /* end confdefs.h. */
61286 #include <math.h>
61287 #ifdef HAVE_IEEEFP_H
61288 #include <ieeefp.h>
61289 #endif
61292 main ()
61294 logf(0);
61296 return 0;
61298 _ACEOF
61299 if ac_fn_cxx_try_compile "$LINENO"; then :
61300 glibcxx_cv_func_logf_use=yes
61301 else
61302 glibcxx_cv_func_logf_use=no
61304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61305 ac_ext=c
61306 ac_cpp='$CPP $CPPFLAGS'
61307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61316 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61318 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61319 for ac_func in logf
61320 do :
61321 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61322 if test "x$ac_cv_func_logf" = x""yes; then :
61323 cat >>confdefs.h <<_ACEOF
61324 #define HAVE_LOGF 1
61325 _ACEOF
61328 done
61330 else
61332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61333 $as_echo_n "checking for _logf declaration... " >&6; }
61334 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61335 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61336 $as_echo_n "(cached) " >&6
61337 else
61340 ac_ext=cpp
61341 ac_cpp='$CXXCPP $CPPFLAGS'
61342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61347 /* end confdefs.h. */
61348 #include <math.h>
61349 #ifdef HAVE_IEEEFP_H
61350 #include <ieeefp.h>
61351 #endif
61354 main ()
61356 _logf(0);
61358 return 0;
61360 _ACEOF
61361 if ac_fn_cxx_try_compile "$LINENO"; then :
61362 glibcxx_cv_func__logf_use=yes
61363 else
61364 glibcxx_cv_func__logf_use=no
61366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61367 ac_ext=c
61368 ac_cpp='$CPP $CPPFLAGS'
61369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61378 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61380 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61381 for ac_func in _logf
61382 do :
61383 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61384 if test "x$ac_cv_func__logf" = x""yes; then :
61385 cat >>confdefs.h <<_ACEOF
61386 #define HAVE__LOGF 1
61387 _ACEOF
61390 done
61399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61400 $as_echo_n "checking for log10f declaration... " >&6; }
61401 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61402 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61403 $as_echo_n "(cached) " >&6
61404 else
61407 ac_ext=cpp
61408 ac_cpp='$CXXCPP $CPPFLAGS'
61409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61414 /* end confdefs.h. */
61415 #include <math.h>
61416 #ifdef HAVE_IEEEFP_H
61417 #include <ieeefp.h>
61418 #endif
61421 main ()
61423 log10f(0);
61425 return 0;
61427 _ACEOF
61428 if ac_fn_cxx_try_compile "$LINENO"; then :
61429 glibcxx_cv_func_log10f_use=yes
61430 else
61431 glibcxx_cv_func_log10f_use=no
61433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61434 ac_ext=c
61435 ac_cpp='$CPP $CPPFLAGS'
61436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61445 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61447 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61448 for ac_func in log10f
61449 do :
61450 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61451 if test "x$ac_cv_func_log10f" = x""yes; then :
61452 cat >>confdefs.h <<_ACEOF
61453 #define HAVE_LOG10F 1
61454 _ACEOF
61457 done
61459 else
61461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61462 $as_echo_n "checking for _log10f declaration... " >&6; }
61463 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61464 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61465 $as_echo_n "(cached) " >&6
61466 else
61469 ac_ext=cpp
61470 ac_cpp='$CXXCPP $CPPFLAGS'
61471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61476 /* end confdefs.h. */
61477 #include <math.h>
61478 #ifdef HAVE_IEEEFP_H
61479 #include <ieeefp.h>
61480 #endif
61483 main ()
61485 _log10f(0);
61487 return 0;
61489 _ACEOF
61490 if ac_fn_cxx_try_compile "$LINENO"; then :
61491 glibcxx_cv_func__log10f_use=yes
61492 else
61493 glibcxx_cv_func__log10f_use=no
61495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61496 ac_ext=c
61497 ac_cpp='$CPP $CPPFLAGS'
61498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61507 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61509 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61510 for ac_func in _log10f
61511 do :
61512 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61513 if test "x$ac_cv_func__log10f" = x""yes; then :
61514 cat >>confdefs.h <<_ACEOF
61515 #define HAVE__LOG10F 1
61516 _ACEOF
61519 done
61528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61529 $as_echo_n "checking for modff declaration... " >&6; }
61530 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61531 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61532 $as_echo_n "(cached) " >&6
61533 else
61536 ac_ext=cpp
61537 ac_cpp='$CXXCPP $CPPFLAGS'
61538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61543 /* end confdefs.h. */
61544 #include <math.h>
61546 main ()
61548 modff(0, 0);
61550 return 0;
61552 _ACEOF
61553 if ac_fn_cxx_try_compile "$LINENO"; then :
61554 glibcxx_cv_func_modff_use=yes
61555 else
61556 glibcxx_cv_func_modff_use=no
61558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61559 ac_ext=c
61560 ac_cpp='$CPP $CPPFLAGS'
61561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61570 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61572 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61573 for ac_func in modff
61574 do :
61575 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61576 if test "x$ac_cv_func_modff" = x""yes; then :
61577 cat >>confdefs.h <<_ACEOF
61578 #define HAVE_MODFF 1
61579 _ACEOF
61582 done
61584 else
61586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61587 $as_echo_n "checking for _modff declaration... " >&6; }
61588 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61589 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61590 $as_echo_n "(cached) " >&6
61591 else
61594 ac_ext=cpp
61595 ac_cpp='$CXXCPP $CPPFLAGS'
61596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61601 /* end confdefs.h. */
61602 #include <math.h>
61604 main ()
61606 _modff(0, 0);
61608 return 0;
61610 _ACEOF
61611 if ac_fn_cxx_try_compile "$LINENO"; then :
61612 glibcxx_cv_func__modff_use=yes
61613 else
61614 glibcxx_cv_func__modff_use=no
61616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61617 ac_ext=c
61618 ac_cpp='$CPP $CPPFLAGS'
61619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61628 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61630 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61631 for ac_func in _modff
61632 do :
61633 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61634 if test "x$ac_cv_func__modff" = x""yes; then :
61635 cat >>confdefs.h <<_ACEOF
61636 #define HAVE__MODFF 1
61637 _ACEOF
61640 done
61649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61650 $as_echo_n "checking for modf declaration... " >&6; }
61651 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61652 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61653 $as_echo_n "(cached) " >&6
61654 else
61657 ac_ext=cpp
61658 ac_cpp='$CXXCPP $CPPFLAGS'
61659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61664 /* end confdefs.h. */
61665 #include <math.h>
61667 main ()
61669 modf(0, 0);
61671 return 0;
61673 _ACEOF
61674 if ac_fn_cxx_try_compile "$LINENO"; then :
61675 glibcxx_cv_func_modf_use=yes
61676 else
61677 glibcxx_cv_func_modf_use=no
61679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61680 ac_ext=c
61681 ac_cpp='$CPP $CPPFLAGS'
61682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61691 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61693 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61694 for ac_func in modf
61695 do :
61696 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61697 if test "x$ac_cv_func_modf" = x""yes; then :
61698 cat >>confdefs.h <<_ACEOF
61699 #define HAVE_MODF 1
61700 _ACEOF
61703 done
61705 else
61707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61708 $as_echo_n "checking for _modf declaration... " >&6; }
61709 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61710 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61711 $as_echo_n "(cached) " >&6
61712 else
61715 ac_ext=cpp
61716 ac_cpp='$CXXCPP $CPPFLAGS'
61717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61722 /* end confdefs.h. */
61723 #include <math.h>
61725 main ()
61727 _modf(0, 0);
61729 return 0;
61731 _ACEOF
61732 if ac_fn_cxx_try_compile "$LINENO"; then :
61733 glibcxx_cv_func__modf_use=yes
61734 else
61735 glibcxx_cv_func__modf_use=no
61737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61738 ac_ext=c
61739 ac_cpp='$CPP $CPPFLAGS'
61740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61749 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61751 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61752 for ac_func in _modf
61753 do :
61754 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61755 if test "x$ac_cv_func__modf" = x""yes; then :
61756 cat >>confdefs.h <<_ACEOF
61757 #define HAVE__MODF 1
61758 _ACEOF
61761 done
61770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61771 $as_echo_n "checking for powf declaration... " >&6; }
61772 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61773 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61774 $as_echo_n "(cached) " >&6
61775 else
61778 ac_ext=cpp
61779 ac_cpp='$CXXCPP $CPPFLAGS'
61780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61785 /* end confdefs.h. */
61786 #include <math.h>
61788 main ()
61790 powf(0, 0);
61792 return 0;
61794 _ACEOF
61795 if ac_fn_cxx_try_compile "$LINENO"; then :
61796 glibcxx_cv_func_powf_use=yes
61797 else
61798 glibcxx_cv_func_powf_use=no
61800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61801 ac_ext=c
61802 ac_cpp='$CPP $CPPFLAGS'
61803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61812 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61814 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61815 for ac_func in powf
61816 do :
61817 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61818 if test "x$ac_cv_func_powf" = x""yes; then :
61819 cat >>confdefs.h <<_ACEOF
61820 #define HAVE_POWF 1
61821 _ACEOF
61824 done
61826 else
61828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61829 $as_echo_n "checking for _powf declaration... " >&6; }
61830 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61831 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61832 $as_echo_n "(cached) " >&6
61833 else
61836 ac_ext=cpp
61837 ac_cpp='$CXXCPP $CPPFLAGS'
61838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61843 /* end confdefs.h. */
61844 #include <math.h>
61846 main ()
61848 _powf(0, 0);
61850 return 0;
61852 _ACEOF
61853 if ac_fn_cxx_try_compile "$LINENO"; then :
61854 glibcxx_cv_func__powf_use=yes
61855 else
61856 glibcxx_cv_func__powf_use=no
61858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61859 ac_ext=c
61860 ac_cpp='$CPP $CPPFLAGS'
61861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61870 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61872 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61873 for ac_func in _powf
61874 do :
61875 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61876 if test "x$ac_cv_func__powf" = x""yes; then :
61877 cat >>confdefs.h <<_ACEOF
61878 #define HAVE__POWF 1
61879 _ACEOF
61882 done
61891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61892 $as_echo_n "checking for sqrtf declaration... " >&6; }
61893 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61894 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61895 $as_echo_n "(cached) " >&6
61896 else
61899 ac_ext=cpp
61900 ac_cpp='$CXXCPP $CPPFLAGS'
61901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61906 /* end confdefs.h. */
61907 #include <math.h>
61908 #ifdef HAVE_IEEEFP_H
61909 #include <ieeefp.h>
61910 #endif
61913 main ()
61915 sqrtf(0);
61917 return 0;
61919 _ACEOF
61920 if ac_fn_cxx_try_compile "$LINENO"; then :
61921 glibcxx_cv_func_sqrtf_use=yes
61922 else
61923 glibcxx_cv_func_sqrtf_use=no
61925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61926 ac_ext=c
61927 ac_cpp='$CPP $CPPFLAGS'
61928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61937 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61939 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61940 for ac_func in sqrtf
61941 do :
61942 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61943 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61944 cat >>confdefs.h <<_ACEOF
61945 #define HAVE_SQRTF 1
61946 _ACEOF
61949 done
61951 else
61953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61954 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61955 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61956 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61957 $as_echo_n "(cached) " >&6
61958 else
61961 ac_ext=cpp
61962 ac_cpp='$CXXCPP $CPPFLAGS'
61963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61968 /* end confdefs.h. */
61969 #include <math.h>
61970 #ifdef HAVE_IEEEFP_H
61971 #include <ieeefp.h>
61972 #endif
61975 main ()
61977 _sqrtf(0);
61979 return 0;
61981 _ACEOF
61982 if ac_fn_cxx_try_compile "$LINENO"; then :
61983 glibcxx_cv_func__sqrtf_use=yes
61984 else
61985 glibcxx_cv_func__sqrtf_use=no
61987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61988 ac_ext=c
61989 ac_cpp='$CPP $CPPFLAGS'
61990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61999 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62001 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62002 for ac_func in _sqrtf
62003 do :
62004 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62005 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62006 cat >>confdefs.h <<_ACEOF
62007 #define HAVE__SQRTF 1
62008 _ACEOF
62011 done
62020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62021 $as_echo_n "checking for sincosf declaration... " >&6; }
62022 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62023 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62024 $as_echo_n "(cached) " >&6
62025 else
62028 ac_ext=cpp
62029 ac_cpp='$CXXCPP $CPPFLAGS'
62030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62035 /* end confdefs.h. */
62036 #include <math.h>
62038 main ()
62040 sincosf(0, 0, 0);
62042 return 0;
62044 _ACEOF
62045 if ac_fn_cxx_try_compile "$LINENO"; then :
62046 glibcxx_cv_func_sincosf_use=yes
62047 else
62048 glibcxx_cv_func_sincosf_use=no
62050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62051 ac_ext=c
62052 ac_cpp='$CPP $CPPFLAGS'
62053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62062 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62064 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62065 for ac_func in sincosf
62066 do :
62067 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62068 if test "x$ac_cv_func_sincosf" = x""yes; then :
62069 cat >>confdefs.h <<_ACEOF
62070 #define HAVE_SINCOSF 1
62071 _ACEOF
62074 done
62076 else
62078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62079 $as_echo_n "checking for _sincosf declaration... " >&6; }
62080 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62081 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62082 $as_echo_n "(cached) " >&6
62083 else
62086 ac_ext=cpp
62087 ac_cpp='$CXXCPP $CPPFLAGS'
62088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62093 /* end confdefs.h. */
62094 #include <math.h>
62096 main ()
62098 _sincosf(0, 0, 0);
62100 return 0;
62102 _ACEOF
62103 if ac_fn_cxx_try_compile "$LINENO"; then :
62104 glibcxx_cv_func__sincosf_use=yes
62105 else
62106 glibcxx_cv_func__sincosf_use=no
62108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62109 ac_ext=c
62110 ac_cpp='$CPP $CPPFLAGS'
62111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62120 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62122 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62123 for ac_func in _sincosf
62124 do :
62125 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62126 if test "x$ac_cv_func__sincosf" = x""yes; then :
62127 cat >>confdefs.h <<_ACEOF
62128 #define HAVE__SINCOSF 1
62129 _ACEOF
62132 done
62141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62142 $as_echo_n "checking for finitef declaration... " >&6; }
62143 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62144 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62145 $as_echo_n "(cached) " >&6
62146 else
62149 ac_ext=cpp
62150 ac_cpp='$CXXCPP $CPPFLAGS'
62151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62156 /* end confdefs.h. */
62157 #include <math.h>
62158 #ifdef HAVE_IEEEFP_H
62159 #include <ieeefp.h>
62160 #endif
62163 main ()
62165 finitef(0);
62167 return 0;
62169 _ACEOF
62170 if ac_fn_cxx_try_compile "$LINENO"; then :
62171 glibcxx_cv_func_finitef_use=yes
62172 else
62173 glibcxx_cv_func_finitef_use=no
62175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62176 ac_ext=c
62177 ac_cpp='$CPP $CPPFLAGS'
62178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62187 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62189 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62190 for ac_func in finitef
62191 do :
62192 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62193 if test "x$ac_cv_func_finitef" = x""yes; then :
62194 cat >>confdefs.h <<_ACEOF
62195 #define HAVE_FINITEF 1
62196 _ACEOF
62199 done
62201 else
62203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62204 $as_echo_n "checking for _finitef declaration... " >&6; }
62205 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62206 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62207 $as_echo_n "(cached) " >&6
62208 else
62211 ac_ext=cpp
62212 ac_cpp='$CXXCPP $CPPFLAGS'
62213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62218 /* end confdefs.h. */
62219 #include <math.h>
62220 #ifdef HAVE_IEEEFP_H
62221 #include <ieeefp.h>
62222 #endif
62225 main ()
62227 _finitef(0);
62229 return 0;
62231 _ACEOF
62232 if ac_fn_cxx_try_compile "$LINENO"; then :
62233 glibcxx_cv_func__finitef_use=yes
62234 else
62235 glibcxx_cv_func__finitef_use=no
62237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62238 ac_ext=c
62239 ac_cpp='$CPP $CPPFLAGS'
62240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62249 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62251 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62252 for ac_func in _finitef
62253 do :
62254 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62255 if test "x$ac_cv_func__finitef" = x""yes; then :
62256 cat >>confdefs.h <<_ACEOF
62257 #define HAVE__FINITEF 1
62258 _ACEOF
62261 done
62270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62271 $as_echo_n "checking for long double trig functions... " >&6; }
62272 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62273 $as_echo_n "(cached) " >&6
62274 else
62277 ac_ext=cpp
62278 ac_cpp='$CXXCPP $CPPFLAGS'
62279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62284 /* end confdefs.h. */
62285 #include <math.h>
62287 main ()
62289 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62291 return 0;
62293 _ACEOF
62294 if ac_fn_cxx_try_compile "$LINENO"; then :
62295 glibcxx_cv_func_long_double_trig_use=yes
62296 else
62297 glibcxx_cv_func_long_double_trig_use=no
62299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62300 ac_ext=c
62301 ac_cpp='$CPP $CPPFLAGS'
62302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62309 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62310 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62311 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62312 do :
62313 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62314 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62315 eval as_val=\$$as_ac_var
62316 if test "x$as_val" = x""yes; then :
62317 cat >>confdefs.h <<_ACEOF
62318 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62319 _ACEOF
62322 done
62324 else
62325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62326 $as_echo_n "checking for _long double trig functions... " >&6; }
62327 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62328 $as_echo_n "(cached) " >&6
62329 else
62332 ac_ext=cpp
62333 ac_cpp='$CXXCPP $CPPFLAGS'
62334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62339 /* end confdefs.h. */
62340 #include <math.h>
62342 main ()
62344 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62346 return 0;
62348 _ACEOF
62349 if ac_fn_cxx_try_compile "$LINENO"; then :
62350 glibcxx_cv_func__long_double_trig_use=yes
62351 else
62352 glibcxx_cv_func__long_double_trig_use=no
62354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62355 ac_ext=c
62356 ac_cpp='$CPP $CPPFLAGS'
62357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62364 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62365 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62366 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62367 do :
62368 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62369 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62370 eval as_val=\$$as_ac_var
62371 if test "x$as_val" = x""yes; then :
62372 cat >>confdefs.h <<_ACEOF
62373 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62374 _ACEOF
62377 done
62386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62387 $as_echo_n "checking for long double round functions... " >&6; }
62388 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62389 $as_echo_n "(cached) " >&6
62390 else
62393 ac_ext=cpp
62394 ac_cpp='$CXXCPP $CPPFLAGS'
62395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62400 /* end confdefs.h. */
62401 #include <math.h>
62403 main ()
62405 ceill (0); floorl (0);
62407 return 0;
62409 _ACEOF
62410 if ac_fn_cxx_try_compile "$LINENO"; then :
62411 glibcxx_cv_func_long_double_round_use=yes
62412 else
62413 glibcxx_cv_func_long_double_round_use=no
62415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62416 ac_ext=c
62417 ac_cpp='$CPP $CPPFLAGS'
62418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62425 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62426 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62427 for ac_func in ceill floorl
62428 do :
62429 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62430 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62431 eval as_val=\$$as_ac_var
62432 if test "x$as_val" = x""yes; then :
62433 cat >>confdefs.h <<_ACEOF
62434 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62435 _ACEOF
62438 done
62440 else
62441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62442 $as_echo_n "checking for _long double round functions... " >&6; }
62443 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62444 $as_echo_n "(cached) " >&6
62445 else
62448 ac_ext=cpp
62449 ac_cpp='$CXXCPP $CPPFLAGS'
62450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62455 /* end confdefs.h. */
62456 #include <math.h>
62458 main ()
62460 _ceill (0); _floorl (0);
62462 return 0;
62464 _ACEOF
62465 if ac_fn_cxx_try_compile "$LINENO"; then :
62466 glibcxx_cv_func__long_double_round_use=yes
62467 else
62468 glibcxx_cv_func__long_double_round_use=no
62470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62471 ac_ext=c
62472 ac_cpp='$CPP $CPPFLAGS'
62473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62480 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62481 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62482 for ac_func in _ceill _floorl
62483 do :
62484 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62485 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62486 eval as_val=\$$as_ac_var
62487 if test "x$as_val" = x""yes; then :
62488 cat >>confdefs.h <<_ACEOF
62489 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62490 _ACEOF
62493 done
62503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62504 $as_echo_n "checking for isnanl declaration... " >&6; }
62505 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62506 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62507 $as_echo_n "(cached) " >&6
62508 else
62511 ac_ext=cpp
62512 ac_cpp='$CXXCPP $CPPFLAGS'
62513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62518 /* end confdefs.h. */
62519 #include <math.h>
62520 #ifdef HAVE_IEEEFP_H
62521 #include <ieeefp.h>
62522 #endif
62525 main ()
62527 isnanl(0);
62529 return 0;
62531 _ACEOF
62532 if ac_fn_cxx_try_compile "$LINENO"; then :
62533 glibcxx_cv_func_isnanl_use=yes
62534 else
62535 glibcxx_cv_func_isnanl_use=no
62537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62538 ac_ext=c
62539 ac_cpp='$CPP $CPPFLAGS'
62540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62549 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62551 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62552 for ac_func in isnanl
62553 do :
62554 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62555 if test "x$ac_cv_func_isnanl" = x""yes; then :
62556 cat >>confdefs.h <<_ACEOF
62557 #define HAVE_ISNANL 1
62558 _ACEOF
62561 done
62563 else
62565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62566 $as_echo_n "checking for _isnanl declaration... " >&6; }
62567 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62568 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62569 $as_echo_n "(cached) " >&6
62570 else
62573 ac_ext=cpp
62574 ac_cpp='$CXXCPP $CPPFLAGS'
62575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62580 /* end confdefs.h. */
62581 #include <math.h>
62582 #ifdef HAVE_IEEEFP_H
62583 #include <ieeefp.h>
62584 #endif
62587 main ()
62589 _isnanl(0);
62591 return 0;
62593 _ACEOF
62594 if ac_fn_cxx_try_compile "$LINENO"; then :
62595 glibcxx_cv_func__isnanl_use=yes
62596 else
62597 glibcxx_cv_func__isnanl_use=no
62599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62600 ac_ext=c
62601 ac_cpp='$CPP $CPPFLAGS'
62602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62611 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62613 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62614 for ac_func in _isnanl
62615 do :
62616 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62617 if test "x$ac_cv_func__isnanl" = x""yes; then :
62618 cat >>confdefs.h <<_ACEOF
62619 #define HAVE__ISNANL 1
62620 _ACEOF
62623 done
62632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62633 $as_echo_n "checking for isinfl declaration... " >&6; }
62634 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62635 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62636 $as_echo_n "(cached) " >&6
62637 else
62640 ac_ext=cpp
62641 ac_cpp='$CXXCPP $CPPFLAGS'
62642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62647 /* end confdefs.h. */
62648 #include <math.h>
62649 #ifdef HAVE_IEEEFP_H
62650 #include <ieeefp.h>
62651 #endif
62654 main ()
62656 isinfl(0);
62658 return 0;
62660 _ACEOF
62661 if ac_fn_cxx_try_compile "$LINENO"; then :
62662 glibcxx_cv_func_isinfl_use=yes
62663 else
62664 glibcxx_cv_func_isinfl_use=no
62666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62667 ac_ext=c
62668 ac_cpp='$CPP $CPPFLAGS'
62669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62678 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62680 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62681 for ac_func in isinfl
62682 do :
62683 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62684 if test "x$ac_cv_func_isinfl" = x""yes; then :
62685 cat >>confdefs.h <<_ACEOF
62686 #define HAVE_ISINFL 1
62687 _ACEOF
62690 done
62692 else
62694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62695 $as_echo_n "checking for _isinfl declaration... " >&6; }
62696 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62697 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62698 $as_echo_n "(cached) " >&6
62699 else
62702 ac_ext=cpp
62703 ac_cpp='$CXXCPP $CPPFLAGS'
62704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62709 /* end confdefs.h. */
62710 #include <math.h>
62711 #ifdef HAVE_IEEEFP_H
62712 #include <ieeefp.h>
62713 #endif
62716 main ()
62718 _isinfl(0);
62720 return 0;
62722 _ACEOF
62723 if ac_fn_cxx_try_compile "$LINENO"; then :
62724 glibcxx_cv_func__isinfl_use=yes
62725 else
62726 glibcxx_cv_func__isinfl_use=no
62728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62729 ac_ext=c
62730 ac_cpp='$CPP $CPPFLAGS'
62731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62740 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62742 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62743 for ac_func in _isinfl
62744 do :
62745 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62746 if test "x$ac_cv_func__isinfl" = x""yes; then :
62747 cat >>confdefs.h <<_ACEOF
62748 #define HAVE__ISINFL 1
62749 _ACEOF
62752 done
62761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62762 $as_echo_n "checking for atan2l declaration... " >&6; }
62763 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62764 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62765 $as_echo_n "(cached) " >&6
62766 else
62769 ac_ext=cpp
62770 ac_cpp='$CXXCPP $CPPFLAGS'
62771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62776 /* end confdefs.h. */
62777 #include <math.h>
62779 main ()
62781 atan2l(0, 0);
62783 return 0;
62785 _ACEOF
62786 if ac_fn_cxx_try_compile "$LINENO"; then :
62787 glibcxx_cv_func_atan2l_use=yes
62788 else
62789 glibcxx_cv_func_atan2l_use=no
62791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62792 ac_ext=c
62793 ac_cpp='$CPP $CPPFLAGS'
62794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62803 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62805 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62806 for ac_func in atan2l
62807 do :
62808 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62809 if test "x$ac_cv_func_atan2l" = x""yes; then :
62810 cat >>confdefs.h <<_ACEOF
62811 #define HAVE_ATAN2L 1
62812 _ACEOF
62815 done
62817 else
62819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62820 $as_echo_n "checking for _atan2l declaration... " >&6; }
62821 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62822 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62823 $as_echo_n "(cached) " >&6
62824 else
62827 ac_ext=cpp
62828 ac_cpp='$CXXCPP $CPPFLAGS'
62829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62834 /* end confdefs.h. */
62835 #include <math.h>
62837 main ()
62839 _atan2l(0, 0);
62841 return 0;
62843 _ACEOF
62844 if ac_fn_cxx_try_compile "$LINENO"; then :
62845 glibcxx_cv_func__atan2l_use=yes
62846 else
62847 glibcxx_cv_func__atan2l_use=no
62849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62850 ac_ext=c
62851 ac_cpp='$CPP $CPPFLAGS'
62852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62861 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62863 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62864 for ac_func in _atan2l
62865 do :
62866 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62867 if test "x$ac_cv_func__atan2l" = x""yes; then :
62868 cat >>confdefs.h <<_ACEOF
62869 #define HAVE__ATAN2L 1
62870 _ACEOF
62873 done
62882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62883 $as_echo_n "checking for expl declaration... " >&6; }
62884 if test x${glibcxx_cv_func_expl_use+set} != xset; then
62885 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62886 $as_echo_n "(cached) " >&6
62887 else
62890 ac_ext=cpp
62891 ac_cpp='$CXXCPP $CPPFLAGS'
62892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62897 /* end confdefs.h. */
62898 #include <math.h>
62899 #ifdef HAVE_IEEEFP_H
62900 #include <ieeefp.h>
62901 #endif
62904 main ()
62906 expl(0);
62908 return 0;
62910 _ACEOF
62911 if ac_fn_cxx_try_compile "$LINENO"; then :
62912 glibcxx_cv_func_expl_use=yes
62913 else
62914 glibcxx_cv_func_expl_use=no
62916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62917 ac_ext=c
62918 ac_cpp='$CPP $CPPFLAGS'
62919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62928 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62930 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62931 for ac_func in expl
62932 do :
62933 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62934 if test "x$ac_cv_func_expl" = x""yes; then :
62935 cat >>confdefs.h <<_ACEOF
62936 #define HAVE_EXPL 1
62937 _ACEOF
62940 done
62942 else
62944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62945 $as_echo_n "checking for _expl declaration... " >&6; }
62946 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62947 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62948 $as_echo_n "(cached) " >&6
62949 else
62952 ac_ext=cpp
62953 ac_cpp='$CXXCPP $CPPFLAGS'
62954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62959 /* end confdefs.h. */
62960 #include <math.h>
62961 #ifdef HAVE_IEEEFP_H
62962 #include <ieeefp.h>
62963 #endif
62966 main ()
62968 _expl(0);
62970 return 0;
62972 _ACEOF
62973 if ac_fn_cxx_try_compile "$LINENO"; then :
62974 glibcxx_cv_func__expl_use=yes
62975 else
62976 glibcxx_cv_func__expl_use=no
62978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62979 ac_ext=c
62980 ac_cpp='$CPP $CPPFLAGS'
62981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62990 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62992 if test x$glibcxx_cv_func__expl_use = x"yes"; then
62993 for ac_func in _expl
62994 do :
62995 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62996 if test "x$ac_cv_func__expl" = x""yes; then :
62997 cat >>confdefs.h <<_ACEOF
62998 #define HAVE__EXPL 1
62999 _ACEOF
63002 done
63011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63012 $as_echo_n "checking for fabsl declaration... " >&6; }
63013 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63014 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63015 $as_echo_n "(cached) " >&6
63016 else
63019 ac_ext=cpp
63020 ac_cpp='$CXXCPP $CPPFLAGS'
63021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63026 /* end confdefs.h. */
63027 #include <math.h>
63028 #ifdef HAVE_IEEEFP_H
63029 #include <ieeefp.h>
63030 #endif
63033 main ()
63035 fabsl(0);
63037 return 0;
63039 _ACEOF
63040 if ac_fn_cxx_try_compile "$LINENO"; then :
63041 glibcxx_cv_func_fabsl_use=yes
63042 else
63043 glibcxx_cv_func_fabsl_use=no
63045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63046 ac_ext=c
63047 ac_cpp='$CPP $CPPFLAGS'
63048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63057 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63059 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63060 for ac_func in fabsl
63061 do :
63062 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63063 if test "x$ac_cv_func_fabsl" = x""yes; then :
63064 cat >>confdefs.h <<_ACEOF
63065 #define HAVE_FABSL 1
63066 _ACEOF
63069 done
63071 else
63073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63074 $as_echo_n "checking for _fabsl declaration... " >&6; }
63075 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63076 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63077 $as_echo_n "(cached) " >&6
63078 else
63081 ac_ext=cpp
63082 ac_cpp='$CXXCPP $CPPFLAGS'
63083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63088 /* end confdefs.h. */
63089 #include <math.h>
63090 #ifdef HAVE_IEEEFP_H
63091 #include <ieeefp.h>
63092 #endif
63095 main ()
63097 _fabsl(0);
63099 return 0;
63101 _ACEOF
63102 if ac_fn_cxx_try_compile "$LINENO"; then :
63103 glibcxx_cv_func__fabsl_use=yes
63104 else
63105 glibcxx_cv_func__fabsl_use=no
63107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63108 ac_ext=c
63109 ac_cpp='$CPP $CPPFLAGS'
63110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63119 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63121 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63122 for ac_func in _fabsl
63123 do :
63124 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63125 if test "x$ac_cv_func__fabsl" = x""yes; then :
63126 cat >>confdefs.h <<_ACEOF
63127 #define HAVE__FABSL 1
63128 _ACEOF
63131 done
63140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63141 $as_echo_n "checking for fmodl declaration... " >&6; }
63142 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63143 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63144 $as_echo_n "(cached) " >&6
63145 else
63148 ac_ext=cpp
63149 ac_cpp='$CXXCPP $CPPFLAGS'
63150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63155 /* end confdefs.h. */
63156 #include <math.h>
63158 main ()
63160 fmodl(0, 0);
63162 return 0;
63164 _ACEOF
63165 if ac_fn_cxx_try_compile "$LINENO"; then :
63166 glibcxx_cv_func_fmodl_use=yes
63167 else
63168 glibcxx_cv_func_fmodl_use=no
63170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63171 ac_ext=c
63172 ac_cpp='$CPP $CPPFLAGS'
63173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63182 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63184 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63185 for ac_func in fmodl
63186 do :
63187 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63188 if test "x$ac_cv_func_fmodl" = x""yes; then :
63189 cat >>confdefs.h <<_ACEOF
63190 #define HAVE_FMODL 1
63191 _ACEOF
63194 done
63196 else
63198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63199 $as_echo_n "checking for _fmodl declaration... " >&6; }
63200 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63201 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63202 $as_echo_n "(cached) " >&6
63203 else
63206 ac_ext=cpp
63207 ac_cpp='$CXXCPP $CPPFLAGS'
63208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63213 /* end confdefs.h. */
63214 #include <math.h>
63216 main ()
63218 _fmodl(0, 0);
63220 return 0;
63222 _ACEOF
63223 if ac_fn_cxx_try_compile "$LINENO"; then :
63224 glibcxx_cv_func__fmodl_use=yes
63225 else
63226 glibcxx_cv_func__fmodl_use=no
63228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63229 ac_ext=c
63230 ac_cpp='$CPP $CPPFLAGS'
63231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63240 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63242 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63243 for ac_func in _fmodl
63244 do :
63245 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63246 if test "x$ac_cv_func__fmodl" = x""yes; then :
63247 cat >>confdefs.h <<_ACEOF
63248 #define HAVE__FMODL 1
63249 _ACEOF
63252 done
63261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63262 $as_echo_n "checking for frexpl declaration... " >&6; }
63263 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63264 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63265 $as_echo_n "(cached) " >&6
63266 else
63269 ac_ext=cpp
63270 ac_cpp='$CXXCPP $CPPFLAGS'
63271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63276 /* end confdefs.h. */
63277 #include <math.h>
63279 main ()
63281 frexpl(0, 0);
63283 return 0;
63285 _ACEOF
63286 if ac_fn_cxx_try_compile "$LINENO"; then :
63287 glibcxx_cv_func_frexpl_use=yes
63288 else
63289 glibcxx_cv_func_frexpl_use=no
63291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63292 ac_ext=c
63293 ac_cpp='$CPP $CPPFLAGS'
63294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63303 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63305 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63306 for ac_func in frexpl
63307 do :
63308 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63309 if test "x$ac_cv_func_frexpl" = x""yes; then :
63310 cat >>confdefs.h <<_ACEOF
63311 #define HAVE_FREXPL 1
63312 _ACEOF
63315 done
63317 else
63319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63320 $as_echo_n "checking for _frexpl declaration... " >&6; }
63321 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63322 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63323 $as_echo_n "(cached) " >&6
63324 else
63327 ac_ext=cpp
63328 ac_cpp='$CXXCPP $CPPFLAGS'
63329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63334 /* end confdefs.h. */
63335 #include <math.h>
63337 main ()
63339 _frexpl(0, 0);
63341 return 0;
63343 _ACEOF
63344 if ac_fn_cxx_try_compile "$LINENO"; then :
63345 glibcxx_cv_func__frexpl_use=yes
63346 else
63347 glibcxx_cv_func__frexpl_use=no
63349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63350 ac_ext=c
63351 ac_cpp='$CPP $CPPFLAGS'
63352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63361 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63363 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63364 for ac_func in _frexpl
63365 do :
63366 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63367 if test "x$ac_cv_func__frexpl" = x""yes; then :
63368 cat >>confdefs.h <<_ACEOF
63369 #define HAVE__FREXPL 1
63370 _ACEOF
63373 done
63382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63383 $as_echo_n "checking for hypotl declaration... " >&6; }
63384 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63385 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63386 $as_echo_n "(cached) " >&6
63387 else
63390 ac_ext=cpp
63391 ac_cpp='$CXXCPP $CPPFLAGS'
63392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63397 /* end confdefs.h. */
63398 #include <math.h>
63400 main ()
63402 hypotl(0, 0);
63404 return 0;
63406 _ACEOF
63407 if ac_fn_cxx_try_compile "$LINENO"; then :
63408 glibcxx_cv_func_hypotl_use=yes
63409 else
63410 glibcxx_cv_func_hypotl_use=no
63412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63413 ac_ext=c
63414 ac_cpp='$CPP $CPPFLAGS'
63415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63424 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63426 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63427 for ac_func in hypotl
63428 do :
63429 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63430 if test "x$ac_cv_func_hypotl" = x""yes; then :
63431 cat >>confdefs.h <<_ACEOF
63432 #define HAVE_HYPOTL 1
63433 _ACEOF
63436 done
63438 else
63440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63441 $as_echo_n "checking for _hypotl declaration... " >&6; }
63442 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63443 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63444 $as_echo_n "(cached) " >&6
63445 else
63448 ac_ext=cpp
63449 ac_cpp='$CXXCPP $CPPFLAGS'
63450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63455 /* end confdefs.h. */
63456 #include <math.h>
63458 main ()
63460 _hypotl(0, 0);
63462 return 0;
63464 _ACEOF
63465 if ac_fn_cxx_try_compile "$LINENO"; then :
63466 glibcxx_cv_func__hypotl_use=yes
63467 else
63468 glibcxx_cv_func__hypotl_use=no
63470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63471 ac_ext=c
63472 ac_cpp='$CPP $CPPFLAGS'
63473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63482 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63484 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63485 for ac_func in _hypotl
63486 do :
63487 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63488 if test "x$ac_cv_func__hypotl" = x""yes; then :
63489 cat >>confdefs.h <<_ACEOF
63490 #define HAVE__HYPOTL 1
63491 _ACEOF
63494 done
63503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63504 $as_echo_n "checking for ldexpl declaration... " >&6; }
63505 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63506 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63507 $as_echo_n "(cached) " >&6
63508 else
63511 ac_ext=cpp
63512 ac_cpp='$CXXCPP $CPPFLAGS'
63513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63518 /* end confdefs.h. */
63519 #include <math.h>
63521 main ()
63523 ldexpl(0, 0);
63525 return 0;
63527 _ACEOF
63528 if ac_fn_cxx_try_compile "$LINENO"; then :
63529 glibcxx_cv_func_ldexpl_use=yes
63530 else
63531 glibcxx_cv_func_ldexpl_use=no
63533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63534 ac_ext=c
63535 ac_cpp='$CPP $CPPFLAGS'
63536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63545 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63547 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63548 for ac_func in ldexpl
63549 do :
63550 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63551 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63552 cat >>confdefs.h <<_ACEOF
63553 #define HAVE_LDEXPL 1
63554 _ACEOF
63557 done
63559 else
63561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63562 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63563 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63564 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63565 $as_echo_n "(cached) " >&6
63566 else
63569 ac_ext=cpp
63570 ac_cpp='$CXXCPP $CPPFLAGS'
63571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63576 /* end confdefs.h. */
63577 #include <math.h>
63579 main ()
63581 _ldexpl(0, 0);
63583 return 0;
63585 _ACEOF
63586 if ac_fn_cxx_try_compile "$LINENO"; then :
63587 glibcxx_cv_func__ldexpl_use=yes
63588 else
63589 glibcxx_cv_func__ldexpl_use=no
63591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63592 ac_ext=c
63593 ac_cpp='$CPP $CPPFLAGS'
63594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63603 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63605 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63606 for ac_func in _ldexpl
63607 do :
63608 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63609 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63610 cat >>confdefs.h <<_ACEOF
63611 #define HAVE__LDEXPL 1
63612 _ACEOF
63615 done
63624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63625 $as_echo_n "checking for logl declaration... " >&6; }
63626 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63627 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63628 $as_echo_n "(cached) " >&6
63629 else
63632 ac_ext=cpp
63633 ac_cpp='$CXXCPP $CPPFLAGS'
63634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63639 /* end confdefs.h. */
63640 #include <math.h>
63641 #ifdef HAVE_IEEEFP_H
63642 #include <ieeefp.h>
63643 #endif
63646 main ()
63648 logl(0);
63650 return 0;
63652 _ACEOF
63653 if ac_fn_cxx_try_compile "$LINENO"; then :
63654 glibcxx_cv_func_logl_use=yes
63655 else
63656 glibcxx_cv_func_logl_use=no
63658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63659 ac_ext=c
63660 ac_cpp='$CPP $CPPFLAGS'
63661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63670 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63672 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63673 for ac_func in logl
63674 do :
63675 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63676 if test "x$ac_cv_func_logl" = x""yes; then :
63677 cat >>confdefs.h <<_ACEOF
63678 #define HAVE_LOGL 1
63679 _ACEOF
63682 done
63684 else
63686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63687 $as_echo_n "checking for _logl declaration... " >&6; }
63688 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63689 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63690 $as_echo_n "(cached) " >&6
63691 else
63694 ac_ext=cpp
63695 ac_cpp='$CXXCPP $CPPFLAGS'
63696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63701 /* end confdefs.h. */
63702 #include <math.h>
63703 #ifdef HAVE_IEEEFP_H
63704 #include <ieeefp.h>
63705 #endif
63708 main ()
63710 _logl(0);
63712 return 0;
63714 _ACEOF
63715 if ac_fn_cxx_try_compile "$LINENO"; then :
63716 glibcxx_cv_func__logl_use=yes
63717 else
63718 glibcxx_cv_func__logl_use=no
63720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63721 ac_ext=c
63722 ac_cpp='$CPP $CPPFLAGS'
63723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63732 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63734 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63735 for ac_func in _logl
63736 do :
63737 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63738 if test "x$ac_cv_func__logl" = x""yes; then :
63739 cat >>confdefs.h <<_ACEOF
63740 #define HAVE__LOGL 1
63741 _ACEOF
63744 done
63753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63754 $as_echo_n "checking for log10l declaration... " >&6; }
63755 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63756 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63757 $as_echo_n "(cached) " >&6
63758 else
63761 ac_ext=cpp
63762 ac_cpp='$CXXCPP $CPPFLAGS'
63763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63768 /* end confdefs.h. */
63769 #include <math.h>
63770 #ifdef HAVE_IEEEFP_H
63771 #include <ieeefp.h>
63772 #endif
63775 main ()
63777 log10l(0);
63779 return 0;
63781 _ACEOF
63782 if ac_fn_cxx_try_compile "$LINENO"; then :
63783 glibcxx_cv_func_log10l_use=yes
63784 else
63785 glibcxx_cv_func_log10l_use=no
63787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63788 ac_ext=c
63789 ac_cpp='$CPP $CPPFLAGS'
63790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63799 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63801 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63802 for ac_func in log10l
63803 do :
63804 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63805 if test "x$ac_cv_func_log10l" = x""yes; then :
63806 cat >>confdefs.h <<_ACEOF
63807 #define HAVE_LOG10L 1
63808 _ACEOF
63811 done
63813 else
63815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63816 $as_echo_n "checking for _log10l declaration... " >&6; }
63817 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63818 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63819 $as_echo_n "(cached) " >&6
63820 else
63823 ac_ext=cpp
63824 ac_cpp='$CXXCPP $CPPFLAGS'
63825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63830 /* end confdefs.h. */
63831 #include <math.h>
63832 #ifdef HAVE_IEEEFP_H
63833 #include <ieeefp.h>
63834 #endif
63837 main ()
63839 _log10l(0);
63841 return 0;
63843 _ACEOF
63844 if ac_fn_cxx_try_compile "$LINENO"; then :
63845 glibcxx_cv_func__log10l_use=yes
63846 else
63847 glibcxx_cv_func__log10l_use=no
63849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63850 ac_ext=c
63851 ac_cpp='$CPP $CPPFLAGS'
63852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63861 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63863 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63864 for ac_func in _log10l
63865 do :
63866 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63867 if test "x$ac_cv_func__log10l" = x""yes; then :
63868 cat >>confdefs.h <<_ACEOF
63869 #define HAVE__LOG10L 1
63870 _ACEOF
63873 done
63882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63883 $as_echo_n "checking for modfl declaration... " >&6; }
63884 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63885 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63886 $as_echo_n "(cached) " >&6
63887 else
63890 ac_ext=cpp
63891 ac_cpp='$CXXCPP $CPPFLAGS'
63892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63897 /* end confdefs.h. */
63898 #include <math.h>
63900 main ()
63902 modfl(0, 0);
63904 return 0;
63906 _ACEOF
63907 if ac_fn_cxx_try_compile "$LINENO"; then :
63908 glibcxx_cv_func_modfl_use=yes
63909 else
63910 glibcxx_cv_func_modfl_use=no
63912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63913 ac_ext=c
63914 ac_cpp='$CPP $CPPFLAGS'
63915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63924 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63926 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63927 for ac_func in modfl
63928 do :
63929 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63930 if test "x$ac_cv_func_modfl" = x""yes; then :
63931 cat >>confdefs.h <<_ACEOF
63932 #define HAVE_MODFL 1
63933 _ACEOF
63936 done
63938 else
63940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63941 $as_echo_n "checking for _modfl declaration... " >&6; }
63942 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63943 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63944 $as_echo_n "(cached) " >&6
63945 else
63948 ac_ext=cpp
63949 ac_cpp='$CXXCPP $CPPFLAGS'
63950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63955 /* end confdefs.h. */
63956 #include <math.h>
63958 main ()
63960 _modfl(0, 0);
63962 return 0;
63964 _ACEOF
63965 if ac_fn_cxx_try_compile "$LINENO"; then :
63966 glibcxx_cv_func__modfl_use=yes
63967 else
63968 glibcxx_cv_func__modfl_use=no
63970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63971 ac_ext=c
63972 ac_cpp='$CPP $CPPFLAGS'
63973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63982 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63984 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63985 for ac_func in _modfl
63986 do :
63987 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63988 if test "x$ac_cv_func__modfl" = x""yes; then :
63989 cat >>confdefs.h <<_ACEOF
63990 #define HAVE__MODFL 1
63991 _ACEOF
63994 done
64003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64004 $as_echo_n "checking for powl declaration... " >&6; }
64005 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64006 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64007 $as_echo_n "(cached) " >&6
64008 else
64011 ac_ext=cpp
64012 ac_cpp='$CXXCPP $CPPFLAGS'
64013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64018 /* end confdefs.h. */
64019 #include <math.h>
64021 main ()
64023 powl(0, 0);
64025 return 0;
64027 _ACEOF
64028 if ac_fn_cxx_try_compile "$LINENO"; then :
64029 glibcxx_cv_func_powl_use=yes
64030 else
64031 glibcxx_cv_func_powl_use=no
64033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64034 ac_ext=c
64035 ac_cpp='$CPP $CPPFLAGS'
64036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64045 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64047 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64048 for ac_func in powl
64049 do :
64050 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64051 if test "x$ac_cv_func_powl" = x""yes; then :
64052 cat >>confdefs.h <<_ACEOF
64053 #define HAVE_POWL 1
64054 _ACEOF
64057 done
64059 else
64061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64062 $as_echo_n "checking for _powl declaration... " >&6; }
64063 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64064 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64065 $as_echo_n "(cached) " >&6
64066 else
64069 ac_ext=cpp
64070 ac_cpp='$CXXCPP $CPPFLAGS'
64071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64076 /* end confdefs.h. */
64077 #include <math.h>
64079 main ()
64081 _powl(0, 0);
64083 return 0;
64085 _ACEOF
64086 if ac_fn_cxx_try_compile "$LINENO"; then :
64087 glibcxx_cv_func__powl_use=yes
64088 else
64089 glibcxx_cv_func__powl_use=no
64091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64092 ac_ext=c
64093 ac_cpp='$CPP $CPPFLAGS'
64094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64103 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64105 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64106 for ac_func in _powl
64107 do :
64108 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64109 if test "x$ac_cv_func__powl" = x""yes; then :
64110 cat >>confdefs.h <<_ACEOF
64111 #define HAVE__POWL 1
64112 _ACEOF
64115 done
64124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64125 $as_echo_n "checking for sqrtl declaration... " >&6; }
64126 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64127 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64128 $as_echo_n "(cached) " >&6
64129 else
64132 ac_ext=cpp
64133 ac_cpp='$CXXCPP $CPPFLAGS'
64134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64139 /* end confdefs.h. */
64140 #include <math.h>
64141 #ifdef HAVE_IEEEFP_H
64142 #include <ieeefp.h>
64143 #endif
64146 main ()
64148 sqrtl(0);
64150 return 0;
64152 _ACEOF
64153 if ac_fn_cxx_try_compile "$LINENO"; then :
64154 glibcxx_cv_func_sqrtl_use=yes
64155 else
64156 glibcxx_cv_func_sqrtl_use=no
64158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64159 ac_ext=c
64160 ac_cpp='$CPP $CPPFLAGS'
64161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64170 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64172 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64173 for ac_func in sqrtl
64174 do :
64175 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64176 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64177 cat >>confdefs.h <<_ACEOF
64178 #define HAVE_SQRTL 1
64179 _ACEOF
64182 done
64184 else
64186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64187 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64188 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64189 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64190 $as_echo_n "(cached) " >&6
64191 else
64194 ac_ext=cpp
64195 ac_cpp='$CXXCPP $CPPFLAGS'
64196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64201 /* end confdefs.h. */
64202 #include <math.h>
64203 #ifdef HAVE_IEEEFP_H
64204 #include <ieeefp.h>
64205 #endif
64208 main ()
64210 _sqrtl(0);
64212 return 0;
64214 _ACEOF
64215 if ac_fn_cxx_try_compile "$LINENO"; then :
64216 glibcxx_cv_func__sqrtl_use=yes
64217 else
64218 glibcxx_cv_func__sqrtl_use=no
64220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64221 ac_ext=c
64222 ac_cpp='$CPP $CPPFLAGS'
64223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64232 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64234 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64235 for ac_func in _sqrtl
64236 do :
64237 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64238 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64239 cat >>confdefs.h <<_ACEOF
64240 #define HAVE__SQRTL 1
64241 _ACEOF
64244 done
64253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64254 $as_echo_n "checking for sincosl declaration... " >&6; }
64255 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64256 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64257 $as_echo_n "(cached) " >&6
64258 else
64261 ac_ext=cpp
64262 ac_cpp='$CXXCPP $CPPFLAGS'
64263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64268 /* end confdefs.h. */
64269 #include <math.h>
64271 main ()
64273 sincosl(0, 0, 0);
64275 return 0;
64277 _ACEOF
64278 if ac_fn_cxx_try_compile "$LINENO"; then :
64279 glibcxx_cv_func_sincosl_use=yes
64280 else
64281 glibcxx_cv_func_sincosl_use=no
64283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64284 ac_ext=c
64285 ac_cpp='$CPP $CPPFLAGS'
64286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64295 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64297 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64298 for ac_func in sincosl
64299 do :
64300 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64301 if test "x$ac_cv_func_sincosl" = x""yes; then :
64302 cat >>confdefs.h <<_ACEOF
64303 #define HAVE_SINCOSL 1
64304 _ACEOF
64307 done
64309 else
64311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64312 $as_echo_n "checking for _sincosl declaration... " >&6; }
64313 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64314 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64315 $as_echo_n "(cached) " >&6
64316 else
64319 ac_ext=cpp
64320 ac_cpp='$CXXCPP $CPPFLAGS'
64321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64326 /* end confdefs.h. */
64327 #include <math.h>
64329 main ()
64331 _sincosl(0, 0, 0);
64333 return 0;
64335 _ACEOF
64336 if ac_fn_cxx_try_compile "$LINENO"; then :
64337 glibcxx_cv_func__sincosl_use=yes
64338 else
64339 glibcxx_cv_func__sincosl_use=no
64341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64342 ac_ext=c
64343 ac_cpp='$CPP $CPPFLAGS'
64344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64353 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64355 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64356 for ac_func in _sincosl
64357 do :
64358 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64359 if test "x$ac_cv_func__sincosl" = x""yes; then :
64360 cat >>confdefs.h <<_ACEOF
64361 #define HAVE__SINCOSL 1
64362 _ACEOF
64365 done
64374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64375 $as_echo_n "checking for finitel declaration... " >&6; }
64376 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64377 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64378 $as_echo_n "(cached) " >&6
64379 else
64382 ac_ext=cpp
64383 ac_cpp='$CXXCPP $CPPFLAGS'
64384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64389 /* end confdefs.h. */
64390 #include <math.h>
64391 #ifdef HAVE_IEEEFP_H
64392 #include <ieeefp.h>
64393 #endif
64396 main ()
64398 finitel(0);
64400 return 0;
64402 _ACEOF
64403 if ac_fn_cxx_try_compile "$LINENO"; then :
64404 glibcxx_cv_func_finitel_use=yes
64405 else
64406 glibcxx_cv_func_finitel_use=no
64408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64409 ac_ext=c
64410 ac_cpp='$CPP $CPPFLAGS'
64411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64420 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64422 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64423 for ac_func in finitel
64424 do :
64425 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64426 if test "x$ac_cv_func_finitel" = x""yes; then :
64427 cat >>confdefs.h <<_ACEOF
64428 #define HAVE_FINITEL 1
64429 _ACEOF
64432 done
64434 else
64436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64437 $as_echo_n "checking for _finitel declaration... " >&6; }
64438 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64439 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64440 $as_echo_n "(cached) " >&6
64441 else
64444 ac_ext=cpp
64445 ac_cpp='$CXXCPP $CPPFLAGS'
64446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64451 /* end confdefs.h. */
64452 #include <math.h>
64453 #ifdef HAVE_IEEEFP_H
64454 #include <ieeefp.h>
64455 #endif
64458 main ()
64460 _finitel(0);
64462 return 0;
64464 _ACEOF
64465 if ac_fn_cxx_try_compile "$LINENO"; then :
64466 glibcxx_cv_func__finitel_use=yes
64467 else
64468 glibcxx_cv_func__finitel_use=no
64470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64471 ac_ext=c
64472 ac_cpp='$CPP $CPPFLAGS'
64473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64482 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64484 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64485 for ac_func in _finitel
64486 do :
64487 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64488 if test "x$ac_cv_func__finitel" = x""yes; then :
64489 cat >>confdefs.h <<_ACEOF
64490 #define HAVE__FINITEL 1
64491 _ACEOF
64494 done
64502 LIBS="$ac_save_LIBS"
64503 CXXFLAGS="$ac_save_CXXFLAGS"
64506 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64507 ac_save_CXXFLAGS="$CXXFLAGS"
64508 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64512 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64513 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64514 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64515 $as_echo_n "(cached) " >&6
64516 else
64519 ac_ext=cpp
64520 ac_cpp='$CXXCPP $CPPFLAGS'
64521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64526 /* end confdefs.h. */
64527 #include <stdlib.h>
64529 main ()
64531 at_quick_exit(0);
64533 return 0;
64535 _ACEOF
64536 if ac_fn_cxx_try_compile "$LINENO"; then :
64537 glibcxx_cv_func_at_quick_exit_use=yes
64538 else
64539 glibcxx_cv_func_at_quick_exit_use=no
64541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64542 ac_ext=c
64543 ac_cpp='$CPP $CPPFLAGS'
64544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64553 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64554 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64555 for ac_func in at_quick_exit
64556 do :
64557 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64558 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64559 cat >>confdefs.h <<_ACEOF
64560 #define HAVE_AT_QUICK_EXIT 1
64561 _ACEOF
64564 done
64569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64570 $as_echo_n "checking for quick_exit declaration... " >&6; }
64571 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64572 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64573 $as_echo_n "(cached) " >&6
64574 else
64577 ac_ext=cpp
64578 ac_cpp='$CXXCPP $CPPFLAGS'
64579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64584 /* end confdefs.h. */
64585 #include <stdlib.h>
64587 main ()
64589 quick_exit(0);
64591 return 0;
64593 _ACEOF
64594 if ac_fn_cxx_try_compile "$LINENO"; then :
64595 glibcxx_cv_func_quick_exit_use=yes
64596 else
64597 glibcxx_cv_func_quick_exit_use=no
64599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64600 ac_ext=c
64601 ac_cpp='$CPP $CPPFLAGS'
64602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64611 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64612 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64613 for ac_func in quick_exit
64614 do :
64615 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64616 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64617 cat >>confdefs.h <<_ACEOF
64618 #define HAVE_QUICK_EXIT 1
64619 _ACEOF
64622 done
64627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64628 $as_echo_n "checking for strtold declaration... " >&6; }
64629 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64630 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64631 $as_echo_n "(cached) " >&6
64632 else
64635 ac_ext=cpp
64636 ac_cpp='$CXXCPP $CPPFLAGS'
64637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64642 /* end confdefs.h. */
64643 #include <stdlib.h>
64645 main ()
64647 strtold(0, 0);
64649 return 0;
64651 _ACEOF
64652 if ac_fn_cxx_try_compile "$LINENO"; then :
64653 glibcxx_cv_func_strtold_use=yes
64654 else
64655 glibcxx_cv_func_strtold_use=no
64657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64658 ac_ext=c
64659 ac_cpp='$CPP $CPPFLAGS'
64660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64669 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64670 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64671 for ac_func in strtold
64672 do :
64673 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64674 if test "x$ac_cv_func_strtold" = x""yes; then :
64675 cat >>confdefs.h <<_ACEOF
64676 #define HAVE_STRTOLD 1
64677 _ACEOF
64680 done
64687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64688 $as_echo_n "checking for strtof declaration... " >&6; }
64689 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64690 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64691 $as_echo_n "(cached) " >&6
64692 else
64695 ac_ext=cpp
64696 ac_cpp='$CXXCPP $CPPFLAGS'
64697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64702 /* end confdefs.h. */
64703 #include <stdlib.h>
64705 main ()
64707 strtof(0, 0);
64709 return 0;
64711 _ACEOF
64712 if ac_fn_cxx_try_compile "$LINENO"; then :
64713 glibcxx_cv_func_strtof_use=yes
64714 else
64715 glibcxx_cv_func_strtof_use=no
64717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64718 ac_ext=c
64719 ac_cpp='$CPP $CPPFLAGS'
64720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64729 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64730 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64731 for ac_func in strtof
64732 do :
64733 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64734 if test "x$ac_cv_func_strtof" = x""yes; then :
64735 cat >>confdefs.h <<_ACEOF
64736 #define HAVE_STRTOF 1
64737 _ACEOF
64740 done
64747 CXXFLAGS="$ac_save_CXXFLAGS"
64750 *-solaris*)
64751 case "$target" in
64752 *-solaris2.9 | *-solaris2.10)
64754 # If we're not using GNU ld, then there's no point in even trying these
64755 # tests. Check for that first. We should have already tested for gld
64756 # by now (in libtool), but require it now just to be safe...
64757 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64758 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64762 # The name set by libtool depends on the version of libtool. Shame on us
64763 # for depending on an impl detail, but c'est la vie. Older versions used
64764 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64765 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64766 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64767 # set (hence we're using an older libtool), then set it.
64768 if test x${with_gnu_ld+set} != xset; then
64769 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64770 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64771 with_gnu_ld=no
64772 else
64773 with_gnu_ld=$ac_cv_prog_gnu_ld
64777 # Start by getting the version number. I think the libtool test already
64778 # does some of this, but throws away the result.
64779 glibcxx_ld_is_gold=no
64780 if test x"$with_gnu_ld" = x"yes"; then
64781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64782 $as_echo_n "checking for ld version... " >&6; }
64784 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64785 glibcxx_ld_is_gold=yes
64787 ldver=`$LD --version 2>/dev/null |
64788 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
64790 glibcxx_gnu_ld_version=`echo $ldver | \
64791 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64793 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64796 # Set --gc-sections.
64797 glibcxx_have_gc_sections=no
64798 if test "$glibcxx_ld_is_gold" = "yes"; then
64799 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64800 glibcxx_have_gc_sections=yes
64802 else
64803 glibcxx_gcsections_min_ld=21602
64804 if test x"$with_gnu_ld" = x"yes" &&
64805 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64806 glibcxx_have_gc_sections=yes
64809 if test "$glibcxx_have_gc_sections" = "yes"; then
64810 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64811 # NB: This flag only works reliably after 2.16.1. Configure tests
64812 # for this are difficult, so hard wire a value that should work.
64814 ac_test_CFLAGS="${CFLAGS+set}"
64815 ac_save_CFLAGS="$CFLAGS"
64816 CFLAGS='-Wl,--gc-sections'
64818 # Check for -Wl,--gc-sections
64819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64820 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64821 if test x$gcc_no_link = xyes; then
64822 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64825 /* end confdefs.h. */
64826 int one(void) { return 1; }
64827 int two(void) { return 2; }
64830 main ()
64832 two();
64834 return 0;
64836 _ACEOF
64837 if ac_fn_c_try_link "$LINENO"; then :
64838 ac_gcsections=yes
64839 else
64840 ac_gcsections=no
64842 rm -f core conftest.err conftest.$ac_objext \
64843 conftest$ac_exeext conftest.$ac_ext
64844 if test "$ac_gcsections" = "yes"; then
64845 rm -f conftest.c
64846 touch conftest.c
64847 if $CC -c conftest.c; then
64848 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64849 grep "Warning: gc-sections option ignored" > /dev/null; then
64850 ac_gcsections=no
64853 rm -f conftest.c conftest.o conftest
64855 if test "$ac_gcsections" = "yes"; then
64856 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64859 $as_echo "$ac_gcsections" >&6; }
64861 if test "$ac_test_CFLAGS" = set; then
64862 CFLAGS="$ac_save_CFLAGS"
64863 else
64864 # this is the suspicious part
64865 CFLAGS=''
64869 # Set -z,relro.
64870 # Note this is only for shared objects.
64871 ac_ld_relro=no
64872 if test x"$with_gnu_ld" = x"yes"; then
64873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64874 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64875 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64876 if test -n "$cxx_z_relo"; then
64877 OPT_LDFLAGS="-Wl,-z,relro"
64878 ac_ld_relro=yes
64880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64881 $as_echo "$ac_ld_relro" >&6; }
64884 # Set linker optimization flags.
64885 if test x"$with_gnu_ld" = x"yes"; then
64886 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64892 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
64894 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64896 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
64898 # All of the dependencies for wide character support are here, so
64899 # turn it on.
64900 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
64903 esac
64904 case "$target" in
64905 *-*-solaris2.10)
64906 # These two C99 functions are present only in Solaris >= 10
64907 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
64909 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
64912 esac
64913 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64915 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64917 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
64919 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
64922 *-tpf)
64923 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64924 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
64926 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64928 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64930 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64932 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64934 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64936 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64938 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64940 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64942 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
64944 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
64946 if test x"long_double_math_on_this_cpu" = x"yes"; then
64947 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64949 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
64951 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64953 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64957 *-*vms*)
64958 # Check for available headers.
64959 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
64961 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64962 ac_save_CXXFLAGS="$CXXFLAGS"
64963 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
64966 $as_echo_n "checking for sin in -lm... " >&6; }
64967 if test "${ac_cv_lib_m_sin+set}" = set; then :
64968 $as_echo_n "(cached) " >&6
64969 else
64970 ac_check_lib_save_LIBS=$LIBS
64971 LIBS="-lm $LIBS"
64972 if test x$gcc_no_link = xyes; then
64973 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64976 /* end confdefs.h. */
64978 /* Override any GCC internal prototype to avoid an error.
64979 Use char because int might match the return type of a GCC
64980 builtin and then its argument prototype would still apply. */
64981 #ifdef __cplusplus
64982 extern "C"
64983 #endif
64984 char sin ();
64986 main ()
64988 return sin ();
64990 return 0;
64992 _ACEOF
64993 if ac_fn_c_try_link "$LINENO"; then :
64994 ac_cv_lib_m_sin=yes
64995 else
64996 ac_cv_lib_m_sin=no
64998 rm -f core conftest.err conftest.$ac_objext \
64999 conftest$ac_exeext conftest.$ac_ext
65000 LIBS=$ac_check_lib_save_LIBS
65002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65003 $as_echo "$ac_cv_lib_m_sin" >&6; }
65004 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65005 libm="-lm"
65008 ac_save_LIBS="$LIBS"
65009 LIBS="$LIBS $libm"
65013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65014 $as_echo_n "checking for isinf declaration... " >&6; }
65015 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65016 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65017 $as_echo_n "(cached) " >&6
65018 else
65021 ac_ext=cpp
65022 ac_cpp='$CXXCPP $CPPFLAGS'
65023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65028 /* end confdefs.h. */
65029 #include <math.h>
65030 #ifdef HAVE_IEEEFP_H
65031 #include <ieeefp.h>
65032 #endif
65035 main ()
65037 isinf(0);
65039 return 0;
65041 _ACEOF
65042 if ac_fn_cxx_try_compile "$LINENO"; then :
65043 glibcxx_cv_func_isinf_use=yes
65044 else
65045 glibcxx_cv_func_isinf_use=no
65047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65048 ac_ext=c
65049 ac_cpp='$CPP $CPPFLAGS'
65050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65059 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65061 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65062 for ac_func in isinf
65063 do :
65064 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65065 if test "x$ac_cv_func_isinf" = x""yes; then :
65066 cat >>confdefs.h <<_ACEOF
65067 #define HAVE_ISINF 1
65068 _ACEOF
65071 done
65073 else
65075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65076 $as_echo_n "checking for _isinf declaration... " >&6; }
65077 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65078 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65079 $as_echo_n "(cached) " >&6
65080 else
65083 ac_ext=cpp
65084 ac_cpp='$CXXCPP $CPPFLAGS'
65085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65090 /* end confdefs.h. */
65091 #include <math.h>
65092 #ifdef HAVE_IEEEFP_H
65093 #include <ieeefp.h>
65094 #endif
65097 main ()
65099 _isinf(0);
65101 return 0;
65103 _ACEOF
65104 if ac_fn_cxx_try_compile "$LINENO"; then :
65105 glibcxx_cv_func__isinf_use=yes
65106 else
65107 glibcxx_cv_func__isinf_use=no
65109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65110 ac_ext=c
65111 ac_cpp='$CPP $CPPFLAGS'
65112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65121 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65123 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65124 for ac_func in _isinf
65125 do :
65126 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65127 if test "x$ac_cv_func__isinf" = x""yes; then :
65128 cat >>confdefs.h <<_ACEOF
65129 #define HAVE__ISINF 1
65130 _ACEOF
65133 done
65142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65143 $as_echo_n "checking for isnan declaration... " >&6; }
65144 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65145 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65146 $as_echo_n "(cached) " >&6
65147 else
65150 ac_ext=cpp
65151 ac_cpp='$CXXCPP $CPPFLAGS'
65152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65157 /* end confdefs.h. */
65158 #include <math.h>
65159 #ifdef HAVE_IEEEFP_H
65160 #include <ieeefp.h>
65161 #endif
65164 main ()
65166 isnan(0);
65168 return 0;
65170 _ACEOF
65171 if ac_fn_cxx_try_compile "$LINENO"; then :
65172 glibcxx_cv_func_isnan_use=yes
65173 else
65174 glibcxx_cv_func_isnan_use=no
65176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65177 ac_ext=c
65178 ac_cpp='$CPP $CPPFLAGS'
65179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65188 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65190 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65191 for ac_func in isnan
65192 do :
65193 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65194 if test "x$ac_cv_func_isnan" = x""yes; then :
65195 cat >>confdefs.h <<_ACEOF
65196 #define HAVE_ISNAN 1
65197 _ACEOF
65200 done
65202 else
65204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65205 $as_echo_n "checking for _isnan declaration... " >&6; }
65206 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65207 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65208 $as_echo_n "(cached) " >&6
65209 else
65212 ac_ext=cpp
65213 ac_cpp='$CXXCPP $CPPFLAGS'
65214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65219 /* end confdefs.h. */
65220 #include <math.h>
65221 #ifdef HAVE_IEEEFP_H
65222 #include <ieeefp.h>
65223 #endif
65226 main ()
65228 _isnan(0);
65230 return 0;
65232 _ACEOF
65233 if ac_fn_cxx_try_compile "$LINENO"; then :
65234 glibcxx_cv_func__isnan_use=yes
65235 else
65236 glibcxx_cv_func__isnan_use=no
65238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65239 ac_ext=c
65240 ac_cpp='$CPP $CPPFLAGS'
65241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65250 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65252 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65253 for ac_func in _isnan
65254 do :
65255 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65256 if test "x$ac_cv_func__isnan" = x""yes; then :
65257 cat >>confdefs.h <<_ACEOF
65258 #define HAVE__ISNAN 1
65259 _ACEOF
65262 done
65271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65272 $as_echo_n "checking for finite declaration... " >&6; }
65273 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65274 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65275 $as_echo_n "(cached) " >&6
65276 else
65279 ac_ext=cpp
65280 ac_cpp='$CXXCPP $CPPFLAGS'
65281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65286 /* end confdefs.h. */
65287 #include <math.h>
65288 #ifdef HAVE_IEEEFP_H
65289 #include <ieeefp.h>
65290 #endif
65293 main ()
65295 finite(0);
65297 return 0;
65299 _ACEOF
65300 if ac_fn_cxx_try_compile "$LINENO"; then :
65301 glibcxx_cv_func_finite_use=yes
65302 else
65303 glibcxx_cv_func_finite_use=no
65305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65306 ac_ext=c
65307 ac_cpp='$CPP $CPPFLAGS'
65308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65317 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65319 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65320 for ac_func in finite
65321 do :
65322 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65323 if test "x$ac_cv_func_finite" = x""yes; then :
65324 cat >>confdefs.h <<_ACEOF
65325 #define HAVE_FINITE 1
65326 _ACEOF
65329 done
65331 else
65333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65334 $as_echo_n "checking for _finite declaration... " >&6; }
65335 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65336 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65337 $as_echo_n "(cached) " >&6
65338 else
65341 ac_ext=cpp
65342 ac_cpp='$CXXCPP $CPPFLAGS'
65343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65348 /* end confdefs.h. */
65349 #include <math.h>
65350 #ifdef HAVE_IEEEFP_H
65351 #include <ieeefp.h>
65352 #endif
65355 main ()
65357 _finite(0);
65359 return 0;
65361 _ACEOF
65362 if ac_fn_cxx_try_compile "$LINENO"; then :
65363 glibcxx_cv_func__finite_use=yes
65364 else
65365 glibcxx_cv_func__finite_use=no
65367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65368 ac_ext=c
65369 ac_cpp='$CPP $CPPFLAGS'
65370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65379 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65381 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65382 for ac_func in _finite
65383 do :
65384 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65385 if test "x$ac_cv_func__finite" = x""yes; then :
65386 cat >>confdefs.h <<_ACEOF
65387 #define HAVE__FINITE 1
65388 _ACEOF
65391 done
65400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65401 $as_echo_n "checking for sincos declaration... " >&6; }
65402 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65403 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65404 $as_echo_n "(cached) " >&6
65405 else
65408 ac_ext=cpp
65409 ac_cpp='$CXXCPP $CPPFLAGS'
65410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65415 /* end confdefs.h. */
65416 #include <math.h>
65418 main ()
65420 sincos(0, 0, 0);
65422 return 0;
65424 _ACEOF
65425 if ac_fn_cxx_try_compile "$LINENO"; then :
65426 glibcxx_cv_func_sincos_use=yes
65427 else
65428 glibcxx_cv_func_sincos_use=no
65430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65431 ac_ext=c
65432 ac_cpp='$CPP $CPPFLAGS'
65433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65442 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65444 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65445 for ac_func in sincos
65446 do :
65447 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65448 if test "x$ac_cv_func_sincos" = x""yes; then :
65449 cat >>confdefs.h <<_ACEOF
65450 #define HAVE_SINCOS 1
65451 _ACEOF
65454 done
65456 else
65458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65459 $as_echo_n "checking for _sincos declaration... " >&6; }
65460 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65461 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65462 $as_echo_n "(cached) " >&6
65463 else
65466 ac_ext=cpp
65467 ac_cpp='$CXXCPP $CPPFLAGS'
65468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65473 /* end confdefs.h. */
65474 #include <math.h>
65476 main ()
65478 _sincos(0, 0, 0);
65480 return 0;
65482 _ACEOF
65483 if ac_fn_cxx_try_compile "$LINENO"; then :
65484 glibcxx_cv_func__sincos_use=yes
65485 else
65486 glibcxx_cv_func__sincos_use=no
65488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65489 ac_ext=c
65490 ac_cpp='$CPP $CPPFLAGS'
65491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65500 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65502 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65503 for ac_func in _sincos
65504 do :
65505 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65506 if test "x$ac_cv_func__sincos" = x""yes; then :
65507 cat >>confdefs.h <<_ACEOF
65508 #define HAVE__SINCOS 1
65509 _ACEOF
65512 done
65521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65522 $as_echo_n "checking for fpclass declaration... " >&6; }
65523 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65524 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65525 $as_echo_n "(cached) " >&6
65526 else
65529 ac_ext=cpp
65530 ac_cpp='$CXXCPP $CPPFLAGS'
65531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65536 /* end confdefs.h. */
65537 #include <math.h>
65538 #ifdef HAVE_IEEEFP_H
65539 #include <ieeefp.h>
65540 #endif
65543 main ()
65545 fpclass(0);
65547 return 0;
65549 _ACEOF
65550 if ac_fn_cxx_try_compile "$LINENO"; then :
65551 glibcxx_cv_func_fpclass_use=yes
65552 else
65553 glibcxx_cv_func_fpclass_use=no
65555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65556 ac_ext=c
65557 ac_cpp='$CPP $CPPFLAGS'
65558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65567 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65569 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65570 for ac_func in fpclass
65571 do :
65572 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65573 if test "x$ac_cv_func_fpclass" = x""yes; then :
65574 cat >>confdefs.h <<_ACEOF
65575 #define HAVE_FPCLASS 1
65576 _ACEOF
65579 done
65581 else
65583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65584 $as_echo_n "checking for _fpclass declaration... " >&6; }
65585 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65586 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65587 $as_echo_n "(cached) " >&6
65588 else
65591 ac_ext=cpp
65592 ac_cpp='$CXXCPP $CPPFLAGS'
65593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65598 /* end confdefs.h. */
65599 #include <math.h>
65600 #ifdef HAVE_IEEEFP_H
65601 #include <ieeefp.h>
65602 #endif
65605 main ()
65607 _fpclass(0);
65609 return 0;
65611 _ACEOF
65612 if ac_fn_cxx_try_compile "$LINENO"; then :
65613 glibcxx_cv_func__fpclass_use=yes
65614 else
65615 glibcxx_cv_func__fpclass_use=no
65617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65618 ac_ext=c
65619 ac_cpp='$CPP $CPPFLAGS'
65620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65629 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65631 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65632 for ac_func in _fpclass
65633 do :
65634 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65635 if test "x$ac_cv_func__fpclass" = x""yes; then :
65636 cat >>confdefs.h <<_ACEOF
65637 #define HAVE__FPCLASS 1
65638 _ACEOF
65641 done
65650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
65651 $as_echo_n "checking for qfpclass declaration... " >&6; }
65652 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65653 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
65654 $as_echo_n "(cached) " >&6
65655 else
65658 ac_ext=cpp
65659 ac_cpp='$CXXCPP $CPPFLAGS'
65660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65665 /* end confdefs.h. */
65666 #include <math.h>
65667 #ifdef HAVE_IEEEFP_H
65668 #include <ieeefp.h>
65669 #endif
65672 main ()
65674 qfpclass(0);
65676 return 0;
65678 _ACEOF
65679 if ac_fn_cxx_try_compile "$LINENO"; then :
65680 glibcxx_cv_func_qfpclass_use=yes
65681 else
65682 glibcxx_cv_func_qfpclass_use=no
65684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65685 ac_ext=c
65686 ac_cpp='$CPP $CPPFLAGS'
65687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
65696 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
65698 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
65699 for ac_func in qfpclass
65700 do :
65701 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
65702 if test "x$ac_cv_func_qfpclass" = x""yes; then :
65703 cat >>confdefs.h <<_ACEOF
65704 #define HAVE_QFPCLASS 1
65705 _ACEOF
65708 done
65710 else
65712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
65713 $as_echo_n "checking for _qfpclass declaration... " >&6; }
65714 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
65715 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
65716 $as_echo_n "(cached) " >&6
65717 else
65720 ac_ext=cpp
65721 ac_cpp='$CXXCPP $CPPFLAGS'
65722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65727 /* end confdefs.h. */
65728 #include <math.h>
65729 #ifdef HAVE_IEEEFP_H
65730 #include <ieeefp.h>
65731 #endif
65734 main ()
65736 _qfpclass(0);
65738 return 0;
65740 _ACEOF
65741 if ac_fn_cxx_try_compile "$LINENO"; then :
65742 glibcxx_cv_func__qfpclass_use=yes
65743 else
65744 glibcxx_cv_func__qfpclass_use=no
65746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65747 ac_ext=c
65748 ac_cpp='$CPP $CPPFLAGS'
65749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
65758 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
65760 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
65761 for ac_func in _qfpclass
65762 do :
65763 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
65764 if test "x$ac_cv_func__qfpclass" = x""yes; then :
65765 cat >>confdefs.h <<_ACEOF
65766 #define HAVE__QFPCLASS 1
65767 _ACEOF
65770 done
65779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
65780 $as_echo_n "checking for hypot declaration... " >&6; }
65781 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
65782 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
65783 $as_echo_n "(cached) " >&6
65784 else
65787 ac_ext=cpp
65788 ac_cpp='$CXXCPP $CPPFLAGS'
65789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65794 /* end confdefs.h. */
65795 #include <math.h>
65797 main ()
65799 hypot(0, 0);
65801 return 0;
65803 _ACEOF
65804 if ac_fn_cxx_try_compile "$LINENO"; then :
65805 glibcxx_cv_func_hypot_use=yes
65806 else
65807 glibcxx_cv_func_hypot_use=no
65809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65810 ac_ext=c
65811 ac_cpp='$CPP $CPPFLAGS'
65812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
65821 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
65823 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
65824 for ac_func in hypot
65825 do :
65826 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
65827 if test "x$ac_cv_func_hypot" = x""yes; then :
65828 cat >>confdefs.h <<_ACEOF
65829 #define HAVE_HYPOT 1
65830 _ACEOF
65833 done
65835 else
65837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
65838 $as_echo_n "checking for _hypot declaration... " >&6; }
65839 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
65840 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
65841 $as_echo_n "(cached) " >&6
65842 else
65845 ac_ext=cpp
65846 ac_cpp='$CXXCPP $CPPFLAGS'
65847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65852 /* end confdefs.h. */
65853 #include <math.h>
65855 main ()
65857 _hypot(0, 0);
65859 return 0;
65861 _ACEOF
65862 if ac_fn_cxx_try_compile "$LINENO"; then :
65863 glibcxx_cv_func__hypot_use=yes
65864 else
65865 glibcxx_cv_func__hypot_use=no
65867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65868 ac_ext=c
65869 ac_cpp='$CPP $CPPFLAGS'
65870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
65879 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
65881 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
65882 for ac_func in _hypot
65883 do :
65884 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
65885 if test "x$ac_cv_func__hypot" = x""yes; then :
65886 cat >>confdefs.h <<_ACEOF
65887 #define HAVE__HYPOT 1
65888 _ACEOF
65891 done
65900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
65901 $as_echo_n "checking for float trig functions... " >&6; }
65902 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
65903 $as_echo_n "(cached) " >&6
65904 else
65907 ac_ext=cpp
65908 ac_cpp='$CXXCPP $CPPFLAGS'
65909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65914 /* end confdefs.h. */
65915 #include <math.h>
65917 main ()
65919 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
65921 return 0;
65923 _ACEOF
65924 if ac_fn_cxx_try_compile "$LINENO"; then :
65925 glibcxx_cv_func_float_trig_use=yes
65926 else
65927 glibcxx_cv_func_float_trig_use=no
65929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65930 ac_ext=c
65931 ac_cpp='$CPP $CPPFLAGS'
65932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
65939 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
65940 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
65941 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
65942 do :
65943 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65944 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65945 eval as_val=\$$as_ac_var
65946 if test "x$as_val" = x""yes; then :
65947 cat >>confdefs.h <<_ACEOF
65948 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65949 _ACEOF
65952 done
65954 else
65955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
65956 $as_echo_n "checking for _float trig functions... " >&6; }
65957 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
65958 $as_echo_n "(cached) " >&6
65959 else
65962 ac_ext=cpp
65963 ac_cpp='$CXXCPP $CPPFLAGS'
65964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65969 /* end confdefs.h. */
65970 #include <math.h>
65972 main ()
65974 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
65976 return 0;
65978 _ACEOF
65979 if ac_fn_cxx_try_compile "$LINENO"; then :
65980 glibcxx_cv_func__float_trig_use=yes
65981 else
65982 glibcxx_cv_func__float_trig_use=no
65984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65985 ac_ext=c
65986 ac_cpp='$CPP $CPPFLAGS'
65987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
65994 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
65995 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
65996 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
65997 do :
65998 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65999 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66000 eval as_val=\$$as_ac_var
66001 if test "x$as_val" = x""yes; then :
66002 cat >>confdefs.h <<_ACEOF
66003 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66004 _ACEOF
66007 done
66016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66017 $as_echo_n "checking for float round functions... " >&6; }
66018 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66019 $as_echo_n "(cached) " >&6
66020 else
66023 ac_ext=cpp
66024 ac_cpp='$CXXCPP $CPPFLAGS'
66025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66030 /* end confdefs.h. */
66031 #include <math.h>
66033 main ()
66035 ceilf (0); floorf (0);
66037 return 0;
66039 _ACEOF
66040 if ac_fn_cxx_try_compile "$LINENO"; then :
66041 glibcxx_cv_func_float_round_use=yes
66042 else
66043 glibcxx_cv_func_float_round_use=no
66045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66046 ac_ext=c
66047 ac_cpp='$CPP $CPPFLAGS'
66048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66055 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66056 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66057 for ac_func in ceilf floorf
66058 do :
66059 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66060 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66061 eval as_val=\$$as_ac_var
66062 if test "x$as_val" = x""yes; then :
66063 cat >>confdefs.h <<_ACEOF
66064 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66065 _ACEOF
66068 done
66070 else
66071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66072 $as_echo_n "checking for _float round functions... " >&6; }
66073 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66074 $as_echo_n "(cached) " >&6
66075 else
66078 ac_ext=cpp
66079 ac_cpp='$CXXCPP $CPPFLAGS'
66080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66085 /* end confdefs.h. */
66086 #include <math.h>
66088 main ()
66090 _ceilf (0); _floorf (0);
66092 return 0;
66094 _ACEOF
66095 if ac_fn_cxx_try_compile "$LINENO"; then :
66096 glibcxx_cv_func__float_round_use=yes
66097 else
66098 glibcxx_cv_func__float_round_use=no
66100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66101 ac_ext=c
66102 ac_cpp='$CPP $CPPFLAGS'
66103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66110 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66111 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66112 for ac_func in _ceilf _floorf
66113 do :
66114 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66115 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66116 eval as_val=\$$as_ac_var
66117 if test "x$as_val" = x""yes; then :
66118 cat >>confdefs.h <<_ACEOF
66119 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66120 _ACEOF
66123 done
66133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66134 $as_echo_n "checking for expf declaration... " >&6; }
66135 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66136 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66137 $as_echo_n "(cached) " >&6
66138 else
66141 ac_ext=cpp
66142 ac_cpp='$CXXCPP $CPPFLAGS'
66143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66148 /* end confdefs.h. */
66149 #include <math.h>
66150 #ifdef HAVE_IEEEFP_H
66151 #include <ieeefp.h>
66152 #endif
66155 main ()
66157 expf(0);
66159 return 0;
66161 _ACEOF
66162 if ac_fn_cxx_try_compile "$LINENO"; then :
66163 glibcxx_cv_func_expf_use=yes
66164 else
66165 glibcxx_cv_func_expf_use=no
66167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66168 ac_ext=c
66169 ac_cpp='$CPP $CPPFLAGS'
66170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66179 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66181 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66182 for ac_func in expf
66183 do :
66184 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66185 if test "x$ac_cv_func_expf" = x""yes; then :
66186 cat >>confdefs.h <<_ACEOF
66187 #define HAVE_EXPF 1
66188 _ACEOF
66191 done
66193 else
66195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66196 $as_echo_n "checking for _expf declaration... " >&6; }
66197 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66198 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66199 $as_echo_n "(cached) " >&6
66200 else
66203 ac_ext=cpp
66204 ac_cpp='$CXXCPP $CPPFLAGS'
66205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66210 /* end confdefs.h. */
66211 #include <math.h>
66212 #ifdef HAVE_IEEEFP_H
66213 #include <ieeefp.h>
66214 #endif
66217 main ()
66219 _expf(0);
66221 return 0;
66223 _ACEOF
66224 if ac_fn_cxx_try_compile "$LINENO"; then :
66225 glibcxx_cv_func__expf_use=yes
66226 else
66227 glibcxx_cv_func__expf_use=no
66229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66230 ac_ext=c
66231 ac_cpp='$CPP $CPPFLAGS'
66232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66241 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66243 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66244 for ac_func in _expf
66245 do :
66246 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66247 if test "x$ac_cv_func__expf" = x""yes; then :
66248 cat >>confdefs.h <<_ACEOF
66249 #define HAVE__EXPF 1
66250 _ACEOF
66253 done
66262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66263 $as_echo_n "checking for isnanf declaration... " >&6; }
66264 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66265 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66266 $as_echo_n "(cached) " >&6
66267 else
66270 ac_ext=cpp
66271 ac_cpp='$CXXCPP $CPPFLAGS'
66272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66277 /* end confdefs.h. */
66278 #include <math.h>
66279 #ifdef HAVE_IEEEFP_H
66280 #include <ieeefp.h>
66281 #endif
66284 main ()
66286 isnanf(0);
66288 return 0;
66290 _ACEOF
66291 if ac_fn_cxx_try_compile "$LINENO"; then :
66292 glibcxx_cv_func_isnanf_use=yes
66293 else
66294 glibcxx_cv_func_isnanf_use=no
66296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66297 ac_ext=c
66298 ac_cpp='$CPP $CPPFLAGS'
66299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66308 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66310 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66311 for ac_func in isnanf
66312 do :
66313 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66314 if test "x$ac_cv_func_isnanf" = x""yes; then :
66315 cat >>confdefs.h <<_ACEOF
66316 #define HAVE_ISNANF 1
66317 _ACEOF
66320 done
66322 else
66324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66325 $as_echo_n "checking for _isnanf declaration... " >&6; }
66326 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66327 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66328 $as_echo_n "(cached) " >&6
66329 else
66332 ac_ext=cpp
66333 ac_cpp='$CXXCPP $CPPFLAGS'
66334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66339 /* end confdefs.h. */
66340 #include <math.h>
66341 #ifdef HAVE_IEEEFP_H
66342 #include <ieeefp.h>
66343 #endif
66346 main ()
66348 _isnanf(0);
66350 return 0;
66352 _ACEOF
66353 if ac_fn_cxx_try_compile "$LINENO"; then :
66354 glibcxx_cv_func__isnanf_use=yes
66355 else
66356 glibcxx_cv_func__isnanf_use=no
66358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66359 ac_ext=c
66360 ac_cpp='$CPP $CPPFLAGS'
66361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66370 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66372 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66373 for ac_func in _isnanf
66374 do :
66375 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66376 if test "x$ac_cv_func__isnanf" = x""yes; then :
66377 cat >>confdefs.h <<_ACEOF
66378 #define HAVE__ISNANF 1
66379 _ACEOF
66382 done
66391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66392 $as_echo_n "checking for isinff declaration... " >&6; }
66393 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66394 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66395 $as_echo_n "(cached) " >&6
66396 else
66399 ac_ext=cpp
66400 ac_cpp='$CXXCPP $CPPFLAGS'
66401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66406 /* end confdefs.h. */
66407 #include <math.h>
66408 #ifdef HAVE_IEEEFP_H
66409 #include <ieeefp.h>
66410 #endif
66413 main ()
66415 isinff(0);
66417 return 0;
66419 _ACEOF
66420 if ac_fn_cxx_try_compile "$LINENO"; then :
66421 glibcxx_cv_func_isinff_use=yes
66422 else
66423 glibcxx_cv_func_isinff_use=no
66425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66426 ac_ext=c
66427 ac_cpp='$CPP $CPPFLAGS'
66428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66437 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66439 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66440 for ac_func in isinff
66441 do :
66442 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66443 if test "x$ac_cv_func_isinff" = x""yes; then :
66444 cat >>confdefs.h <<_ACEOF
66445 #define HAVE_ISINFF 1
66446 _ACEOF
66449 done
66451 else
66453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66454 $as_echo_n "checking for _isinff declaration... " >&6; }
66455 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66456 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66457 $as_echo_n "(cached) " >&6
66458 else
66461 ac_ext=cpp
66462 ac_cpp='$CXXCPP $CPPFLAGS'
66463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66468 /* end confdefs.h. */
66469 #include <math.h>
66470 #ifdef HAVE_IEEEFP_H
66471 #include <ieeefp.h>
66472 #endif
66475 main ()
66477 _isinff(0);
66479 return 0;
66481 _ACEOF
66482 if ac_fn_cxx_try_compile "$LINENO"; then :
66483 glibcxx_cv_func__isinff_use=yes
66484 else
66485 glibcxx_cv_func__isinff_use=no
66487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66488 ac_ext=c
66489 ac_cpp='$CPP $CPPFLAGS'
66490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66499 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66501 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66502 for ac_func in _isinff
66503 do :
66504 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66505 if test "x$ac_cv_func__isinff" = x""yes; then :
66506 cat >>confdefs.h <<_ACEOF
66507 #define HAVE__ISINFF 1
66508 _ACEOF
66511 done
66520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66521 $as_echo_n "checking for atan2f declaration... " >&6; }
66522 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66523 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66524 $as_echo_n "(cached) " >&6
66525 else
66528 ac_ext=cpp
66529 ac_cpp='$CXXCPP $CPPFLAGS'
66530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66535 /* end confdefs.h. */
66536 #include <math.h>
66538 main ()
66540 atan2f(0, 0);
66542 return 0;
66544 _ACEOF
66545 if ac_fn_cxx_try_compile "$LINENO"; then :
66546 glibcxx_cv_func_atan2f_use=yes
66547 else
66548 glibcxx_cv_func_atan2f_use=no
66550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66551 ac_ext=c
66552 ac_cpp='$CPP $CPPFLAGS'
66553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66562 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66564 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66565 for ac_func in atan2f
66566 do :
66567 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66568 if test "x$ac_cv_func_atan2f" = x""yes; then :
66569 cat >>confdefs.h <<_ACEOF
66570 #define HAVE_ATAN2F 1
66571 _ACEOF
66574 done
66576 else
66578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66579 $as_echo_n "checking for _atan2f declaration... " >&6; }
66580 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66581 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66582 $as_echo_n "(cached) " >&6
66583 else
66586 ac_ext=cpp
66587 ac_cpp='$CXXCPP $CPPFLAGS'
66588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66593 /* end confdefs.h. */
66594 #include <math.h>
66596 main ()
66598 _atan2f(0, 0);
66600 return 0;
66602 _ACEOF
66603 if ac_fn_cxx_try_compile "$LINENO"; then :
66604 glibcxx_cv_func__atan2f_use=yes
66605 else
66606 glibcxx_cv_func__atan2f_use=no
66608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66609 ac_ext=c
66610 ac_cpp='$CPP $CPPFLAGS'
66611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66620 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66622 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66623 for ac_func in _atan2f
66624 do :
66625 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66626 if test "x$ac_cv_func__atan2f" = x""yes; then :
66627 cat >>confdefs.h <<_ACEOF
66628 #define HAVE__ATAN2F 1
66629 _ACEOF
66632 done
66641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
66642 $as_echo_n "checking for fabsf declaration... " >&6; }
66643 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66644 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
66645 $as_echo_n "(cached) " >&6
66646 else
66649 ac_ext=cpp
66650 ac_cpp='$CXXCPP $CPPFLAGS'
66651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66656 /* end confdefs.h. */
66657 #include <math.h>
66658 #ifdef HAVE_IEEEFP_H
66659 #include <ieeefp.h>
66660 #endif
66663 main ()
66665 fabsf(0);
66667 return 0;
66669 _ACEOF
66670 if ac_fn_cxx_try_compile "$LINENO"; then :
66671 glibcxx_cv_func_fabsf_use=yes
66672 else
66673 glibcxx_cv_func_fabsf_use=no
66675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66676 ac_ext=c
66677 ac_cpp='$CPP $CPPFLAGS'
66678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
66687 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
66689 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
66690 for ac_func in fabsf
66691 do :
66692 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
66693 if test "x$ac_cv_func_fabsf" = x""yes; then :
66694 cat >>confdefs.h <<_ACEOF
66695 #define HAVE_FABSF 1
66696 _ACEOF
66699 done
66701 else
66703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
66704 $as_echo_n "checking for _fabsf declaration... " >&6; }
66705 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
66706 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
66707 $as_echo_n "(cached) " >&6
66708 else
66711 ac_ext=cpp
66712 ac_cpp='$CXXCPP $CPPFLAGS'
66713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66718 /* end confdefs.h. */
66719 #include <math.h>
66720 #ifdef HAVE_IEEEFP_H
66721 #include <ieeefp.h>
66722 #endif
66725 main ()
66727 _fabsf(0);
66729 return 0;
66731 _ACEOF
66732 if ac_fn_cxx_try_compile "$LINENO"; then :
66733 glibcxx_cv_func__fabsf_use=yes
66734 else
66735 glibcxx_cv_func__fabsf_use=no
66737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66738 ac_ext=c
66739 ac_cpp='$CPP $CPPFLAGS'
66740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
66749 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
66751 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
66752 for ac_func in _fabsf
66753 do :
66754 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
66755 if test "x$ac_cv_func__fabsf" = x""yes; then :
66756 cat >>confdefs.h <<_ACEOF
66757 #define HAVE__FABSF 1
66758 _ACEOF
66761 done
66770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
66771 $as_echo_n "checking for fmodf declaration... " >&6; }
66772 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
66773 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
66774 $as_echo_n "(cached) " >&6
66775 else
66778 ac_ext=cpp
66779 ac_cpp='$CXXCPP $CPPFLAGS'
66780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66785 /* end confdefs.h. */
66786 #include <math.h>
66788 main ()
66790 fmodf(0, 0);
66792 return 0;
66794 _ACEOF
66795 if ac_fn_cxx_try_compile "$LINENO"; then :
66796 glibcxx_cv_func_fmodf_use=yes
66797 else
66798 glibcxx_cv_func_fmodf_use=no
66800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66801 ac_ext=c
66802 ac_cpp='$CPP $CPPFLAGS'
66803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
66812 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
66814 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
66815 for ac_func in fmodf
66816 do :
66817 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
66818 if test "x$ac_cv_func_fmodf" = x""yes; then :
66819 cat >>confdefs.h <<_ACEOF
66820 #define HAVE_FMODF 1
66821 _ACEOF
66824 done
66826 else
66828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
66829 $as_echo_n "checking for _fmodf declaration... " >&6; }
66830 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
66831 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
66832 $as_echo_n "(cached) " >&6
66833 else
66836 ac_ext=cpp
66837 ac_cpp='$CXXCPP $CPPFLAGS'
66838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66843 /* end confdefs.h. */
66844 #include <math.h>
66846 main ()
66848 _fmodf(0, 0);
66850 return 0;
66852 _ACEOF
66853 if ac_fn_cxx_try_compile "$LINENO"; then :
66854 glibcxx_cv_func__fmodf_use=yes
66855 else
66856 glibcxx_cv_func__fmodf_use=no
66858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66859 ac_ext=c
66860 ac_cpp='$CPP $CPPFLAGS'
66861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
66870 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
66872 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
66873 for ac_func in _fmodf
66874 do :
66875 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
66876 if test "x$ac_cv_func__fmodf" = x""yes; then :
66877 cat >>confdefs.h <<_ACEOF
66878 #define HAVE__FMODF 1
66879 _ACEOF
66882 done
66891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
66892 $as_echo_n "checking for frexpf declaration... " >&6; }
66893 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
66894 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
66895 $as_echo_n "(cached) " >&6
66896 else
66899 ac_ext=cpp
66900 ac_cpp='$CXXCPP $CPPFLAGS'
66901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66906 /* end confdefs.h. */
66907 #include <math.h>
66909 main ()
66911 frexpf(0, 0);
66913 return 0;
66915 _ACEOF
66916 if ac_fn_cxx_try_compile "$LINENO"; then :
66917 glibcxx_cv_func_frexpf_use=yes
66918 else
66919 glibcxx_cv_func_frexpf_use=no
66921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66922 ac_ext=c
66923 ac_cpp='$CPP $CPPFLAGS'
66924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
66933 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
66935 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
66936 for ac_func in frexpf
66937 do :
66938 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
66939 if test "x$ac_cv_func_frexpf" = x""yes; then :
66940 cat >>confdefs.h <<_ACEOF
66941 #define HAVE_FREXPF 1
66942 _ACEOF
66945 done
66947 else
66949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
66950 $as_echo_n "checking for _frexpf declaration... " >&6; }
66951 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
66952 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
66953 $as_echo_n "(cached) " >&6
66954 else
66957 ac_ext=cpp
66958 ac_cpp='$CXXCPP $CPPFLAGS'
66959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66964 /* end confdefs.h. */
66965 #include <math.h>
66967 main ()
66969 _frexpf(0, 0);
66971 return 0;
66973 _ACEOF
66974 if ac_fn_cxx_try_compile "$LINENO"; then :
66975 glibcxx_cv_func__frexpf_use=yes
66976 else
66977 glibcxx_cv_func__frexpf_use=no
66979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66980 ac_ext=c
66981 ac_cpp='$CPP $CPPFLAGS'
66982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
66991 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
66993 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
66994 for ac_func in _frexpf
66995 do :
66996 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
66997 if test "x$ac_cv_func__frexpf" = x""yes; then :
66998 cat >>confdefs.h <<_ACEOF
66999 #define HAVE__FREXPF 1
67000 _ACEOF
67003 done
67012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67013 $as_echo_n "checking for hypotf declaration... " >&6; }
67014 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67015 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67016 $as_echo_n "(cached) " >&6
67017 else
67020 ac_ext=cpp
67021 ac_cpp='$CXXCPP $CPPFLAGS'
67022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67027 /* end confdefs.h. */
67028 #include <math.h>
67030 main ()
67032 hypotf(0, 0);
67034 return 0;
67036 _ACEOF
67037 if ac_fn_cxx_try_compile "$LINENO"; then :
67038 glibcxx_cv_func_hypotf_use=yes
67039 else
67040 glibcxx_cv_func_hypotf_use=no
67042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67043 ac_ext=c
67044 ac_cpp='$CPP $CPPFLAGS'
67045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67054 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67056 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67057 for ac_func in hypotf
67058 do :
67059 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67060 if test "x$ac_cv_func_hypotf" = x""yes; then :
67061 cat >>confdefs.h <<_ACEOF
67062 #define HAVE_HYPOTF 1
67063 _ACEOF
67066 done
67068 else
67070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67071 $as_echo_n "checking for _hypotf declaration... " >&6; }
67072 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67073 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67074 $as_echo_n "(cached) " >&6
67075 else
67078 ac_ext=cpp
67079 ac_cpp='$CXXCPP $CPPFLAGS'
67080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67085 /* end confdefs.h. */
67086 #include <math.h>
67088 main ()
67090 _hypotf(0, 0);
67092 return 0;
67094 _ACEOF
67095 if ac_fn_cxx_try_compile "$LINENO"; then :
67096 glibcxx_cv_func__hypotf_use=yes
67097 else
67098 glibcxx_cv_func__hypotf_use=no
67100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67101 ac_ext=c
67102 ac_cpp='$CPP $CPPFLAGS'
67103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67112 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67114 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67115 for ac_func in _hypotf
67116 do :
67117 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67118 if test "x$ac_cv_func__hypotf" = x""yes; then :
67119 cat >>confdefs.h <<_ACEOF
67120 #define HAVE__HYPOTF 1
67121 _ACEOF
67124 done
67133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67134 $as_echo_n "checking for ldexpf declaration... " >&6; }
67135 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67136 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67137 $as_echo_n "(cached) " >&6
67138 else
67141 ac_ext=cpp
67142 ac_cpp='$CXXCPP $CPPFLAGS'
67143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67148 /* end confdefs.h. */
67149 #include <math.h>
67151 main ()
67153 ldexpf(0, 0);
67155 return 0;
67157 _ACEOF
67158 if ac_fn_cxx_try_compile "$LINENO"; then :
67159 glibcxx_cv_func_ldexpf_use=yes
67160 else
67161 glibcxx_cv_func_ldexpf_use=no
67163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67164 ac_ext=c
67165 ac_cpp='$CPP $CPPFLAGS'
67166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67175 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67177 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67178 for ac_func in ldexpf
67179 do :
67180 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67181 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67182 cat >>confdefs.h <<_ACEOF
67183 #define HAVE_LDEXPF 1
67184 _ACEOF
67187 done
67189 else
67191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67192 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67193 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67194 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67195 $as_echo_n "(cached) " >&6
67196 else
67199 ac_ext=cpp
67200 ac_cpp='$CXXCPP $CPPFLAGS'
67201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67206 /* end confdefs.h. */
67207 #include <math.h>
67209 main ()
67211 _ldexpf(0, 0);
67213 return 0;
67215 _ACEOF
67216 if ac_fn_cxx_try_compile "$LINENO"; then :
67217 glibcxx_cv_func__ldexpf_use=yes
67218 else
67219 glibcxx_cv_func__ldexpf_use=no
67221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67222 ac_ext=c
67223 ac_cpp='$CPP $CPPFLAGS'
67224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67233 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67235 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67236 for ac_func in _ldexpf
67237 do :
67238 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67239 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67240 cat >>confdefs.h <<_ACEOF
67241 #define HAVE__LDEXPF 1
67242 _ACEOF
67245 done
67254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67255 $as_echo_n "checking for logf declaration... " >&6; }
67256 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67257 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67258 $as_echo_n "(cached) " >&6
67259 else
67262 ac_ext=cpp
67263 ac_cpp='$CXXCPP $CPPFLAGS'
67264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67269 /* end confdefs.h. */
67270 #include <math.h>
67271 #ifdef HAVE_IEEEFP_H
67272 #include <ieeefp.h>
67273 #endif
67276 main ()
67278 logf(0);
67280 return 0;
67282 _ACEOF
67283 if ac_fn_cxx_try_compile "$LINENO"; then :
67284 glibcxx_cv_func_logf_use=yes
67285 else
67286 glibcxx_cv_func_logf_use=no
67288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67289 ac_ext=c
67290 ac_cpp='$CPP $CPPFLAGS'
67291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67300 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67302 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67303 for ac_func in logf
67304 do :
67305 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67306 if test "x$ac_cv_func_logf" = x""yes; then :
67307 cat >>confdefs.h <<_ACEOF
67308 #define HAVE_LOGF 1
67309 _ACEOF
67312 done
67314 else
67316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67317 $as_echo_n "checking for _logf declaration... " >&6; }
67318 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67319 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67320 $as_echo_n "(cached) " >&6
67321 else
67324 ac_ext=cpp
67325 ac_cpp='$CXXCPP $CPPFLAGS'
67326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67331 /* end confdefs.h. */
67332 #include <math.h>
67333 #ifdef HAVE_IEEEFP_H
67334 #include <ieeefp.h>
67335 #endif
67338 main ()
67340 _logf(0);
67342 return 0;
67344 _ACEOF
67345 if ac_fn_cxx_try_compile "$LINENO"; then :
67346 glibcxx_cv_func__logf_use=yes
67347 else
67348 glibcxx_cv_func__logf_use=no
67350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67351 ac_ext=c
67352 ac_cpp='$CPP $CPPFLAGS'
67353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67362 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67364 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67365 for ac_func in _logf
67366 do :
67367 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67368 if test "x$ac_cv_func__logf" = x""yes; then :
67369 cat >>confdefs.h <<_ACEOF
67370 #define HAVE__LOGF 1
67371 _ACEOF
67374 done
67383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67384 $as_echo_n "checking for log10f declaration... " >&6; }
67385 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67386 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67387 $as_echo_n "(cached) " >&6
67388 else
67391 ac_ext=cpp
67392 ac_cpp='$CXXCPP $CPPFLAGS'
67393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67398 /* end confdefs.h. */
67399 #include <math.h>
67400 #ifdef HAVE_IEEEFP_H
67401 #include <ieeefp.h>
67402 #endif
67405 main ()
67407 log10f(0);
67409 return 0;
67411 _ACEOF
67412 if ac_fn_cxx_try_compile "$LINENO"; then :
67413 glibcxx_cv_func_log10f_use=yes
67414 else
67415 glibcxx_cv_func_log10f_use=no
67417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67418 ac_ext=c
67419 ac_cpp='$CPP $CPPFLAGS'
67420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67429 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67431 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67432 for ac_func in log10f
67433 do :
67434 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67435 if test "x$ac_cv_func_log10f" = x""yes; then :
67436 cat >>confdefs.h <<_ACEOF
67437 #define HAVE_LOG10F 1
67438 _ACEOF
67441 done
67443 else
67445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67446 $as_echo_n "checking for _log10f declaration... " >&6; }
67447 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67448 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67449 $as_echo_n "(cached) " >&6
67450 else
67453 ac_ext=cpp
67454 ac_cpp='$CXXCPP $CPPFLAGS'
67455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67460 /* end confdefs.h. */
67461 #include <math.h>
67462 #ifdef HAVE_IEEEFP_H
67463 #include <ieeefp.h>
67464 #endif
67467 main ()
67469 _log10f(0);
67471 return 0;
67473 _ACEOF
67474 if ac_fn_cxx_try_compile "$LINENO"; then :
67475 glibcxx_cv_func__log10f_use=yes
67476 else
67477 glibcxx_cv_func__log10f_use=no
67479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67480 ac_ext=c
67481 ac_cpp='$CPP $CPPFLAGS'
67482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67491 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67493 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67494 for ac_func in _log10f
67495 do :
67496 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67497 if test "x$ac_cv_func__log10f" = x""yes; then :
67498 cat >>confdefs.h <<_ACEOF
67499 #define HAVE__LOG10F 1
67500 _ACEOF
67503 done
67512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67513 $as_echo_n "checking for modff declaration... " >&6; }
67514 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67515 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67516 $as_echo_n "(cached) " >&6
67517 else
67520 ac_ext=cpp
67521 ac_cpp='$CXXCPP $CPPFLAGS'
67522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67527 /* end confdefs.h. */
67528 #include <math.h>
67530 main ()
67532 modff(0, 0);
67534 return 0;
67536 _ACEOF
67537 if ac_fn_cxx_try_compile "$LINENO"; then :
67538 glibcxx_cv_func_modff_use=yes
67539 else
67540 glibcxx_cv_func_modff_use=no
67542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67543 ac_ext=c
67544 ac_cpp='$CPP $CPPFLAGS'
67545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67554 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67556 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67557 for ac_func in modff
67558 do :
67559 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67560 if test "x$ac_cv_func_modff" = x""yes; then :
67561 cat >>confdefs.h <<_ACEOF
67562 #define HAVE_MODFF 1
67563 _ACEOF
67566 done
67568 else
67570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67571 $as_echo_n "checking for _modff declaration... " >&6; }
67572 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67573 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67574 $as_echo_n "(cached) " >&6
67575 else
67578 ac_ext=cpp
67579 ac_cpp='$CXXCPP $CPPFLAGS'
67580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67585 /* end confdefs.h. */
67586 #include <math.h>
67588 main ()
67590 _modff(0, 0);
67592 return 0;
67594 _ACEOF
67595 if ac_fn_cxx_try_compile "$LINENO"; then :
67596 glibcxx_cv_func__modff_use=yes
67597 else
67598 glibcxx_cv_func__modff_use=no
67600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67601 ac_ext=c
67602 ac_cpp='$CPP $CPPFLAGS'
67603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67612 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67614 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67615 for ac_func in _modff
67616 do :
67617 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67618 if test "x$ac_cv_func__modff" = x""yes; then :
67619 cat >>confdefs.h <<_ACEOF
67620 #define HAVE__MODFF 1
67621 _ACEOF
67624 done
67633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67634 $as_echo_n "checking for modf declaration... " >&6; }
67635 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67636 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67637 $as_echo_n "(cached) " >&6
67638 else
67641 ac_ext=cpp
67642 ac_cpp='$CXXCPP $CPPFLAGS'
67643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67648 /* end confdefs.h. */
67649 #include <math.h>
67651 main ()
67653 modf(0, 0);
67655 return 0;
67657 _ACEOF
67658 if ac_fn_cxx_try_compile "$LINENO"; then :
67659 glibcxx_cv_func_modf_use=yes
67660 else
67661 glibcxx_cv_func_modf_use=no
67663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67664 ac_ext=c
67665 ac_cpp='$CPP $CPPFLAGS'
67666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
67675 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
67677 if test x$glibcxx_cv_func_modf_use = x"yes"; then
67678 for ac_func in modf
67679 do :
67680 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
67681 if test "x$ac_cv_func_modf" = x""yes; then :
67682 cat >>confdefs.h <<_ACEOF
67683 #define HAVE_MODF 1
67684 _ACEOF
67687 done
67689 else
67691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
67692 $as_echo_n "checking for _modf declaration... " >&6; }
67693 if test x${glibcxx_cv_func__modf_use+set} != xset; then
67694 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
67695 $as_echo_n "(cached) " >&6
67696 else
67699 ac_ext=cpp
67700 ac_cpp='$CXXCPP $CPPFLAGS'
67701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67706 /* end confdefs.h. */
67707 #include <math.h>
67709 main ()
67711 _modf(0, 0);
67713 return 0;
67715 _ACEOF
67716 if ac_fn_cxx_try_compile "$LINENO"; then :
67717 glibcxx_cv_func__modf_use=yes
67718 else
67719 glibcxx_cv_func__modf_use=no
67721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67722 ac_ext=c
67723 ac_cpp='$CPP $CPPFLAGS'
67724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
67733 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
67735 if test x$glibcxx_cv_func__modf_use = x"yes"; then
67736 for ac_func in _modf
67737 do :
67738 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
67739 if test "x$ac_cv_func__modf" = x""yes; then :
67740 cat >>confdefs.h <<_ACEOF
67741 #define HAVE__MODF 1
67742 _ACEOF
67745 done
67754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
67755 $as_echo_n "checking for powf declaration... " >&6; }
67756 if test x${glibcxx_cv_func_powf_use+set} != xset; then
67757 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
67758 $as_echo_n "(cached) " >&6
67759 else
67762 ac_ext=cpp
67763 ac_cpp='$CXXCPP $CPPFLAGS'
67764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67769 /* end confdefs.h. */
67770 #include <math.h>
67772 main ()
67774 powf(0, 0);
67776 return 0;
67778 _ACEOF
67779 if ac_fn_cxx_try_compile "$LINENO"; then :
67780 glibcxx_cv_func_powf_use=yes
67781 else
67782 glibcxx_cv_func_powf_use=no
67784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67785 ac_ext=c
67786 ac_cpp='$CPP $CPPFLAGS'
67787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
67796 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
67798 if test x$glibcxx_cv_func_powf_use = x"yes"; then
67799 for ac_func in powf
67800 do :
67801 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
67802 if test "x$ac_cv_func_powf" = x""yes; then :
67803 cat >>confdefs.h <<_ACEOF
67804 #define HAVE_POWF 1
67805 _ACEOF
67808 done
67810 else
67812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
67813 $as_echo_n "checking for _powf declaration... " >&6; }
67814 if test x${glibcxx_cv_func__powf_use+set} != xset; then
67815 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
67816 $as_echo_n "(cached) " >&6
67817 else
67820 ac_ext=cpp
67821 ac_cpp='$CXXCPP $CPPFLAGS'
67822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67827 /* end confdefs.h. */
67828 #include <math.h>
67830 main ()
67832 _powf(0, 0);
67834 return 0;
67836 _ACEOF
67837 if ac_fn_cxx_try_compile "$LINENO"; then :
67838 glibcxx_cv_func__powf_use=yes
67839 else
67840 glibcxx_cv_func__powf_use=no
67842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67843 ac_ext=c
67844 ac_cpp='$CPP $CPPFLAGS'
67845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
67854 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
67856 if test x$glibcxx_cv_func__powf_use = x"yes"; then
67857 for ac_func in _powf
67858 do :
67859 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
67860 if test "x$ac_cv_func__powf" = x""yes; then :
67861 cat >>confdefs.h <<_ACEOF
67862 #define HAVE__POWF 1
67863 _ACEOF
67866 done
67875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
67876 $as_echo_n "checking for sqrtf declaration... " >&6; }
67877 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
67878 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
67879 $as_echo_n "(cached) " >&6
67880 else
67883 ac_ext=cpp
67884 ac_cpp='$CXXCPP $CPPFLAGS'
67885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67890 /* end confdefs.h. */
67891 #include <math.h>
67892 #ifdef HAVE_IEEEFP_H
67893 #include <ieeefp.h>
67894 #endif
67897 main ()
67899 sqrtf(0);
67901 return 0;
67903 _ACEOF
67904 if ac_fn_cxx_try_compile "$LINENO"; then :
67905 glibcxx_cv_func_sqrtf_use=yes
67906 else
67907 glibcxx_cv_func_sqrtf_use=no
67909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67910 ac_ext=c
67911 ac_cpp='$CPP $CPPFLAGS'
67912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
67921 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
67923 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
67924 for ac_func in sqrtf
67925 do :
67926 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
67927 if test "x$ac_cv_func_sqrtf" = x""yes; then :
67928 cat >>confdefs.h <<_ACEOF
67929 #define HAVE_SQRTF 1
67930 _ACEOF
67933 done
67935 else
67937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
67938 $as_echo_n "checking for _sqrtf declaration... " >&6; }
67939 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
67940 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
67941 $as_echo_n "(cached) " >&6
67942 else
67945 ac_ext=cpp
67946 ac_cpp='$CXXCPP $CPPFLAGS'
67947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67952 /* end confdefs.h. */
67953 #include <math.h>
67954 #ifdef HAVE_IEEEFP_H
67955 #include <ieeefp.h>
67956 #endif
67959 main ()
67961 _sqrtf(0);
67963 return 0;
67965 _ACEOF
67966 if ac_fn_cxx_try_compile "$LINENO"; then :
67967 glibcxx_cv_func__sqrtf_use=yes
67968 else
67969 glibcxx_cv_func__sqrtf_use=no
67971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67972 ac_ext=c
67973 ac_cpp='$CPP $CPPFLAGS'
67974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
67983 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
67985 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
67986 for ac_func in _sqrtf
67987 do :
67988 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
67989 if test "x$ac_cv_func__sqrtf" = x""yes; then :
67990 cat >>confdefs.h <<_ACEOF
67991 #define HAVE__SQRTF 1
67992 _ACEOF
67995 done
68004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68005 $as_echo_n "checking for sincosf declaration... " >&6; }
68006 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68007 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68008 $as_echo_n "(cached) " >&6
68009 else
68012 ac_ext=cpp
68013 ac_cpp='$CXXCPP $CPPFLAGS'
68014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68019 /* end confdefs.h. */
68020 #include <math.h>
68022 main ()
68024 sincosf(0, 0, 0);
68026 return 0;
68028 _ACEOF
68029 if ac_fn_cxx_try_compile "$LINENO"; then :
68030 glibcxx_cv_func_sincosf_use=yes
68031 else
68032 glibcxx_cv_func_sincosf_use=no
68034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68035 ac_ext=c
68036 ac_cpp='$CPP $CPPFLAGS'
68037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68046 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68048 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68049 for ac_func in sincosf
68050 do :
68051 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68052 if test "x$ac_cv_func_sincosf" = x""yes; then :
68053 cat >>confdefs.h <<_ACEOF
68054 #define HAVE_SINCOSF 1
68055 _ACEOF
68058 done
68060 else
68062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68063 $as_echo_n "checking for _sincosf declaration... " >&6; }
68064 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68065 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68066 $as_echo_n "(cached) " >&6
68067 else
68070 ac_ext=cpp
68071 ac_cpp='$CXXCPP $CPPFLAGS'
68072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68077 /* end confdefs.h. */
68078 #include <math.h>
68080 main ()
68082 _sincosf(0, 0, 0);
68084 return 0;
68086 _ACEOF
68087 if ac_fn_cxx_try_compile "$LINENO"; then :
68088 glibcxx_cv_func__sincosf_use=yes
68089 else
68090 glibcxx_cv_func__sincosf_use=no
68092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68093 ac_ext=c
68094 ac_cpp='$CPP $CPPFLAGS'
68095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68104 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68106 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68107 for ac_func in _sincosf
68108 do :
68109 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68110 if test "x$ac_cv_func__sincosf" = x""yes; then :
68111 cat >>confdefs.h <<_ACEOF
68112 #define HAVE__SINCOSF 1
68113 _ACEOF
68116 done
68125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68126 $as_echo_n "checking for finitef declaration... " >&6; }
68127 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68128 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68129 $as_echo_n "(cached) " >&6
68130 else
68133 ac_ext=cpp
68134 ac_cpp='$CXXCPP $CPPFLAGS'
68135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68140 /* end confdefs.h. */
68141 #include <math.h>
68142 #ifdef HAVE_IEEEFP_H
68143 #include <ieeefp.h>
68144 #endif
68147 main ()
68149 finitef(0);
68151 return 0;
68153 _ACEOF
68154 if ac_fn_cxx_try_compile "$LINENO"; then :
68155 glibcxx_cv_func_finitef_use=yes
68156 else
68157 glibcxx_cv_func_finitef_use=no
68159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68160 ac_ext=c
68161 ac_cpp='$CPP $CPPFLAGS'
68162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68171 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68173 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68174 for ac_func in finitef
68175 do :
68176 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68177 if test "x$ac_cv_func_finitef" = x""yes; then :
68178 cat >>confdefs.h <<_ACEOF
68179 #define HAVE_FINITEF 1
68180 _ACEOF
68183 done
68185 else
68187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68188 $as_echo_n "checking for _finitef declaration... " >&6; }
68189 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68190 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68191 $as_echo_n "(cached) " >&6
68192 else
68195 ac_ext=cpp
68196 ac_cpp='$CXXCPP $CPPFLAGS'
68197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68202 /* end confdefs.h. */
68203 #include <math.h>
68204 #ifdef HAVE_IEEEFP_H
68205 #include <ieeefp.h>
68206 #endif
68209 main ()
68211 _finitef(0);
68213 return 0;
68215 _ACEOF
68216 if ac_fn_cxx_try_compile "$LINENO"; then :
68217 glibcxx_cv_func__finitef_use=yes
68218 else
68219 glibcxx_cv_func__finitef_use=no
68221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68222 ac_ext=c
68223 ac_cpp='$CPP $CPPFLAGS'
68224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68233 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68235 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68236 for ac_func in _finitef
68237 do :
68238 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68239 if test "x$ac_cv_func__finitef" = x""yes; then :
68240 cat >>confdefs.h <<_ACEOF
68241 #define HAVE__FINITEF 1
68242 _ACEOF
68245 done
68254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68255 $as_echo_n "checking for long double trig functions... " >&6; }
68256 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68257 $as_echo_n "(cached) " >&6
68258 else
68261 ac_ext=cpp
68262 ac_cpp='$CXXCPP $CPPFLAGS'
68263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68268 /* end confdefs.h. */
68269 #include <math.h>
68271 main ()
68273 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68275 return 0;
68277 _ACEOF
68278 if ac_fn_cxx_try_compile "$LINENO"; then :
68279 glibcxx_cv_func_long_double_trig_use=yes
68280 else
68281 glibcxx_cv_func_long_double_trig_use=no
68283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68284 ac_ext=c
68285 ac_cpp='$CPP $CPPFLAGS'
68286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68293 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68294 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68295 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68296 do :
68297 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68298 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68299 eval as_val=\$$as_ac_var
68300 if test "x$as_val" = x""yes; then :
68301 cat >>confdefs.h <<_ACEOF
68302 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68303 _ACEOF
68306 done
68308 else
68309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68310 $as_echo_n "checking for _long double trig functions... " >&6; }
68311 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68312 $as_echo_n "(cached) " >&6
68313 else
68316 ac_ext=cpp
68317 ac_cpp='$CXXCPP $CPPFLAGS'
68318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68323 /* end confdefs.h. */
68324 #include <math.h>
68326 main ()
68328 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68330 return 0;
68332 _ACEOF
68333 if ac_fn_cxx_try_compile "$LINENO"; then :
68334 glibcxx_cv_func__long_double_trig_use=yes
68335 else
68336 glibcxx_cv_func__long_double_trig_use=no
68338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68339 ac_ext=c
68340 ac_cpp='$CPP $CPPFLAGS'
68341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68348 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68349 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68350 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68351 do :
68352 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68353 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68354 eval as_val=\$$as_ac_var
68355 if test "x$as_val" = x""yes; then :
68356 cat >>confdefs.h <<_ACEOF
68357 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68358 _ACEOF
68361 done
68370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68371 $as_echo_n "checking for long double round functions... " >&6; }
68372 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68373 $as_echo_n "(cached) " >&6
68374 else
68377 ac_ext=cpp
68378 ac_cpp='$CXXCPP $CPPFLAGS'
68379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68384 /* end confdefs.h. */
68385 #include <math.h>
68387 main ()
68389 ceill (0); floorl (0);
68391 return 0;
68393 _ACEOF
68394 if ac_fn_cxx_try_compile "$LINENO"; then :
68395 glibcxx_cv_func_long_double_round_use=yes
68396 else
68397 glibcxx_cv_func_long_double_round_use=no
68399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68400 ac_ext=c
68401 ac_cpp='$CPP $CPPFLAGS'
68402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68409 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68410 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68411 for ac_func in ceill floorl
68412 do :
68413 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68414 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68415 eval as_val=\$$as_ac_var
68416 if test "x$as_val" = x""yes; then :
68417 cat >>confdefs.h <<_ACEOF
68418 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68419 _ACEOF
68422 done
68424 else
68425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68426 $as_echo_n "checking for _long double round functions... " >&6; }
68427 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68428 $as_echo_n "(cached) " >&6
68429 else
68432 ac_ext=cpp
68433 ac_cpp='$CXXCPP $CPPFLAGS'
68434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68439 /* end confdefs.h. */
68440 #include <math.h>
68442 main ()
68444 _ceill (0); _floorl (0);
68446 return 0;
68448 _ACEOF
68449 if ac_fn_cxx_try_compile "$LINENO"; then :
68450 glibcxx_cv_func__long_double_round_use=yes
68451 else
68452 glibcxx_cv_func__long_double_round_use=no
68454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68455 ac_ext=c
68456 ac_cpp='$CPP $CPPFLAGS'
68457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68464 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68465 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68466 for ac_func in _ceill _floorl
68467 do :
68468 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68469 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68470 eval as_val=\$$as_ac_var
68471 if test "x$as_val" = x""yes; then :
68472 cat >>confdefs.h <<_ACEOF
68473 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68474 _ACEOF
68477 done
68487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68488 $as_echo_n "checking for isnanl declaration... " >&6; }
68489 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68490 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68491 $as_echo_n "(cached) " >&6
68492 else
68495 ac_ext=cpp
68496 ac_cpp='$CXXCPP $CPPFLAGS'
68497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68502 /* end confdefs.h. */
68503 #include <math.h>
68504 #ifdef HAVE_IEEEFP_H
68505 #include <ieeefp.h>
68506 #endif
68509 main ()
68511 isnanl(0);
68513 return 0;
68515 _ACEOF
68516 if ac_fn_cxx_try_compile "$LINENO"; then :
68517 glibcxx_cv_func_isnanl_use=yes
68518 else
68519 glibcxx_cv_func_isnanl_use=no
68521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68522 ac_ext=c
68523 ac_cpp='$CPP $CPPFLAGS'
68524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68533 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68535 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68536 for ac_func in isnanl
68537 do :
68538 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68539 if test "x$ac_cv_func_isnanl" = x""yes; then :
68540 cat >>confdefs.h <<_ACEOF
68541 #define HAVE_ISNANL 1
68542 _ACEOF
68545 done
68547 else
68549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68550 $as_echo_n "checking for _isnanl declaration... " >&6; }
68551 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68552 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68553 $as_echo_n "(cached) " >&6
68554 else
68557 ac_ext=cpp
68558 ac_cpp='$CXXCPP $CPPFLAGS'
68559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68564 /* end confdefs.h. */
68565 #include <math.h>
68566 #ifdef HAVE_IEEEFP_H
68567 #include <ieeefp.h>
68568 #endif
68571 main ()
68573 _isnanl(0);
68575 return 0;
68577 _ACEOF
68578 if ac_fn_cxx_try_compile "$LINENO"; then :
68579 glibcxx_cv_func__isnanl_use=yes
68580 else
68581 glibcxx_cv_func__isnanl_use=no
68583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68584 ac_ext=c
68585 ac_cpp='$CPP $CPPFLAGS'
68586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68595 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68597 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68598 for ac_func in _isnanl
68599 do :
68600 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68601 if test "x$ac_cv_func__isnanl" = x""yes; then :
68602 cat >>confdefs.h <<_ACEOF
68603 #define HAVE__ISNANL 1
68604 _ACEOF
68607 done
68616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68617 $as_echo_n "checking for isinfl declaration... " >&6; }
68618 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68619 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68620 $as_echo_n "(cached) " >&6
68621 else
68624 ac_ext=cpp
68625 ac_cpp='$CXXCPP $CPPFLAGS'
68626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68631 /* end confdefs.h. */
68632 #include <math.h>
68633 #ifdef HAVE_IEEEFP_H
68634 #include <ieeefp.h>
68635 #endif
68638 main ()
68640 isinfl(0);
68642 return 0;
68644 _ACEOF
68645 if ac_fn_cxx_try_compile "$LINENO"; then :
68646 glibcxx_cv_func_isinfl_use=yes
68647 else
68648 glibcxx_cv_func_isinfl_use=no
68650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68651 ac_ext=c
68652 ac_cpp='$CPP $CPPFLAGS'
68653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
68662 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
68664 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
68665 for ac_func in isinfl
68666 do :
68667 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
68668 if test "x$ac_cv_func_isinfl" = x""yes; then :
68669 cat >>confdefs.h <<_ACEOF
68670 #define HAVE_ISINFL 1
68671 _ACEOF
68674 done
68676 else
68678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
68679 $as_echo_n "checking for _isinfl declaration... " >&6; }
68680 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
68681 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
68682 $as_echo_n "(cached) " >&6
68683 else
68686 ac_ext=cpp
68687 ac_cpp='$CXXCPP $CPPFLAGS'
68688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68693 /* end confdefs.h. */
68694 #include <math.h>
68695 #ifdef HAVE_IEEEFP_H
68696 #include <ieeefp.h>
68697 #endif
68700 main ()
68702 _isinfl(0);
68704 return 0;
68706 _ACEOF
68707 if ac_fn_cxx_try_compile "$LINENO"; then :
68708 glibcxx_cv_func__isinfl_use=yes
68709 else
68710 glibcxx_cv_func__isinfl_use=no
68712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68713 ac_ext=c
68714 ac_cpp='$CPP $CPPFLAGS'
68715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
68724 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
68726 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
68727 for ac_func in _isinfl
68728 do :
68729 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
68730 if test "x$ac_cv_func__isinfl" = x""yes; then :
68731 cat >>confdefs.h <<_ACEOF
68732 #define HAVE__ISINFL 1
68733 _ACEOF
68736 done
68745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
68746 $as_echo_n "checking for atan2l declaration... " >&6; }
68747 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
68748 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
68749 $as_echo_n "(cached) " >&6
68750 else
68753 ac_ext=cpp
68754 ac_cpp='$CXXCPP $CPPFLAGS'
68755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68760 /* end confdefs.h. */
68761 #include <math.h>
68763 main ()
68765 atan2l(0, 0);
68767 return 0;
68769 _ACEOF
68770 if ac_fn_cxx_try_compile "$LINENO"; then :
68771 glibcxx_cv_func_atan2l_use=yes
68772 else
68773 glibcxx_cv_func_atan2l_use=no
68775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68776 ac_ext=c
68777 ac_cpp='$CPP $CPPFLAGS'
68778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
68787 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
68789 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
68790 for ac_func in atan2l
68791 do :
68792 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
68793 if test "x$ac_cv_func_atan2l" = x""yes; then :
68794 cat >>confdefs.h <<_ACEOF
68795 #define HAVE_ATAN2L 1
68796 _ACEOF
68799 done
68801 else
68803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
68804 $as_echo_n "checking for _atan2l declaration... " >&6; }
68805 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
68806 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
68807 $as_echo_n "(cached) " >&6
68808 else
68811 ac_ext=cpp
68812 ac_cpp='$CXXCPP $CPPFLAGS'
68813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68818 /* end confdefs.h. */
68819 #include <math.h>
68821 main ()
68823 _atan2l(0, 0);
68825 return 0;
68827 _ACEOF
68828 if ac_fn_cxx_try_compile "$LINENO"; then :
68829 glibcxx_cv_func__atan2l_use=yes
68830 else
68831 glibcxx_cv_func__atan2l_use=no
68833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68834 ac_ext=c
68835 ac_cpp='$CPP $CPPFLAGS'
68836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
68845 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
68847 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
68848 for ac_func in _atan2l
68849 do :
68850 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
68851 if test "x$ac_cv_func__atan2l" = x""yes; then :
68852 cat >>confdefs.h <<_ACEOF
68853 #define HAVE__ATAN2L 1
68854 _ACEOF
68857 done
68866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
68867 $as_echo_n "checking for expl declaration... " >&6; }
68868 if test x${glibcxx_cv_func_expl_use+set} != xset; then
68869 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
68870 $as_echo_n "(cached) " >&6
68871 else
68874 ac_ext=cpp
68875 ac_cpp='$CXXCPP $CPPFLAGS'
68876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68881 /* end confdefs.h. */
68882 #include <math.h>
68883 #ifdef HAVE_IEEEFP_H
68884 #include <ieeefp.h>
68885 #endif
68888 main ()
68890 expl(0);
68892 return 0;
68894 _ACEOF
68895 if ac_fn_cxx_try_compile "$LINENO"; then :
68896 glibcxx_cv_func_expl_use=yes
68897 else
68898 glibcxx_cv_func_expl_use=no
68900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68901 ac_ext=c
68902 ac_cpp='$CPP $CPPFLAGS'
68903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
68912 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
68914 if test x$glibcxx_cv_func_expl_use = x"yes"; then
68915 for ac_func in expl
68916 do :
68917 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
68918 if test "x$ac_cv_func_expl" = x""yes; then :
68919 cat >>confdefs.h <<_ACEOF
68920 #define HAVE_EXPL 1
68921 _ACEOF
68924 done
68926 else
68928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
68929 $as_echo_n "checking for _expl declaration... " >&6; }
68930 if test x${glibcxx_cv_func__expl_use+set} != xset; then
68931 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
68932 $as_echo_n "(cached) " >&6
68933 else
68936 ac_ext=cpp
68937 ac_cpp='$CXXCPP $CPPFLAGS'
68938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68943 /* end confdefs.h. */
68944 #include <math.h>
68945 #ifdef HAVE_IEEEFP_H
68946 #include <ieeefp.h>
68947 #endif
68950 main ()
68952 _expl(0);
68954 return 0;
68956 _ACEOF
68957 if ac_fn_cxx_try_compile "$LINENO"; then :
68958 glibcxx_cv_func__expl_use=yes
68959 else
68960 glibcxx_cv_func__expl_use=no
68962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68963 ac_ext=c
68964 ac_cpp='$CPP $CPPFLAGS'
68965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
68974 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
68976 if test x$glibcxx_cv_func__expl_use = x"yes"; then
68977 for ac_func in _expl
68978 do :
68979 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
68980 if test "x$ac_cv_func__expl" = x""yes; then :
68981 cat >>confdefs.h <<_ACEOF
68982 #define HAVE__EXPL 1
68983 _ACEOF
68986 done
68995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
68996 $as_echo_n "checking for fabsl declaration... " >&6; }
68997 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
68998 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
68999 $as_echo_n "(cached) " >&6
69000 else
69003 ac_ext=cpp
69004 ac_cpp='$CXXCPP $CPPFLAGS'
69005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69010 /* end confdefs.h. */
69011 #include <math.h>
69012 #ifdef HAVE_IEEEFP_H
69013 #include <ieeefp.h>
69014 #endif
69017 main ()
69019 fabsl(0);
69021 return 0;
69023 _ACEOF
69024 if ac_fn_cxx_try_compile "$LINENO"; then :
69025 glibcxx_cv_func_fabsl_use=yes
69026 else
69027 glibcxx_cv_func_fabsl_use=no
69029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69030 ac_ext=c
69031 ac_cpp='$CPP $CPPFLAGS'
69032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69041 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69043 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69044 for ac_func in fabsl
69045 do :
69046 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69047 if test "x$ac_cv_func_fabsl" = x""yes; then :
69048 cat >>confdefs.h <<_ACEOF
69049 #define HAVE_FABSL 1
69050 _ACEOF
69053 done
69055 else
69057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69058 $as_echo_n "checking for _fabsl declaration... " >&6; }
69059 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69060 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69061 $as_echo_n "(cached) " >&6
69062 else
69065 ac_ext=cpp
69066 ac_cpp='$CXXCPP $CPPFLAGS'
69067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69072 /* end confdefs.h. */
69073 #include <math.h>
69074 #ifdef HAVE_IEEEFP_H
69075 #include <ieeefp.h>
69076 #endif
69079 main ()
69081 _fabsl(0);
69083 return 0;
69085 _ACEOF
69086 if ac_fn_cxx_try_compile "$LINENO"; then :
69087 glibcxx_cv_func__fabsl_use=yes
69088 else
69089 glibcxx_cv_func__fabsl_use=no
69091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69092 ac_ext=c
69093 ac_cpp='$CPP $CPPFLAGS'
69094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69103 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69105 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69106 for ac_func in _fabsl
69107 do :
69108 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69109 if test "x$ac_cv_func__fabsl" = x""yes; then :
69110 cat >>confdefs.h <<_ACEOF
69111 #define HAVE__FABSL 1
69112 _ACEOF
69115 done
69124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69125 $as_echo_n "checking for fmodl declaration... " >&6; }
69126 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69127 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69128 $as_echo_n "(cached) " >&6
69129 else
69132 ac_ext=cpp
69133 ac_cpp='$CXXCPP $CPPFLAGS'
69134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69139 /* end confdefs.h. */
69140 #include <math.h>
69142 main ()
69144 fmodl(0, 0);
69146 return 0;
69148 _ACEOF
69149 if ac_fn_cxx_try_compile "$LINENO"; then :
69150 glibcxx_cv_func_fmodl_use=yes
69151 else
69152 glibcxx_cv_func_fmodl_use=no
69154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69155 ac_ext=c
69156 ac_cpp='$CPP $CPPFLAGS'
69157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69166 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69168 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69169 for ac_func in fmodl
69170 do :
69171 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69172 if test "x$ac_cv_func_fmodl" = x""yes; then :
69173 cat >>confdefs.h <<_ACEOF
69174 #define HAVE_FMODL 1
69175 _ACEOF
69178 done
69180 else
69182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69183 $as_echo_n "checking for _fmodl declaration... " >&6; }
69184 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69185 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69186 $as_echo_n "(cached) " >&6
69187 else
69190 ac_ext=cpp
69191 ac_cpp='$CXXCPP $CPPFLAGS'
69192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69197 /* end confdefs.h. */
69198 #include <math.h>
69200 main ()
69202 _fmodl(0, 0);
69204 return 0;
69206 _ACEOF
69207 if ac_fn_cxx_try_compile "$LINENO"; then :
69208 glibcxx_cv_func__fmodl_use=yes
69209 else
69210 glibcxx_cv_func__fmodl_use=no
69212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69213 ac_ext=c
69214 ac_cpp='$CPP $CPPFLAGS'
69215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69224 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69226 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69227 for ac_func in _fmodl
69228 do :
69229 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69230 if test "x$ac_cv_func__fmodl" = x""yes; then :
69231 cat >>confdefs.h <<_ACEOF
69232 #define HAVE__FMODL 1
69233 _ACEOF
69236 done
69245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69246 $as_echo_n "checking for frexpl declaration... " >&6; }
69247 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69248 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69249 $as_echo_n "(cached) " >&6
69250 else
69253 ac_ext=cpp
69254 ac_cpp='$CXXCPP $CPPFLAGS'
69255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69260 /* end confdefs.h. */
69261 #include <math.h>
69263 main ()
69265 frexpl(0, 0);
69267 return 0;
69269 _ACEOF
69270 if ac_fn_cxx_try_compile "$LINENO"; then :
69271 glibcxx_cv_func_frexpl_use=yes
69272 else
69273 glibcxx_cv_func_frexpl_use=no
69275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69276 ac_ext=c
69277 ac_cpp='$CPP $CPPFLAGS'
69278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69287 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69289 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69290 for ac_func in frexpl
69291 do :
69292 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69293 if test "x$ac_cv_func_frexpl" = x""yes; then :
69294 cat >>confdefs.h <<_ACEOF
69295 #define HAVE_FREXPL 1
69296 _ACEOF
69299 done
69301 else
69303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69304 $as_echo_n "checking for _frexpl declaration... " >&6; }
69305 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69306 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69307 $as_echo_n "(cached) " >&6
69308 else
69311 ac_ext=cpp
69312 ac_cpp='$CXXCPP $CPPFLAGS'
69313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69318 /* end confdefs.h. */
69319 #include <math.h>
69321 main ()
69323 _frexpl(0, 0);
69325 return 0;
69327 _ACEOF
69328 if ac_fn_cxx_try_compile "$LINENO"; then :
69329 glibcxx_cv_func__frexpl_use=yes
69330 else
69331 glibcxx_cv_func__frexpl_use=no
69333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69334 ac_ext=c
69335 ac_cpp='$CPP $CPPFLAGS'
69336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69345 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69347 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69348 for ac_func in _frexpl
69349 do :
69350 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69351 if test "x$ac_cv_func__frexpl" = x""yes; then :
69352 cat >>confdefs.h <<_ACEOF
69353 #define HAVE__FREXPL 1
69354 _ACEOF
69357 done
69366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69367 $as_echo_n "checking for hypotl declaration... " >&6; }
69368 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69369 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69370 $as_echo_n "(cached) " >&6
69371 else
69374 ac_ext=cpp
69375 ac_cpp='$CXXCPP $CPPFLAGS'
69376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69381 /* end confdefs.h. */
69382 #include <math.h>
69384 main ()
69386 hypotl(0, 0);
69388 return 0;
69390 _ACEOF
69391 if ac_fn_cxx_try_compile "$LINENO"; then :
69392 glibcxx_cv_func_hypotl_use=yes
69393 else
69394 glibcxx_cv_func_hypotl_use=no
69396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69397 ac_ext=c
69398 ac_cpp='$CPP $CPPFLAGS'
69399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69408 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69410 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69411 for ac_func in hypotl
69412 do :
69413 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69414 if test "x$ac_cv_func_hypotl" = x""yes; then :
69415 cat >>confdefs.h <<_ACEOF
69416 #define HAVE_HYPOTL 1
69417 _ACEOF
69420 done
69422 else
69424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69425 $as_echo_n "checking for _hypotl declaration... " >&6; }
69426 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69427 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69428 $as_echo_n "(cached) " >&6
69429 else
69432 ac_ext=cpp
69433 ac_cpp='$CXXCPP $CPPFLAGS'
69434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69439 /* end confdefs.h. */
69440 #include <math.h>
69442 main ()
69444 _hypotl(0, 0);
69446 return 0;
69448 _ACEOF
69449 if ac_fn_cxx_try_compile "$LINENO"; then :
69450 glibcxx_cv_func__hypotl_use=yes
69451 else
69452 glibcxx_cv_func__hypotl_use=no
69454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69455 ac_ext=c
69456 ac_cpp='$CPP $CPPFLAGS'
69457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69466 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69468 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69469 for ac_func in _hypotl
69470 do :
69471 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69472 if test "x$ac_cv_func__hypotl" = x""yes; then :
69473 cat >>confdefs.h <<_ACEOF
69474 #define HAVE__HYPOTL 1
69475 _ACEOF
69478 done
69487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69488 $as_echo_n "checking for ldexpl declaration... " >&6; }
69489 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69490 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69491 $as_echo_n "(cached) " >&6
69492 else
69495 ac_ext=cpp
69496 ac_cpp='$CXXCPP $CPPFLAGS'
69497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69502 /* end confdefs.h. */
69503 #include <math.h>
69505 main ()
69507 ldexpl(0, 0);
69509 return 0;
69511 _ACEOF
69512 if ac_fn_cxx_try_compile "$LINENO"; then :
69513 glibcxx_cv_func_ldexpl_use=yes
69514 else
69515 glibcxx_cv_func_ldexpl_use=no
69517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69518 ac_ext=c
69519 ac_cpp='$CPP $CPPFLAGS'
69520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69529 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69531 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69532 for ac_func in ldexpl
69533 do :
69534 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69535 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69536 cat >>confdefs.h <<_ACEOF
69537 #define HAVE_LDEXPL 1
69538 _ACEOF
69541 done
69543 else
69545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69546 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69547 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69548 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69549 $as_echo_n "(cached) " >&6
69550 else
69553 ac_ext=cpp
69554 ac_cpp='$CXXCPP $CPPFLAGS'
69555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69560 /* end confdefs.h. */
69561 #include <math.h>
69563 main ()
69565 _ldexpl(0, 0);
69567 return 0;
69569 _ACEOF
69570 if ac_fn_cxx_try_compile "$LINENO"; then :
69571 glibcxx_cv_func__ldexpl_use=yes
69572 else
69573 glibcxx_cv_func__ldexpl_use=no
69575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69576 ac_ext=c
69577 ac_cpp='$CPP $CPPFLAGS'
69578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69587 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69589 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69590 for ac_func in _ldexpl
69591 do :
69592 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69593 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69594 cat >>confdefs.h <<_ACEOF
69595 #define HAVE__LDEXPL 1
69596 _ACEOF
69599 done
69608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69609 $as_echo_n "checking for logl declaration... " >&6; }
69610 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69611 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69612 $as_echo_n "(cached) " >&6
69613 else
69616 ac_ext=cpp
69617 ac_cpp='$CXXCPP $CPPFLAGS'
69618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69623 /* end confdefs.h. */
69624 #include <math.h>
69625 #ifdef HAVE_IEEEFP_H
69626 #include <ieeefp.h>
69627 #endif
69630 main ()
69632 logl(0);
69634 return 0;
69636 _ACEOF
69637 if ac_fn_cxx_try_compile "$LINENO"; then :
69638 glibcxx_cv_func_logl_use=yes
69639 else
69640 glibcxx_cv_func_logl_use=no
69642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69643 ac_ext=c
69644 ac_cpp='$CPP $CPPFLAGS'
69645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69654 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69656 if test x$glibcxx_cv_func_logl_use = x"yes"; then
69657 for ac_func in logl
69658 do :
69659 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
69660 if test "x$ac_cv_func_logl" = x""yes; then :
69661 cat >>confdefs.h <<_ACEOF
69662 #define HAVE_LOGL 1
69663 _ACEOF
69666 done
69668 else
69670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
69671 $as_echo_n "checking for _logl declaration... " >&6; }
69672 if test x${glibcxx_cv_func__logl_use+set} != xset; then
69673 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
69674 $as_echo_n "(cached) " >&6
69675 else
69678 ac_ext=cpp
69679 ac_cpp='$CXXCPP $CPPFLAGS'
69680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69685 /* end confdefs.h. */
69686 #include <math.h>
69687 #ifdef HAVE_IEEEFP_H
69688 #include <ieeefp.h>
69689 #endif
69692 main ()
69694 _logl(0);
69696 return 0;
69698 _ACEOF
69699 if ac_fn_cxx_try_compile "$LINENO"; then :
69700 glibcxx_cv_func__logl_use=yes
69701 else
69702 glibcxx_cv_func__logl_use=no
69704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69705 ac_ext=c
69706 ac_cpp='$CPP $CPPFLAGS'
69707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
69716 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
69718 if test x$glibcxx_cv_func__logl_use = x"yes"; then
69719 for ac_func in _logl
69720 do :
69721 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
69722 if test "x$ac_cv_func__logl" = x""yes; then :
69723 cat >>confdefs.h <<_ACEOF
69724 #define HAVE__LOGL 1
69725 _ACEOF
69728 done
69737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
69738 $as_echo_n "checking for log10l declaration... " >&6; }
69739 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69740 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
69741 $as_echo_n "(cached) " >&6
69742 else
69745 ac_ext=cpp
69746 ac_cpp='$CXXCPP $CPPFLAGS'
69747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69752 /* end confdefs.h. */
69753 #include <math.h>
69754 #ifdef HAVE_IEEEFP_H
69755 #include <ieeefp.h>
69756 #endif
69759 main ()
69761 log10l(0);
69763 return 0;
69765 _ACEOF
69766 if ac_fn_cxx_try_compile "$LINENO"; then :
69767 glibcxx_cv_func_log10l_use=yes
69768 else
69769 glibcxx_cv_func_log10l_use=no
69771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69772 ac_ext=c
69773 ac_cpp='$CPP $CPPFLAGS'
69774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
69783 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
69785 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69786 for ac_func in log10l
69787 do :
69788 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
69789 if test "x$ac_cv_func_log10l" = x""yes; then :
69790 cat >>confdefs.h <<_ACEOF
69791 #define HAVE_LOG10L 1
69792 _ACEOF
69795 done
69797 else
69799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
69800 $as_echo_n "checking for _log10l declaration... " >&6; }
69801 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69802 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
69803 $as_echo_n "(cached) " >&6
69804 else
69807 ac_ext=cpp
69808 ac_cpp='$CXXCPP $CPPFLAGS'
69809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69814 /* end confdefs.h. */
69815 #include <math.h>
69816 #ifdef HAVE_IEEEFP_H
69817 #include <ieeefp.h>
69818 #endif
69821 main ()
69823 _log10l(0);
69825 return 0;
69827 _ACEOF
69828 if ac_fn_cxx_try_compile "$LINENO"; then :
69829 glibcxx_cv_func__log10l_use=yes
69830 else
69831 glibcxx_cv_func__log10l_use=no
69833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69834 ac_ext=c
69835 ac_cpp='$CPP $CPPFLAGS'
69836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
69845 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
69847 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69848 for ac_func in _log10l
69849 do :
69850 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
69851 if test "x$ac_cv_func__log10l" = x""yes; then :
69852 cat >>confdefs.h <<_ACEOF
69853 #define HAVE__LOG10L 1
69854 _ACEOF
69857 done
69866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
69867 $as_echo_n "checking for modfl declaration... " >&6; }
69868 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
69869 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
69870 $as_echo_n "(cached) " >&6
69871 else
69874 ac_ext=cpp
69875 ac_cpp='$CXXCPP $CPPFLAGS'
69876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69881 /* end confdefs.h. */
69882 #include <math.h>
69884 main ()
69886 modfl(0, 0);
69888 return 0;
69890 _ACEOF
69891 if ac_fn_cxx_try_compile "$LINENO"; then :
69892 glibcxx_cv_func_modfl_use=yes
69893 else
69894 glibcxx_cv_func_modfl_use=no
69896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69897 ac_ext=c
69898 ac_cpp='$CPP $CPPFLAGS'
69899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
69908 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
69910 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
69911 for ac_func in modfl
69912 do :
69913 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
69914 if test "x$ac_cv_func_modfl" = x""yes; then :
69915 cat >>confdefs.h <<_ACEOF
69916 #define HAVE_MODFL 1
69917 _ACEOF
69920 done
69922 else
69924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
69925 $as_echo_n "checking for _modfl declaration... " >&6; }
69926 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
69927 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
69928 $as_echo_n "(cached) " >&6
69929 else
69932 ac_ext=cpp
69933 ac_cpp='$CXXCPP $CPPFLAGS'
69934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69939 /* end confdefs.h. */
69940 #include <math.h>
69942 main ()
69944 _modfl(0, 0);
69946 return 0;
69948 _ACEOF
69949 if ac_fn_cxx_try_compile "$LINENO"; then :
69950 glibcxx_cv_func__modfl_use=yes
69951 else
69952 glibcxx_cv_func__modfl_use=no
69954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69955 ac_ext=c
69956 ac_cpp='$CPP $CPPFLAGS'
69957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
69966 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
69968 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
69969 for ac_func in _modfl
69970 do :
69971 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
69972 if test "x$ac_cv_func__modfl" = x""yes; then :
69973 cat >>confdefs.h <<_ACEOF
69974 #define HAVE__MODFL 1
69975 _ACEOF
69978 done
69987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
69988 $as_echo_n "checking for powl declaration... " >&6; }
69989 if test x${glibcxx_cv_func_powl_use+set} != xset; then
69990 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
69991 $as_echo_n "(cached) " >&6
69992 else
69995 ac_ext=cpp
69996 ac_cpp='$CXXCPP $CPPFLAGS'
69997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70002 /* end confdefs.h. */
70003 #include <math.h>
70005 main ()
70007 powl(0, 0);
70009 return 0;
70011 _ACEOF
70012 if ac_fn_cxx_try_compile "$LINENO"; then :
70013 glibcxx_cv_func_powl_use=yes
70014 else
70015 glibcxx_cv_func_powl_use=no
70017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70018 ac_ext=c
70019 ac_cpp='$CPP $CPPFLAGS'
70020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70029 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70031 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70032 for ac_func in powl
70033 do :
70034 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70035 if test "x$ac_cv_func_powl" = x""yes; then :
70036 cat >>confdefs.h <<_ACEOF
70037 #define HAVE_POWL 1
70038 _ACEOF
70041 done
70043 else
70045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70046 $as_echo_n "checking for _powl declaration... " >&6; }
70047 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70048 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70049 $as_echo_n "(cached) " >&6
70050 else
70053 ac_ext=cpp
70054 ac_cpp='$CXXCPP $CPPFLAGS'
70055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70060 /* end confdefs.h. */
70061 #include <math.h>
70063 main ()
70065 _powl(0, 0);
70067 return 0;
70069 _ACEOF
70070 if ac_fn_cxx_try_compile "$LINENO"; then :
70071 glibcxx_cv_func__powl_use=yes
70072 else
70073 glibcxx_cv_func__powl_use=no
70075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70076 ac_ext=c
70077 ac_cpp='$CPP $CPPFLAGS'
70078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70087 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70089 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70090 for ac_func in _powl
70091 do :
70092 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70093 if test "x$ac_cv_func__powl" = x""yes; then :
70094 cat >>confdefs.h <<_ACEOF
70095 #define HAVE__POWL 1
70096 _ACEOF
70099 done
70108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70109 $as_echo_n "checking for sqrtl declaration... " >&6; }
70110 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70111 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70112 $as_echo_n "(cached) " >&6
70113 else
70116 ac_ext=cpp
70117 ac_cpp='$CXXCPP $CPPFLAGS'
70118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70123 /* end confdefs.h. */
70124 #include <math.h>
70125 #ifdef HAVE_IEEEFP_H
70126 #include <ieeefp.h>
70127 #endif
70130 main ()
70132 sqrtl(0);
70134 return 0;
70136 _ACEOF
70137 if ac_fn_cxx_try_compile "$LINENO"; then :
70138 glibcxx_cv_func_sqrtl_use=yes
70139 else
70140 glibcxx_cv_func_sqrtl_use=no
70142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70143 ac_ext=c
70144 ac_cpp='$CPP $CPPFLAGS'
70145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70154 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70156 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70157 for ac_func in sqrtl
70158 do :
70159 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70160 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70161 cat >>confdefs.h <<_ACEOF
70162 #define HAVE_SQRTL 1
70163 _ACEOF
70166 done
70168 else
70170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70171 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70172 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70173 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70174 $as_echo_n "(cached) " >&6
70175 else
70178 ac_ext=cpp
70179 ac_cpp='$CXXCPP $CPPFLAGS'
70180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70185 /* end confdefs.h. */
70186 #include <math.h>
70187 #ifdef HAVE_IEEEFP_H
70188 #include <ieeefp.h>
70189 #endif
70192 main ()
70194 _sqrtl(0);
70196 return 0;
70198 _ACEOF
70199 if ac_fn_cxx_try_compile "$LINENO"; then :
70200 glibcxx_cv_func__sqrtl_use=yes
70201 else
70202 glibcxx_cv_func__sqrtl_use=no
70204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70205 ac_ext=c
70206 ac_cpp='$CPP $CPPFLAGS'
70207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70216 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70218 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70219 for ac_func in _sqrtl
70220 do :
70221 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70222 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70223 cat >>confdefs.h <<_ACEOF
70224 #define HAVE__SQRTL 1
70225 _ACEOF
70228 done
70237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70238 $as_echo_n "checking for sincosl declaration... " >&6; }
70239 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70240 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70241 $as_echo_n "(cached) " >&6
70242 else
70245 ac_ext=cpp
70246 ac_cpp='$CXXCPP $CPPFLAGS'
70247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70252 /* end confdefs.h. */
70253 #include <math.h>
70255 main ()
70257 sincosl(0, 0, 0);
70259 return 0;
70261 _ACEOF
70262 if ac_fn_cxx_try_compile "$LINENO"; then :
70263 glibcxx_cv_func_sincosl_use=yes
70264 else
70265 glibcxx_cv_func_sincosl_use=no
70267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70268 ac_ext=c
70269 ac_cpp='$CPP $CPPFLAGS'
70270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70279 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70281 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70282 for ac_func in sincosl
70283 do :
70284 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70285 if test "x$ac_cv_func_sincosl" = x""yes; then :
70286 cat >>confdefs.h <<_ACEOF
70287 #define HAVE_SINCOSL 1
70288 _ACEOF
70291 done
70293 else
70295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70296 $as_echo_n "checking for _sincosl declaration... " >&6; }
70297 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70298 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70299 $as_echo_n "(cached) " >&6
70300 else
70303 ac_ext=cpp
70304 ac_cpp='$CXXCPP $CPPFLAGS'
70305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70310 /* end confdefs.h. */
70311 #include <math.h>
70313 main ()
70315 _sincosl(0, 0, 0);
70317 return 0;
70319 _ACEOF
70320 if ac_fn_cxx_try_compile "$LINENO"; then :
70321 glibcxx_cv_func__sincosl_use=yes
70322 else
70323 glibcxx_cv_func__sincosl_use=no
70325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70326 ac_ext=c
70327 ac_cpp='$CPP $CPPFLAGS'
70328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70337 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70339 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70340 for ac_func in _sincosl
70341 do :
70342 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70343 if test "x$ac_cv_func__sincosl" = x""yes; then :
70344 cat >>confdefs.h <<_ACEOF
70345 #define HAVE__SINCOSL 1
70346 _ACEOF
70349 done
70358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70359 $as_echo_n "checking for finitel declaration... " >&6; }
70360 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70361 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70362 $as_echo_n "(cached) " >&6
70363 else
70366 ac_ext=cpp
70367 ac_cpp='$CXXCPP $CPPFLAGS'
70368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70373 /* end confdefs.h. */
70374 #include <math.h>
70375 #ifdef HAVE_IEEEFP_H
70376 #include <ieeefp.h>
70377 #endif
70380 main ()
70382 finitel(0);
70384 return 0;
70386 _ACEOF
70387 if ac_fn_cxx_try_compile "$LINENO"; then :
70388 glibcxx_cv_func_finitel_use=yes
70389 else
70390 glibcxx_cv_func_finitel_use=no
70392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70393 ac_ext=c
70394 ac_cpp='$CPP $CPPFLAGS'
70395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70404 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70406 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70407 for ac_func in finitel
70408 do :
70409 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70410 if test "x$ac_cv_func_finitel" = x""yes; then :
70411 cat >>confdefs.h <<_ACEOF
70412 #define HAVE_FINITEL 1
70413 _ACEOF
70416 done
70418 else
70420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70421 $as_echo_n "checking for _finitel declaration... " >&6; }
70422 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70423 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70424 $as_echo_n "(cached) " >&6
70425 else
70428 ac_ext=cpp
70429 ac_cpp='$CXXCPP $CPPFLAGS'
70430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70435 /* end confdefs.h. */
70436 #include <math.h>
70437 #ifdef HAVE_IEEEFP_H
70438 #include <ieeefp.h>
70439 #endif
70442 main ()
70444 _finitel(0);
70446 return 0;
70448 _ACEOF
70449 if ac_fn_cxx_try_compile "$LINENO"; then :
70450 glibcxx_cv_func__finitel_use=yes
70451 else
70452 glibcxx_cv_func__finitel_use=no
70454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70455 ac_ext=c
70456 ac_cpp='$CPP $CPPFLAGS'
70457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70466 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70468 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70469 for ac_func in _finitel
70470 do :
70471 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70472 if test "x$ac_cv_func__finitel" = x""yes; then :
70473 cat >>confdefs.h <<_ACEOF
70474 #define HAVE__FINITEL 1
70475 _ACEOF
70478 done
70486 LIBS="$ac_save_LIBS"
70487 CXXFLAGS="$ac_save_CXXFLAGS"
70490 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70491 ac_save_CXXFLAGS="$CXXFLAGS"
70492 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70496 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70497 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70498 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70499 $as_echo_n "(cached) " >&6
70500 else
70503 ac_ext=cpp
70504 ac_cpp='$CXXCPP $CPPFLAGS'
70505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70510 /* end confdefs.h. */
70511 #include <stdlib.h>
70513 main ()
70515 at_quick_exit(0);
70517 return 0;
70519 _ACEOF
70520 if ac_fn_cxx_try_compile "$LINENO"; then :
70521 glibcxx_cv_func_at_quick_exit_use=yes
70522 else
70523 glibcxx_cv_func_at_quick_exit_use=no
70525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70526 ac_ext=c
70527 ac_cpp='$CPP $CPPFLAGS'
70528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70537 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70538 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70539 for ac_func in at_quick_exit
70540 do :
70541 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70542 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70543 cat >>confdefs.h <<_ACEOF
70544 #define HAVE_AT_QUICK_EXIT 1
70545 _ACEOF
70548 done
70553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70554 $as_echo_n "checking for quick_exit declaration... " >&6; }
70555 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70556 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70557 $as_echo_n "(cached) " >&6
70558 else
70561 ac_ext=cpp
70562 ac_cpp='$CXXCPP $CPPFLAGS'
70563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70568 /* end confdefs.h. */
70569 #include <stdlib.h>
70571 main ()
70573 quick_exit(0);
70575 return 0;
70577 _ACEOF
70578 if ac_fn_cxx_try_compile "$LINENO"; then :
70579 glibcxx_cv_func_quick_exit_use=yes
70580 else
70581 glibcxx_cv_func_quick_exit_use=no
70583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70584 ac_ext=c
70585 ac_cpp='$CPP $CPPFLAGS'
70586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70595 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70596 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70597 for ac_func in quick_exit
70598 do :
70599 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70600 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70601 cat >>confdefs.h <<_ACEOF
70602 #define HAVE_QUICK_EXIT 1
70603 _ACEOF
70606 done
70611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70612 $as_echo_n "checking for strtold declaration... " >&6; }
70613 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70614 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70615 $as_echo_n "(cached) " >&6
70616 else
70619 ac_ext=cpp
70620 ac_cpp='$CXXCPP $CPPFLAGS'
70621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70626 /* end confdefs.h. */
70627 #include <stdlib.h>
70629 main ()
70631 strtold(0, 0);
70633 return 0;
70635 _ACEOF
70636 if ac_fn_cxx_try_compile "$LINENO"; then :
70637 glibcxx_cv_func_strtold_use=yes
70638 else
70639 glibcxx_cv_func_strtold_use=no
70641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70642 ac_ext=c
70643 ac_cpp='$CPP $CPPFLAGS'
70644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
70653 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
70654 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
70655 for ac_func in strtold
70656 do :
70657 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
70658 if test "x$ac_cv_func_strtold" = x""yes; then :
70659 cat >>confdefs.h <<_ACEOF
70660 #define HAVE_STRTOLD 1
70661 _ACEOF
70664 done
70671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
70672 $as_echo_n "checking for strtof declaration... " >&6; }
70673 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
70674 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
70675 $as_echo_n "(cached) " >&6
70676 else
70679 ac_ext=cpp
70680 ac_cpp='$CXXCPP $CPPFLAGS'
70681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70686 /* end confdefs.h. */
70687 #include <stdlib.h>
70689 main ()
70691 strtof(0, 0);
70693 return 0;
70695 _ACEOF
70696 if ac_fn_cxx_try_compile "$LINENO"; then :
70697 glibcxx_cv_func_strtof_use=yes
70698 else
70699 glibcxx_cv_func_strtof_use=no
70701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70702 ac_ext=c
70703 ac_cpp='$CPP $CPPFLAGS'
70704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
70713 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
70714 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
70715 for ac_func in strtof
70716 do :
70717 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
70718 if test "x$ac_cv_func_strtof" = x""yes; then :
70719 cat >>confdefs.h <<_ACEOF
70720 #define HAVE_STRTOF 1
70721 _ACEOF
70724 done
70731 CXXFLAGS="$ac_save_CXXFLAGS"
70734 *-vxworks)
70735 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
70737 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
70739 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
70741 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
70743 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
70745 $as_echo "#define HAVE_COSF 1" >>confdefs.h
70747 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
70749 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
70751 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
70753 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
70755 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
70757 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
70759 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
70761 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
70763 $as_echo "#define HAVE_POWF 1" >>confdefs.h
70765 $as_echo "#define HAVE_SINF 1" >>confdefs.h
70767 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
70769 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
70771 $as_echo "#define HAVE_TANF 1" >>confdefs.h
70773 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
70777 as_fn_error "No support for this host/target combination." "$LINENO" 5
70779 esac
70783 # At some point, we should differentiate between architectures
70784 # like x86, which have long double versions, and alpha/powerpc/etc.,
70785 # which don't. For the time being, punt.
70786 if test x"long_double_math_on_this_cpu" = x"yes"; then
70787 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
70789 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
70791 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
70793 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
70795 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
70797 $as_echo "#define HAVE_COSL 1" >>confdefs.h
70799 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
70801 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
70803 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
70805 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
70807 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
70809 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
70811 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
70813 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
70815 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
70817 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
70819 $as_echo "#define HAVE_POWL 1" >>confdefs.h
70821 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
70823 $as_echo "#define HAVE_SINL 1" >>confdefs.h
70825 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
70827 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
70829 $as_echo "#define HAVE_TANL 1" >>confdefs.h
70831 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
70836 # Check for _Unwind_GetIPInfo.
70839 # Check whether --with-system-libunwind was given.
70840 if test "${with_system_libunwind+set}" = set; then :
70841 withval=$with_system_libunwind;
70844 # If system-libunwind was not specifically set, pick a default setting.
70845 if test x$with_system_libunwind = x; then
70846 case ${target} in
70847 ia64-*-hpux*) with_system_libunwind=yes ;;
70848 *) with_system_libunwind=no ;;
70849 esac
70851 # Based on system-libunwind and target, do we have ipinfo?
70852 if test x$with_system_libunwind = xyes; then
70853 case ${target} in
70854 ia64-*-*) have_unwind_getipinfo=no ;;
70855 *) have_unwind_getipinfo=yes ;;
70856 esac
70857 else
70858 # Darwin before version 9 does not have _Unwind_GetIPInfo.
70860 case ${target} in
70861 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
70862 *) have_unwind_getipinfo=yes ;;
70863 esac
70867 if test x$have_unwind_getipinfo = xyes; then
70869 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
70874 # Check whether --enable-linux-futex was given.
70875 if test "${enable_linux_futex+set}" = set; then :
70876 enableval=$enable_linux_futex;
70877 case "$enableval" in
70878 yes|no|default) ;;
70879 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
70880 esac
70882 else
70883 enable_linux_futex=default
70887 case "$target" in
70888 *-linux*)
70889 case "$enable_linux_futex" in
70890 default)
70891 # If headers don't have gettid/futex syscalls definition, then
70892 # default to no, otherwise there will be compile time failures.
70893 # Otherwise, default to yes. If we don't detect we are
70894 # compiled/linked against NPTL and not cross-compiling, check
70895 # if programs are run by default against NPTL and if not, issue
70896 # a warning.
70897 enable_linux_futex=no
70898 if test x$gcc_no_link = xyes; then
70899 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70902 /* end confdefs.h. */
70903 #include <sys/syscall.h>
70904 int lk;
70906 main ()
70908 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70910 return 0;
70912 _ACEOF
70913 if ac_fn_c_try_link "$LINENO"; then :
70914 save_LIBS="$LIBS"
70915 LIBS="-lpthread $LIBS"
70916 if test x$gcc_no_link = xyes; then
70917 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70920 /* end confdefs.h. */
70921 #ifndef _GNU_SOURCE
70922 #define _GNU_SOURCE 1
70923 #endif
70924 #include <pthread.h>
70925 pthread_t th; void *status;
70927 main ()
70929 pthread_tryjoin_np (th, &status);
70931 return 0;
70933 _ACEOF
70934 if ac_fn_c_try_link "$LINENO"; then :
70935 enable_linux_futex=yes
70936 else
70937 if test x$cross_compiling = xno; then
70938 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
70939 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
70940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
70941 If so, please configure with --disable-linux-futex" >&5
70942 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
70943 If so, please configure with --disable-linux-futex" >&2;}
70946 enable_linux_futex=yes
70948 rm -f core conftest.err conftest.$ac_objext \
70949 conftest$ac_exeext conftest.$ac_ext
70950 LIBS="$save_LIBS"
70952 rm -f core conftest.err conftest.$ac_objext \
70953 conftest$ac_exeext conftest.$ac_ext
70955 yes)
70956 if test x$gcc_no_link = xyes; then
70957 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70960 /* end confdefs.h. */
70961 #include <sys/syscall.h>
70962 int lk;
70964 main ()
70966 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70968 return 0;
70970 _ACEOF
70971 if ac_fn_c_try_link "$LINENO"; then :
70973 else
70974 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
70976 rm -f core conftest.err conftest.$ac_objext \
70977 conftest$ac_exeext conftest.$ac_ext
70979 esac
70982 enable_linux_futex=no
70984 esac
70985 if test x$enable_linux_futex = xyes; then
70987 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
70994 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
70996 acx_cv_header_stdint=stddef.h
70997 acx_cv_header_stdint_kind="(already complete)"
70998 for i in stdint.h $inttype_headers; do
70999 unset ac_cv_type_uintptr_t
71000 unset ac_cv_type_uintmax_t
71001 unset ac_cv_type_int_least32_t
71002 unset ac_cv_type_int_fast32_t
71003 unset ac_cv_type_uint64_t
71004 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
71005 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
71006 #include <$i>
71008 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
71009 acx_cv_header_stdint=$i
71010 else
71011 continue
71014 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
71015 #include <$i>
71017 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
71019 else
71020 acx_cv_header_stdint_kind="(mostly complete)"
71023 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
71024 #include <$i>
71026 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
71028 else
71029 acx_cv_header_stdint_kind="(mostly complete)"
71032 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
71033 #include <$i>
71035 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
71037 else
71038 acx_cv_header_stdint_kind="(mostly complete)"
71041 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
71042 #include <$i>
71044 if test "x$ac_cv_type_uint64_t" = x""yes; then :
71046 else
71047 acx_cv_header_stdint_kind="(lacks uint64_t)"
71050 break
71051 done
71052 if test "$acx_cv_header_stdint" = stddef.h; then
71053 acx_cv_header_stdint_kind="(lacks uintmax_t)"
71054 for i in stdint.h $inttype_headers; do
71055 unset ac_cv_type_uintptr_t
71056 unset ac_cv_type_uint32_t
71057 unset ac_cv_type_uint64_t
71058 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
71059 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
71060 #include <$i>
71062 if test "x$ac_cv_type_uint32_t" = x""yes; then :
71063 acx_cv_header_stdint=$i
71064 else
71065 continue
71068 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
71069 #include <$i>
71071 if test "x$ac_cv_type_uint64_t" = x""yes; then :
71075 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
71076 #include <$i>
71078 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
71082 break
71083 done
71085 if test "$acx_cv_header_stdint" = stddef.h; then
71086 acx_cv_header_stdint_kind="(u_intXX_t style)"
71087 for i in sys/types.h $inttype_headers; do
71088 unset ac_cv_type_u_int32_t
71089 unset ac_cv_type_u_int64_t
71090 $as_echo_n "looking for u_intXX_t types in $i, " >&6
71091 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
71092 #include <$i>
71094 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
71095 acx_cv_header_stdint=$i
71096 else
71097 continue
71100 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
71101 #include <$i>
71103 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
71107 break
71108 done
71110 if test "$acx_cv_header_stdint" = stddef.h; then
71111 acx_cv_header_stdint_kind="(using manual detection)"
71114 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
71115 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
71116 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
71117 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
71118 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
71120 # ----------------- Summarize what we found so far
71122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
71123 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
71125 case `$as_basename -- include/gstdint.h ||
71126 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
71127 Xinclude/gstdint.h : 'X\(//\)$' \| \
71128 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
71129 $as_echo X/include/gstdint.h |
71130 sed '/^.*\/\([^/][^/]*\)\/*$/{
71131 s//\1/
71134 /^X\/\(\/\/\)$/{
71135 s//\1/
71138 /^X\/\(\/\).*/{
71139 s//\1/
71142 s/.*/./; q'` in
71143 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
71144 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
71145 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
71146 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
71147 *) ;;
71148 esac
71150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
71151 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
71153 # ----------------- done included file, check C basic types --------
71155 # Lacking an uintptr_t? Test size of void *
71156 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
71157 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
71158 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71159 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71160 # This bug is HP SR number 8606223364.
71161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
71162 $as_echo_n "checking size of void *... " >&6; }
71163 if test "${ac_cv_sizeof_void_p+set}" = set; then :
71164 $as_echo_n "(cached) " >&6
71165 else
71166 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
71168 else
71169 if test "$ac_cv_type_void_p" = yes; then
71170 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71171 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71172 { as_fn_set_status 77
71173 as_fn_error "cannot compute sizeof (void *)
71174 See \`config.log' for more details." "$LINENO" 5; }; }
71175 else
71176 ac_cv_sizeof_void_p=0
71181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
71182 $as_echo "$ac_cv_sizeof_void_p" >&6; }
71186 cat >>confdefs.h <<_ACEOF
71187 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
71188 _ACEOF
71191 esac
71193 # Lacking an uint64_t? Test size of long
71194 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
71195 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
71196 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71197 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71198 # This bug is HP SR number 8606223364.
71199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
71200 $as_echo_n "checking size of long... " >&6; }
71201 if test "${ac_cv_sizeof_long+set}" = set; then :
71202 $as_echo_n "(cached) " >&6
71203 else
71204 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
71206 else
71207 if test "$ac_cv_type_long" = yes; then
71208 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71210 { as_fn_set_status 77
71211 as_fn_error "cannot compute sizeof (long)
71212 See \`config.log' for more details." "$LINENO" 5; }; }
71213 else
71214 ac_cv_sizeof_long=0
71219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
71220 $as_echo "$ac_cv_sizeof_long" >&6; }
71224 cat >>confdefs.h <<_ACEOF
71225 #define SIZEOF_LONG $ac_cv_sizeof_long
71226 _ACEOF
71229 esac
71231 if test $acx_cv_header_stdint = stddef.h; then
71232 # Lacking a good header? Test size of everything and deduce all types.
71233 # The cast to long int works around a bug in the HP C Compiler
71234 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71235 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71236 # This bug is HP SR number 8606223364.
71237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
71238 $as_echo_n "checking size of int... " >&6; }
71239 if test "${ac_cv_sizeof_int+set}" = set; then :
71240 $as_echo_n "(cached) " >&6
71241 else
71242 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
71244 else
71245 if test "$ac_cv_type_int" = yes; then
71246 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71248 { as_fn_set_status 77
71249 as_fn_error "cannot compute sizeof (int)
71250 See \`config.log' for more details." "$LINENO" 5; }; }
71251 else
71252 ac_cv_sizeof_int=0
71257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
71258 $as_echo "$ac_cv_sizeof_int" >&6; }
71262 cat >>confdefs.h <<_ACEOF
71263 #define SIZEOF_INT $ac_cv_sizeof_int
71264 _ACEOF
71267 # The cast to long int works around a bug in the HP C Compiler
71268 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71269 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71270 # This bug is HP SR number 8606223364.
71271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
71272 $as_echo_n "checking size of short... " >&6; }
71273 if test "${ac_cv_sizeof_short+set}" = set; then :
71274 $as_echo_n "(cached) " >&6
71275 else
71276 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
71278 else
71279 if test "$ac_cv_type_short" = yes; then
71280 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71282 { as_fn_set_status 77
71283 as_fn_error "cannot compute sizeof (short)
71284 See \`config.log' for more details." "$LINENO" 5; }; }
71285 else
71286 ac_cv_sizeof_short=0
71291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
71292 $as_echo "$ac_cv_sizeof_short" >&6; }
71296 cat >>confdefs.h <<_ACEOF
71297 #define SIZEOF_SHORT $ac_cv_sizeof_short
71298 _ACEOF
71301 # The cast to long int works around a bug in the HP C Compiler
71302 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71303 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71304 # This bug is HP SR number 8606223364.
71305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
71306 $as_echo_n "checking size of char... " >&6; }
71307 if test "${ac_cv_sizeof_char+set}" = set; then :
71308 $as_echo_n "(cached) " >&6
71309 else
71310 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
71312 else
71313 if test "$ac_cv_type_char" = yes; then
71314 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71316 { as_fn_set_status 77
71317 as_fn_error "cannot compute sizeof (char)
71318 See \`config.log' for more details." "$LINENO" 5; }; }
71319 else
71320 ac_cv_sizeof_char=0
71325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
71326 $as_echo "$ac_cv_sizeof_char" >&6; }
71330 cat >>confdefs.h <<_ACEOF
71331 #define SIZEOF_CHAR $ac_cv_sizeof_char
71332 _ACEOF
71336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
71337 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
71338 case "$ac_cv_sizeof_char" in
71339 1) acx_cv_type_int8_t=char ;;
71340 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
71341 esac
71342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
71343 $as_echo "$acx_cv_type_int8_t" >&6; }
71345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
71346 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
71347 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
71348 2:*) acx_cv_type_int16_t=int ;;
71349 *:2) acx_cv_type_int16_t=short ;;
71350 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
71351 esac
71352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
71353 $as_echo "$acx_cv_type_int16_t" >&6; }
71355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
71356 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
71357 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
71358 4:*) acx_cv_type_int32_t=int ;;
71359 *:4) acx_cv_type_int32_t=long ;;
71360 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
71361 esac
71362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
71363 $as_echo "$acx_cv_type_int32_t" >&6; }
71366 # These tests are here to make the output prettier
71368 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
71369 case "$ac_cv_sizeof_long" in
71370 8) acx_cv_type_int64_t=long ;;
71371 esac
71372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
71373 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
71374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
71375 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
71378 # Now we can use the above types
71380 if test "$ac_cv_type_uintptr_t" != yes; then
71381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
71382 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
71383 case $ac_cv_sizeof_void_p in
71384 2) acx_cv_type_intptr_t=int16_t ;;
71385 4) acx_cv_type_intptr_t=int32_t ;;
71386 8) acx_cv_type_intptr_t=int64_t ;;
71387 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
71388 esac
71389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
71390 $as_echo "$acx_cv_type_intptr_t" >&6; }
71393 # ----------------- done all checks, emit header -------------
71394 ac_config_commands="$ac_config_commands include/gstdint.h"
71400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
71401 $as_echo_n "checking for GNU c++filt... " >&6; }
71402 if test "${ac_cv_path_CXXFILT+set}" = set; then :
71403 $as_echo_n "(cached) " >&6
71404 else
71405 if test -z "$CXXFILT"; then
71406 ac_path_CXXFILT_found=false
71407 # Loop through the user's path and test for each of PROGNAME-LIST
71408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71409 for as_dir in $PATH
71411 IFS=$as_save_IFS
71412 test -z "$as_dir" && as_dir=.
71413 for ac_prog in c++filt gc++filt; do
71414 for ac_exec_ext in '' $ac_executable_extensions; do
71415 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
71416 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
71417 # Check for GNU $ac_path_CXXFILT
71418 case `"$ac_path_CXXFILT" --version 2>&1` in
71419 *GNU*)
71420 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
71421 esac
71423 $ac_path_CXXFILT_found && break 3
71424 done
71425 done
71426 done
71427 IFS=$as_save_IFS
71428 if test -z "$ac_cv_path_CXXFILT"; then
71431 else
71432 ac_cv_path_CXXFILT=$CXXFILT
71436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
71437 $as_echo "$ac_cv_path_CXXFILT" >&6; }
71438 CXXFILT=$ac_cv_path_CXXFILT
71442 # Check whether --enable-symvers was given.
71443 if test "${enable_symvers+set}" = set; then :
71444 enableval=$enable_symvers;
71445 case "$enableval" in
71446 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
71447 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
71448 esac
71450 else
71451 enable_symvers=yes
71456 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
71457 # don't know enough about $LD to do tricks...
71459 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
71460 # with extern "C++" in version scripts.
71463 # Turn a 'yes' into a suitable default.
71464 if test x$enable_symvers = xyes ; then
71465 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
71466 enable_symvers=no
71467 else
71468 if test $with_gnu_ld = yes ; then
71469 case ${target_os} in
71470 hpux*)
71471 enable_symvers=no ;;
71473 enable_symvers=gnu ;;
71474 esac
71475 else
71476 case ${target_os} in
71477 darwin*)
71478 enable_symvers=darwin ;;
71479 # Sun symbol versioning exists since Solaris 2.5.
71480 solaris2.[5-9]* | solaris2.1[0-9]*)
71481 # make_sunver.pl needs GNU c++filt to support extern "C++" in
71482 # version scripts, so disable symbol versioning if none can be
71483 # found.
71484 if test -z "$ac_cv_path_CXXFILT"; then
71485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71486 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
71488 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
71489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71490 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71491 enable_symvers=no
71492 else
71493 enable_symvers=sun
71497 enable_symvers=no ;;
71498 esac
71503 # Check to see if 'darwin' or 'darwin-export' can win.
71504 if test x$enable_symvers = xdarwin-export ; then
71505 enable_symvers=darwin
71508 # Check if 'sun' was requested on non-Solaris 2 platforms.
71509 if test x$enable_symvers = xsun ; then
71510 case ${target_os} in
71511 solaris2*)
71512 # All fine.
71515 # Unlikely to work.
71516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71517 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
71519 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
71520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71521 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71522 enable_symvers=no
71524 esac
71527 # Check to see if 'gnu' can win.
71528 if test $enable_symvers = gnu ||
71529 test $enable_symvers = gnu-versioned-namespace ||
71530 test $enable_symvers = sun; then
71531 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
71532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
71533 $as_echo_n "checking for shared libgcc... " >&6; }
71534 ac_save_CFLAGS="$CFLAGS"
71535 CFLAGS=' -lgcc_s'
71536 if test x$gcc_no_link = xyes; then
71537 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71540 /* end confdefs.h. */
71543 main ()
71545 return 0;
71547 return 0;
71549 _ACEOF
71550 if ac_fn_c_try_link "$LINENO"; then :
71551 glibcxx_shared_libgcc=yes
71552 else
71553 glibcxx_shared_libgcc=no
71555 rm -f core conftest.err conftest.$ac_objext \
71556 conftest$ac_exeext conftest.$ac_ext
71557 CFLAGS="$ac_save_CFLAGS"
71558 if test $glibcxx_shared_libgcc = no; then
71559 cat > conftest.c <<EOF
71560 int main (void) { return 0; }
71562 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
71563 -shared -shared-libgcc -o conftest.so \
71564 conftest.c -v 2>&1 >/dev/null \
71565 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
71566 rm -f conftest.c conftest.so
71567 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
71568 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
71569 if test x$gcc_no_link = xyes; then
71570 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71573 /* end confdefs.h. */
71576 main ()
71578 return 0;
71580 return 0;
71582 _ACEOF
71583 if ac_fn_c_try_link "$LINENO"; then :
71584 glibcxx_shared_libgcc=yes
71586 rm -f core conftest.err conftest.$ac_objext \
71587 conftest$ac_exeext conftest.$ac_ext
71588 CFLAGS="$ac_save_CFLAGS"
71591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
71592 $as_echo "$glibcxx_shared_libgcc" >&6; }
71594 # For GNU ld, we need at least this version. The format is described in
71595 # GLIBCXX_CHECK_LINKER_FEATURES above.
71596 glibcxx_min_gnu_ld_version=21400
71598 # If no shared libgcc, can't win.
71599 if test $glibcxx_shared_libgcc != yes; then
71600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71601 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
71603 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
71604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71605 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71606 enable_symvers=no
71607 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
71608 : All interesting versions of Sun ld support sun style symbol versioning.
71609 elif test $with_gnu_ld != yes ; then
71610 # just fail for now
71611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71612 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
71614 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
71615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71616 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71617 enable_symvers=no
71618 elif test $glibcxx_ld_is_gold = yes ; then
71619 : All versions of gold support symbol versioning.
71620 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
71621 # The right tools, the right setup, but too old. Fallbacks?
71622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
71623 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
71624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
71625 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
71626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
71627 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
71628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
71629 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
71630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71631 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71632 enable_symvers=no
71636 # For libtool versioning info, format is CURRENT:REVISION:AGE
71637 libtool_VERSION=6:19:0
71639 # Everything parsed; figure out what files and settings to use.
71640 case $enable_symvers in
71642 SYMVER_FILE=config/abi/pre/none.ver
71644 gnu)
71645 SYMVER_FILE=config/abi/pre/gnu.ver
71647 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
71650 gnu-versioned-namespace)
71651 libtool_VERSION=7:0:0
71652 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
71654 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
71657 darwin)
71658 SYMVER_FILE=config/abi/pre/gnu.ver
71660 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
71663 sun)
71664 SYMVER_FILE=config/abi/pre/gnu.ver
71666 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
71669 esac
71671 if test x$enable_symvers != xno ; then
71673 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
71677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
71678 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
71679 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
71680 $as_echo_n "(cached) " >&6
71681 else
71683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71684 /* end confdefs.h. */
71685 void foo (void); __asm (".symver foo, bar@SYMVER");
71687 main ()
71691 return 0;
71693 _ACEOF
71694 if ac_fn_c_try_compile "$LINENO"; then :
71695 glibcxx_cv_have_as_symver_directive=yes
71696 else
71697 glibcxx_cv_have_as_symver_directive=no
71699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
71702 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
71703 if test $glibcxx_cv_have_as_symver_directive = yes; then
71705 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
71716 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
71717 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
71719 if test $enable_symvers != no ; then
71720 case ${target_os} in
71721 # The Solaris 2 runtime linker doesn't support the GNU extension of
71722 # binding the same symbol to different versions
71723 solaris2*)
71725 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
71728 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
71731 esac
71734 # Now, set up compatibility support, if any.
71735 # In addition, need this to deal with std::size_t mangling in
71736 # src/compatibility.cc. In a perfect world, could use
71737 # typeid(std::size_t).name()[0] to do direct substitution.
71738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
71739 $as_echo_n "checking for size_t as unsigned int... " >&6; }
71740 ac_save_CFLAGS="$CFLAGS"
71741 CFLAGS="-Werror"
71742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71743 /* end confdefs.h. */
71746 main ()
71748 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
71750 return 0;
71752 _ACEOF
71753 if ac_fn_c_try_compile "$LINENO"; then :
71754 glibcxx_size_t_is_i=yes
71755 else
71756 glibcxx_size_t_is_i=no
71758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71759 CFLAGS=$ac_save_CFLAGS
71760 if test "$glibcxx_size_t_is_i" = yes; then
71762 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
71765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
71766 $as_echo "$glibcxx_size_t_is_i" >&6; }
71768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
71769 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
71770 ac_save_CFLAGS="$CFLAGS"
71771 CFLAGS="-Werror"
71772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71773 /* end confdefs.h. */
71776 main ()
71778 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
71780 return 0;
71782 _ACEOF
71783 if ac_fn_c_try_compile "$LINENO"; then :
71784 glibcxx_ptrdiff_t_is_i=yes
71785 else
71786 glibcxx_ptrdiff_t_is_i=no
71788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71789 CFLAGS=$ac_save_CFLAGS
71790 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
71792 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
71795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
71796 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
71801 # Check whether --enable-libstdcxx-visibility was given.
71802 if test "${enable_libstdcxx_visibility+set}" = set; then :
71803 enableval=$enable_libstdcxx_visibility;
71804 case "$enableval" in
71805 yes|no) ;;
71806 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
71807 esac
71809 else
71810 enable_libstdcxx_visibility=yes
71815 if test x$enable_libstdcxx_visibility = xyes ; then
71816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
71817 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
71818 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
71819 $as_echo_n "(cached) " >&6
71820 else
71822 save_CFLAGS="$CFLAGS"
71823 CFLAGS="$CFLAGS -Werror"
71824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71825 /* end confdefs.h. */
71826 void __attribute__((visibility("hidden"))) foo(void) { }
71828 main ()
71832 return 0;
71834 _ACEOF
71835 if ac_fn_c_try_compile "$LINENO"; then :
71836 glibcxx_cv_have_attribute_visibility=yes
71837 else
71838 glibcxx_cv_have_attribute_visibility=no
71840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71841 CFLAGS="$save_CFLAGS"
71843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
71844 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
71845 if test $glibcxx_cv_have_attribute_visibility = no; then
71846 enable_libstdcxx_visibility=no
71851 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
71852 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
71855 ac_ldbl_compat=no
71856 case "$target" in
71857 powerpc*-*-linux* | \
71858 sparc*-*-linux* | \
71859 s390*-*-linux* | \
71860 alpha*-*-linux*)
71861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71862 /* end confdefs.h. */
71865 main ()
71868 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
71869 #error no need for long double compatibility
71870 #endif
71873 return 0;
71875 _ACEOF
71876 if ac_fn_c_try_compile "$LINENO"; then :
71877 ac_ldbl_compat=yes
71878 else
71879 ac_ldbl_compat=no
71881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71882 if test "$ac_ldbl_compat" = yes; then
71884 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
71886 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
71888 esac
71891 # Check if assembler supports disabling hardware capability support.
71893 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
71895 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
71896 # with a different meaning.
71897 case ${target_os} in
71898 solaris2*)
71899 ac_save_CFLAGS="$CFLAGS"
71900 CFLAGS="$CFLAGS -Wa,-nH"
71902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
71903 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
71904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71905 /* end confdefs.h. */
71908 main ()
71910 return 0;
71912 return 0;
71914 _ACEOF
71915 if ac_fn_c_try_compile "$LINENO"; then :
71916 ac_hwcap_flags=yes
71917 else
71918 ac_hwcap_flags=no
71920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71921 if test "$ac_hwcap_flags" = "yes"; then
71922 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
71924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
71925 $as_echo "$ac_hwcap_flags" >&6; }
71927 CFLAGS="$ac_save_CFLAGS"
71929 esac
71934 # Check if assembler supports rdrand opcode.
71936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
71937 $as_echo_n "checking for rdrand support in assembler... " >&6; }
71938 if test "${ac_cv_x86_rdrand+set}" = set; then :
71939 $as_echo_n "(cached) " >&6
71940 else
71942 ac_cv_x86_rdrand=no
71943 case "$target" in
71944 i?86-*-* | \
71945 x86_64-*-*)
71946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71947 /* end confdefs.h. */
71950 main ()
71952 asm("rdrand %eax");
71954 return 0;
71956 _ACEOF
71957 if ac_fn_c_try_compile "$LINENO"; then :
71958 ac_cv_x86_rdrand=yes
71959 else
71960 ac_cv_x86_rdrand=no
71962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71963 esac
71967 if test $ac_cv_x86_rdrand = yes; then
71969 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
71972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
71973 $as_echo "$ac_cv_x86_rdrand" >&6; }
71976 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
71978 if $GLIBCXX_IS_NATIVE ; then
71979 # Do checks for resource limit functions.
71981 setrlimit_have_headers=yes
71982 for ac_header in unistd.h sys/time.h sys/resource.h
71983 do :
71984 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
71985 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
71986 eval as_val=\$$as_ac_Header
71987 if test "x$as_val" = x""yes; then :
71988 cat >>confdefs.h <<_ACEOF
71989 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
71990 _ACEOF
71992 else
71993 setrlimit_have_headers=no
71996 done
71998 # If don't have the headers, then we can't run the tests now, and we
71999 # won't be seeing any of these during testsuite compilation.
72000 if test $setrlimit_have_headers = yes; then
72001 # Can't do these in a loop, else the resulting syntax is wrong.
72003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
72004 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
72005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72006 /* end confdefs.h. */
72007 #include <unistd.h>
72008 #include <sys/time.h>
72009 #include <sys/resource.h>
72012 main ()
72014 int f = RLIMIT_DATA ;
72016 return 0;
72018 _ACEOF
72019 if ac_fn_c_try_compile "$LINENO"; then :
72020 glibcxx_mresult=1
72021 else
72022 glibcxx_mresult=0
72024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72026 cat >>confdefs.h <<_ACEOF
72027 #define HAVE_LIMIT_DATA $glibcxx_mresult
72028 _ACEOF
72030 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72032 $as_echo "$res" >&6; }
72035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
72036 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
72037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72038 /* end confdefs.h. */
72039 #include <unistd.h>
72040 #include <sys/time.h>
72041 #include <sys/resource.h>
72044 main ()
72046 int f = RLIMIT_RSS ;
72048 return 0;
72050 _ACEOF
72051 if ac_fn_c_try_compile "$LINENO"; then :
72052 glibcxx_mresult=1
72053 else
72054 glibcxx_mresult=0
72056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72058 cat >>confdefs.h <<_ACEOF
72059 #define HAVE_LIMIT_RSS $glibcxx_mresult
72060 _ACEOF
72062 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72064 $as_echo "$res" >&6; }
72067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
72068 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
72069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72070 /* end confdefs.h. */
72071 #include <unistd.h>
72072 #include <sys/time.h>
72073 #include <sys/resource.h>
72076 main ()
72078 int f = RLIMIT_VMEM ;
72080 return 0;
72082 _ACEOF
72083 if ac_fn_c_try_compile "$LINENO"; then :
72084 glibcxx_mresult=1
72085 else
72086 glibcxx_mresult=0
72088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72090 cat >>confdefs.h <<_ACEOF
72091 #define HAVE_LIMIT_VMEM $glibcxx_mresult
72092 _ACEOF
72094 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72096 $as_echo "$res" >&6; }
72099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
72100 $as_echo_n "checking for RLIMIT_AS... " >&6; }
72101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72102 /* end confdefs.h. */
72103 #include <unistd.h>
72104 #include <sys/time.h>
72105 #include <sys/resource.h>
72108 main ()
72110 int f = RLIMIT_AS ;
72112 return 0;
72114 _ACEOF
72115 if ac_fn_c_try_compile "$LINENO"; then :
72116 glibcxx_mresult=1
72117 else
72118 glibcxx_mresult=0
72120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72122 cat >>confdefs.h <<_ACEOF
72123 #define HAVE_LIMIT_AS $glibcxx_mresult
72124 _ACEOF
72126 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72128 $as_echo "$res" >&6; }
72131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
72132 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
72133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72134 /* end confdefs.h. */
72135 #include <unistd.h>
72136 #include <sys/time.h>
72137 #include <sys/resource.h>
72140 main ()
72142 int f = RLIMIT_FSIZE ;
72144 return 0;
72146 _ACEOF
72147 if ac_fn_c_try_compile "$LINENO"; then :
72148 glibcxx_mresult=1
72149 else
72150 glibcxx_mresult=0
72152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72154 cat >>confdefs.h <<_ACEOF
72155 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
72156 _ACEOF
72158 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72160 $as_echo "$res" >&6; }
72163 # Check for rlimit, setrlimit.
72164 if test "${glibcxx_cv_setrlimit+set}" = set; then :
72165 $as_echo_n "(cached) " >&6
72166 else
72168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72169 /* end confdefs.h. */
72170 #include <unistd.h>
72171 #include <sys/time.h>
72172 #include <sys/resource.h>
72175 main ()
72177 struct rlimit r;
72178 setrlimit(0, &r);
72180 return 0;
72182 _ACEOF
72183 if ac_fn_c_try_compile "$LINENO"; then :
72184 glibcxx_cv_setrlimit=yes
72185 else
72186 glibcxx_cv_setrlimit=no
72188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
72195 $as_echo_n "checking for testsuite resource limits support... " >&6; }
72196 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
72197 ac_res_limits=yes
72199 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
72201 else
72202 ac_res_limits=no
72204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
72205 $as_echo "$ac_res_limits" >&6; }
72208 # Look for setenv, so that extended locale tests can be performed.
72210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
72211 $as_echo_n "checking for setenv declaration... " >&6; }
72212 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
72213 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
72214 $as_echo_n "(cached) " >&6
72215 else
72218 ac_ext=cpp
72219 ac_cpp='$CXXCPP $CPPFLAGS'
72220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72225 /* end confdefs.h. */
72226 #include <stdlib.h>
72228 main ()
72230 setenv(0, 0, 0);
72232 return 0;
72234 _ACEOF
72235 if ac_fn_cxx_try_compile "$LINENO"; then :
72236 glibcxx_cv_func_setenv_use=yes
72237 else
72238 glibcxx_cv_func_setenv_use=no
72240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72241 ac_ext=c
72242 ac_cpp='$CPP $CPPFLAGS'
72243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
72252 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
72253 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
72254 for ac_func in setenv
72255 do :
72256 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
72257 if test "x$ac_cv_func_setenv" = x""yes; then :
72258 cat >>confdefs.h <<_ACEOF
72259 #define HAVE_SETENV 1
72260 _ACEOF
72263 done
72269 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
72270 test $enable_symvers != no; then
72271 case "$host" in
72272 *-*-cygwin*)
72273 enable_abi_check=no ;;
72275 enable_abi_check=yes ;;
72276 esac
72277 else
72278 # Only build this as native, since automake does not understand
72279 # CXX_FOR_BUILD.
72280 enable_abi_check=no
72283 # Export file names for ABI checking.
72284 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
72286 baseline_subdir_switch="$abi_baseline_subdir_switch"
72290 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
72292 # Check whether --enable-libstdcxx-threads was given.
72293 if test "${enable_libstdcxx_threads+set}" = set; then :
72294 enableval=$enable_libstdcxx_threads;
72295 case "$enableval" in
72296 yes|no) ;;
72297 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
72298 esac
72300 else
72301 enable_libstdcxx_threads=auto
72306 if test x$enable_libstdcxx_threads = xauto ||
72307 test x$enable_libstdcxx_threads = xyes; then
72310 ac_ext=cpp
72311 ac_cpp='$CXXCPP $CPPFLAGS'
72312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72317 ac_save_CXXFLAGS="$CXXFLAGS"
72318 CXXFLAGS="$CXXFLAGS -fno-exceptions \
72319 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
72321 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
72322 case $target_thread_file in
72323 posix)
72324 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
72325 esac
72327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
72328 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
72330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72331 /* end confdefs.h. */
72332 #include <unistd.h>
72334 main ()
72337 // In case of POSIX threads check _POSIX_TIMEOUTS.
72338 #if (defined(_PTHREADS) \
72339 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
72340 #error
72341 #endif
72344 return 0;
72346 _ACEOF
72347 if ac_fn_cxx_try_compile "$LINENO"; then :
72348 ac_gthread_use_mutex_timedlock=1
72349 else
72350 ac_gthread_use_mutex_timedlock=0
72352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72355 cat >>confdefs.h <<_ACEOF
72356 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
72357 _ACEOF
72360 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
72361 else res_mutex_timedlock=no ; fi
72362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
72363 $as_echo "$res_mutex_timedlock" >&6; }
72365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
72366 $as_echo_n "checking for gthreads library... " >&6; }
72368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72369 /* end confdefs.h. */
72370 #include "gthr.h"
72372 main ()
72375 #ifndef __GTHREADS_CXX0X
72376 #error
72377 #endif
72380 return 0;
72382 _ACEOF
72383 if ac_fn_cxx_try_compile "$LINENO"; then :
72384 case $target_os in
72385 # gthreads support breaks symbol versioning on Solaris 9 (PR
72386 # libstdc++/52189).
72387 solaris2.9*)
72388 if test x$enable_symvers = xno; then
72389 ac_has_gthreads=yes
72390 elif test x$enable_libstdcxx_threads = xyes; then
72391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
72392 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
72393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
72394 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
72395 ac_has_gthreads=yes
72396 else
72397 ac_has_gthreads=no
72401 ac_has_gthreads=yes
72403 esac
72404 else
72405 ac_has_gthreads=no
72407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72408 else
72409 ac_has_gthreads=no
72412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
72413 $as_echo "$ac_has_gthreads" >&6; }
72415 if test x"$ac_has_gthreads" = x"yes"; then
72417 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
72421 CXXFLAGS="$ac_save_CXXFLAGS"
72422 ac_ext=c
72423 ac_cpp='$CPP $CPPFLAGS'
72424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72430 # Define documentation rules conditionally.
72432 # See if makeinfo has been installed and is modern enough
72433 # that we can use it.
72435 # Extract the first word of "makeinfo", so it can be a program name with args.
72436 set dummy makeinfo; ac_word=$2
72437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72438 $as_echo_n "checking for $ac_word... " >&6; }
72439 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
72440 $as_echo_n "(cached) " >&6
72441 else
72442 if test -n "$MAKEINFO"; then
72443 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
72444 else
72445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72446 for as_dir in $PATH
72448 IFS=$as_save_IFS
72449 test -z "$as_dir" && as_dir=.
72450 for ac_exec_ext in '' $ac_executable_extensions; do
72451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72452 ac_cv_prog_MAKEINFO="makeinfo"
72453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72454 break 2
72456 done
72457 done
72458 IFS=$as_save_IFS
72462 MAKEINFO=$ac_cv_prog_MAKEINFO
72463 if test -n "$MAKEINFO"; then
72464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
72465 $as_echo "$MAKEINFO" >&6; }
72466 else
72467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72468 $as_echo "no" >&6; }
72472 if test -n "$MAKEINFO"; then
72473 # Found it, now check the version.
72474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
72475 $as_echo_n "checking for modern makeinfo... " >&6; }
72476 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
72477 $as_echo_n "(cached) " >&6
72478 else
72479 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
72480 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
72482 case $ac_prog_version in
72483 '') gcc_cv_prog_makeinfo_modern=no;;
72484 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
72485 *) gcc_cv_prog_makeinfo_modern=no;;
72486 esac
72489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
72490 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
72491 else
72492 gcc_cv_prog_makeinfo_modern=no
72494 if test $gcc_cv_prog_makeinfo_modern = no; then
72495 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
72498 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
72499 BUILD_INFO_TRUE=
72500 BUILD_INFO_FALSE='#'
72501 else
72502 BUILD_INFO_TRUE='#'
72503 BUILD_INFO_FALSE=
72507 # Check for doxygen
72508 # Extract the first word of "doxygen", so it can be a program name with args.
72509 set dummy doxygen; ac_word=$2
72510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72511 $as_echo_n "checking for $ac_word... " >&6; }
72512 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
72513 $as_echo_n "(cached) " >&6
72514 else
72515 if test -n "$DOXYGEN"; then
72516 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
72517 else
72518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72519 for as_dir in $PATH
72521 IFS=$as_save_IFS
72522 test -z "$as_dir" && as_dir=.
72523 for ac_exec_ext in '' $ac_executable_extensions; do
72524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72525 ac_cv_prog_DOXYGEN="yes"
72526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72527 break 2
72529 done
72530 done
72531 IFS=$as_save_IFS
72533 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
72536 DOXYGEN=$ac_cv_prog_DOXYGEN
72537 if test -n "$DOXYGEN"; then
72538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
72539 $as_echo "$DOXYGEN" >&6; }
72540 else
72541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72542 $as_echo "no" >&6; }
72546 # Extract the first word of "dot", so it can be a program name with args.
72547 set dummy dot; ac_word=$2
72548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72549 $as_echo_n "checking for $ac_word... " >&6; }
72550 if test "${ac_cv_prog_DOT+set}" = set; then :
72551 $as_echo_n "(cached) " >&6
72552 else
72553 if test -n "$DOT"; then
72554 ac_cv_prog_DOT="$DOT" # Let the user override the test.
72555 else
72556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72557 for as_dir in $PATH
72559 IFS=$as_save_IFS
72560 test -z "$as_dir" && as_dir=.
72561 for ac_exec_ext in '' $ac_executable_extensions; do
72562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72563 ac_cv_prog_DOT="yes"
72564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72565 break 2
72567 done
72568 done
72569 IFS=$as_save_IFS
72571 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
72574 DOT=$ac_cv_prog_DOT
72575 if test -n "$DOT"; then
72576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
72577 $as_echo "$DOT" >&6; }
72578 else
72579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72580 $as_echo "no" >&6; }
72585 # Check for docbook
72586 # Extract the first word of "xsltproc", so it can be a program name with args.
72587 set dummy xsltproc; ac_word=$2
72588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72589 $as_echo_n "checking for $ac_word... " >&6; }
72590 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
72591 $as_echo_n "(cached) " >&6
72592 else
72593 if test -n "$XSLTPROC"; then
72594 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
72595 else
72596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72597 for as_dir in $PATH
72599 IFS=$as_save_IFS
72600 test -z "$as_dir" && as_dir=.
72601 for ac_exec_ext in '' $ac_executable_extensions; do
72602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72603 ac_cv_prog_XSLTPROC="yes"
72604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72605 break 2
72607 done
72608 done
72609 IFS=$as_save_IFS
72611 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
72614 XSLTPROC=$ac_cv_prog_XSLTPROC
72615 if test -n "$XSLTPROC"; then
72616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
72617 $as_echo "$XSLTPROC" >&6; }
72618 else
72619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72620 $as_echo "no" >&6; }
72624 # Extract the first word of "xmllint", so it can be a program name with args.
72625 set dummy xmllint; ac_word=$2
72626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72627 $as_echo_n "checking for $ac_word... " >&6; }
72628 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
72629 $as_echo_n "(cached) " >&6
72630 else
72631 if test -n "$XMLLINT"; then
72632 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
72633 else
72634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72635 for as_dir in $PATH
72637 IFS=$as_save_IFS
72638 test -z "$as_dir" && as_dir=.
72639 for ac_exec_ext in '' $ac_executable_extensions; do
72640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72641 ac_cv_prog_XMLLINT="yes"
72642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72643 break 2
72645 done
72646 done
72647 IFS=$as_save_IFS
72649 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
72652 XMLLINT=$ac_cv_prog_XMLLINT
72653 if test -n "$XMLLINT"; then
72654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
72655 $as_echo "$XMLLINT" >&6; }
72656 else
72657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72658 $as_echo "no" >&6; }
72664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
72665 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
72666 glibcxx_stylesheets=no
72667 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude http://docbook.sourceforge.net/release/xsl-ns/current/xhtml-1_1/docbook.xsl - 2>/dev/null; then
72668 glibcxx_stylesheets=yes
72670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
72671 $as_echo "$glibcxx_stylesheets" >&6; }
72673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
72674 $as_echo_n "checking for local stylesheet directory... " >&6; }
72675 glibcxx_local_stylesheets=no
72676 if test x"$glibcxx_stylesheets" = x"yes"; then
72677 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
72678 glibcxx_local_stylesheets=yes
72679 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
72681 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
72682 glibcxx_local_stylesheets=yes
72683 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
72685 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
72686 glibcxx_local_stylesheets=yes
72687 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
72690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
72691 $as_echo "$glibcxx_local_stylesheets" >&6; }
72693 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72695 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
72696 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
72697 else
72698 glibcxx_stylesheets=no
72701 # Check for epub3 dependencies.
72702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
72703 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
72704 glibcxx_epub_stylesheets=no
72705 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72706 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
72707 glibcxx_epub_stylesheets=yes
72710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
72711 $as_echo "$glibcxx_epub_stylesheets" >&6; }
72712 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
72713 BUILD_EPUB_TRUE=
72714 BUILD_EPUB_FALSE='#'
72715 else
72716 BUILD_EPUB_TRUE='#'
72717 BUILD_EPUB_FALSE=
72723 # Check for xml/html dependencies.
72724 if test $ac_cv_prog_DOXYGEN = "yes" &&
72725 test $ac_cv_prog_DOT = "yes" &&
72726 test $ac_cv_prog_XSLTPROC = "yes" &&
72727 test $ac_cv_prog_XMLLINT = "yes" &&
72728 test $glibcxx_stylesheets = "yes"; then
72729 BUILD_XML_TRUE=
72730 BUILD_XML_FALSE='#'
72731 else
72732 BUILD_XML_TRUE='#'
72733 BUILD_XML_FALSE=
72737 if test $ac_cv_prog_DOXYGEN = "yes" &&
72738 test $ac_cv_prog_DOT = "yes" &&
72739 test $ac_cv_prog_XSLTPROC = "yes" &&
72740 test $ac_cv_prog_XMLLINT = "yes" &&
72741 test $glibcxx_stylesheets = "yes"; then
72742 BUILD_HTML_TRUE=
72743 BUILD_HTML_FALSE='#'
72744 else
72745 BUILD_HTML_TRUE='#'
72746 BUILD_HTML_FALSE=
72750 # Check for man dependencies.
72751 if test $ac_cv_prog_DOXYGEN = "yes" &&
72752 test $ac_cv_prog_DOT = "yes"; then
72753 BUILD_MAN_TRUE=
72754 BUILD_MAN_FALSE='#'
72755 else
72756 BUILD_MAN_TRUE='#'
72757 BUILD_MAN_FALSE=
72761 # Check for pdf dependencies.
72762 # Extract the first word of "dblatex", so it can be a program name with args.
72763 set dummy dblatex; ac_word=$2
72764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72765 $as_echo_n "checking for $ac_word... " >&6; }
72766 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
72767 $as_echo_n "(cached) " >&6
72768 else
72769 if test -n "$DBLATEX"; then
72770 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
72771 else
72772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72773 for as_dir in $PATH
72775 IFS=$as_save_IFS
72776 test -z "$as_dir" && as_dir=.
72777 for ac_exec_ext in '' $ac_executable_extensions; do
72778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72779 ac_cv_prog_DBLATEX="yes"
72780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72781 break 2
72783 done
72784 done
72785 IFS=$as_save_IFS
72787 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
72790 DBLATEX=$ac_cv_prog_DBLATEX
72791 if test -n "$DBLATEX"; then
72792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
72793 $as_echo "$DBLATEX" >&6; }
72794 else
72795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72796 $as_echo "no" >&6; }
72800 # Extract the first word of "pdflatex", so it can be a program name with args.
72801 set dummy pdflatex; ac_word=$2
72802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72803 $as_echo_n "checking for $ac_word... " >&6; }
72804 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
72805 $as_echo_n "(cached) " >&6
72806 else
72807 if test -n "$PDFLATEX"; then
72808 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
72809 else
72810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72811 for as_dir in $PATH
72813 IFS=$as_save_IFS
72814 test -z "$as_dir" && as_dir=.
72815 for ac_exec_ext in '' $ac_executable_extensions; do
72816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72817 ac_cv_prog_PDFLATEX="yes"
72818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72819 break 2
72821 done
72822 done
72823 IFS=$as_save_IFS
72825 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
72828 PDFLATEX=$ac_cv_prog_PDFLATEX
72829 if test -n "$PDFLATEX"; then
72830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
72831 $as_echo "$PDFLATEX" >&6; }
72832 else
72833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72834 $as_echo "no" >&6; }
72838 if test $ac_cv_prog_DBLATEX = "yes" &&
72839 test $ac_cv_prog_PDFLATEX = "yes"; then
72840 BUILD_PDF_TRUE=
72841 BUILD_PDF_FALSE='#'
72842 else
72843 BUILD_PDF_TRUE='#'
72844 BUILD_PDF_FALSE=
72849 # Propagate the target-specific source directories through the build chain.
72850 ATOMICITY_SRCDIR=config/${atomicity_dir}
72851 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
72852 ATOMIC_FLAGS=${atomic_flags}
72853 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
72854 OS_INC_SRCDIR=config/${os_include_dir}
72855 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
72856 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
72857 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
72858 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
72870 # Determine cross-compile flags and AM_CONDITIONALs.
72871 #AC_SUBST(GLIBCXX_IS_NATIVE)
72872 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
72873 if test $is_hosted = yes; then
72874 GLIBCXX_HOSTED_TRUE=
72875 GLIBCXX_HOSTED_FALSE='#'
72876 else
72877 GLIBCXX_HOSTED_TRUE='#'
72878 GLIBCXX_HOSTED_FALSE=
72882 if test $enable_libstdcxx_pch = yes; then
72883 GLIBCXX_BUILD_PCH_TRUE=
72884 GLIBCXX_BUILD_PCH_FALSE='#'
72885 else
72886 GLIBCXX_BUILD_PCH_TRUE='#'
72887 GLIBCXX_BUILD_PCH_FALSE=
72891 if test $enable_cheaders = c; then
72892 GLIBCXX_C_HEADERS_C_TRUE=
72893 GLIBCXX_C_HEADERS_C_FALSE='#'
72894 else
72895 GLIBCXX_C_HEADERS_C_TRUE='#'
72896 GLIBCXX_C_HEADERS_C_FALSE=
72900 if test $enable_cheaders = c_std; then
72901 GLIBCXX_C_HEADERS_C_STD_TRUE=
72902 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
72903 else
72904 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
72905 GLIBCXX_C_HEADERS_C_STD_FALSE=
72909 if test $enable_cheaders = c_global; then
72910 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
72911 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
72912 else
72913 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
72914 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
72918 if test $c_compatibility = yes; then
72919 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
72920 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
72921 else
72922 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
72923 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
72927 if test $enable_libstdcxx_debug = yes; then
72928 GLIBCXX_BUILD_DEBUG_TRUE=
72929 GLIBCXX_BUILD_DEBUG_FALSE='#'
72930 else
72931 GLIBCXX_BUILD_DEBUG_TRUE='#'
72932 GLIBCXX_BUILD_DEBUG_FALSE=
72936 if test $enable_extern_template = yes; then
72937 ENABLE_EXTERN_TEMPLATE_TRUE=
72938 ENABLE_EXTERN_TEMPLATE_FALSE='#'
72939 else
72940 ENABLE_EXTERN_TEMPLATE_TRUE='#'
72941 ENABLE_EXTERN_TEMPLATE_FALSE=
72945 if test $python_mod_dir != no; then
72946 ENABLE_PYTHONDIR_TRUE=
72947 ENABLE_PYTHONDIR_FALSE='#'
72948 else
72949 ENABLE_PYTHONDIR_TRUE='#'
72950 ENABLE_PYTHONDIR_FALSE=
72954 if test $enable_werror = yes; then
72955 ENABLE_WERROR_TRUE=
72956 ENABLE_WERROR_FALSE='#'
72957 else
72958 ENABLE_WERROR_TRUE='#'
72959 ENABLE_WERROR_FALSE=
72963 if test $enable_symvers != no; then
72964 ENABLE_SYMVERS_TRUE=
72965 ENABLE_SYMVERS_FALSE='#'
72966 else
72967 ENABLE_SYMVERS_TRUE='#'
72968 ENABLE_SYMVERS_FALSE=
72972 if test $enable_symvers = gnu; then
72973 ENABLE_SYMVERS_GNU_TRUE=
72974 ENABLE_SYMVERS_GNU_FALSE='#'
72975 else
72976 ENABLE_SYMVERS_GNU_TRUE='#'
72977 ENABLE_SYMVERS_GNU_FALSE=
72981 if test $enable_symvers = gnu-versioned-namespace; then
72982 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
72983 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
72984 else
72985 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
72986 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
72990 if test $enable_symvers = darwin; then
72991 ENABLE_SYMVERS_DARWIN_TRUE=
72992 ENABLE_SYMVERS_DARWIN_FALSE='#'
72993 else
72994 ENABLE_SYMVERS_DARWIN_TRUE='#'
72995 ENABLE_SYMVERS_DARWIN_FALSE=
72999 if test $enable_symvers = sun; then
73000 ENABLE_SYMVERS_SUN_TRUE=
73001 ENABLE_SYMVERS_SUN_FALSE='#'
73002 else
73003 ENABLE_SYMVERS_SUN_TRUE='#'
73004 ENABLE_SYMVERS_SUN_FALSE=
73008 if test $enable_libstdcxx_visibility = yes; then
73009 ENABLE_VISIBILITY_TRUE=
73010 ENABLE_VISIBILITY_FALSE='#'
73011 else
73012 ENABLE_VISIBILITY_TRUE='#'
73013 ENABLE_VISIBILITY_FALSE=
73017 if test $ac_ldbl_compat = yes; then
73018 GLIBCXX_LDBL_COMPAT_TRUE=
73019 GLIBCXX_LDBL_COMPAT_FALSE='#'
73020 else
73021 GLIBCXX_LDBL_COMPAT_TRUE='#'
73022 GLIBCXX_LDBL_COMPAT_FALSE=
73028 cat >confcache <<\_ACEOF
73029 # This file is a shell script that caches the results of configure
73030 # tests run on this system so they can be shared between configure
73031 # scripts and configure runs, see configure's option --config-cache.
73032 # It is not useful on other systems. If it contains results you don't
73033 # want to keep, you may remove or edit it.
73035 # config.status only pays attention to the cache file if you give it
73036 # the --recheck option to rerun configure.
73038 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73039 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73040 # following values.
73042 _ACEOF
73044 # The following way of writing the cache mishandles newlines in values,
73045 # but we know of no workaround that is simple, portable, and efficient.
73046 # So, we kill variables containing newlines.
73047 # Ultrix sh set writes to stderr and can't be redirected directly,
73048 # and sets the high bit in the cache file unless we assign to the vars.
73050 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73051 eval ac_val=\$$ac_var
73052 case $ac_val in #(
73053 *${as_nl}*)
73054 case $ac_var in #(
73055 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73056 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73057 esac
73058 case $ac_var in #(
73059 _ | IFS | as_nl) ;; #(
73060 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73061 *) { eval $ac_var=; unset $ac_var;} ;;
73062 esac ;;
73063 esac
73064 done
73066 (set) 2>&1 |
73067 case $as_nl`(ac_space=' '; set) 2>&1` in #(
73068 *${as_nl}ac_space=\ *)
73069 # `set' does not quote correctly, so add quotes: double-quote
73070 # substitution turns \\\\ into \\, and sed turns \\ into \.
73071 sed -n \
73072 "s/'/'\\\\''/g;
73073 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73074 ;; #(
73076 # `set' quotes correctly as required by POSIX, so do not add quotes.
73077 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73079 esac |
73080 sort
73082 sed '
73083 /^ac_cv_env_/b end
73084 t clear
73085 :clear
73086 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73087 t end
73088 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73089 :end' >>confcache
73090 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73091 if test -w "$cache_file"; then
73092 test "x$cache_file" != "x/dev/null" &&
73093 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73094 $as_echo "$as_me: updating cache $cache_file" >&6;}
73095 cat confcache >$cache_file
73096 else
73097 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73098 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73101 rm -f confcache
73103 if test ${multilib} = yes; then
73104 multilib_arg="--enable-multilib"
73105 else
73106 multilib_arg=
73109 # Export all the install information.
73111 glibcxx_toolexecdir=no
73112 glibcxx_toolexeclibdir=no
73113 glibcxx_prefixdir=$prefix
73115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
73116 $as_echo_n "checking for gxx-include-dir... " >&6; }
73118 # Check whether --with-gxx-include-dir was given.
73119 if test "${with_gxx_include_dir+set}" = set; then :
73120 withval=$with_gxx_include_dir; case "$withval" in
73121 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
73122 no) gxx_include_dir=no ;;
73123 *) gxx_include_dir=$withval ;;
73124 esac
73125 else
73126 gxx_include_dir=no
73129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73130 $as_echo "$gxx_include_dir" >&6; }
73132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
73133 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
73134 # Check whether --enable-version-specific-runtime-libs was given.
73135 if test "${enable_version_specific_runtime_libs+set}" = set; then :
73136 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
73137 yes) version_specific_libs=yes ;;
73138 no) version_specific_libs=no ;;
73139 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
73140 esac
73141 else
73142 version_specific_libs=no
73145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
73146 $as_echo "$version_specific_libs" >&6; }
73148 # Default case for install directory for include files.
73149 if test $version_specific_libs = no && test $gxx_include_dir = no; then
73150 gxx_include_dir='include/c++/${gcc_version}'
73151 if test -n "$with_cross_host" &&
73152 test x"$with_cross_host" != x"no"; then
73153 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
73154 else
73155 gxx_include_dir='${prefix}/'"$gxx_include_dir"
73159 # Version-specific runtime libs processing.
73160 if test $version_specific_libs = yes; then
73161 # Need the gcc compiler version to know where to install libraries
73162 # and header files if --enable-version-specific-runtime-libs option
73163 # is selected. FIXME: these variables are misnamed, there are
73164 # no executables installed in _toolexecdir or _toolexeclibdir.
73165 if test x"$gxx_include_dir" = x"no"; then
73166 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
73168 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73169 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
73172 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
73173 # Install a library built with a cross compiler in tooldir, not libdir.
73174 if test x"$glibcxx_toolexecdir" = x"no"; then
73175 if test -n "$with_cross_host" &&
73176 test x"$with_cross_host" != x"no"; then
73177 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
73178 glibcxx_toolexeclibdir='${toolexecdir}/lib'
73179 else
73180 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73181 glibcxx_toolexeclibdir='${libdir}'
73183 multi_os_directory=`$CXX -print-multi-os-directory`
73184 case $multi_os_directory in
73185 .) ;; # Avoid trailing /.
73186 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
73187 esac
73190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
73191 $as_echo_n "checking for install location... " >&6; }
73192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73193 $as_echo "$gxx_include_dir" >&6; }
73201 # Export all the include and flag information to Makefiles.
73203 # Used for every C++ compile we perform.
73204 GLIBCXX_INCLUDES="\
73205 -I$glibcxx_builddir/include/$host_alias \
73206 -I$glibcxx_builddir/include \
73207 -I$glibcxx_srcdir/libsupc++"
73209 # For Canadian crosses, pick this up too.
73210 if test $CANADIAN = yes; then
73211 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
73214 # Stuff in the actual top level. Currently only used by libsupc++ to
73215 # get unwind* headers from the libgcc dir.
73216 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
73217 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
73219 # Now, export this to all the little Makefiles....
73224 # Optimization flags that are probably a good idea for thrill-seekers. Just
73225 # uncomment the lines below and make, everything else is ready to go...
73226 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
73227 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
73230 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
73234 ac_config_files="$ac_config_files Makefile"
73236 ac_config_files="$ac_config_files scripts/testsuite_flags"
73238 ac_config_files="$ac_config_files scripts/extract_symvers"
73240 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
73243 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
73244 # that multilib installs will end up installed in the correct place.
73245 # The testsuite needs it for multilib-aware ABI baseline files.
73246 # To work around this not being passed down from config-ml.in ->
73247 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
73248 # append it here. Only modify Makefiles that have just been created.
73250 # Also, get rid of this simulated-VPATH thing that automake does.
73251 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile doc/Makefile po/Makefile testsuite/Makefile"
73254 ac_config_commands="$ac_config_commands generate-headers"
73257 cat >confcache <<\_ACEOF
73258 # This file is a shell script that caches the results of configure
73259 # tests run on this system so they can be shared between configure
73260 # scripts and configure runs, see configure's option --config-cache.
73261 # It is not useful on other systems. If it contains results you don't
73262 # want to keep, you may remove or edit it.
73264 # config.status only pays attention to the cache file if you give it
73265 # the --recheck option to rerun configure.
73267 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73268 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73269 # following values.
73271 _ACEOF
73273 # The following way of writing the cache mishandles newlines in values,
73274 # but we know of no workaround that is simple, portable, and efficient.
73275 # So, we kill variables containing newlines.
73276 # Ultrix sh set writes to stderr and can't be redirected directly,
73277 # and sets the high bit in the cache file unless we assign to the vars.
73279 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73280 eval ac_val=\$$ac_var
73281 case $ac_val in #(
73282 *${as_nl}*)
73283 case $ac_var in #(
73284 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73285 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73286 esac
73287 case $ac_var in #(
73288 _ | IFS | as_nl) ;; #(
73289 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73290 *) { eval $ac_var=; unset $ac_var;} ;;
73291 esac ;;
73292 esac
73293 done
73295 (set) 2>&1 |
73296 case $as_nl`(ac_space=' '; set) 2>&1` in #(
73297 *${as_nl}ac_space=\ *)
73298 # `set' does not quote correctly, so add quotes: double-quote
73299 # substitution turns \\\\ into \\, and sed turns \\ into \.
73300 sed -n \
73301 "s/'/'\\\\''/g;
73302 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73303 ;; #(
73305 # `set' quotes correctly as required by POSIX, so do not add quotes.
73306 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73308 esac |
73309 sort
73311 sed '
73312 /^ac_cv_env_/b end
73313 t clear
73314 :clear
73315 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73316 t end
73317 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73318 :end' >>confcache
73319 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73320 if test -w "$cache_file"; then
73321 test "x$cache_file" != "x/dev/null" &&
73322 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73323 $as_echo "$as_me: updating cache $cache_file" >&6;}
73324 cat confcache >$cache_file
73325 else
73326 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73327 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73330 rm -f confcache
73332 test "x$prefix" = xNONE && prefix=$ac_default_prefix
73333 # Let make expand exec_prefix.
73334 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
73336 DEFS=-DHAVE_CONFIG_H
73338 ac_libobjs=
73339 ac_ltlibobjs=
73340 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
73341 # 1. Remove the extension, and $U if already installed.
73342 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
73343 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
73344 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
73345 # will be set to the directory where LIBOBJS objects are built.
73346 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
73347 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
73348 done
73349 LIBOBJS=$ac_libobjs
73351 LTLIBOBJS=$ac_ltlibobjs
73354 if test -n "$EXEEXT"; then
73355 am__EXEEXT_TRUE=
73356 am__EXEEXT_FALSE='#'
73357 else
73358 am__EXEEXT_TRUE='#'
73359 am__EXEEXT_FALSE=
73362 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
73363 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
73364 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73366 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
73367 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
73368 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73370 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
73371 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
73372 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73374 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
73375 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
73376 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73378 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
73379 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
73380 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73382 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
73383 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
73384 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73386 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
73387 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
73388 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73390 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
73391 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
73392 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73394 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
73395 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
73396 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73398 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
73399 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
73400 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73402 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
73403 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
73404 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73406 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
73407 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
73408 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73410 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
73411 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
73412 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73414 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
73415 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
73416 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73418 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
73419 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
73420 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73422 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
73423 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
73424 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73426 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
73427 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
73428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73430 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
73431 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
73432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73434 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
73435 as_fn_error "conditional \"BUILD_INFO\" was never defined.
73436 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73438 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
73439 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
73440 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73442 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
73443 as_fn_error "conditional \"BUILD_XML\" was never defined.
73444 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73446 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
73447 as_fn_error "conditional \"BUILD_HTML\" was never defined.
73448 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73450 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
73451 as_fn_error "conditional \"BUILD_MAN\" was never defined.
73452 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73454 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
73455 as_fn_error "conditional \"BUILD_PDF\" was never defined.
73456 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73459 : ${CONFIG_STATUS=./config.status}
73460 ac_write_fail=0
73461 ac_clean_files_save=$ac_clean_files
73462 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
73463 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
73464 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
73465 as_write_fail=0
73466 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
73467 #! $SHELL
73468 # Generated by $as_me.
73469 # Run this file to recreate the current configuration.
73470 # Compiler output produced by configure, useful for debugging
73471 # configure, is in config.log if it exists.
73473 debug=false
73474 ac_cs_recheck=false
73475 ac_cs_silent=false
73477 SHELL=\${CONFIG_SHELL-$SHELL}
73478 export SHELL
73479 _ASEOF
73480 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
73481 ## -------------------- ##
73482 ## M4sh Initialization. ##
73483 ## -------------------- ##
73485 # Be more Bourne compatible
73486 DUALCASE=1; export DUALCASE # for MKS sh
73487 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
73488 emulate sh
73489 NULLCMD=:
73490 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
73491 # is contrary to our usage. Disable this feature.
73492 alias -g '${1+"$@"}'='"$@"'
73493 setopt NO_GLOB_SUBST
73494 else
73495 case `(set -o) 2>/dev/null` in #(
73496 *posix*) :
73497 set -o posix ;; #(
73498 *) :
73500 esac
73504 as_nl='
73506 export as_nl
73507 # Printing a long string crashes Solaris 7 /usr/bin/printf.
73508 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
73509 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
73510 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
73511 # Prefer a ksh shell builtin over an external printf program on Solaris,
73512 # but without wasting forks for bash or zsh.
73513 if test -z "$BASH_VERSION$ZSH_VERSION" \
73514 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
73515 as_echo='print -r --'
73516 as_echo_n='print -rn --'
73517 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
73518 as_echo='printf %s\n'
73519 as_echo_n='printf %s'
73520 else
73521 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
73522 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
73523 as_echo_n='/usr/ucb/echo -n'
73524 else
73525 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
73526 as_echo_n_body='eval
73527 arg=$1;
73528 case $arg in #(
73529 *"$as_nl"*)
73530 expr "X$arg" : "X\\(.*\\)$as_nl";
73531 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
73532 esac;
73533 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
73535 export as_echo_n_body
73536 as_echo_n='sh -c $as_echo_n_body as_echo'
73538 export as_echo_body
73539 as_echo='sh -c $as_echo_body as_echo'
73542 # The user is always right.
73543 if test "${PATH_SEPARATOR+set}" != set; then
73544 PATH_SEPARATOR=:
73545 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
73546 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
73547 PATH_SEPARATOR=';'
73552 # IFS
73553 # We need space, tab and new line, in precisely that order. Quoting is
73554 # there to prevent editors from complaining about space-tab.
73555 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
73556 # splitting by setting IFS to empty value.)
73557 IFS=" "" $as_nl"
73559 # Find who we are. Look in the path if we contain no directory separator.
73560 case $0 in #((
73561 *[\\/]* ) as_myself=$0 ;;
73562 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73563 for as_dir in $PATH
73565 IFS=$as_save_IFS
73566 test -z "$as_dir" && as_dir=.
73567 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
73568 done
73569 IFS=$as_save_IFS
73572 esac
73573 # We did not find ourselves, most probably we were run as `sh COMMAND'
73574 # in which case we are not to be found in the path.
73575 if test "x$as_myself" = x; then
73576 as_myself=$0
73578 if test ! -f "$as_myself"; then
73579 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
73580 exit 1
73583 # Unset variables that we do not need and which cause bugs (e.g. in
73584 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
73585 # suppresses any "Segmentation fault" message there. '((' could
73586 # trigger a bug in pdksh 5.2.14.
73587 for as_var in BASH_ENV ENV MAIL MAILPATH
73588 do eval test x\${$as_var+set} = xset \
73589 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
73590 done
73591 PS1='$ '
73592 PS2='> '
73593 PS4='+ '
73595 # NLS nuisances.
73596 LC_ALL=C
73597 export LC_ALL
73598 LANGUAGE=C
73599 export LANGUAGE
73601 # CDPATH.
73602 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
73605 # as_fn_error ERROR [LINENO LOG_FD]
73606 # ---------------------------------
73607 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
73608 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
73609 # script with status $?, using 1 if that was 0.
73610 as_fn_error ()
73612 as_status=$?; test $as_status -eq 0 && as_status=1
73613 if test "$3"; then
73614 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
73615 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
73617 $as_echo "$as_me: error: $1" >&2
73618 as_fn_exit $as_status
73619 } # as_fn_error
73622 # as_fn_set_status STATUS
73623 # -----------------------
73624 # Set $? to STATUS, without forking.
73625 as_fn_set_status ()
73627 return $1
73628 } # as_fn_set_status
73630 # as_fn_exit STATUS
73631 # -----------------
73632 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
73633 as_fn_exit ()
73635 set +e
73636 as_fn_set_status $1
73637 exit $1
73638 } # as_fn_exit
73640 # as_fn_unset VAR
73641 # ---------------
73642 # Portably unset VAR.
73643 as_fn_unset ()
73645 { eval $1=; unset $1;}
73647 as_unset=as_fn_unset
73648 # as_fn_append VAR VALUE
73649 # ----------------------
73650 # Append the text in VALUE to the end of the definition contained in VAR. Take
73651 # advantage of any shell optimizations that allow amortized linear growth over
73652 # repeated appends, instead of the typical quadratic growth present in naive
73653 # implementations.
73654 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
73655 eval 'as_fn_append ()
73657 eval $1+=\$2
73659 else
73660 as_fn_append ()
73662 eval $1=\$$1\$2
73664 fi # as_fn_append
73666 # as_fn_arith ARG...
73667 # ------------------
73668 # Perform arithmetic evaluation on the ARGs, and store the result in the
73669 # global $as_val. Take advantage of shells that can avoid forks. The arguments
73670 # must be portable across $(()) and expr.
73671 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
73672 eval 'as_fn_arith ()
73674 as_val=$(( $* ))
73676 else
73677 as_fn_arith ()
73679 as_val=`expr "$@" || test $? -eq 1`
73681 fi # as_fn_arith
73684 if expr a : '\(a\)' >/dev/null 2>&1 &&
73685 test "X`expr 00001 : '.*\(...\)'`" = X001; then
73686 as_expr=expr
73687 else
73688 as_expr=false
73691 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
73692 as_basename=basename
73693 else
73694 as_basename=false
73697 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
73698 as_dirname=dirname
73699 else
73700 as_dirname=false
73703 as_me=`$as_basename -- "$0" ||
73704 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
73705 X"$0" : 'X\(//\)$' \| \
73706 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73707 $as_echo X/"$0" |
73708 sed '/^.*\/\([^/][^/]*\)\/*$/{
73709 s//\1/
73712 /^X\/\(\/\/\)$/{
73713 s//\1/
73716 /^X\/\(\/\).*/{
73717 s//\1/
73720 s/.*/./; q'`
73722 # Avoid depending upon Character Ranges.
73723 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
73724 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
73725 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
73726 as_cr_digits='0123456789'
73727 as_cr_alnum=$as_cr_Letters$as_cr_digits
73729 ECHO_C= ECHO_N= ECHO_T=
73730 case `echo -n x` in #(((((
73731 -n*)
73732 case `echo 'xy\c'` in
73733 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
73734 xy) ECHO_C='\c';;
73735 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
73736 ECHO_T=' ';;
73737 esac;;
73739 ECHO_N='-n';;
73740 esac
73742 rm -f conf$$ conf$$.exe conf$$.file
73743 if test -d conf$$.dir; then
73744 rm -f conf$$.dir/conf$$.file
73745 else
73746 rm -f conf$$.dir
73747 mkdir conf$$.dir 2>/dev/null
73749 if (echo >conf$$.file) 2>/dev/null; then
73750 if ln -s conf$$.file conf$$ 2>/dev/null; then
73751 as_ln_s='ln -s'
73752 # ... but there are two gotchas:
73753 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
73754 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
73755 # In both cases, we have to default to `cp -p'.
73756 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
73757 as_ln_s='cp -p'
73758 elif ln conf$$.file conf$$ 2>/dev/null; then
73759 as_ln_s=ln
73760 else
73761 as_ln_s='cp -p'
73763 else
73764 as_ln_s='cp -p'
73766 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
73767 rmdir conf$$.dir 2>/dev/null
73770 # as_fn_mkdir_p
73771 # -------------
73772 # Create "$as_dir" as a directory, including parents if necessary.
73773 as_fn_mkdir_p ()
73776 case $as_dir in #(
73777 -*) as_dir=./$as_dir;;
73778 esac
73779 test -d "$as_dir" || eval $as_mkdir_p || {
73780 as_dirs=
73781 while :; do
73782 case $as_dir in #(
73783 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
73784 *) as_qdir=$as_dir;;
73785 esac
73786 as_dirs="'$as_qdir' $as_dirs"
73787 as_dir=`$as_dirname -- "$as_dir" ||
73788 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73789 X"$as_dir" : 'X\(//\)[^/]' \| \
73790 X"$as_dir" : 'X\(//\)$' \| \
73791 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
73792 $as_echo X"$as_dir" |
73793 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73794 s//\1/
73797 /^X\(\/\/\)[^/].*/{
73798 s//\1/
73801 /^X\(\/\/\)$/{
73802 s//\1/
73805 /^X\(\/\).*/{
73806 s//\1/
73809 s/.*/./; q'`
73810 test -d "$as_dir" && break
73811 done
73812 test -z "$as_dirs" || eval "mkdir $as_dirs"
73813 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
73816 } # as_fn_mkdir_p
73817 if mkdir -p . 2>/dev/null; then
73818 as_mkdir_p='mkdir -p "$as_dir"'
73819 else
73820 test -d ./-p && rmdir ./-p
73821 as_mkdir_p=false
73824 if test -x / >/dev/null 2>&1; then
73825 as_test_x='test -x'
73826 else
73827 if ls -dL / >/dev/null 2>&1; then
73828 as_ls_L_option=L
73829 else
73830 as_ls_L_option=
73832 as_test_x='
73833 eval sh -c '\''
73834 if test -d "$1"; then
73835 test -d "$1/.";
73836 else
73837 case $1 in #(
73838 -*)set "./$1";;
73839 esac;
73840 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
73841 ???[sx]*):;;*)false;;esac;fi
73842 '\'' sh
73845 as_executable_p=$as_test_x
73847 # Sed expression to map a string onto a valid CPP name.
73848 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
73850 # Sed expression to map a string onto a valid variable name.
73851 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
73854 exec 6>&1
73855 ## ----------------------------------- ##
73856 ## Main body of $CONFIG_STATUS script. ##
73857 ## ----------------------------------- ##
73858 _ASEOF
73859 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
73861 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73862 # Save the log message, to keep $0 and so on meaningful, and to
73863 # report actual input values of CONFIG_FILES etc. instead of their
73864 # values after options handling.
73865 ac_log="
73866 This file was extended by package-unused $as_me version-unused, which was
73867 generated by GNU Autoconf 2.64. Invocation command line was
73869 CONFIG_FILES = $CONFIG_FILES
73870 CONFIG_HEADERS = $CONFIG_HEADERS
73871 CONFIG_LINKS = $CONFIG_LINKS
73872 CONFIG_COMMANDS = $CONFIG_COMMANDS
73873 $ $0 $@
73875 on `(hostname || uname -n) 2>/dev/null | sed 1q`
73878 _ACEOF
73880 case $ac_config_files in *"
73881 "*) set x $ac_config_files; shift; ac_config_files=$*;;
73882 esac
73884 case $ac_config_headers in *"
73885 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
73886 esac
73889 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73890 # Files that config.status was made for.
73891 config_files="$ac_config_files"
73892 config_headers="$ac_config_headers"
73893 config_commands="$ac_config_commands"
73895 _ACEOF
73897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73898 ac_cs_usage="\
73899 \`$as_me' instantiates files and other configuration actions
73900 from templates according to the current configuration. Unless the files
73901 and actions are specified as TAGs, all are instantiated by default.
73903 Usage: $0 [OPTION]... [TAG]...
73905 -h, --help print this help, then exit
73906 -V, --version print version number and configuration settings, then exit
73907 -q, --quiet, --silent
73908 do not print progress messages
73909 -d, --debug don't remove temporary files
73910 --recheck update $as_me by reconfiguring in the same conditions
73911 --file=FILE[:TEMPLATE]
73912 instantiate the configuration file FILE
73913 --header=FILE[:TEMPLATE]
73914 instantiate the configuration header FILE
73916 Configuration files:
73917 $config_files
73919 Configuration headers:
73920 $config_headers
73922 Configuration commands:
73923 $config_commands
73925 Report bugs to the package provider."
73927 _ACEOF
73928 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73929 ac_cs_version="\\
73930 package-unused config.status version-unused
73931 configured by $0, generated by GNU Autoconf 2.64,
73932 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
73934 Copyright (C) 2009 Free Software Foundation, Inc.
73935 This config.status script is free software; the Free Software Foundation
73936 gives unlimited permission to copy, distribute and modify it."
73938 ac_pwd='$ac_pwd'
73939 srcdir='$srcdir'
73940 INSTALL='$INSTALL'
73941 MKDIR_P='$MKDIR_P'
73942 AWK='$AWK'
73943 test -n "\$AWK" || AWK=awk
73944 _ACEOF
73946 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73947 # The default lists apply if the user does not specify any file.
73948 ac_need_defaults=:
73949 while test $# != 0
73951 case $1 in
73952 --*=*)
73953 ac_option=`expr "X$1" : 'X\([^=]*\)='`
73954 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
73955 ac_shift=:
73958 ac_option=$1
73959 ac_optarg=$2
73960 ac_shift=shift
73962 esac
73964 case $ac_option in
73965 # Handling of the options.
73966 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
73967 ac_cs_recheck=: ;;
73968 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
73969 $as_echo "$ac_cs_version"; exit ;;
73970 --debug | --debu | --deb | --de | --d | -d )
73971 debug=: ;;
73972 --file | --fil | --fi | --f )
73973 $ac_shift
73974 case $ac_optarg in
73975 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
73976 esac
73977 as_fn_append CONFIG_FILES " '$ac_optarg'"
73978 ac_need_defaults=false;;
73979 --header | --heade | --head | --hea )
73980 $ac_shift
73981 case $ac_optarg in
73982 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
73983 esac
73984 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
73985 ac_need_defaults=false;;
73986 --he | --h)
73987 # Conflict between --help and --header
73988 as_fn_error "ambiguous option: \`$1'
73989 Try \`$0 --help' for more information.";;
73990 --help | --hel | -h )
73991 $as_echo "$ac_cs_usage"; exit ;;
73992 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
73993 | -silent | --silent | --silen | --sile | --sil | --si | --s)
73994 ac_cs_silent=: ;;
73996 # This is an error.
73997 -*) as_fn_error "unrecognized option: \`$1'
73998 Try \`$0 --help' for more information." ;;
74000 *) as_fn_append ac_config_targets " $1"
74001 ac_need_defaults=false ;;
74003 esac
74004 shift
74005 done
74007 ac_configure_extra_args=
74009 if $ac_cs_silent; then
74010 exec 6>/dev/null
74011 ac_configure_extra_args="$ac_configure_extra_args --silent"
74014 _ACEOF
74015 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74016 if \$ac_cs_recheck; then
74017 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
74018 shift
74019 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
74020 CONFIG_SHELL='$SHELL'
74021 export CONFIG_SHELL
74022 exec "\$@"
74025 _ACEOF
74026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74027 exec 5>>config.log
74029 echo
74030 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
74031 ## Running $as_me. ##
74032 _ASBOX
74033 $as_echo "$ac_log"
74034 } >&5
74036 _ACEOF
74037 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74039 # INIT-COMMANDS
74042 srcdir="$srcdir"
74043 host="$host"
74044 target="$target"
74045 with_multisubdir="$with_multisubdir"
74046 with_multisrctop="$with_multisrctop"
74047 with_target_subdir="$with_target_subdir"
74048 ac_configure_args="${multilib_arg} ${ac_configure_args}"
74049 multi_basedir="$multi_basedir"
74050 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
74051 CC="$CC"
74052 CXX="$CXX"
74053 GFORTRAN="$GFORTRAN"
74054 GCJ="$GCJ"
74057 # The HP-UX ksh and POSIX shell print the target directory to stdout
74058 # if CDPATH is set.
74059 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
74061 sed_quote_subst='$sed_quote_subst'
74062 double_quote_subst='$double_quote_subst'
74063 delay_variable_subst='$delay_variable_subst'
74064 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
74065 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
74066 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
74067 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
74068 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
74069 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
74070 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
74071 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
74072 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
74073 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
74074 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
74075 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
74076 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
74077 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
74078 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
74079 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
74080 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
74081 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
74082 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
74083 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
74084 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
74085 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
74086 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
74087 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
74088 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
74089 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
74090 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
74091 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
74092 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
74093 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
74094 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
74095 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
74096 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
74097 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
74098 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
74099 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
74100 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
74101 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74102 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74103 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
74104 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
74105 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
74106 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
74107 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
74108 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
74109 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
74110 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
74111 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
74112 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
74113 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
74114 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
74115 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
74116 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
74117 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
74118 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
74119 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
74120 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
74121 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
74122 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
74123 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
74124 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
74125 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
74126 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
74127 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
74128 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74129 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
74130 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
74131 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
74132 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
74133 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
74134 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
74135 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74136 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
74137 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74138 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
74139 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74140 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
74141 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
74142 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
74143 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
74144 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
74145 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
74146 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
74147 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
74148 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
74149 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
74150 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
74151 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
74152 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
74153 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
74154 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
74155 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
74156 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
74157 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
74158 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
74159 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
74160 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
74161 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
74162 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
74163 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
74164 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
74165 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
74166 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
74167 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
74168 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
74169 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
74170 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
74171 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74172 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74173 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
74174 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
74175 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
74176 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
74177 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
74178 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
74179 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
74180 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
74181 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
74182 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
74183 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
74184 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
74185 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
74186 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
74187 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
74188 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
74189 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
74190 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
74191 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
74192 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74193 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74194 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
74195 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
74196 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
74197 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
74198 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
74199 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
74200 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
74201 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
74202 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
74203 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74204 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74205 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
74206 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74207 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74208 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74209 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74210 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74211 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74212 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
74213 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74214 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74215 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74216 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
74217 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
74218 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
74219 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
74220 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
74221 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
74222 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
74223 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
74224 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
74225 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
74226 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
74227 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74228 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74229 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74230 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74231 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
74232 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
74233 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
74234 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74235 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74236 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
74237 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
74238 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
74240 LTCC='$LTCC'
74241 LTCFLAGS='$LTCFLAGS'
74242 compiler='$compiler_DEFAULT'
74244 # A function that is used when there is no print builtin or printf.
74245 func_fallback_echo ()
74247 eval 'cat <<_LTECHO_EOF
74249 _LTECHO_EOF'
74252 # Quote evaled strings.
74253 for var in SHELL \
74254 ECHO \
74255 SED \
74256 GREP \
74257 EGREP \
74258 FGREP \
74259 LD \
74260 NM \
74261 LN_S \
74262 lt_SP2NL \
74263 lt_NL2SP \
74264 reload_flag \
74265 OBJDUMP \
74266 deplibs_check_method \
74267 file_magic_cmd \
74268 AR \
74269 AR_FLAGS \
74270 STRIP \
74271 RANLIB \
74272 CC \
74273 CFLAGS \
74274 compiler \
74275 lt_cv_sys_global_symbol_pipe \
74276 lt_cv_sys_global_symbol_to_cdecl \
74277 lt_cv_sys_global_symbol_to_c_name_address \
74278 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
74279 lt_prog_compiler_no_builtin_flag \
74280 lt_prog_compiler_wl \
74281 lt_prog_compiler_pic \
74282 lt_prog_compiler_static \
74283 lt_cv_prog_compiler_c_o \
74284 need_locks \
74285 DSYMUTIL \
74286 NMEDIT \
74287 LIPO \
74288 OTOOL \
74289 OTOOL64 \
74290 shrext_cmds \
74291 export_dynamic_flag_spec \
74292 whole_archive_flag_spec \
74293 compiler_needs_object \
74294 with_gnu_ld \
74295 allow_undefined_flag \
74296 no_undefined_flag \
74297 hardcode_libdir_flag_spec \
74298 hardcode_libdir_flag_spec_ld \
74299 hardcode_libdir_separator \
74300 fix_srcfile_path \
74301 exclude_expsyms \
74302 include_expsyms \
74303 file_list_spec \
74304 variables_saved_for_relink \
74305 libname_spec \
74306 library_names_spec \
74307 soname_spec \
74308 install_override_mode \
74309 finish_eval \
74310 old_striplib \
74311 striplib \
74312 compiler_lib_search_dirs \
74313 predep_objects \
74314 postdep_objects \
74315 predeps \
74316 postdeps \
74317 compiler_lib_search_path \
74318 LD_CXX \
74319 reload_flag_CXX \
74320 compiler_CXX \
74321 lt_prog_compiler_no_builtin_flag_CXX \
74322 lt_prog_compiler_wl_CXX \
74323 lt_prog_compiler_pic_CXX \
74324 lt_prog_compiler_static_CXX \
74325 lt_cv_prog_compiler_c_o_CXX \
74326 export_dynamic_flag_spec_CXX \
74327 whole_archive_flag_spec_CXX \
74328 compiler_needs_object_CXX \
74329 with_gnu_ld_CXX \
74330 allow_undefined_flag_CXX \
74331 no_undefined_flag_CXX \
74332 hardcode_libdir_flag_spec_CXX \
74333 hardcode_libdir_flag_spec_ld_CXX \
74334 hardcode_libdir_separator_CXX \
74335 fix_srcfile_path_CXX \
74336 exclude_expsyms_CXX \
74337 include_expsyms_CXX \
74338 file_list_spec_CXX \
74339 compiler_lib_search_dirs_CXX \
74340 predep_objects_CXX \
74341 postdep_objects_CXX \
74342 predeps_CXX \
74343 postdeps_CXX \
74344 compiler_lib_search_path_CXX; do
74345 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74346 *[\\\\\\\`\\"\\\$]*)
74347 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
74350 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74352 esac
74353 done
74355 # Double-quote double-evaled strings.
74356 for var in reload_cmds \
74357 old_postinstall_cmds \
74358 old_postuninstall_cmds \
74359 old_archive_cmds \
74360 extract_expsyms_cmds \
74361 old_archive_from_new_cmds \
74362 old_archive_from_expsyms_cmds \
74363 archive_cmds \
74364 archive_expsym_cmds \
74365 module_cmds \
74366 module_expsym_cmds \
74367 export_symbols_cmds \
74368 prelink_cmds \
74369 postinstall_cmds \
74370 postuninstall_cmds \
74371 finish_cmds \
74372 sys_lib_search_path_spec \
74373 sys_lib_dlsearch_path_spec \
74374 reload_cmds_CXX \
74375 old_archive_cmds_CXX \
74376 old_archive_from_new_cmds_CXX \
74377 old_archive_from_expsyms_cmds_CXX \
74378 archive_cmds_CXX \
74379 archive_expsym_cmds_CXX \
74380 module_cmds_CXX \
74381 module_expsym_cmds_CXX \
74382 export_symbols_cmds_CXX \
74383 prelink_cmds_CXX; do
74384 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74385 *[\\\\\\\`\\"\\\$]*)
74386 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
74389 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74391 esac
74392 done
74394 ac_aux_dir='$ac_aux_dir'
74395 xsi_shell='$xsi_shell'
74396 lt_shell_append='$lt_shell_append'
74398 # See if we are running on zsh, and set the options which allow our
74399 # commands through without removal of \ escapes INIT.
74400 if test -n "\${ZSH_VERSION+set}" ; then
74401 setopt NO_GLOB_SUBST
74405 PACKAGE='$PACKAGE'
74406 VERSION='$VERSION'
74407 TIMESTAMP='$TIMESTAMP'
74408 RM='$RM'
74409 ofile='$ofile'
74416 GCC="$GCC"
74417 CC="$CC"
74418 acx_cv_header_stdint="$acx_cv_header_stdint"
74419 acx_cv_type_int8_t="$acx_cv_type_int8_t"
74420 acx_cv_type_int16_t="$acx_cv_type_int16_t"
74421 acx_cv_type_int32_t="$acx_cv_type_int32_t"
74422 acx_cv_type_int64_t="$acx_cv_type_int64_t"
74423 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
74424 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
74425 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
74426 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
74427 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
74428 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
74429 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
74430 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
74431 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
74434 _ACEOF
74436 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74438 # Handling of arguments.
74439 for ac_config_target in $ac_config_targets
74441 case $ac_config_target in
74442 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
74443 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
74444 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
74445 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
74446 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
74447 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
74448 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
74449 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
74450 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
74451 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
74452 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
74453 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
74454 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
74455 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
74456 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
74457 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
74458 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
74459 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
74461 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
74462 esac
74463 done
74466 # If the user did not use the arguments to specify the items to instantiate,
74467 # then the envvar interface is used. Set only those that are not.
74468 # We use the long form for the default assignment because of an extremely
74469 # bizarre bug on SunOS 4.1.3.
74470 if $ac_need_defaults; then
74471 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
74472 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
74473 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
74476 # Have a temporary directory for convenience. Make it in the build tree
74477 # simply because there is no reason against having it here, and in addition,
74478 # creating and moving files from /tmp can sometimes cause problems.
74479 # Hook for its removal unless debugging.
74480 # Note that there is a small window in which the directory will not be cleaned:
74481 # after its creation but before its name has been assigned to `$tmp'.
74482 $debug ||
74484 tmp=
74485 trap 'exit_status=$?
74486 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
74488 trap 'as_fn_exit 1' 1 2 13 15
74490 # Create a (secure) tmp directory for tmp files.
74493 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
74494 test -n "$tmp" && test -d "$tmp"
74495 } ||
74497 tmp=./conf$$-$RANDOM
74498 (umask 077 && mkdir "$tmp")
74499 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
74501 # Set up the scripts for CONFIG_FILES section.
74502 # No need to generate them if there are no CONFIG_FILES.
74503 # This happens for instance with `./config.status config.h'.
74504 if test -n "$CONFIG_FILES"; then
74507 ac_cr=`echo X | tr X '\015'`
74508 # On cygwin, bash can eat \r inside `` if the user requested igncr.
74509 # But we know of no other shell where ac_cr would be empty at this
74510 # point, so we can use a bashism as a fallback.
74511 if test "x$ac_cr" = x; then
74512 eval ac_cr=\$\'\\r\'
74514 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
74515 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
74516 ac_cs_awk_cr='\r'
74517 else
74518 ac_cs_awk_cr=$ac_cr
74521 echo 'BEGIN {' >"$tmp/subs1.awk" &&
74522 _ACEOF
74526 echo "cat >conf$$subs.awk <<_ACEOF" &&
74527 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
74528 echo "_ACEOF"
74529 } >conf$$subs.sh ||
74530 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74531 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
74532 ac_delim='%!_!# '
74533 for ac_last_try in false false false false false :; do
74534 . ./conf$$subs.sh ||
74535 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74537 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
74538 if test $ac_delim_n = $ac_delim_num; then
74539 break
74540 elif $ac_last_try; then
74541 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74542 else
74543 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74545 done
74546 rm -f conf$$subs.sh
74548 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74549 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
74550 _ACEOF
74551 sed -n '
74553 s/^/S["/; s/!.*/"]=/
74556 s/^[^!]*!//
74557 :repl
74558 t repl
74559 s/'"$ac_delim"'$//
74560 t delim
74563 s/\(.\{148\}\).*/\1/
74564 t more1
74565 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
74568 b repl
74569 :more1
74570 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74573 s/.\{148\}//
74574 t nl
74575 :delim
74577 s/\(.\{148\}\).*/\1/
74578 t more2
74579 s/["\\]/\\&/g; s/^/"/; s/$/"/
74582 :more2
74583 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74586 s/.\{148\}//
74587 t delim
74588 ' <conf$$subs.awk | sed '
74589 /^[^""]/{
74591 s/\n//
74593 ' >>$CONFIG_STATUS || ac_write_fail=1
74594 rm -f conf$$subs.awk
74595 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74596 _ACAWK
74597 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
74598 for (key in S) S_is_set[key] = 1
74599 FS = "\a"
74603 line = $ 0
74604 nfields = split(line, field, "@")
74605 substed = 0
74606 len = length(field[1])
74607 for (i = 2; i < nfields; i++) {
74608 key = field[i]
74609 keylen = length(key)
74610 if (S_is_set[key]) {
74611 value = S[key]
74612 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
74613 len += length(value) + length(field[++i])
74614 substed = 1
74615 } else
74616 len += 1 + keylen
74619 print line
74622 _ACAWK
74623 _ACEOF
74624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74625 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
74626 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
74627 else
74629 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
74630 || as_fn_error "could not setup config files machinery" "$LINENO" 5
74631 _ACEOF
74633 # VPATH may cause trouble with some makes, so we remove $(srcdir),
74634 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
74635 # trailing colons and then remove the whole line if VPATH becomes empty
74636 # (actually we leave an empty line to preserve line numbers).
74637 if test "x$srcdir" = x.; then
74638 ac_vpsub='/^[ ]*VPATH[ ]*=/{
74639 s/:*\$(srcdir):*/:/
74640 s/:*\${srcdir}:*/:/
74641 s/:*@srcdir@:*/:/
74642 s/^\([^=]*=[ ]*\):*/\1/
74643 s/:*$//
74644 s/^[^=]*=[ ]*$//
74648 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74649 fi # test -n "$CONFIG_FILES"
74651 # Set up the scripts for CONFIG_HEADERS section.
74652 # No need to generate them if there are no CONFIG_HEADERS.
74653 # This happens for instance with `./config.status Makefile'.
74654 if test -n "$CONFIG_HEADERS"; then
74655 cat >"$tmp/defines.awk" <<\_ACAWK ||
74656 BEGIN {
74657 _ACEOF
74659 # Transform confdefs.h into an awk script `defines.awk', embedded as
74660 # here-document in config.status, that substitutes the proper values into
74661 # config.h.in to produce config.h.
74663 # Create a delimiter string that does not exist in confdefs.h, to ease
74664 # handling of long lines.
74665 ac_delim='%!_!# '
74666 for ac_last_try in false false :; do
74667 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
74668 if test -z "$ac_t"; then
74669 break
74670 elif $ac_last_try; then
74671 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
74672 else
74673 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74675 done
74677 # For the awk script, D is an array of macro values keyed by name,
74678 # likewise P contains macro parameters if any. Preserve backslash
74679 # newline sequences.
74681 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
74682 sed -n '
74683 s/.\{148\}/&'"$ac_delim"'/g
74684 t rset
74685 :rset
74686 s/^[ ]*#[ ]*define[ ][ ]*/ /
74687 t def
74689 :def
74690 s/\\$//
74691 t bsnl
74692 s/["\\]/\\&/g
74693 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74694 D["\1"]=" \3"/p
74695 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
74697 :bsnl
74698 s/["\\]/\\&/g
74699 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74700 D["\1"]=" \3\\\\\\n"\\/p
74701 t cont
74702 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
74703 t cont
74705 :cont
74707 s/.\{148\}/&'"$ac_delim"'/g
74708 t clear
74709 :clear
74710 s/\\$//
74711 t bsnlc
74712 s/["\\]/\\&/g; s/^/"/; s/$/"/p
74714 :bsnlc
74715 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
74716 b cont
74717 ' <confdefs.h | sed '
74718 s/'"$ac_delim"'/"\\\
74719 "/g' >>$CONFIG_STATUS || ac_write_fail=1
74721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74722 for (key in D) D_is_set[key] = 1
74723 FS = "\a"
74725 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
74726 line = \$ 0
74727 split(line, arg, " ")
74728 if (arg[1] == "#") {
74729 defundef = arg[2]
74730 mac1 = arg[3]
74731 } else {
74732 defundef = substr(arg[1], 2)
74733 mac1 = arg[2]
74735 split(mac1, mac2, "(") #)
74736 macro = mac2[1]
74737 prefix = substr(line, 1, index(line, defundef) - 1)
74738 if (D_is_set[macro]) {
74739 # Preserve the white space surrounding the "#".
74740 print prefix "define", macro P[macro] D[macro]
74741 next
74742 } else {
74743 # Replace #undef with comments. This is necessary, for example,
74744 # in the case of _POSIX_SOURCE, which is predefined and required
74745 # on some systems where configure will not decide to define it.
74746 if (defundef == "undef") {
74747 print "/*", prefix defundef, macro, "*/"
74748 next
74752 { print }
74753 _ACAWK
74754 _ACEOF
74755 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74756 as_fn_error "could not setup config headers machinery" "$LINENO" 5
74757 fi # test -n "$CONFIG_HEADERS"
74760 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
74761 shift
74762 for ac_tag
74764 case $ac_tag in
74765 :[FHLC]) ac_mode=$ac_tag; continue;;
74766 esac
74767 case $ac_mode$ac_tag in
74768 :[FHL]*:*);;
74769 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
74770 :[FH]-) ac_tag=-:-;;
74771 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
74772 esac
74773 ac_save_IFS=$IFS
74774 IFS=:
74775 set x $ac_tag
74776 IFS=$ac_save_IFS
74777 shift
74778 ac_file=$1
74779 shift
74781 case $ac_mode in
74782 :L) ac_source=$1;;
74783 :[FH])
74784 ac_file_inputs=
74785 for ac_f
74787 case $ac_f in
74788 -) ac_f="$tmp/stdin";;
74789 *) # Look for the file first in the build tree, then in the source tree
74790 # (if the path is not absolute). The absolute path cannot be DOS-style,
74791 # because $ac_f cannot contain `:'.
74792 test -f "$ac_f" ||
74793 case $ac_f in
74794 [\\/$]*) false;;
74795 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
74796 esac ||
74797 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
74798 esac
74799 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
74800 as_fn_append ac_file_inputs " '$ac_f'"
74801 done
74803 # Let's still pretend it is `configure' which instantiates (i.e., don't
74804 # use $as_me), people would be surprised to read:
74805 # /* config.h. Generated by config.status. */
74806 configure_input='Generated from '`
74807 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
74808 `' by configure.'
74809 if test x"$ac_file" != x-; then
74810 configure_input="$ac_file. $configure_input"
74811 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
74812 $as_echo "$as_me: creating $ac_file" >&6;}
74814 # Neutralize special characters interpreted by sed in replacement strings.
74815 case $configure_input in #(
74816 *\&* | *\|* | *\\* )
74817 ac_sed_conf_input=`$as_echo "$configure_input" |
74818 sed 's/[\\\\&|]/\\\\&/g'`;; #(
74819 *) ac_sed_conf_input=$configure_input;;
74820 esac
74822 case $ac_tag in
74823 *:-:* | *:-) cat >"$tmp/stdin" \
74824 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
74825 esac
74827 esac
74829 ac_dir=`$as_dirname -- "$ac_file" ||
74830 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74831 X"$ac_file" : 'X\(//\)[^/]' \| \
74832 X"$ac_file" : 'X\(//\)$' \| \
74833 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
74834 $as_echo X"$ac_file" |
74835 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74836 s//\1/
74839 /^X\(\/\/\)[^/].*/{
74840 s//\1/
74843 /^X\(\/\/\)$/{
74844 s//\1/
74847 /^X\(\/\).*/{
74848 s//\1/
74851 s/.*/./; q'`
74852 as_dir="$ac_dir"; as_fn_mkdir_p
74853 ac_builddir=.
74855 case "$ac_dir" in
74856 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
74858 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
74859 # A ".." for each directory in $ac_dir_suffix.
74860 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
74861 case $ac_top_builddir_sub in
74862 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
74863 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
74864 esac ;;
74865 esac
74866 ac_abs_top_builddir=$ac_pwd
74867 ac_abs_builddir=$ac_pwd$ac_dir_suffix
74868 # for backward compatibility:
74869 ac_top_builddir=$ac_top_build_prefix
74871 case $srcdir in
74872 .) # We are building in place.
74873 ac_srcdir=.
74874 ac_top_srcdir=$ac_top_builddir_sub
74875 ac_abs_top_srcdir=$ac_pwd ;;
74876 [\\/]* | ?:[\\/]* ) # Absolute name.
74877 ac_srcdir=$srcdir$ac_dir_suffix;
74878 ac_top_srcdir=$srcdir
74879 ac_abs_top_srcdir=$srcdir ;;
74880 *) # Relative name.
74881 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
74882 ac_top_srcdir=$ac_top_build_prefix$srcdir
74883 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
74884 esac
74885 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
74888 case $ac_mode in
74891 # CONFIG_FILE
74894 case $INSTALL in
74895 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
74896 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
74897 esac
74898 ac_MKDIR_P=$MKDIR_P
74899 case $MKDIR_P in
74900 [\\/$]* | ?:[\\/]* ) ;;
74901 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
74902 esac
74903 _ACEOF
74905 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74906 # If the template does not know about datarootdir, expand it.
74907 # FIXME: This hack should be removed a few years after 2.60.
74908 ac_datarootdir_hack=; ac_datarootdir_seen=
74909 ac_sed_dataroot='
74910 /datarootdir/ {
74914 /@datadir@/p
74915 /@docdir@/p
74916 /@infodir@/p
74917 /@localedir@/p
74918 /@mandir@/p'
74919 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
74920 *datarootdir*) ac_datarootdir_seen=yes;;
74921 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
74922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
74923 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
74924 _ACEOF
74925 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74926 ac_datarootdir_hack='
74927 s&@datadir@&$datadir&g
74928 s&@docdir@&$docdir&g
74929 s&@infodir@&$infodir&g
74930 s&@localedir@&$localedir&g
74931 s&@mandir@&$mandir&g
74932 s&\\\${datarootdir}&$datarootdir&g' ;;
74933 esac
74934 _ACEOF
74936 # Neutralize VPATH when `$srcdir' = `.'.
74937 # Shell code in configure.ac might set extrasub.
74938 # FIXME: do we really want to maintain this feature?
74939 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74940 ac_sed_extra="$ac_vpsub
74941 $extrasub
74942 _ACEOF
74943 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74945 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
74946 s|@configure_input@|$ac_sed_conf_input|;t t
74947 s&@top_builddir@&$ac_top_builddir_sub&;t t
74948 s&@top_build_prefix@&$ac_top_build_prefix&;t t
74949 s&@srcdir@&$ac_srcdir&;t t
74950 s&@abs_srcdir@&$ac_abs_srcdir&;t t
74951 s&@top_srcdir@&$ac_top_srcdir&;t t
74952 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
74953 s&@builddir@&$ac_builddir&;t t
74954 s&@abs_builddir@&$ac_abs_builddir&;t t
74955 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
74956 s&@INSTALL@&$ac_INSTALL&;t t
74957 s&@MKDIR_P@&$ac_MKDIR_P&;t t
74958 $ac_datarootdir_hack
74960 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
74961 || as_fn_error "could not create $ac_file" "$LINENO" 5
74963 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
74964 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
74965 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
74966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
74967 which seems to be undefined. Please make sure it is defined." >&5
74968 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
74969 which seems to be undefined. Please make sure it is defined." >&2;}
74971 rm -f "$tmp/stdin"
74972 case $ac_file in
74973 -) cat "$tmp/out" && rm -f "$tmp/out";;
74974 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
74975 esac \
74976 || as_fn_error "could not create $ac_file" "$LINENO" 5
74980 # CONFIG_HEADER
74982 if test x"$ac_file" != x-; then
74984 $as_echo "/* $configure_input */" \
74985 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
74986 } >"$tmp/config.h" \
74987 || as_fn_error "could not create $ac_file" "$LINENO" 5
74988 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
74989 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
74990 $as_echo "$as_me: $ac_file is unchanged" >&6;}
74991 else
74992 rm -f "$ac_file"
74993 mv "$tmp/config.h" "$ac_file" \
74994 || as_fn_error "could not create $ac_file" "$LINENO" 5
74996 else
74997 $as_echo "/* $configure_input */" \
74998 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
74999 || as_fn_error "could not create -" "$LINENO" 5
75001 # Compute "$ac_file"'s index in $config_headers.
75002 _am_arg="$ac_file"
75003 _am_stamp_count=1
75004 for _am_header in $config_headers :; do
75005 case $_am_header in
75006 $_am_arg | $_am_arg:* )
75007 break ;;
75009 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
75010 esac
75011 done
75012 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
75013 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
75014 X"$_am_arg" : 'X\(//\)[^/]' \| \
75015 X"$_am_arg" : 'X\(//\)$' \| \
75016 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
75017 $as_echo X"$_am_arg" |
75018 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
75019 s//\1/
75022 /^X\(\/\/\)[^/].*/{
75023 s//\1/
75026 /^X\(\/\/\)$/{
75027 s//\1/
75030 /^X\(\/\).*/{
75031 s//\1/
75034 s/.*/./; q'`/stamp-h$_am_stamp_count
75037 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
75038 $as_echo "$as_me: executing $ac_file commands" >&6;}
75040 esac
75043 case $ac_file$ac_mode in
75044 "default-1":C)
75045 # Only add multilib support code if we just rebuilt the top-level
75046 # Makefile.
75047 case " $CONFIG_FILES " in
75048 *" Makefile "*)
75049 ac_file=Makefile . ${multi_basedir}/config-ml.in
75051 esac ;;
75052 "libtool":C)
75054 # See if we are running on zsh, and set the options which allow our
75055 # commands through without removal of \ escapes.
75056 if test -n "${ZSH_VERSION+set}" ; then
75057 setopt NO_GLOB_SUBST
75060 cfgfile="${ofile}T"
75061 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
75062 $RM "$cfgfile"
75064 cat <<_LT_EOF >> "$cfgfile"
75065 #! $SHELL
75067 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
75068 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
75069 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
75070 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
75072 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
75073 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
75074 # Written by Gordon Matzigkeit, 1996
75076 # This file is part of GNU Libtool.
75078 # GNU Libtool is free software; you can redistribute it and/or
75079 # modify it under the terms of the GNU General Public License as
75080 # published by the Free Software Foundation; either version 2 of
75081 # the License, or (at your option) any later version.
75083 # As a special exception to the GNU General Public License,
75084 # if you distribute this file as part of a program or library that
75085 # is built using GNU Libtool, you may include this file under the
75086 # same distribution terms that you use for the rest of that program.
75088 # GNU Libtool is distributed in the hope that it will be useful,
75089 # but WITHOUT ANY WARRANTY; without even the implied warranty of
75090 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
75091 # GNU General Public License for more details.
75093 # You should have received a copy of the GNU General Public License
75094 # along with GNU Libtool; see the file COPYING. If not, a copy
75095 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
75096 # obtained by writing to the Free Software Foundation, Inc.,
75097 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
75100 # The names of the tagged configurations supported by this script.
75101 available_tags="CXX "
75103 # ### BEGIN LIBTOOL CONFIG
75105 # Which release of libtool.m4 was used?
75106 macro_version=$macro_version
75107 macro_revision=$macro_revision
75109 # Whether or not to build shared libraries.
75110 build_libtool_libs=$enable_shared
75112 # Whether or not to build static libraries.
75113 build_old_libs=$enable_static
75115 # What type of objects to build.
75116 pic_mode=$pic_mode
75118 # Whether or not to optimize for fast installation.
75119 fast_install=$enable_fast_install
75121 # Shell to use when invoking shell scripts.
75122 SHELL=$lt_SHELL
75124 # An echo program that protects backslashes.
75125 ECHO=$lt_ECHO
75127 # The host system.
75128 host_alias=$host_alias
75129 host=$host
75130 host_os=$host_os
75132 # The build system.
75133 build_alias=$build_alias
75134 build=$build
75135 build_os=$build_os
75137 # A sed program that does not truncate output.
75138 SED=$lt_SED
75140 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
75141 Xsed="\$SED -e 1s/^X//"
75143 # A grep program that handles long lines.
75144 GREP=$lt_GREP
75146 # An ERE matcher.
75147 EGREP=$lt_EGREP
75149 # A literal string matcher.
75150 FGREP=$lt_FGREP
75152 # A BSD- or MS-compatible name lister.
75153 NM=$lt_NM
75155 # Whether we need soft or hard links.
75156 LN_S=$lt_LN_S
75158 # What is the maximum length of a command?
75159 max_cmd_len=$max_cmd_len
75161 # Object file suffix (normally "o").
75162 objext=$ac_objext
75164 # Executable file suffix (normally "").
75165 exeext=$exeext
75167 # whether the shell understands "unset".
75168 lt_unset=$lt_unset
75170 # turn spaces into newlines.
75171 SP2NL=$lt_lt_SP2NL
75173 # turn newlines into spaces.
75174 NL2SP=$lt_lt_NL2SP
75176 # An object symbol dumper.
75177 OBJDUMP=$lt_OBJDUMP
75179 # Method to check whether dependent libraries are shared objects.
75180 deplibs_check_method=$lt_deplibs_check_method
75182 # Command to use when deplibs_check_method == "file_magic".
75183 file_magic_cmd=$lt_file_magic_cmd
75185 # The archiver.
75186 AR=$lt_AR
75187 AR_FLAGS=$lt_AR_FLAGS
75189 # A symbol stripping program.
75190 STRIP=$lt_STRIP
75192 # Commands used to install an old-style archive.
75193 RANLIB=$lt_RANLIB
75194 old_postinstall_cmds=$lt_old_postinstall_cmds
75195 old_postuninstall_cmds=$lt_old_postuninstall_cmds
75197 # Whether to use a lock for old archive extraction.
75198 lock_old_archive_extraction=$lock_old_archive_extraction
75200 # A C compiler.
75201 LTCC=$lt_CC
75203 # LTCC compiler flags.
75204 LTCFLAGS=$lt_CFLAGS
75206 # Take the output of nm and produce a listing of raw symbols and C names.
75207 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
75209 # Transform the output of nm in a proper C declaration.
75210 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
75212 # Transform the output of nm in a C name address pair.
75213 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
75215 # Transform the output of nm in a C name address pair when lib prefix is needed.
75216 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
75218 # The name of the directory that contains temporary libtool files.
75219 objdir=$objdir
75221 # Used to examine libraries when file_magic_cmd begins with "file".
75222 MAGIC_CMD=$MAGIC_CMD
75224 # Must we lock files when doing compilation?
75225 need_locks=$lt_need_locks
75227 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
75228 DSYMUTIL=$lt_DSYMUTIL
75230 # Tool to change global to local symbols on Mac OS X.
75231 NMEDIT=$lt_NMEDIT
75233 # Tool to manipulate fat objects and archives on Mac OS X.
75234 LIPO=$lt_LIPO
75236 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
75237 OTOOL=$lt_OTOOL
75239 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
75240 OTOOL64=$lt_OTOOL64
75242 # Old archive suffix (normally "a").
75243 libext=$libext
75245 # Shared library suffix (normally ".so").
75246 shrext_cmds=$lt_shrext_cmds
75248 # The commands to extract the exported symbol list from a shared archive.
75249 extract_expsyms_cmds=$lt_extract_expsyms_cmds
75251 # Variables whose values should be saved in libtool wrapper scripts and
75252 # restored at link time.
75253 variables_saved_for_relink=$lt_variables_saved_for_relink
75255 # Do we need the "lib" prefix for modules?
75256 need_lib_prefix=$need_lib_prefix
75258 # Do we need a version for libraries?
75259 need_version=$need_version
75261 # Library versioning type.
75262 version_type=$version_type
75264 # Shared library runtime path variable.
75265 runpath_var=$runpath_var
75267 # Shared library path variable.
75268 shlibpath_var=$shlibpath_var
75270 # Is shlibpath searched before the hard-coded library search path?
75271 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
75273 # Format of library name prefix.
75274 libname_spec=$lt_libname_spec
75276 # List of archive names. First name is the real one, the rest are links.
75277 # The last name is the one that the linker finds with -lNAME
75278 library_names_spec=$lt_library_names_spec
75280 # The coded name of the library, if different from the real name.
75281 soname_spec=$lt_soname_spec
75283 # Permission mode override for installation of shared libraries.
75284 install_override_mode=$lt_install_override_mode
75286 # Command to use after installation of a shared archive.
75287 postinstall_cmds=$lt_postinstall_cmds
75289 # Command to use after uninstallation of a shared archive.
75290 postuninstall_cmds=$lt_postuninstall_cmds
75292 # Commands used to finish a libtool library installation in a directory.
75293 finish_cmds=$lt_finish_cmds
75295 # As "finish_cmds", except a single script fragment to be evaled but
75296 # not shown.
75297 finish_eval=$lt_finish_eval
75299 # Whether we should hardcode library paths into libraries.
75300 hardcode_into_libs=$hardcode_into_libs
75302 # Compile-time system search path for libraries.
75303 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
75305 # Run-time system search path for libraries.
75306 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
75308 # Whether dlopen is supported.
75309 dlopen_support=$enable_dlopen
75311 # Whether dlopen of programs is supported.
75312 dlopen_self=$enable_dlopen_self
75314 # Whether dlopen of statically linked programs is supported.
75315 dlopen_self_static=$enable_dlopen_self_static
75317 # Commands to strip libraries.
75318 old_striplib=$lt_old_striplib
75319 striplib=$lt_striplib
75322 # The linker used to build libraries.
75323 LD=$lt_LD
75325 # How to create reloadable object files.
75326 reload_flag=$lt_reload_flag
75327 reload_cmds=$lt_reload_cmds
75329 # Commands used to build an old-style archive.
75330 old_archive_cmds=$lt_old_archive_cmds
75332 # A language specific compiler.
75333 CC=$lt_compiler
75335 # Is the compiler the GNU compiler?
75336 with_gcc=$GCC
75338 # Compiler flag to turn off builtin functions.
75339 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
75341 # How to pass a linker flag through the compiler.
75342 wl=$lt_lt_prog_compiler_wl
75344 # Additional compiler flags for building library objects.
75345 pic_flag=$lt_lt_prog_compiler_pic
75347 # Compiler flag to prevent dynamic linking.
75348 link_static_flag=$lt_lt_prog_compiler_static
75350 # Does compiler simultaneously support -c and -o options?
75351 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
75353 # Whether or not to add -lc for building shared libraries.
75354 build_libtool_need_lc=$archive_cmds_need_lc
75356 # Whether or not to disallow shared libs when runtime libs are static.
75357 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
75359 # Compiler flag to allow reflexive dlopens.
75360 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
75362 # Compiler flag to generate shared objects directly from archives.
75363 whole_archive_flag_spec=$lt_whole_archive_flag_spec
75365 # Whether the compiler copes with passing no objects directly.
75366 compiler_needs_object=$lt_compiler_needs_object
75368 # Create an old-style archive from a shared archive.
75369 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
75371 # Create a temporary old-style archive to link instead of a shared archive.
75372 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
75374 # Commands used to build a shared archive.
75375 archive_cmds=$lt_archive_cmds
75376 archive_expsym_cmds=$lt_archive_expsym_cmds
75378 # Commands used to build a loadable module if different from building
75379 # a shared archive.
75380 module_cmds=$lt_module_cmds
75381 module_expsym_cmds=$lt_module_expsym_cmds
75383 # Whether we are building with GNU ld or not.
75384 with_gnu_ld=$lt_with_gnu_ld
75386 # Flag that allows shared libraries with undefined symbols to be built.
75387 allow_undefined_flag=$lt_allow_undefined_flag
75389 # Flag that enforces no undefined symbols.
75390 no_undefined_flag=$lt_no_undefined_flag
75392 # Flag to hardcode \$libdir into a binary during linking.
75393 # This must work even if \$libdir does not exist
75394 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
75396 # If ld is used when linking, flag to hardcode \$libdir into a binary
75397 # during linking. This must work even if \$libdir does not exist.
75398 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
75400 # Whether we need a single "-rpath" flag with a separated argument.
75401 hardcode_libdir_separator=$lt_hardcode_libdir_separator
75403 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75404 # DIR into the resulting binary.
75405 hardcode_direct=$hardcode_direct
75407 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75408 # DIR into the resulting binary and the resulting library dependency is
75409 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75410 # library is relocated.
75411 hardcode_direct_absolute=$hardcode_direct_absolute
75413 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75414 # into the resulting binary.
75415 hardcode_minus_L=$hardcode_minus_L
75417 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75418 # into the resulting binary.
75419 hardcode_shlibpath_var=$hardcode_shlibpath_var
75421 # Set to "yes" if building a shared library automatically hardcodes DIR
75422 # into the library and all subsequent libraries and executables linked
75423 # against it.
75424 hardcode_automatic=$hardcode_automatic
75426 # Set to yes if linker adds runtime paths of dependent libraries
75427 # to runtime path list.
75428 inherit_rpath=$inherit_rpath
75430 # Whether libtool must link a program against all its dependency libraries.
75431 link_all_deplibs=$link_all_deplibs
75433 # Fix the shell variable \$srcfile for the compiler.
75434 fix_srcfile_path=$lt_fix_srcfile_path
75436 # Set to "yes" if exported symbols are required.
75437 always_export_symbols=$always_export_symbols
75439 # The commands to list exported symbols.
75440 export_symbols_cmds=$lt_export_symbols_cmds
75442 # Symbols that should not be listed in the preloaded symbols.
75443 exclude_expsyms=$lt_exclude_expsyms
75445 # Symbols that must always be exported.
75446 include_expsyms=$lt_include_expsyms
75448 # Commands necessary for linking programs (against libraries) with templates.
75449 prelink_cmds=$lt_prelink_cmds
75451 # Specify filename containing input files.
75452 file_list_spec=$lt_file_list_spec
75454 # How to hardcode a shared library path into an executable.
75455 hardcode_action=$hardcode_action
75457 # The directories searched by this compiler when creating a shared library.
75458 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
75460 # Dependencies to place before and after the objects being linked to
75461 # create a shared library.
75462 predep_objects=$lt_predep_objects
75463 postdep_objects=$lt_postdep_objects
75464 predeps=$lt_predeps
75465 postdeps=$lt_postdeps
75467 # The library search path used internally by the compiler when linking
75468 # a shared library.
75469 compiler_lib_search_path=$lt_compiler_lib_search_path
75471 # ### END LIBTOOL CONFIG
75473 _LT_EOF
75475 case $host_os in
75476 aix3*)
75477 cat <<\_LT_EOF >> "$cfgfile"
75478 # AIX sometimes has problems with the GCC collect2 program. For some
75479 # reason, if we set the COLLECT_NAMES environment variable, the problems
75480 # vanish in a puff of smoke.
75481 if test "X${COLLECT_NAMES+set}" != Xset; then
75482 COLLECT_NAMES=
75483 export COLLECT_NAMES
75485 _LT_EOF
75487 esac
75490 ltmain="$ac_aux_dir/ltmain.sh"
75493 # We use sed instead of cat because bash on DJGPP gets confused if
75494 # if finds mixed CR/LF and LF-only lines. Since sed operates in
75495 # text mode, it properly converts lines to CR/LF. This bash problem
75496 # is reportedly fixed, but why not run on old versions too?
75497 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
75498 || (rm -f "$cfgfile"; exit 1)
75500 case $xsi_shell in
75501 yes)
75502 cat << \_LT_EOF >> "$cfgfile"
75504 # func_dirname file append nondir_replacement
75505 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75506 # otherwise set result to NONDIR_REPLACEMENT.
75507 func_dirname ()
75509 case ${1} in
75510 */*) func_dirname_result="${1%/*}${2}" ;;
75511 * ) func_dirname_result="${3}" ;;
75512 esac
75515 # func_basename file
75516 func_basename ()
75518 func_basename_result="${1##*/}"
75521 # func_dirname_and_basename file append nondir_replacement
75522 # perform func_basename and func_dirname in a single function
75523 # call:
75524 # dirname: Compute the dirname of FILE. If nonempty,
75525 # add APPEND to the result, otherwise set result
75526 # to NONDIR_REPLACEMENT.
75527 # value returned in "$func_dirname_result"
75528 # basename: Compute filename of FILE.
75529 # value retuned in "$func_basename_result"
75530 # Implementation must be kept synchronized with func_dirname
75531 # and func_basename. For efficiency, we do not delegate to
75532 # those functions but instead duplicate the functionality here.
75533 func_dirname_and_basename ()
75535 case ${1} in
75536 */*) func_dirname_result="${1%/*}${2}" ;;
75537 * ) func_dirname_result="${3}" ;;
75538 esac
75539 func_basename_result="${1##*/}"
75542 # func_stripname prefix suffix name
75543 # strip PREFIX and SUFFIX off of NAME.
75544 # PREFIX and SUFFIX must not contain globbing or regex special
75545 # characters, hashes, percent signs, but SUFFIX may contain a leading
75546 # dot (in which case that matches only a dot).
75547 func_stripname ()
75549 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
75550 # positional parameters, so assign one to ordinary parameter first.
75551 func_stripname_result=${3}
75552 func_stripname_result=${func_stripname_result#"${1}"}
75553 func_stripname_result=${func_stripname_result%"${2}"}
75556 # func_opt_split
75557 func_opt_split ()
75559 func_opt_split_opt=${1%%=*}
75560 func_opt_split_arg=${1#*=}
75563 # func_lo2o object
75564 func_lo2o ()
75566 case ${1} in
75567 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
75568 *) func_lo2o_result=${1} ;;
75569 esac
75572 # func_xform libobj-or-source
75573 func_xform ()
75575 func_xform_result=${1%.*}.lo
75578 # func_arith arithmetic-term...
75579 func_arith ()
75581 func_arith_result=$(( $* ))
75584 # func_len string
75585 # STRING may not start with a hyphen.
75586 func_len ()
75588 func_len_result=${#1}
75591 _LT_EOF
75593 *) # Bourne compatible functions.
75594 cat << \_LT_EOF >> "$cfgfile"
75596 # func_dirname file append nondir_replacement
75597 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75598 # otherwise set result to NONDIR_REPLACEMENT.
75599 func_dirname ()
75601 # Extract subdirectory from the argument.
75602 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
75603 if test "X$func_dirname_result" = "X${1}"; then
75604 func_dirname_result="${3}"
75605 else
75606 func_dirname_result="$func_dirname_result${2}"
75610 # func_basename file
75611 func_basename ()
75613 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
75617 # func_stripname prefix suffix name
75618 # strip PREFIX and SUFFIX off of NAME.
75619 # PREFIX and SUFFIX must not contain globbing or regex special
75620 # characters, hashes, percent signs, but SUFFIX may contain a leading
75621 # dot (in which case that matches only a dot).
75622 # func_strip_suffix prefix name
75623 func_stripname ()
75625 case ${2} in
75626 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
75627 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
75628 esac
75631 # sed scripts:
75632 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
75633 my_sed_long_arg='1s/^-[^=]*=//'
75635 # func_opt_split
75636 func_opt_split ()
75638 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
75639 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
75642 # func_lo2o object
75643 func_lo2o ()
75645 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
75648 # func_xform libobj-or-source
75649 func_xform ()
75651 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
75654 # func_arith arithmetic-term...
75655 func_arith ()
75657 func_arith_result=`expr "$@"`
75660 # func_len string
75661 # STRING may not start with a hyphen.
75662 func_len ()
75664 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
75667 _LT_EOF
75668 esac
75670 case $lt_shell_append in
75671 yes)
75672 cat << \_LT_EOF >> "$cfgfile"
75674 # func_append var value
75675 # Append VALUE to the end of shell variable VAR.
75676 func_append ()
75678 eval "$1+=\$2"
75680 _LT_EOF
75683 cat << \_LT_EOF >> "$cfgfile"
75685 # func_append var value
75686 # Append VALUE to the end of shell variable VAR.
75687 func_append ()
75689 eval "$1=\$$1\$2"
75692 _LT_EOF
75694 esac
75697 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
75698 || (rm -f "$cfgfile"; exit 1)
75700 mv -f "$cfgfile" "$ofile" ||
75701 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
75702 chmod +x "$ofile"
75705 cat <<_LT_EOF >> "$ofile"
75707 # ### BEGIN LIBTOOL TAG CONFIG: CXX
75709 # The linker used to build libraries.
75710 LD=$lt_LD_CXX
75712 # How to create reloadable object files.
75713 reload_flag=$lt_reload_flag_CXX
75714 reload_cmds=$lt_reload_cmds_CXX
75716 # Commands used to build an old-style archive.
75717 old_archive_cmds=$lt_old_archive_cmds_CXX
75719 # A language specific compiler.
75720 CC=$lt_compiler_CXX
75722 # Is the compiler the GNU compiler?
75723 with_gcc=$GCC_CXX
75725 # Compiler flag to turn off builtin functions.
75726 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
75728 # How to pass a linker flag through the compiler.
75729 wl=$lt_lt_prog_compiler_wl_CXX
75731 # Additional compiler flags for building library objects.
75732 pic_flag=$lt_lt_prog_compiler_pic_CXX
75734 # Compiler flag to prevent dynamic linking.
75735 link_static_flag=$lt_lt_prog_compiler_static_CXX
75737 # Does compiler simultaneously support -c and -o options?
75738 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
75740 # Whether or not to add -lc for building shared libraries.
75741 build_libtool_need_lc=$archive_cmds_need_lc_CXX
75743 # Whether or not to disallow shared libs when runtime libs are static.
75744 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
75746 # Compiler flag to allow reflexive dlopens.
75747 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
75749 # Compiler flag to generate shared objects directly from archives.
75750 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
75752 # Whether the compiler copes with passing no objects directly.
75753 compiler_needs_object=$lt_compiler_needs_object_CXX
75755 # Create an old-style archive from a shared archive.
75756 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
75758 # Create a temporary old-style archive to link instead of a shared archive.
75759 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
75761 # Commands used to build a shared archive.
75762 archive_cmds=$lt_archive_cmds_CXX
75763 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
75765 # Commands used to build a loadable module if different from building
75766 # a shared archive.
75767 module_cmds=$lt_module_cmds_CXX
75768 module_expsym_cmds=$lt_module_expsym_cmds_CXX
75770 # Whether we are building with GNU ld or not.
75771 with_gnu_ld=$lt_with_gnu_ld_CXX
75773 # Flag that allows shared libraries with undefined symbols to be built.
75774 allow_undefined_flag=$lt_allow_undefined_flag_CXX
75776 # Flag that enforces no undefined symbols.
75777 no_undefined_flag=$lt_no_undefined_flag_CXX
75779 # Flag to hardcode \$libdir into a binary during linking.
75780 # This must work even if \$libdir does not exist
75781 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
75783 # If ld is used when linking, flag to hardcode \$libdir into a binary
75784 # during linking. This must work even if \$libdir does not exist.
75785 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
75787 # Whether we need a single "-rpath" flag with a separated argument.
75788 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
75790 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75791 # DIR into the resulting binary.
75792 hardcode_direct=$hardcode_direct_CXX
75794 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75795 # DIR into the resulting binary and the resulting library dependency is
75796 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75797 # library is relocated.
75798 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
75800 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75801 # into the resulting binary.
75802 hardcode_minus_L=$hardcode_minus_L_CXX
75804 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75805 # into the resulting binary.
75806 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
75808 # Set to "yes" if building a shared library automatically hardcodes DIR
75809 # into the library and all subsequent libraries and executables linked
75810 # against it.
75811 hardcode_automatic=$hardcode_automatic_CXX
75813 # Set to yes if linker adds runtime paths of dependent libraries
75814 # to runtime path list.
75815 inherit_rpath=$inherit_rpath_CXX
75817 # Whether libtool must link a program against all its dependency libraries.
75818 link_all_deplibs=$link_all_deplibs_CXX
75820 # Fix the shell variable \$srcfile for the compiler.
75821 fix_srcfile_path=$lt_fix_srcfile_path_CXX
75823 # Set to "yes" if exported symbols are required.
75824 always_export_symbols=$always_export_symbols_CXX
75826 # The commands to list exported symbols.
75827 export_symbols_cmds=$lt_export_symbols_cmds_CXX
75829 # Symbols that should not be listed in the preloaded symbols.
75830 exclude_expsyms=$lt_exclude_expsyms_CXX
75832 # Symbols that must always be exported.
75833 include_expsyms=$lt_include_expsyms_CXX
75835 # Commands necessary for linking programs (against libraries) with templates.
75836 prelink_cmds=$lt_prelink_cmds_CXX
75838 # Specify filename containing input files.
75839 file_list_spec=$lt_file_list_spec_CXX
75841 # How to hardcode a shared library path into an executable.
75842 hardcode_action=$hardcode_action_CXX
75844 # The directories searched by this compiler when creating a shared library.
75845 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
75847 # Dependencies to place before and after the objects being linked to
75848 # create a shared library.
75849 predep_objects=$lt_predep_objects_CXX
75850 postdep_objects=$lt_postdep_objects_CXX
75851 predeps=$lt_predeps_CXX
75852 postdeps=$lt_postdeps_CXX
75854 # The library search path used internally by the compiler when linking
75855 # a shared library.
75856 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
75858 # ### END LIBTOOL TAG CONFIG: CXX
75859 _LT_EOF
75862 "include/gstdint.h":C)
75863 if test "$GCC" = yes; then
75864 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
75865 else
75866 echo "/* generated for $CC */" > tmp-stdint.h
75869 sed 's/^ *//' >> tmp-stdint.h <<EOF
75871 #ifndef GCC_GENERATED_STDINT_H
75872 #define GCC_GENERATED_STDINT_H 1
75874 #include <sys/types.h>
75877 if test "$acx_cv_header_stdint" != stdint.h; then
75878 echo "#include <stddef.h>" >> tmp-stdint.h
75880 if test "$acx_cv_header_stdint" != stddef.h; then
75881 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
75884 sed 's/^ *//' >> tmp-stdint.h <<EOF
75885 /* glibc uses these symbols as guards to prevent redefinitions. */
75886 #ifdef __int8_t_defined
75887 #define _INT8_T
75888 #define _INT16_T
75889 #define _INT32_T
75890 #endif
75891 #ifdef __uint32_t_defined
75892 #define _UINT32_T
75893 #endif
75897 # ----------------- done header, emit basic int types -------------
75898 if test "$acx_cv_header_stdint" = stddef.h; then
75899 sed 's/^ *//' >> tmp-stdint.h <<EOF
75901 #ifndef _UINT8_T
75902 #define _UINT8_T
75903 #ifndef __uint8_t_defined
75904 #define __uint8_t_defined
75905 #ifndef uint8_t
75906 typedef unsigned $acx_cv_type_int8_t uint8_t;
75907 #endif
75908 #endif
75909 #endif
75911 #ifndef _UINT16_T
75912 #define _UINT16_T
75913 #ifndef __uint16_t_defined
75914 #define __uint16_t_defined
75915 #ifndef uint16_t
75916 typedef unsigned $acx_cv_type_int16_t uint16_t;
75917 #endif
75918 #endif
75919 #endif
75921 #ifndef _UINT32_T
75922 #define _UINT32_T
75923 #ifndef __uint32_t_defined
75924 #define __uint32_t_defined
75925 #ifndef uint32_t
75926 typedef unsigned $acx_cv_type_int32_t uint32_t;
75927 #endif
75928 #endif
75929 #endif
75931 #ifndef _INT8_T
75932 #define _INT8_T
75933 #ifndef __int8_t_defined
75934 #define __int8_t_defined
75935 #ifndef int8_t
75936 typedef $acx_cv_type_int8_t int8_t;
75937 #endif
75938 #endif
75939 #endif
75941 #ifndef _INT16_T
75942 #define _INT16_T
75943 #ifndef __int16_t_defined
75944 #define __int16_t_defined
75945 #ifndef int16_t
75946 typedef $acx_cv_type_int16_t int16_t;
75947 #endif
75948 #endif
75949 #endif
75951 #ifndef _INT32_T
75952 #define _INT32_T
75953 #ifndef __int32_t_defined
75954 #define __int32_t_defined
75955 #ifndef int32_t
75956 typedef $acx_cv_type_int32_t int32_t;
75957 #endif
75958 #endif
75959 #endif
75961 elif test "$ac_cv_type_u_int32_t" = yes; then
75962 sed 's/^ *//' >> tmp-stdint.h <<EOF
75964 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
75965 #ifndef _INT8_T
75966 #define _INT8_T
75967 #endif
75968 #ifndef _INT16_T
75969 #define _INT16_T
75970 #endif
75971 #ifndef _INT32_T
75972 #define _INT32_T
75973 #endif
75975 #ifndef _UINT8_T
75976 #define _UINT8_T
75977 #ifndef __uint8_t_defined
75978 #define __uint8_t_defined
75979 #ifndef uint8_t
75980 typedef u_int8_t uint8_t;
75981 #endif
75982 #endif
75983 #endif
75985 #ifndef _UINT16_T
75986 #define _UINT16_T
75987 #ifndef __uint16_t_defined
75988 #define __uint16_t_defined
75989 #ifndef uint16_t
75990 typedef u_int16_t uint16_t;
75991 #endif
75992 #endif
75993 #endif
75995 #ifndef _UINT32_T
75996 #define _UINT32_T
75997 #ifndef __uint32_t_defined
75998 #define __uint32_t_defined
75999 #ifndef uint32_t
76000 typedef u_int32_t uint32_t;
76001 #endif
76002 #endif
76003 #endif
76005 else
76006 sed 's/^ *//' >> tmp-stdint.h <<EOF
76008 /* Some systems have guard macros to prevent redefinitions, define them. */
76009 #ifndef _INT8_T
76010 #define _INT8_T
76011 #endif
76012 #ifndef _INT16_T
76013 #define _INT16_T
76014 #endif
76015 #ifndef _INT32_T
76016 #define _INT32_T
76017 #endif
76018 #ifndef _UINT8_T
76019 #define _UINT8_T
76020 #endif
76021 #ifndef _UINT16_T
76022 #define _UINT16_T
76023 #endif
76024 #ifndef _UINT32_T
76025 #define _UINT32_T
76026 #endif
76030 # ------------- done basic int types, emit int64_t types ------------
76031 if test "$ac_cv_type_uint64_t" = yes; then
76032 sed 's/^ *//' >> tmp-stdint.h <<EOF
76034 /* system headers have good uint64_t and int64_t */
76035 #ifndef _INT64_T
76036 #define _INT64_T
76037 #endif
76038 #ifndef _UINT64_T
76039 #define _UINT64_T
76040 #endif
76042 elif test "$ac_cv_type_u_int64_t" = yes; then
76043 sed 's/^ *//' >> tmp-stdint.h <<EOF
76045 /* system headers have an u_int64_t (and int64_t) */
76046 #ifndef _INT64_T
76047 #define _INT64_T
76048 #endif
76049 #ifndef _UINT64_T
76050 #define _UINT64_T
76051 #ifndef __uint64_t_defined
76052 #define __uint64_t_defined
76053 #ifndef uint64_t
76054 typedef u_int64_t uint64_t;
76055 #endif
76056 #endif
76057 #endif
76059 elif test -n "$acx_cv_type_int64_t"; then
76060 sed 's/^ *//' >> tmp-stdint.h <<EOF
76062 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
76063 #ifndef _INT64_T
76064 #define _INT64_T
76065 #ifndef int64_t
76066 typedef $acx_cv_type_int64_t int64_t;
76067 #endif
76068 #endif
76069 #ifndef _UINT64_T
76070 #define _UINT64_T
76071 #ifndef __uint64_t_defined
76072 #define __uint64_t_defined
76073 #ifndef uint64_t
76074 typedef unsigned $acx_cv_type_int64_t uint64_t;
76075 #endif
76076 #endif
76077 #endif
76079 else
76080 sed 's/^ *//' >> tmp-stdint.h <<EOF
76082 /* some common heuristics for int64_t, using compiler-specific tests */
76083 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
76084 #ifndef _INT64_T
76085 #define _INT64_T
76086 #ifndef __int64_t_defined
76087 #ifndef int64_t
76088 typedef long long int64_t;
76089 #endif
76090 #endif
76091 #endif
76092 #ifndef _UINT64_T
76093 #define _UINT64_T
76094 #ifndef uint64_t
76095 typedef unsigned long long uint64_t;
76096 #endif
76097 #endif
76099 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
76100 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
76101 does not implement __extension__. But that compiler doesn't define
76102 __GNUC_MINOR__. */
76103 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
76104 # define __extension__
76105 # endif
76107 # ifndef _INT64_T
76108 # define _INT64_T
76109 # ifndef int64_t
76110 __extension__ typedef long long int64_t;
76111 # endif
76112 # endif
76113 # ifndef _UINT64_T
76114 # define _UINT64_T
76115 # ifndef uint64_t
76116 __extension__ typedef unsigned long long uint64_t;
76117 # endif
76118 # endif
76120 #elif !defined __STRICT_ANSI__
76121 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
76123 # ifndef _INT64_T
76124 # define _INT64_T
76125 # ifndef int64_t
76126 typedef __int64 int64_t;
76127 # endif
76128 # endif
76129 # ifndef _UINT64_T
76130 # define _UINT64_T
76131 # ifndef uint64_t
76132 typedef unsigned __int64 uint64_t;
76133 # endif
76134 # endif
76135 # endif /* compiler */
76137 #endif /* ANSI version */
76141 # ------------- done int64_t types, emit intptr types ------------
76142 if test "$ac_cv_type_uintptr_t" != yes; then
76143 sed 's/^ *//' >> tmp-stdint.h <<EOF
76145 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
76146 #ifndef __uintptr_t_defined
76147 #ifndef uintptr_t
76148 typedef u$acx_cv_type_intptr_t uintptr_t;
76149 #endif
76150 #endif
76151 #ifndef __intptr_t_defined
76152 #ifndef intptr_t
76153 typedef $acx_cv_type_intptr_t intptr_t;
76154 #endif
76155 #endif
76159 # ------------- done intptr types, emit int_least types ------------
76160 if test "$ac_cv_type_int_least32_t" != yes; then
76161 sed 's/^ *//' >> tmp-stdint.h <<EOF
76163 /* Define int_least types */
76164 typedef int8_t int_least8_t;
76165 typedef int16_t int_least16_t;
76166 typedef int32_t int_least32_t;
76167 #ifdef _INT64_T
76168 typedef int64_t int_least64_t;
76169 #endif
76171 typedef uint8_t uint_least8_t;
76172 typedef uint16_t uint_least16_t;
76173 typedef uint32_t uint_least32_t;
76174 #ifdef _UINT64_T
76175 typedef uint64_t uint_least64_t;
76176 #endif
76180 # ------------- done intptr types, emit int_fast types ------------
76181 if test "$ac_cv_type_int_fast32_t" != yes; then
76182 sed 's/^ *//' >> tmp-stdint.h <<EOF
76184 /* Define int_fast types. short is often slow */
76185 typedef int8_t int_fast8_t;
76186 typedef int int_fast16_t;
76187 typedef int32_t int_fast32_t;
76188 #ifdef _INT64_T
76189 typedef int64_t int_fast64_t;
76190 #endif
76192 typedef uint8_t uint_fast8_t;
76193 typedef unsigned int uint_fast16_t;
76194 typedef uint32_t uint_fast32_t;
76195 #ifdef _UINT64_T
76196 typedef uint64_t uint_fast64_t;
76197 #endif
76201 if test "$ac_cv_type_uintmax_t" != yes; then
76202 sed 's/^ *//' >> tmp-stdint.h <<EOF
76204 /* Define intmax based on what we found */
76205 #ifndef intmax_t
76206 #ifdef _INT64_T
76207 typedef int64_t intmax_t;
76208 #else
76209 typedef long intmax_t;
76210 #endif
76211 #endif
76212 #ifndef uintmax_t
76213 #ifdef _UINT64_T
76214 typedef uint64_t uintmax_t;
76215 #else
76216 typedef unsigned long uintmax_t;
76217 #endif
76218 #endif
76222 sed 's/^ *//' >> tmp-stdint.h <<EOF
76224 #endif /* GCC_GENERATED_STDINT_H */
76227 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
76228 rm -f tmp-stdint.h
76229 else
76230 mv -f tmp-stdint.h include/gstdint.h
76234 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
76235 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
76236 "include/Makefile":F) cat > vpsed$$ << \_EOF
76237 s!`test -f '$<' || echo '$(srcdir)/'`!!
76238 _EOF
76239 sed -f vpsed$$ $ac_file > tmp$$
76240 mv tmp$$ $ac_file
76241 rm vpsed$$
76242 echo 'MULTISUBDIR =' >> $ac_file
76243 ml_norecursion=yes
76244 . ${multi_basedir}/config-ml.in
76245 { ml_norecursion=; unset ml_norecursion;}
76247 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
76248 s!`test -f '$<' || echo '$(srcdir)/'`!!
76249 _EOF
76250 sed -f vpsed$$ $ac_file > tmp$$
76251 mv tmp$$ $ac_file
76252 rm vpsed$$
76253 echo 'MULTISUBDIR =' >> $ac_file
76254 ml_norecursion=yes
76255 . ${multi_basedir}/config-ml.in
76256 { ml_norecursion=; unset ml_norecursion;}
76258 "python/Makefile":F) cat > vpsed$$ << \_EOF
76259 s!`test -f '$<' || echo '$(srcdir)/'`!!
76260 _EOF
76261 sed -f vpsed$$ $ac_file > tmp$$
76262 mv tmp$$ $ac_file
76263 rm vpsed$$
76264 echo 'MULTISUBDIR =' >> $ac_file
76265 ml_norecursion=yes
76266 . ${multi_basedir}/config-ml.in
76267 { ml_norecursion=; unset ml_norecursion;}
76269 "src/Makefile":F) cat > vpsed$$ << \_EOF
76270 s!`test -f '$<' || echo '$(srcdir)/'`!!
76271 _EOF
76272 sed -f vpsed$$ $ac_file > tmp$$
76273 mv tmp$$ $ac_file
76274 rm vpsed$$
76275 echo 'MULTISUBDIR =' >> $ac_file
76276 ml_norecursion=yes
76277 . ${multi_basedir}/config-ml.in
76278 { ml_norecursion=; unset ml_norecursion;}
76280 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
76281 s!`test -f '$<' || echo '$(srcdir)/'`!!
76282 _EOF
76283 sed -f vpsed$$ $ac_file > tmp$$
76284 mv tmp$$ $ac_file
76285 rm vpsed$$
76286 echo 'MULTISUBDIR =' >> $ac_file
76287 ml_norecursion=yes
76288 . ${multi_basedir}/config-ml.in
76289 { ml_norecursion=; unset ml_norecursion;}
76291 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
76292 s!`test -f '$<' || echo '$(srcdir)/'`!!
76293 _EOF
76294 sed -f vpsed$$ $ac_file > tmp$$
76295 mv tmp$$ $ac_file
76296 rm vpsed$$
76297 echo 'MULTISUBDIR =' >> $ac_file
76298 ml_norecursion=yes
76299 . ${multi_basedir}/config-ml.in
76300 { ml_norecursion=; unset ml_norecursion;}
76302 "doc/Makefile":F) cat > vpsed$$ << \_EOF
76303 s!`test -f '$<' || echo '$(srcdir)/'`!!
76304 _EOF
76305 sed -f vpsed$$ $ac_file > tmp$$
76306 mv tmp$$ $ac_file
76307 rm vpsed$$
76308 echo 'MULTISUBDIR =' >> $ac_file
76309 ml_norecursion=yes
76310 . ${multi_basedir}/config-ml.in
76311 { ml_norecursion=; unset ml_norecursion;}
76313 "po/Makefile":F) cat > vpsed$$ << \_EOF
76314 s!`test -f '$<' || echo '$(srcdir)/'`!!
76315 _EOF
76316 sed -f vpsed$$ $ac_file > tmp$$
76317 mv tmp$$ $ac_file
76318 rm vpsed$$
76319 echo 'MULTISUBDIR =' >> $ac_file
76320 ml_norecursion=yes
76321 . ${multi_basedir}/config-ml.in
76322 { ml_norecursion=; unset ml_norecursion;}
76324 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
76325 s!`test -f '$<' || echo '$(srcdir)/'`!!
76326 _EOF
76327 sed -f vpsed$$ $ac_file > tmp$$
76328 mv tmp$$ $ac_file
76329 rm vpsed$$
76330 echo 'MULTISUBDIR =' >> $ac_file
76331 ml_norecursion=yes
76332 . ${multi_basedir}/config-ml.in
76333 { ml_norecursion=; unset ml_norecursion;}
76335 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
76337 esac
76338 done # for ac_tag
76341 as_fn_exit 0
76342 _ACEOF
76343 ac_clean_files=$ac_clean_files_save
76345 test $ac_write_fail = 0 ||
76346 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
76349 # configure is writing to config.log, and then calls config.status.
76350 # config.status does its own redirection, appending to config.log.
76351 # Unfortunately, on DOS this fails, as config.log is still kept open
76352 # by configure, so config.status won't be able to write to it; its
76353 # output is simply discarded. So we exec the FD to /dev/null,
76354 # effectively closing config.log, so it can be properly (re)opened and
76355 # appended to by config.status. When coming back to configure, we
76356 # need to make the FD available again.
76357 if test "$no_create" != yes; then
76358 ac_cs_success=:
76359 ac_config_status_args=
76360 test "$silent" = yes &&
76361 ac_config_status_args="$ac_config_status_args --quiet"
76362 exec 5>/dev/null
76363 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
76364 exec 5>>config.log
76365 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
76366 # would make configure fail if this is the last instruction.
76367 $ac_cs_success || as_fn_exit $?
76369 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
76370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
76371 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}