* tree-ssa-loop-ivopts.c (alloc_iv): Lower address expressions.
[official-gcc.git] / libstdc++-v3 / configure
blob4be21b10eb357aa647e1e6ae2c3d56d2ed4db7a7
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_VTABLE_VERIFY_FALSE
668 ENABLE_VTABLE_VERIFY_TRUE
669 VTV_CXXLINKFLAGS
670 VTV_PCH_CXXFLAGS
671 VTV_CXXFLAGS
672 ENABLE_WERROR_FALSE
673 ENABLE_WERROR_TRUE
674 ENABLE_PYTHONDIR_FALSE
675 ENABLE_PYTHONDIR_TRUE
676 python_mod_dir
677 ENABLE_EXTERN_TEMPLATE_FALSE
678 ENABLE_EXTERN_TEMPLATE_TRUE
679 EXTRA_CXX_FLAGS
680 GLIBCXX_BUILD_DEBUG_FALSE
681 GLIBCXX_BUILD_DEBUG_TRUE
682 DEBUG_FLAGS
683 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
684 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
685 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
686 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
687 GLIBCXX_C_HEADERS_C_STD_FALSE
688 GLIBCXX_C_HEADERS_C_STD_TRUE
689 GLIBCXX_C_HEADERS_C_FALSE
690 GLIBCXX_C_HEADERS_C_TRUE
691 C_INCLUDE_DIR
692 ALLOCATOR_NAME
693 ALLOCATOR_H
694 CLOCALE_INTERNAL_H
695 CLOCALE_CC
696 CTIME_CC
697 CTIME_H
698 CNUMERIC_CC
699 CMONEY_CC
700 CMESSAGES_CC
701 CCTYPE_CC
702 CCOLLATE_CC
703 CCODECVT_CC
704 CMESSAGES_H
705 CLOCALE_H
706 USE_NLS
707 glibcxx_localedir
708 glibcxx_POFILES
709 glibcxx_MOFILES
710 check_msgfmt
711 BASIC_FILE_CC
712 BASIC_FILE_H
713 CSTDIO_H
714 SECTION_FLAGS
715 WERROR
716 thread_header
717 glibcxx_PCHFLAGS
718 GLIBCXX_BUILD_PCH_FALSE
719 GLIBCXX_BUILD_PCH_TRUE
720 GLIBCXX_HOSTED_FALSE
721 GLIBCXX_HOSTED_TRUE
722 glibcxx_compiler_shared_flag
723 glibcxx_compiler_pic_flag
724 glibcxx_lt_pic_flag
725 enable_static
726 enable_shared
727 lt_host_flags
728 CXXCPP
729 OTOOL64
730 OTOOL
731 LIPO
732 NMEDIT
733 DSYMUTIL
734 OBJDUMP
736 ac_ct_DUMPBIN
737 DUMPBIN
739 FGREP
741 LIBTOOL
742 EGREP
743 GREP
745 MAINT
746 MAINTAINER_MODE_FALSE
747 MAINTAINER_MODE_TRUE
748 RANLIB
751 LN_S
752 toplevel_srcdir
753 toplevel_builddir
754 glibcxx_srcdir
755 glibcxx_builddir
756 ac_ct_CXX
757 CXXFLAGS
759 OBJEXT
760 EXEEXT
761 ac_ct_CC
762 CPPFLAGS
763 LDFLAGS
764 CFLAGS
766 am__untar
767 am__tar
768 AMTAR
769 am__leading_dot
770 SET_MAKE
772 mkdir_p
773 MKDIR_P
774 INSTALL_STRIP_PROGRAM
775 STRIP
776 install_sh
777 MAKEINFO
778 AUTOHEADER
779 AUTOMAKE
780 AUTOCONF
781 ACLOCAL
782 VERSION
783 PACKAGE
784 CYGPATH_W
785 am__isrc
786 INSTALL_DATA
787 INSTALL_SCRIPT
788 INSTALL_PROGRAM
789 target_os
790 target_vendor
791 target_cpu
792 target
793 host_os
794 host_vendor
795 host_cpu
796 host
797 build_os
798 build_vendor
799 build_cpu
800 build
801 multi_basedir
802 target_alias
803 host_alias
804 build_alias
805 LIBS
806 ECHO_T
807 ECHO_N
808 ECHO_C
809 DEFS
810 mandir
811 localedir
812 libdir
813 psdir
814 pdfdir
815 dvidir
816 htmldir
817 infodir
818 docdir
819 oldincludedir
820 includedir
821 localstatedir
822 sharedstatedir
823 sysconfdir
824 datadir
825 datarootdir
826 libexecdir
827 sbindir
828 bindir
829 program_transform_name
830 prefix
831 exec_prefix
832 PACKAGE_URL
833 PACKAGE_BUGREPORT
834 PACKAGE_STRING
835 PACKAGE_VERSION
836 PACKAGE_TARNAME
837 PACKAGE_NAME
838 PATH_SEPARATOR
839 SHELL'
840 ac_subst_files=''
841 ac_user_opts='
842 enable_option_checking
843 enable_multilib
844 with_target_subdir
845 with_cross_host
846 with_newlib
847 enable_maintainer_mode
848 enable_shared
849 enable_static
850 with_pic
851 enable_fast_install
852 with_gnu_ld
853 enable_libtool_lock
854 enable_hosted_libstdcxx
855 enable_libstdcxx_verbose
856 enable_sjlj_exceptions
857 enable_libstdcxx_pch
858 enable_cstdio
859 enable_clocale
860 enable_nls
861 enable_libstdcxx_allocator
862 enable_cheaders
863 enable_long_long
864 enable_wchar_t
865 enable_c99
866 enable_concept_checks
867 enable_libstdcxx_debug_flags
868 enable_libstdcxx_debug
869 enable_cxx_flags
870 enable_fully_dynamic_string
871 enable_extern_template
872 with_python_dir
873 enable_werror
874 enable_vtable_verify
875 enable_libstdcxx_time
876 enable_tls
877 enable_rpath
878 with_libiconv_prefix
879 with_system_libunwind
880 enable_linux_futex
881 enable_symvers
882 enable_libstdcxx_visibility
883 enable_libstdcxx_threads
884 with_gxx_include_dir
885 enable_version_specific_runtime_libs
887 ac_precious_vars='build_alias
888 host_alias
889 target_alias
891 CFLAGS
892 LDFLAGS
893 LIBS
894 CPPFLAGS
896 CXXFLAGS
899 CXXCPP
900 CXXFILT'
903 # Initialize some variables set by options.
904 ac_init_help=
905 ac_init_version=false
906 ac_unrecognized_opts=
907 ac_unrecognized_sep=
908 # The variables have the same names as the options, with
909 # dashes changed to underlines.
910 cache_file=/dev/null
911 exec_prefix=NONE
912 no_create=
913 no_recursion=
914 prefix=NONE
915 program_prefix=NONE
916 program_suffix=NONE
917 program_transform_name=s,x,x,
918 silent=
919 site=
920 srcdir=
921 verbose=
922 x_includes=NONE
923 x_libraries=NONE
925 # Installation directory options.
926 # These are left unexpanded so users can "make install exec_prefix=/foo"
927 # and all the variables that are supposed to be based on exec_prefix
928 # by default will actually change.
929 # Use braces instead of parens because sh, perl, etc. also accept them.
930 # (The list follows the same order as the GNU Coding Standards.)
931 bindir='${exec_prefix}/bin'
932 sbindir='${exec_prefix}/sbin'
933 libexecdir='${exec_prefix}/libexec'
934 datarootdir='${prefix}/share'
935 datadir='${datarootdir}'
936 sysconfdir='${prefix}/etc'
937 sharedstatedir='${prefix}/com'
938 localstatedir='${prefix}/var'
939 includedir='${prefix}/include'
940 oldincludedir='/usr/include'
941 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
942 infodir='${datarootdir}/info'
943 htmldir='${docdir}'
944 dvidir='${docdir}'
945 pdfdir='${docdir}'
946 psdir='${docdir}'
947 libdir='${exec_prefix}/lib'
948 localedir='${datarootdir}/locale'
949 mandir='${datarootdir}/man'
951 ac_prev=
952 ac_dashdash=
953 for ac_option
955 # If the previous option needs an argument, assign it.
956 if test -n "$ac_prev"; then
957 eval $ac_prev=\$ac_option
958 ac_prev=
959 continue
962 case $ac_option in
963 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
964 *) ac_optarg=yes ;;
965 esac
967 # Accept the important Cygnus configure options, so we can diagnose typos.
969 case $ac_dashdash$ac_option in
971 ac_dashdash=yes ;;
973 -bindir | --bindir | --bindi | --bind | --bin | --bi)
974 ac_prev=bindir ;;
975 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
976 bindir=$ac_optarg ;;
978 -build | --build | --buil | --bui | --bu)
979 ac_prev=build_alias ;;
980 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
981 build_alias=$ac_optarg ;;
983 -cache-file | --cache-file | --cache-fil | --cache-fi \
984 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
985 ac_prev=cache_file ;;
986 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
987 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
988 cache_file=$ac_optarg ;;
990 --config-cache | -C)
991 cache_file=config.cache ;;
993 -datadir | --datadir | --datadi | --datad)
994 ac_prev=datadir ;;
995 -datadir=* | --datadir=* | --datadi=* | --datad=*)
996 datadir=$ac_optarg ;;
998 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
999 | --dataroo | --dataro | --datar)
1000 ac_prev=datarootdir ;;
1001 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1002 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1003 datarootdir=$ac_optarg ;;
1005 -disable-* | --disable-*)
1006 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1007 # Reject names that are not valid shell variable names.
1008 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1009 as_fn_error "invalid feature name: $ac_useropt"
1010 ac_useropt_orig=$ac_useropt
1011 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1012 case $ac_user_opts in
1014 "enable_$ac_useropt"
1015 "*) ;;
1016 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1017 ac_unrecognized_sep=', ';;
1018 esac
1019 eval enable_$ac_useropt=no ;;
1021 -docdir | --docdir | --docdi | --doc | --do)
1022 ac_prev=docdir ;;
1023 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1024 docdir=$ac_optarg ;;
1026 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1027 ac_prev=dvidir ;;
1028 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1029 dvidir=$ac_optarg ;;
1031 -enable-* | --enable-*)
1032 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1035 as_fn_error "invalid feature name: $ac_useropt"
1036 ac_useropt_orig=$ac_useropt
1037 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038 case $ac_user_opts in
1040 "enable_$ac_useropt"
1041 "*) ;;
1042 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1043 ac_unrecognized_sep=', ';;
1044 esac
1045 eval enable_$ac_useropt=\$ac_optarg ;;
1047 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1048 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1049 | --exec | --exe | --ex)
1050 ac_prev=exec_prefix ;;
1051 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1052 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1053 | --exec=* | --exe=* | --ex=*)
1054 exec_prefix=$ac_optarg ;;
1056 -gas | --gas | --ga | --g)
1057 # Obsolete; use --with-gas.
1058 with_gas=yes ;;
1060 -help | --help | --hel | --he | -h)
1061 ac_init_help=long ;;
1062 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1063 ac_init_help=recursive ;;
1064 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1065 ac_init_help=short ;;
1067 -host | --host | --hos | --ho)
1068 ac_prev=host_alias ;;
1069 -host=* | --host=* | --hos=* | --ho=*)
1070 host_alias=$ac_optarg ;;
1072 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1073 ac_prev=htmldir ;;
1074 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1075 | --ht=*)
1076 htmldir=$ac_optarg ;;
1078 -includedir | --includedir | --includedi | --included | --include \
1079 | --includ | --inclu | --incl | --inc)
1080 ac_prev=includedir ;;
1081 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1082 | --includ=* | --inclu=* | --incl=* | --inc=*)
1083 includedir=$ac_optarg ;;
1085 -infodir | --infodir | --infodi | --infod | --info | --inf)
1086 ac_prev=infodir ;;
1087 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1088 infodir=$ac_optarg ;;
1090 -libdir | --libdir | --libdi | --libd)
1091 ac_prev=libdir ;;
1092 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1093 libdir=$ac_optarg ;;
1095 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1096 | --libexe | --libex | --libe)
1097 ac_prev=libexecdir ;;
1098 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1099 | --libexe=* | --libex=* | --libe=*)
1100 libexecdir=$ac_optarg ;;
1102 -localedir | --localedir | --localedi | --localed | --locale)
1103 ac_prev=localedir ;;
1104 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1105 localedir=$ac_optarg ;;
1107 -localstatedir | --localstatedir | --localstatedi | --localstated \
1108 | --localstate | --localstat | --localsta | --localst | --locals)
1109 ac_prev=localstatedir ;;
1110 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1111 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1112 localstatedir=$ac_optarg ;;
1114 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1115 ac_prev=mandir ;;
1116 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1117 mandir=$ac_optarg ;;
1119 -nfp | --nfp | --nf)
1120 # Obsolete; use --without-fp.
1121 with_fp=no ;;
1123 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1124 | --no-cr | --no-c | -n)
1125 no_create=yes ;;
1127 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1128 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1129 no_recursion=yes ;;
1131 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1132 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1133 | --oldin | --oldi | --old | --ol | --o)
1134 ac_prev=oldincludedir ;;
1135 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1136 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1137 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1138 oldincludedir=$ac_optarg ;;
1140 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1141 ac_prev=prefix ;;
1142 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1143 prefix=$ac_optarg ;;
1145 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1146 | --program-pre | --program-pr | --program-p)
1147 ac_prev=program_prefix ;;
1148 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1149 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1150 program_prefix=$ac_optarg ;;
1152 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1153 | --program-suf | --program-su | --program-s)
1154 ac_prev=program_suffix ;;
1155 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1156 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1157 program_suffix=$ac_optarg ;;
1159 -program-transform-name | --program-transform-name \
1160 | --program-transform-nam | --program-transform-na \
1161 | --program-transform-n | --program-transform- \
1162 | --program-transform | --program-transfor \
1163 | --program-transfo | --program-transf \
1164 | --program-trans | --program-tran \
1165 | --progr-tra | --program-tr | --program-t)
1166 ac_prev=program_transform_name ;;
1167 -program-transform-name=* | --program-transform-name=* \
1168 | --program-transform-nam=* | --program-transform-na=* \
1169 | --program-transform-n=* | --program-transform-=* \
1170 | --program-transform=* | --program-transfor=* \
1171 | --program-transfo=* | --program-transf=* \
1172 | --program-trans=* | --program-tran=* \
1173 | --progr-tra=* | --program-tr=* | --program-t=*)
1174 program_transform_name=$ac_optarg ;;
1176 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1177 ac_prev=pdfdir ;;
1178 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1179 pdfdir=$ac_optarg ;;
1181 -psdir | --psdir | --psdi | --psd | --ps)
1182 ac_prev=psdir ;;
1183 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1184 psdir=$ac_optarg ;;
1186 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1187 | -silent | --silent | --silen | --sile | --sil)
1188 silent=yes ;;
1190 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1191 ac_prev=sbindir ;;
1192 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1193 | --sbi=* | --sb=*)
1194 sbindir=$ac_optarg ;;
1196 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1197 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1198 | --sharedst | --shareds | --shared | --share | --shar \
1199 | --sha | --sh)
1200 ac_prev=sharedstatedir ;;
1201 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1202 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1203 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1204 | --sha=* | --sh=*)
1205 sharedstatedir=$ac_optarg ;;
1207 -site | --site | --sit)
1208 ac_prev=site ;;
1209 -site=* | --site=* | --sit=*)
1210 site=$ac_optarg ;;
1212 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1213 ac_prev=srcdir ;;
1214 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1215 srcdir=$ac_optarg ;;
1217 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1218 | --syscon | --sysco | --sysc | --sys | --sy)
1219 ac_prev=sysconfdir ;;
1220 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1221 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1222 sysconfdir=$ac_optarg ;;
1224 -target | --target | --targe | --targ | --tar | --ta | --t)
1225 ac_prev=target_alias ;;
1226 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1227 target_alias=$ac_optarg ;;
1229 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1230 verbose=yes ;;
1232 -version | --version | --versio | --versi | --vers | -V)
1233 ac_init_version=: ;;
1235 -with-* | --with-*)
1236 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1237 # Reject names that are not valid shell variable names.
1238 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1239 as_fn_error "invalid package name: $ac_useropt"
1240 ac_useropt_orig=$ac_useropt
1241 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1242 case $ac_user_opts in
1244 "with_$ac_useropt"
1245 "*) ;;
1246 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1247 ac_unrecognized_sep=', ';;
1248 esac
1249 eval with_$ac_useropt=\$ac_optarg ;;
1251 -without-* | --without-*)
1252 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1253 # Reject names that are not valid shell variable names.
1254 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1255 as_fn_error "invalid package name: $ac_useropt"
1256 ac_useropt_orig=$ac_useropt
1257 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1258 case $ac_user_opts in
1260 "with_$ac_useropt"
1261 "*) ;;
1262 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1263 ac_unrecognized_sep=', ';;
1264 esac
1265 eval with_$ac_useropt=no ;;
1267 --x)
1268 # Obsolete; use --with-x.
1269 with_x=yes ;;
1271 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1272 | --x-incl | --x-inc | --x-in | --x-i)
1273 ac_prev=x_includes ;;
1274 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1275 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1276 x_includes=$ac_optarg ;;
1278 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1279 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1280 ac_prev=x_libraries ;;
1281 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1282 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1283 x_libraries=$ac_optarg ;;
1285 -*) as_fn_error "unrecognized option: \`$ac_option'
1286 Try \`$0 --help' for more information."
1289 *=*)
1290 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1291 # Reject names that are not valid shell variable names.
1292 case $ac_envvar in #(
1293 '' | [0-9]* | *[!_$as_cr_alnum]* )
1294 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1295 esac
1296 eval $ac_envvar=\$ac_optarg
1297 export $ac_envvar ;;
1300 # FIXME: should be removed in autoconf 3.0.
1301 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1302 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1303 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1304 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1307 esac
1308 done
1310 if test -n "$ac_prev"; then
1311 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1312 as_fn_error "missing argument to $ac_option"
1315 if test -n "$ac_unrecognized_opts"; then
1316 case $enable_option_checking in
1317 no) ;;
1318 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1319 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1320 esac
1323 # Check all directory arguments for consistency.
1324 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1325 datadir sysconfdir sharedstatedir localstatedir includedir \
1326 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1327 libdir localedir mandir
1329 eval ac_val=\$$ac_var
1330 # Remove trailing slashes.
1331 case $ac_val in
1332 */ )
1333 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1334 eval $ac_var=\$ac_val;;
1335 esac
1336 # Be sure to have absolute directory names.
1337 case $ac_val in
1338 [\\/$]* | ?:[\\/]* ) continue;;
1339 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1340 esac
1341 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1342 done
1344 # There might be people who depend on the old broken behavior: `$host'
1345 # used to hold the argument of --host etc.
1346 # FIXME: To remove some day.
1347 build=$build_alias
1348 host=$host_alias
1349 target=$target_alias
1351 # FIXME: To remove some day.
1352 if test "x$host_alias" != x; then
1353 if test "x$build_alias" = x; then
1354 cross_compiling=maybe
1355 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1356 If a cross compiler is detected then cross compile mode will be used." >&2
1357 elif test "x$build_alias" != "x$host_alias"; then
1358 cross_compiling=yes
1362 ac_tool_prefix=
1363 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1365 test "$silent" = yes && exec 6>/dev/null
1368 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1369 ac_ls_di=`ls -di .` &&
1370 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1371 as_fn_error "working directory cannot be determined"
1372 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1373 as_fn_error "pwd does not report name of working directory"
1376 # Find the source files, if location was not specified.
1377 if test -z "$srcdir"; then
1378 ac_srcdir_defaulted=yes
1379 # Try the directory containing this script, then the parent directory.
1380 ac_confdir=`$as_dirname -- "$as_myself" ||
1381 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1382 X"$as_myself" : 'X\(//\)[^/]' \| \
1383 X"$as_myself" : 'X\(//\)$' \| \
1384 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1385 $as_echo X"$as_myself" |
1386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1387 s//\1/
1390 /^X\(\/\/\)[^/].*/{
1391 s//\1/
1394 /^X\(\/\/\)$/{
1395 s//\1/
1398 /^X\(\/\).*/{
1399 s//\1/
1402 s/.*/./; q'`
1403 srcdir=$ac_confdir
1404 if test ! -r "$srcdir/$ac_unique_file"; then
1405 srcdir=..
1407 else
1408 ac_srcdir_defaulted=no
1410 if test ! -r "$srcdir/$ac_unique_file"; then
1411 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1412 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1414 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1415 ac_abs_confdir=`(
1416 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1417 pwd)`
1418 # When building in place, set srcdir=.
1419 if test "$ac_abs_confdir" = "$ac_pwd"; then
1420 srcdir=.
1422 # Remove unnecessary trailing slashes from srcdir.
1423 # Double slashes in file names in object file debugging info
1424 # mess up M-x gdb in Emacs.
1425 case $srcdir in
1426 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1427 esac
1428 for ac_var in $ac_precious_vars; do
1429 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1430 eval ac_env_${ac_var}_value=\$${ac_var}
1431 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1432 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1433 done
1436 # Report the --help message.
1438 if test "$ac_init_help" = "long"; then
1439 # Omit some internal or obsolete options to make the list less imposing.
1440 # This message is too long to be a string in the A/UX 3.1 sh.
1441 cat <<_ACEOF
1442 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1444 Usage: $0 [OPTION]... [VAR=VALUE]...
1446 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1447 VAR=VALUE. See below for descriptions of some of the useful variables.
1449 Defaults for the options are specified in brackets.
1451 Configuration:
1452 -h, --help display this help and exit
1453 --help=short display options specific to this package
1454 --help=recursive display the short help of all the included packages
1455 -V, --version display version information and exit
1456 -q, --quiet, --silent do not print \`checking...' messages
1457 --cache-file=FILE cache test results in FILE [disabled]
1458 -C, --config-cache alias for \`--cache-file=config.cache'
1459 -n, --no-create do not create output files
1460 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1462 Installation directories:
1463 --prefix=PREFIX install architecture-independent files in PREFIX
1464 [$ac_default_prefix]
1465 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1466 [PREFIX]
1468 By default, \`make install' will install all the files in
1469 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1470 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1471 for instance \`--prefix=\$HOME'.
1473 For better control, use the options below.
1475 Fine tuning of the installation directories:
1476 --bindir=DIR user executables [EPREFIX/bin]
1477 --sbindir=DIR system admin executables [EPREFIX/sbin]
1478 --libexecdir=DIR program executables [EPREFIX/libexec]
1479 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1480 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1481 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1482 --libdir=DIR object code libraries [EPREFIX/lib]
1483 --includedir=DIR C header files [PREFIX/include]
1484 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1485 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1486 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1487 --infodir=DIR info documentation [DATAROOTDIR/info]
1488 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1489 --mandir=DIR man documentation [DATAROOTDIR/man]
1490 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1491 --htmldir=DIR html documentation [DOCDIR]
1492 --dvidir=DIR dvi documentation [DOCDIR]
1493 --pdfdir=DIR pdf documentation [DOCDIR]
1494 --psdir=DIR ps documentation [DOCDIR]
1495 _ACEOF
1497 cat <<\_ACEOF
1499 Program names:
1500 --program-prefix=PREFIX prepend PREFIX to installed program names
1501 --program-suffix=SUFFIX append SUFFIX to installed program names
1502 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1504 System types:
1505 --build=BUILD configure for building on BUILD [guessed]
1506 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1507 --target=TARGET configure for building compilers for TARGET [HOST]
1508 _ACEOF
1511 if test -n "$ac_init_help"; then
1512 case $ac_init_help in
1513 short | recursive ) echo "Configuration of package-unused version-unused:";;
1514 esac
1515 cat <<\_ACEOF
1517 Optional Features:
1518 --disable-option-checking ignore unrecognized --enable/--with options
1519 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1520 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1521 --enable-multilib build many library versions (default)
1522 --enable-maintainer-mode enable make rules and dependencies not useful
1523 (and sometimes confusing) to the casual installer
1524 --enable-shared[=PKGS] build shared libraries [default=yes]
1525 --enable-static[=PKGS] build static libraries [default=yes]
1526 --enable-fast-install[=PKGS]
1527 optimize for fast installation [default=yes]
1528 --disable-libtool-lock avoid locking (might break parallel builds)
1529 --disable-hosted-libstdcxx
1530 only build freestanding C++ runtime support
1531 --disable-libstdcxx-verbose
1532 disable termination messages to standard error
1533 --enable-sjlj-exceptions
1534 force use of builtin_setjmp for exceptions
1535 [default=auto]
1536 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1537 [default=$is_hosted]
1538 --enable-cstdio[=PACKAGE]
1539 use target-specific I/O package [default=stdio]
1540 --enable-clocale[=MODEL]
1541 use MODEL for target locale package [default=auto]
1542 --enable-nls use Native Language Support (default)
1543 --enable-libstdcxx-allocator[=KIND]
1544 use KIND for target std::allocator base
1545 [default=auto]
1546 --enable-cheaders[=KIND]
1547 construct "C" headers for g++ [default=$c_model]
1548 --enable-long-long enable template specializations for 'long long'
1549 [default=yes]
1550 --enable-wchar_t enable template specializations for 'wchar_t'
1551 [default=yes]
1552 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1553 --enable-concept-checks use Boost-derived template checks [default=no]
1554 --enable-libstdcxx-debug-flags=FLAGS
1555 pass compiler FLAGS when building debug library
1556 [default="-gdwarf-4 -g3 -O0"]
1557 --enable-libstdcxx-debug
1558 build extra debug library [default=no]
1559 --enable-cxx-flags=FLAGS
1560 pass compiler FLAGS when building library [default=]
1561 --enable-fully-dynamic-string
1562 do not put empty strings in per-process static
1563 memory [default=no]
1564 --enable-extern-template
1565 enable extern template [default=yes]
1566 --enable-werror turns on -Werror [default=yes]
1567 --enable-vtable-verify enable vtable verify [default=no]
1568 --enable-libstdcxx-time[=KIND]
1569 use KIND for check type [default=auto]
1570 --enable-tls Use thread-local storage [default=yes]
1571 --disable-rpath do not hardcode runtime library paths
1572 --enable-linux-futex use the Linux futex system call [default=default]
1573 --enable-symvers[=STYLE]
1574 enables symbol versioning of the shared library
1575 [default=yes]
1576 --enable-libstdcxx-visibility
1577 enables visibility safe usage [default=yes]
1578 --enable-libstdcxx-threads
1579 enable C++11 threads support [default=auto]
1580 --enable-version-specific-runtime-libs
1581 Specify that runtime libraries should be installed
1582 in a compiler-specific directory
1584 Optional Packages:
1585 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1586 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1587 --with-target-subdir=SUBDIR
1588 configuring in a subdirectory
1589 --with-cross-host=HOST configuring with a cross compiler
1590 --with-newlib assume newlib as a system C library
1591 --with-pic try to use only PIC/non-PIC objects [default=use
1592 both]
1593 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1594 --with-python-dir the location to install Python modules. This path is
1595 relative starting from the prefix.
1596 --with-gnu-ld assume the C compiler uses GNU ld default=no
1597 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1598 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1599 --with-system-libunwind use installed libunwind
1600 --with-gxx-include-dir=DIR
1601 installation directory for include files
1603 Some influential environment variables:
1604 CC C compiler command
1605 CFLAGS C compiler flags
1606 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1607 nonstandard directory <lib dir>
1608 LIBS libraries to pass to the linker, e.g. -l<library>
1609 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1610 you have headers in a nonstandard directory <include dir>
1611 CXX C++ compiler command
1612 CXXFLAGS C++ compiler flags
1613 CPP C preprocessor
1614 CXXCPP C++ preprocessor
1615 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1616 `c++filt', `gc++filt' on PATH.
1618 Use these variables to override the choices made by `configure' or to help
1619 it to find libraries and programs with nonstandard names/locations.
1621 Report bugs to the package provider.
1622 _ACEOF
1623 ac_status=$?
1626 if test "$ac_init_help" = "recursive"; then
1627 # If there are subdirs, report their specific --help.
1628 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1629 test -d "$ac_dir" ||
1630 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1631 continue
1632 ac_builddir=.
1634 case "$ac_dir" in
1635 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1637 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1638 # A ".." for each directory in $ac_dir_suffix.
1639 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1640 case $ac_top_builddir_sub in
1641 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1642 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1643 esac ;;
1644 esac
1645 ac_abs_top_builddir=$ac_pwd
1646 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1647 # for backward compatibility:
1648 ac_top_builddir=$ac_top_build_prefix
1650 case $srcdir in
1651 .) # We are building in place.
1652 ac_srcdir=.
1653 ac_top_srcdir=$ac_top_builddir_sub
1654 ac_abs_top_srcdir=$ac_pwd ;;
1655 [\\/]* | ?:[\\/]* ) # Absolute name.
1656 ac_srcdir=$srcdir$ac_dir_suffix;
1657 ac_top_srcdir=$srcdir
1658 ac_abs_top_srcdir=$srcdir ;;
1659 *) # Relative name.
1660 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1661 ac_top_srcdir=$ac_top_build_prefix$srcdir
1662 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1663 esac
1664 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1666 cd "$ac_dir" || { ac_status=$?; continue; }
1667 # Check for guested configure.
1668 if test -f "$ac_srcdir/configure.gnu"; then
1669 echo &&
1670 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1671 elif test -f "$ac_srcdir/configure"; then
1672 echo &&
1673 $SHELL "$ac_srcdir/configure" --help=recursive
1674 else
1675 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1676 fi || ac_status=$?
1677 cd "$ac_pwd" || { ac_status=$?; break; }
1678 done
1681 test -n "$ac_init_help" && exit $ac_status
1682 if $ac_init_version; then
1683 cat <<\_ACEOF
1684 package-unused configure version-unused
1685 generated by GNU Autoconf 2.64
1687 Copyright (C) 2009 Free Software Foundation, Inc.
1688 This configure script is free software; the Free Software Foundation
1689 gives unlimited permission to copy, distribute and modify it.
1690 _ACEOF
1691 exit
1694 ## ------------------------ ##
1695 ## Autoconf initialization. ##
1696 ## ------------------------ ##
1698 # ac_fn_c_try_compile LINENO
1699 # --------------------------
1700 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1701 ac_fn_c_try_compile ()
1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704 rm -f conftest.$ac_objext
1705 if { { ac_try="$ac_compile"
1706 case "(($ac_try" in
1707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1708 *) ac_try_echo=$ac_try;;
1709 esac
1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711 $as_echo "$ac_try_echo"; } >&5
1712 (eval "$ac_compile") 2>conftest.err
1713 ac_status=$?
1714 if test -s conftest.err; then
1715 grep -v '^ *+' conftest.err >conftest.er1
1716 cat conftest.er1 >&5
1717 mv -f conftest.er1 conftest.err
1719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720 test $ac_status = 0; } && {
1721 test -z "$ac_c_werror_flag" ||
1722 test ! -s conftest.err
1723 } && test -s conftest.$ac_objext; then :
1724 ac_retval=0
1725 else
1726 $as_echo "$as_me: failed program was:" >&5
1727 sed 's/^/| /' conftest.$ac_ext >&5
1729 ac_retval=1
1731 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1732 return $ac_retval
1734 } # ac_fn_c_try_compile
1736 # ac_fn_cxx_try_compile LINENO
1737 # ----------------------------
1738 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1739 ac_fn_cxx_try_compile ()
1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742 rm -f conftest.$ac_objext
1743 if { { ac_try="$ac_compile"
1744 case "(($ac_try" in
1745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1746 *) ac_try_echo=$ac_try;;
1747 esac
1748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1749 $as_echo "$ac_try_echo"; } >&5
1750 (eval "$ac_compile") 2>conftest.err
1751 ac_status=$?
1752 if test -s conftest.err; then
1753 grep -v '^ *+' conftest.err >conftest.er1
1754 cat conftest.er1 >&5
1755 mv -f conftest.er1 conftest.err
1757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1758 test $ac_status = 0; } && {
1759 test -z "$ac_cxx_werror_flag" ||
1760 test ! -s conftest.err
1761 } && test -s conftest.$ac_objext; then :
1762 ac_retval=0
1763 else
1764 $as_echo "$as_me: failed program was:" >&5
1765 sed 's/^/| /' conftest.$ac_ext >&5
1767 ac_retval=1
1769 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1770 return $ac_retval
1772 } # ac_fn_cxx_try_compile
1774 # ac_fn_c_try_cpp LINENO
1775 # ----------------------
1776 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1777 ac_fn_c_try_cpp ()
1779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780 if { { ac_try="$ac_cpp conftest.$ac_ext"
1781 case "(($ac_try" in
1782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1783 *) ac_try_echo=$ac_try;;
1784 esac
1785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1786 $as_echo "$ac_try_echo"; } >&5
1787 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1788 ac_status=$?
1789 if test -s conftest.err; then
1790 grep -v '^ *+' conftest.err >conftest.er1
1791 cat conftest.er1 >&5
1792 mv -f conftest.er1 conftest.err
1794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1795 test $ac_status = 0; } >/dev/null && {
1796 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1797 test ! -s conftest.err
1798 }; then :
1799 ac_retval=0
1800 else
1801 $as_echo "$as_me: failed program was:" >&5
1802 sed 's/^/| /' conftest.$ac_ext >&5
1804 ac_retval=1
1806 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1807 return $ac_retval
1809 } # ac_fn_c_try_cpp
1811 # ac_fn_c_try_link LINENO
1812 # -----------------------
1813 # Try to link conftest.$ac_ext, and return whether this succeeded.
1814 ac_fn_c_try_link ()
1816 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1817 rm -f conftest.$ac_objext conftest$ac_exeext
1818 if { { ac_try="$ac_link"
1819 case "(($ac_try" in
1820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1821 *) ac_try_echo=$ac_try;;
1822 esac
1823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1824 $as_echo "$ac_try_echo"; } >&5
1825 (eval "$ac_link") 2>conftest.err
1826 ac_status=$?
1827 if test -s conftest.err; then
1828 grep -v '^ *+' conftest.err >conftest.er1
1829 cat conftest.er1 >&5
1830 mv -f conftest.er1 conftest.err
1832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1833 test $ac_status = 0; } && {
1834 test -z "$ac_c_werror_flag" ||
1835 test ! -s conftest.err
1836 } && test -s conftest$ac_exeext && {
1837 test "$cross_compiling" = yes ||
1838 $as_test_x conftest$ac_exeext
1839 }; then :
1840 ac_retval=0
1841 else
1842 $as_echo "$as_me: failed program was:" >&5
1843 sed 's/^/| /' conftest.$ac_ext >&5
1845 ac_retval=1
1847 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1848 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1849 # interfere with the next link command; also delete a directory that is
1850 # left behind by Apple's compiler. We do this before executing the actions.
1851 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1852 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1853 return $ac_retval
1855 } # ac_fn_c_try_link
1857 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1858 # -------------------------------------------------------
1859 # Tests whether HEADER exists and can be compiled using the include files in
1860 # INCLUDES, setting the cache variable VAR accordingly.
1861 ac_fn_c_check_header_compile ()
1863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1865 $as_echo_n "checking for $2... " >&6; }
1866 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1867 $as_echo_n "(cached) " >&6
1868 else
1869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1870 /* end confdefs.h. */
1872 #include <$2>
1873 _ACEOF
1874 if ac_fn_c_try_compile "$LINENO"; then :
1875 eval "$3=yes"
1876 else
1877 eval "$3=no"
1879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1881 eval ac_res=\$$3
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1883 $as_echo "$ac_res" >&6; }
1884 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1886 } # ac_fn_c_check_header_compile
1888 # ac_fn_c_try_run LINENO
1889 # ----------------------
1890 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1891 # that executables *can* be run.
1892 ac_fn_c_try_run ()
1894 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895 if { { ac_try="$ac_link"
1896 case "(($ac_try" in
1897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1898 *) ac_try_echo=$ac_try;;
1899 esac
1900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1901 $as_echo "$ac_try_echo"; } >&5
1902 (eval "$ac_link") 2>&5
1903 ac_status=$?
1904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1905 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1906 { { case "(($ac_try" in
1907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1908 *) ac_try_echo=$ac_try;;
1909 esac
1910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1911 $as_echo "$ac_try_echo"; } >&5
1912 (eval "$ac_try") 2>&5
1913 ac_status=$?
1914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1915 test $ac_status = 0; }; }; then :
1916 ac_retval=0
1917 else
1918 $as_echo "$as_me: program exited with status $ac_status" >&5
1919 $as_echo "$as_me: failed program was:" >&5
1920 sed 's/^/| /' conftest.$ac_ext >&5
1922 ac_retval=$ac_status
1924 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1925 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1926 return $ac_retval
1928 } # ac_fn_c_try_run
1930 # ac_fn_c_check_func LINENO FUNC VAR
1931 # ----------------------------------
1932 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1933 ac_fn_c_check_func ()
1935 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1937 $as_echo_n "checking for $2... " >&6; }
1938 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1939 $as_echo_n "(cached) " >&6
1940 else
1941 if test x$gcc_no_link = xyes; then
1942 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1945 /* end confdefs.h. */
1946 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1948 #define $2 innocuous_$2
1950 /* System header to define __stub macros and hopefully few prototypes,
1951 which can conflict with char $2 (); below.
1952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1953 <limits.h> exists even on freestanding compilers. */
1955 #ifdef __STDC__
1956 # include <limits.h>
1957 #else
1958 # include <assert.h>
1959 #endif
1961 #undef $2
1963 /* Override any GCC internal prototype to avoid an error.
1964 Use char because int might match the return type of a GCC
1965 builtin and then its argument prototype would still apply. */
1966 #ifdef __cplusplus
1967 extern "C"
1968 #endif
1969 char $2 ();
1970 /* The GNU C library defines this for functions which it implements
1971 to always fail with ENOSYS. Some functions are actually named
1972 something starting with __ and the normal name is an alias. */
1973 #if defined __stub_$2 || defined __stub___$2
1974 choke me
1975 #endif
1978 main ()
1980 return $2 ();
1982 return 0;
1984 _ACEOF
1985 if ac_fn_c_try_link "$LINENO"; then :
1986 eval "$3=yes"
1987 else
1988 eval "$3=no"
1990 rm -f core conftest.err conftest.$ac_objext \
1991 conftest$ac_exeext conftest.$ac_ext
1993 eval ac_res=\$$3
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1995 $as_echo "$ac_res" >&6; }
1996 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1998 } # ac_fn_c_check_func
2000 # ac_fn_cxx_try_cpp LINENO
2001 # ------------------------
2002 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2003 ac_fn_cxx_try_cpp ()
2005 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2006 if { { ac_try="$ac_cpp conftest.$ac_ext"
2007 case "(($ac_try" in
2008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2009 *) ac_try_echo=$ac_try;;
2010 esac
2011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2012 $as_echo "$ac_try_echo"; } >&5
2013 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2014 ac_status=$?
2015 if test -s conftest.err; then
2016 grep -v '^ *+' conftest.err >conftest.er1
2017 cat conftest.er1 >&5
2018 mv -f conftest.er1 conftest.err
2020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2021 test $ac_status = 0; } >/dev/null && {
2022 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2023 test ! -s conftest.err
2024 }; then :
2025 ac_retval=0
2026 else
2027 $as_echo "$as_me: failed program was:" >&5
2028 sed 's/^/| /' conftest.$ac_ext >&5
2030 ac_retval=1
2032 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2033 return $ac_retval
2035 } # ac_fn_cxx_try_cpp
2037 # ac_fn_cxx_try_link LINENO
2038 # -------------------------
2039 # Try to link conftest.$ac_ext, and return whether this succeeded.
2040 ac_fn_cxx_try_link ()
2042 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2043 rm -f conftest.$ac_objext conftest$ac_exeext
2044 if { { ac_try="$ac_link"
2045 case "(($ac_try" in
2046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2047 *) ac_try_echo=$ac_try;;
2048 esac
2049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2050 $as_echo "$ac_try_echo"; } >&5
2051 (eval "$ac_link") 2>conftest.err
2052 ac_status=$?
2053 if test -s conftest.err; then
2054 grep -v '^ *+' conftest.err >conftest.er1
2055 cat conftest.er1 >&5
2056 mv -f conftest.er1 conftest.err
2058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2059 test $ac_status = 0; } && {
2060 test -z "$ac_cxx_werror_flag" ||
2061 test ! -s conftest.err
2062 } && test -s conftest$ac_exeext && {
2063 test "$cross_compiling" = yes ||
2064 $as_test_x conftest$ac_exeext
2065 }; then :
2066 ac_retval=0
2067 else
2068 $as_echo "$as_me: failed program was:" >&5
2069 sed 's/^/| /' conftest.$ac_ext >&5
2071 ac_retval=1
2073 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2074 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2075 # interfere with the next link command; also delete a directory that is
2076 # left behind by Apple's compiler. We do this before executing the actions.
2077 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2078 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2079 return $ac_retval
2081 } # ac_fn_cxx_try_link
2083 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2084 # -------------------------------------------------------
2085 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2086 # the include files in INCLUDES and setting the cache variable VAR
2087 # accordingly.
2088 ac_fn_c_check_header_mongrel ()
2090 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2091 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2093 $as_echo_n "checking for $2... " >&6; }
2094 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2095 $as_echo_n "(cached) " >&6
2097 eval ac_res=\$$3
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2099 $as_echo "$ac_res" >&6; }
2100 else
2101 # Is the header compilable?
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2103 $as_echo_n "checking $2 usability... " >&6; }
2104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2105 /* end confdefs.h. */
2107 #include <$2>
2108 _ACEOF
2109 if ac_fn_c_try_compile "$LINENO"; then :
2110 ac_header_compiler=yes
2111 else
2112 ac_header_compiler=no
2114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2116 $as_echo "$ac_header_compiler" >&6; }
2118 # Is the header present?
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2120 $as_echo_n "checking $2 presence... " >&6; }
2121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2122 /* end confdefs.h. */
2123 #include <$2>
2124 _ACEOF
2125 if ac_fn_c_try_cpp "$LINENO"; then :
2126 ac_header_preproc=yes
2127 else
2128 ac_header_preproc=no
2130 rm -f conftest.err conftest.$ac_ext
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2132 $as_echo "$ac_header_preproc" >&6; }
2134 # So? What about this header?
2135 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2136 yes:no: )
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2138 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2140 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2142 no:yes:* )
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2144 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2146 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2148 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2150 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2152 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2154 esac
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2156 $as_echo_n "checking for $2... " >&6; }
2157 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2158 $as_echo_n "(cached) " >&6
2159 else
2160 eval "$3=\$ac_header_compiler"
2162 eval ac_res=\$$3
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2164 $as_echo "$ac_res" >&6; }
2166 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2168 } # ac_fn_c_check_header_mongrel
2170 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2171 # ---------------------------------------------------------
2172 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2173 # the include files in INCLUDES and setting the cache variable VAR
2174 # accordingly.
2175 ac_fn_cxx_check_header_mongrel ()
2177 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2178 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2180 $as_echo_n "checking for $2... " >&6; }
2181 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2182 $as_echo_n "(cached) " >&6
2184 eval ac_res=\$$3
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2186 $as_echo "$ac_res" >&6; }
2187 else
2188 # Is the header compilable?
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2190 $as_echo_n "checking $2 usability... " >&6; }
2191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2192 /* end confdefs.h. */
2194 #include <$2>
2195 _ACEOF
2196 if ac_fn_cxx_try_compile "$LINENO"; then :
2197 ac_header_compiler=yes
2198 else
2199 ac_header_compiler=no
2201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2203 $as_echo "$ac_header_compiler" >&6; }
2205 # Is the header present?
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2207 $as_echo_n "checking $2 presence... " >&6; }
2208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2210 #include <$2>
2211 _ACEOF
2212 if ac_fn_cxx_try_cpp "$LINENO"; then :
2213 ac_header_preproc=yes
2214 else
2215 ac_header_preproc=no
2217 rm -f conftest.err conftest.$ac_ext
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2219 $as_echo "$ac_header_preproc" >&6; }
2221 # So? What about this header?
2222 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2223 yes:no: )
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2225 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2227 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2229 no:yes:* )
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2231 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2233 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2235 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2237 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2239 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2241 esac
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2243 $as_echo_n "checking for $2... " >&6; }
2244 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2245 $as_echo_n "(cached) " >&6
2246 else
2247 eval "$3=\$ac_header_compiler"
2249 eval ac_res=\$$3
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2251 $as_echo "$ac_res" >&6; }
2253 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2255 } # ac_fn_cxx_check_header_mongrel
2257 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2258 # --------------------------------------------
2259 # Tries to find the compile-time value of EXPR in a program that includes
2260 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2261 # computed
2262 ac_fn_c_compute_int ()
2264 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2265 if test "$cross_compiling" = yes; then
2266 # Depending upon the size, compute the lo and hi bounds.
2267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2268 /* end confdefs.h. */
2271 main ()
2273 static int test_array [1 - 2 * !(($2) >= 0)];
2274 test_array [0] = 0
2277 return 0;
2279 _ACEOF
2280 if ac_fn_c_try_compile "$LINENO"; then :
2281 ac_lo=0 ac_mid=0
2282 while :; do
2283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2284 /* end confdefs.h. */
2287 main ()
2289 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2290 test_array [0] = 0
2293 return 0;
2295 _ACEOF
2296 if ac_fn_c_try_compile "$LINENO"; then :
2297 ac_hi=$ac_mid; break
2298 else
2299 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2300 if test $ac_lo -le $ac_mid; then
2301 ac_lo= ac_hi=
2302 break
2304 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2307 done
2308 else
2309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2310 /* end confdefs.h. */
2313 main ()
2315 static int test_array [1 - 2 * !(($2) < 0)];
2316 test_array [0] = 0
2319 return 0;
2321 _ACEOF
2322 if ac_fn_c_try_compile "$LINENO"; then :
2323 ac_hi=-1 ac_mid=-1
2324 while :; do
2325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h. */
2329 main ()
2331 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2332 test_array [0] = 0
2335 return 0;
2337 _ACEOF
2338 if ac_fn_c_try_compile "$LINENO"; then :
2339 ac_lo=$ac_mid; break
2340 else
2341 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2342 if test $ac_mid -le $ac_hi; then
2343 ac_lo= ac_hi=
2344 break
2346 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2349 done
2350 else
2351 ac_lo= ac_hi=
2353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2356 # Binary search between lo and hi bounds.
2357 while test "x$ac_lo" != "x$ac_hi"; do
2358 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2360 /* end confdefs.h. */
2363 main ()
2365 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2366 test_array [0] = 0
2369 return 0;
2371 _ACEOF
2372 if ac_fn_c_try_compile "$LINENO"; then :
2373 ac_hi=$ac_mid
2374 else
2375 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2378 done
2379 case $ac_lo in #((
2380 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2381 '') ac_retval=1 ;;
2382 esac
2383 else
2384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2385 /* end confdefs.h. */
2387 static long int longval () { return $2; }
2388 static unsigned long int ulongval () { return $2; }
2389 #include <stdio.h>
2390 #include <stdlib.h>
2392 main ()
2395 FILE *f = fopen ("conftest.val", "w");
2396 if (! f)
2397 return 1;
2398 if (($2) < 0)
2400 long int i = longval ();
2401 if (i != ($2))
2402 return 1;
2403 fprintf (f, "%ld", i);
2405 else
2407 unsigned long int i = ulongval ();
2408 if (i != ($2))
2409 return 1;
2410 fprintf (f, "%lu", i);
2412 /* Do not output a trailing newline, as this causes \r\n confusion
2413 on some platforms. */
2414 return ferror (f) || fclose (f) != 0;
2417 return 0;
2419 _ACEOF
2420 if ac_fn_c_try_run "$LINENO"; then :
2421 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2422 else
2423 ac_retval=1
2425 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2426 conftest.$ac_objext conftest.beam conftest.$ac_ext
2427 rm -f conftest.val
2430 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2431 return $ac_retval
2433 } # ac_fn_c_compute_int
2435 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2436 # -------------------------------------------
2437 # Tests whether TYPE exists after having included INCLUDES, setting cache
2438 # variable VAR accordingly.
2439 ac_fn_c_check_type ()
2441 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2443 $as_echo_n "checking for $2... " >&6; }
2444 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2445 $as_echo_n "(cached) " >&6
2446 else
2447 eval "$3=no"
2448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2449 /* end confdefs.h. */
2452 main ()
2454 if (sizeof ($2))
2455 return 0;
2457 return 0;
2459 _ACEOF
2460 if ac_fn_c_try_compile "$LINENO"; then :
2461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2462 /* end confdefs.h. */
2465 main ()
2467 if (sizeof (($2)))
2468 return 0;
2470 return 0;
2472 _ACEOF
2473 if ac_fn_c_try_compile "$LINENO"; then :
2475 else
2476 eval "$3=yes"
2478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2482 eval ac_res=\$$3
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2484 $as_echo "$ac_res" >&6; }
2485 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2487 } # ac_fn_c_check_type
2488 cat >config.log <<_ACEOF
2489 This file contains any messages produced by compilers while
2490 running configure, to aid debugging if configure makes a mistake.
2492 It was created by package-unused $as_me version-unused, which was
2493 generated by GNU Autoconf 2.64. Invocation command line was
2495 $ $0 $@
2497 _ACEOF
2498 exec 5>>config.log
2500 cat <<_ASUNAME
2501 ## --------- ##
2502 ## Platform. ##
2503 ## --------- ##
2505 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2506 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2507 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2508 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2509 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2511 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2512 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2514 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2515 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2516 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2517 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2518 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2519 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2520 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2522 _ASUNAME
2524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2525 for as_dir in $PATH
2527 IFS=$as_save_IFS
2528 test -z "$as_dir" && as_dir=.
2529 $as_echo "PATH: $as_dir"
2530 done
2531 IFS=$as_save_IFS
2533 } >&5
2535 cat >&5 <<_ACEOF
2538 ## ----------- ##
2539 ## Core tests. ##
2540 ## ----------- ##
2542 _ACEOF
2545 # Keep a trace of the command line.
2546 # Strip out --no-create and --no-recursion so they do not pile up.
2547 # Strip out --silent because we don't want to record it for future runs.
2548 # Also quote any args containing shell meta-characters.
2549 # Make two passes to allow for proper duplicate-argument suppression.
2550 ac_configure_args=
2551 ac_configure_args0=
2552 ac_configure_args1=
2553 ac_must_keep_next=false
2554 for ac_pass in 1 2
2556 for ac_arg
2558 case $ac_arg in
2559 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2560 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2561 | -silent | --silent | --silen | --sile | --sil)
2562 continue ;;
2563 *\'*)
2564 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2565 esac
2566 case $ac_pass in
2567 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2569 as_fn_append ac_configure_args1 " '$ac_arg'"
2570 if test $ac_must_keep_next = true; then
2571 ac_must_keep_next=false # Got value, back to normal.
2572 else
2573 case $ac_arg in
2574 *=* | --config-cache | -C | -disable-* | --disable-* \
2575 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2576 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2577 | -with-* | --with-* | -without-* | --without-* | --x)
2578 case "$ac_configure_args0 " in
2579 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2580 esac
2582 -* ) ac_must_keep_next=true ;;
2583 esac
2585 as_fn_append ac_configure_args " '$ac_arg'"
2587 esac
2588 done
2589 done
2590 { ac_configure_args0=; unset ac_configure_args0;}
2591 { ac_configure_args1=; unset ac_configure_args1;}
2593 # When interrupted or exit'd, cleanup temporary files, and complete
2594 # config.log. We remove comments because anyway the quotes in there
2595 # would cause problems or look ugly.
2596 # WARNING: Use '\'' to represent an apostrophe within the trap.
2597 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2598 trap 'exit_status=$?
2599 # Save into config.log some information that might help in debugging.
2601 echo
2603 cat <<\_ASBOX
2604 ## ---------------- ##
2605 ## Cache variables. ##
2606 ## ---------------- ##
2607 _ASBOX
2608 echo
2609 # The following way of writing the cache mishandles newlines in values,
2611 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2612 eval ac_val=\$$ac_var
2613 case $ac_val in #(
2614 *${as_nl}*)
2615 case $ac_var in #(
2616 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2617 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2618 esac
2619 case $ac_var in #(
2620 _ | IFS | as_nl) ;; #(
2621 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2622 *) { eval $ac_var=; unset $ac_var;} ;;
2623 esac ;;
2624 esac
2625 done
2626 (set) 2>&1 |
2627 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2628 *${as_nl}ac_space=\ *)
2629 sed -n \
2630 "s/'\''/'\''\\\\'\'''\''/g;
2631 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2632 ;; #(
2634 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2636 esac |
2637 sort
2639 echo
2641 cat <<\_ASBOX
2642 ## ----------------- ##
2643 ## Output variables. ##
2644 ## ----------------- ##
2645 _ASBOX
2646 echo
2647 for ac_var in $ac_subst_vars
2649 eval ac_val=\$$ac_var
2650 case $ac_val in
2651 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2652 esac
2653 $as_echo "$ac_var='\''$ac_val'\''"
2654 done | sort
2655 echo
2657 if test -n "$ac_subst_files"; then
2658 cat <<\_ASBOX
2659 ## ------------------- ##
2660 ## File substitutions. ##
2661 ## ------------------- ##
2662 _ASBOX
2663 echo
2664 for ac_var in $ac_subst_files
2666 eval ac_val=\$$ac_var
2667 case $ac_val in
2668 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2669 esac
2670 $as_echo "$ac_var='\''$ac_val'\''"
2671 done | sort
2672 echo
2675 if test -s confdefs.h; then
2676 cat <<\_ASBOX
2677 ## ----------- ##
2678 ## confdefs.h. ##
2679 ## ----------- ##
2680 _ASBOX
2681 echo
2682 cat confdefs.h
2683 echo
2685 test "$ac_signal" != 0 &&
2686 $as_echo "$as_me: caught signal $ac_signal"
2687 $as_echo "$as_me: exit $exit_status"
2688 } >&5
2689 rm -f core *.core core.conftest.* &&
2690 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2691 exit $exit_status
2693 for ac_signal in 1 2 13 15; do
2694 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2695 done
2696 ac_signal=0
2698 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2699 rm -f -r conftest* confdefs.h
2701 $as_echo "/* confdefs.h */" > confdefs.h
2703 # Predefined preprocessor variables.
2705 cat >>confdefs.h <<_ACEOF
2706 #define PACKAGE_NAME "$PACKAGE_NAME"
2707 _ACEOF
2709 cat >>confdefs.h <<_ACEOF
2710 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2711 _ACEOF
2713 cat >>confdefs.h <<_ACEOF
2714 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2715 _ACEOF
2717 cat >>confdefs.h <<_ACEOF
2718 #define PACKAGE_STRING "$PACKAGE_STRING"
2719 _ACEOF
2721 cat >>confdefs.h <<_ACEOF
2722 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2723 _ACEOF
2725 cat >>confdefs.h <<_ACEOF
2726 #define PACKAGE_URL "$PACKAGE_URL"
2727 _ACEOF
2730 # Let the site file select an alternate cache file if it wants to.
2731 # Prefer an explicitly selected file to automatically selected ones.
2732 ac_site_file1=NONE
2733 ac_site_file2=NONE
2734 if test -n "$CONFIG_SITE"; then
2735 ac_site_file1=$CONFIG_SITE
2736 elif test "x$prefix" != xNONE; then
2737 ac_site_file1=$prefix/share/config.site
2738 ac_site_file2=$prefix/etc/config.site
2739 else
2740 ac_site_file1=$ac_default_prefix/share/config.site
2741 ac_site_file2=$ac_default_prefix/etc/config.site
2743 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2745 test "x$ac_site_file" = xNONE && continue
2746 if test -r "$ac_site_file"; then
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2748 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2749 sed 's/^/| /' "$ac_site_file" >&5
2750 . "$ac_site_file"
2752 done
2754 if test -r "$cache_file"; then
2755 # Some versions of bash will fail to source /dev/null (special
2756 # files actually), so we avoid doing that.
2757 if test -f "$cache_file"; then
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2759 $as_echo "$as_me: loading cache $cache_file" >&6;}
2760 case $cache_file in
2761 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2762 *) . "./$cache_file";;
2763 esac
2765 else
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2767 $as_echo "$as_me: creating cache $cache_file" >&6;}
2768 >$cache_file
2771 # Check that the precious variables saved in the cache have kept the same
2772 # value.
2773 ac_cache_corrupted=false
2774 for ac_var in $ac_precious_vars; do
2775 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2776 eval ac_new_set=\$ac_env_${ac_var}_set
2777 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2778 eval ac_new_val=\$ac_env_${ac_var}_value
2779 case $ac_old_set,$ac_new_set in
2780 set,)
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2782 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2783 ac_cache_corrupted=: ;;
2784 ,set)
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2786 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2787 ac_cache_corrupted=: ;;
2788 ,);;
2790 if test "x$ac_old_val" != "x$ac_new_val"; then
2791 # differences in whitespace do not lead to failure.
2792 ac_old_val_w=`echo x $ac_old_val`
2793 ac_new_val_w=`echo x $ac_new_val`
2794 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2796 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2797 ac_cache_corrupted=:
2798 else
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2800 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2801 eval $ac_var=\$ac_old_val
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2804 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2806 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2807 fi;;
2808 esac
2809 # Pass precious variables to config.status.
2810 if test "$ac_new_set" = set; then
2811 case $ac_new_val in
2812 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2813 *) ac_arg=$ac_var=$ac_new_val ;;
2814 esac
2815 case " $ac_configure_args " in
2816 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2817 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2818 esac
2820 done
2821 if $ac_cache_corrupted; then
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2823 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2825 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2826 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2828 ## -------------------- ##
2829 ## Main body of script. ##
2830 ## -------------------- ##
2832 ac_ext=c
2833 ac_cpp='$CPP $CPPFLAGS'
2834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2843 ac_config_headers="$ac_config_headers config.h"
2846 # This works around the fact that libtool configuration may change LD
2847 # for this particular configuration, but some shells, instead of
2848 # keeping the changes in LD private, export them just because LD is
2849 # exported. Only used at the end of this file.
2850 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2852 # Find the rest of the source tree framework.
2853 # Default to --enable-multilib
2854 # Check whether --enable-multilib was given.
2855 if test "${enable_multilib+set}" = set; then :
2856 enableval=$enable_multilib; case "$enableval" in
2857 yes) multilib=yes ;;
2858 no) multilib=no ;;
2859 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2860 esac
2861 else
2862 multilib=yes
2866 # We may get other options which we leave undocumented:
2867 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2868 # See config-ml.in if you want the gory details.
2870 if test "$srcdir" = "."; then
2871 if test "$with_target_subdir" != "."; then
2872 multi_basedir="$srcdir/$with_multisrctop../.."
2873 else
2874 multi_basedir="$srcdir/$with_multisrctop.."
2876 else
2877 multi_basedir="$srcdir/.."
2881 # Even if the default multilib is not a cross compilation,
2882 # it may be that some of the other multilibs are.
2883 if test $cross_compiling = no && test $multilib = yes \
2884 && test "x${with_multisubdir}" != x ; then
2885 cross_compiling=maybe
2888 ac_config_commands="$ac_config_commands default-1"
2891 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2893 # You will slowly go insane if you do not grok the following fact: when
2894 # building v3 as part of the compiler, the top-level /target/ becomes the
2895 # library's /host/. configure then causes --target to default to --host,
2896 # exactly like any other package using autoconf. Therefore, 'target' and
2897 # 'host' will always be the same. This makes sense both for native and
2898 # cross compilers, just think about it for a little while. :-)
2900 # Also, if v3 is being configured as part of a cross compiler, the top-level
2901 # configure script will pass the "real" host as $with_cross_host.
2903 # Do not delete or change the following two lines. For why, see
2904 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2905 ac_aux_dir=
2906 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2907 for ac_t in install-sh install.sh shtool; do
2908 if test -f "$ac_dir/$ac_t"; then
2909 ac_aux_dir=$ac_dir
2910 ac_install_sh="$ac_aux_dir/$ac_t -c"
2911 break 2
2913 done
2914 done
2915 if test -z "$ac_aux_dir"; then
2916 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2919 # These three variables are undocumented and unsupported,
2920 # and are intended to be withdrawn in a future Autoconf release.
2921 # They can cause serious problems if a builder's source tree is in a directory
2922 # whose full name contains unusual characters.
2923 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2924 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2925 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2928 # Make sure we can run config.sub.
2929 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2930 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2933 $as_echo_n "checking build system type... " >&6; }
2934 if test "${ac_cv_build+set}" = set; then :
2935 $as_echo_n "(cached) " >&6
2936 else
2937 ac_build_alias=$build_alias
2938 test "x$ac_build_alias" = x &&
2939 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2940 test "x$ac_build_alias" = x &&
2941 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2942 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2943 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2947 $as_echo "$ac_cv_build" >&6; }
2948 case $ac_cv_build in
2949 *-*-*) ;;
2950 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2951 esac
2952 build=$ac_cv_build
2953 ac_save_IFS=$IFS; IFS='-'
2954 set x $ac_cv_build
2955 shift
2956 build_cpu=$1
2957 build_vendor=$2
2958 shift; shift
2959 # Remember, the first character of IFS is used to create $*,
2960 # except with old shells:
2961 build_os=$*
2962 IFS=$ac_save_IFS
2963 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2967 $as_echo_n "checking host system type... " >&6; }
2968 if test "${ac_cv_host+set}" = set; then :
2969 $as_echo_n "(cached) " >&6
2970 else
2971 if test "x$host_alias" = x; then
2972 ac_cv_host=$ac_cv_build
2973 else
2974 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2975 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2980 $as_echo "$ac_cv_host" >&6; }
2981 case $ac_cv_host in
2982 *-*-*) ;;
2983 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2984 esac
2985 host=$ac_cv_host
2986 ac_save_IFS=$IFS; IFS='-'
2987 set x $ac_cv_host
2988 shift
2989 host_cpu=$1
2990 host_vendor=$2
2991 shift; shift
2992 # Remember, the first character of IFS is used to create $*,
2993 # except with old shells:
2994 host_os=$*
2995 IFS=$ac_save_IFS
2996 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3000 $as_echo_n "checking target system type... " >&6; }
3001 if test "${ac_cv_target+set}" = set; then :
3002 $as_echo_n "(cached) " >&6
3003 else
3004 if test "x$target_alias" = x; then
3005 ac_cv_target=$ac_cv_host
3006 else
3007 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3008 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3013 $as_echo "$ac_cv_target" >&6; }
3014 case $ac_cv_target in
3015 *-*-*) ;;
3016 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3017 esac
3018 target=$ac_cv_target
3019 ac_save_IFS=$IFS; IFS='-'
3020 set x $ac_cv_target
3021 shift
3022 target_cpu=$1
3023 target_vendor=$2
3024 shift; shift
3025 # Remember, the first character of IFS is used to create $*,
3026 # except with old shells:
3027 target_os=$*
3028 IFS=$ac_save_IFS
3029 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3032 # The aliases save the names the user supplied, while $host etc.
3033 # will get canonicalized.
3034 test -n "$target_alias" &&
3035 test "$program_prefix$program_suffix$program_transform_name" = \
3036 NONENONEs,x,x, &&
3037 program_prefix=${target_alias}-
3039 target_alias=${target_alias-$host_alias}
3041 # Handy for debugging:
3042 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3044 if test "$build" != "$host"; then
3045 # We are being configured with some form of cross compiler.
3046 GLIBCXX_IS_NATIVE=false
3047 case "$host","$target" in
3048 # Darwin crosses can use the host system's libraries and headers,
3049 # because of the fat library support. Of course, it must be the
3050 # same version of Darwin on both sides. Allow the user to
3051 # just say --target=foo-darwin without a version number to mean
3052 # "the version on this system".
3053 *-*-darwin*,*-*-darwin*)
3054 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3055 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3056 if test $hostos = $targetos -o $targetos = darwin ; then
3057 GLIBCXX_IS_NATIVE=true
3064 esac
3065 else
3066 GLIBCXX_IS_NATIVE=true
3069 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3070 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3071 # 1.x: minimum required version
3072 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3073 # of other PACKAGE_* variables will, however, and there's nothing
3074 # we can do about that; they come from AC_INIT).
3075 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3076 # file in the top srcdir, etc, etc), so stop complaining.
3077 # no-dependencies: turns off auto dependency generation (just for now)
3078 # no-dist: we don't want 'dist' and related rules.
3079 # -Wall: turns on all automake warnings...
3080 # -Wno-portability: ...except this one, since GNU make is now required.
3081 am__api_version='1.11'
3083 # Find a good install program. We prefer a C program (faster),
3084 # so one script is as good as another. But avoid the broken or
3085 # incompatible versions:
3086 # SysV /etc/install, /usr/sbin/install
3087 # SunOS /usr/etc/install
3088 # IRIX /sbin/install
3089 # AIX /bin/install
3090 # AmigaOS /C/install, which installs bootblocks on floppy discs
3091 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3092 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3093 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3094 # OS/2's system install, which has a completely different semantic
3095 # ./install, which can be erroneously created by make from ./install.sh.
3096 # Reject install programs that cannot install multiple files.
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3098 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3099 if test -z "$INSTALL"; then
3100 if test "${ac_cv_path_install+set}" = set; then :
3101 $as_echo_n "(cached) " >&6
3102 else
3103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3104 for as_dir in $PATH
3106 IFS=$as_save_IFS
3107 test -z "$as_dir" && as_dir=.
3108 # Account for people who put trailing slashes in PATH elements.
3109 case $as_dir/ in #((
3110 ./ | .// | /[cC]/* | \
3111 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3112 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3113 /usr/ucb/* ) ;;
3115 # OSF1 and SCO ODT 3.0 have their own names for install.
3116 # Don't use installbsd from OSF since it installs stuff as root
3117 # by default.
3118 for ac_prog in ginstall scoinst install; do
3119 for ac_exec_ext in '' $ac_executable_extensions; do
3120 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3121 if test $ac_prog = install &&
3122 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3123 # AIX install. It has an incompatible calling convention.
3125 elif test $ac_prog = install &&
3126 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3127 # program-specific install script used by HP pwplus--don't use.
3129 else
3130 rm -rf conftest.one conftest.two conftest.dir
3131 echo one > conftest.one
3132 echo two > conftest.two
3133 mkdir conftest.dir
3134 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3135 test -s conftest.one && test -s conftest.two &&
3136 test -s conftest.dir/conftest.one &&
3137 test -s conftest.dir/conftest.two
3138 then
3139 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3140 break 3
3144 done
3145 done
3147 esac
3149 done
3150 IFS=$as_save_IFS
3152 rm -rf conftest.one conftest.two conftest.dir
3155 if test "${ac_cv_path_install+set}" = set; then
3156 INSTALL=$ac_cv_path_install
3157 else
3158 # As a last resort, use the slow shell script. Don't cache a
3159 # value for INSTALL within a source directory, because that will
3160 # break other packages using the cache if that directory is
3161 # removed, or if the value is a relative name.
3162 INSTALL=$ac_install_sh
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3166 $as_echo "$INSTALL" >&6; }
3168 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3169 # It thinks the first close brace ends the variable substitution.
3170 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3172 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3174 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3177 $as_echo_n "checking whether build environment is sane... " >&6; }
3178 # Just in case
3179 sleep 1
3180 echo timestamp > conftest.file
3181 # Reject unsafe characters in $srcdir or the absolute working directory
3182 # name. Accept space and tab only in the latter.
3183 am_lf='
3185 case `pwd` in
3186 *[\\\"\#\$\&\'\`$am_lf]*)
3187 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3188 esac
3189 case $srcdir in
3190 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3191 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3192 esac
3194 # Do `set' in a subshell so we don't clobber the current shell's
3195 # arguments. Must try -L first in case configure is actually a
3196 # symlink; some systems play weird games with the mod time of symlinks
3197 # (eg FreeBSD returns the mod time of the symlink's containing
3198 # directory).
3199 if (
3200 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3201 if test "$*" = "X"; then
3202 # -L didn't work.
3203 set X `ls -t "$srcdir/configure" conftest.file`
3205 rm -f conftest.file
3206 if test "$*" != "X $srcdir/configure conftest.file" \
3207 && test "$*" != "X conftest.file $srcdir/configure"; then
3209 # If neither matched, then we have a broken ls. This can happen
3210 # if, for instance, CONFIG_SHELL is bash and it inherits a
3211 # broken ls alias from the environment. This has actually
3212 # happened. Such a system could not be considered "sane".
3213 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3214 alias in your environment" "$LINENO" 5
3217 test "$2" = conftest.file
3219 then
3220 # Ok.
3222 else
3223 as_fn_error "newly created file is older than distributed files!
3224 Check your system clock" "$LINENO" 5
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3227 $as_echo "yes" >&6; }
3228 test "$program_prefix" != NONE &&
3229 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3230 # Use a double $ so make ignores it.
3231 test "$program_suffix" != NONE &&
3232 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3233 # Double any \ or $.
3234 # By default was `s,x,x', remove it if useless.
3235 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3236 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3238 # expand $ac_aux_dir to an absolute path
3239 am_aux_dir=`cd $ac_aux_dir && pwd`
3241 if test x"${MISSING+set}" != xset; then
3242 case $am_aux_dir in
3243 *\ * | *\ *)
3244 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3246 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3247 esac
3249 # Use eval to expand $SHELL
3250 if eval "$MISSING --run true"; then
3251 am_missing_run="$MISSING --run "
3252 else
3253 am_missing_run=
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3255 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3258 if test x"${install_sh}" != xset; then
3259 case $am_aux_dir in
3260 *\ * | *\ *)
3261 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3263 install_sh="\${SHELL} $am_aux_dir/install-sh"
3264 esac
3267 # Installed binaries are usually stripped using `strip' when the user
3268 # run `make install-strip'. However `strip' might not be the right
3269 # tool to use in cross-compilation environments, therefore Automake
3270 # will honor the `STRIP' environment variable to overrule this program.
3271 if test "$cross_compiling" != no; then
3272 if test -n "$ac_tool_prefix"; then
3273 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3274 set dummy ${ac_tool_prefix}strip; ac_word=$2
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3276 $as_echo_n "checking for $ac_word... " >&6; }
3277 if test "${ac_cv_prog_STRIP+set}" = set; then :
3278 $as_echo_n "(cached) " >&6
3279 else
3280 if test -n "$STRIP"; then
3281 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3282 else
3283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3284 for as_dir in $PATH
3286 IFS=$as_save_IFS
3287 test -z "$as_dir" && as_dir=.
3288 for ac_exec_ext in '' $ac_executable_extensions; do
3289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3290 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3292 break 2
3294 done
3295 done
3296 IFS=$as_save_IFS
3300 STRIP=$ac_cv_prog_STRIP
3301 if test -n "$STRIP"; then
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3303 $as_echo "$STRIP" >&6; }
3304 else
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3306 $as_echo "no" >&6; }
3311 if test -z "$ac_cv_prog_STRIP"; then
3312 ac_ct_STRIP=$STRIP
3313 # Extract the first word of "strip", so it can be a program name with args.
3314 set dummy strip; ac_word=$2
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3316 $as_echo_n "checking for $ac_word... " >&6; }
3317 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3318 $as_echo_n "(cached) " >&6
3319 else
3320 if test -n "$ac_ct_STRIP"; then
3321 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3322 else
3323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3324 for as_dir in $PATH
3326 IFS=$as_save_IFS
3327 test -z "$as_dir" && as_dir=.
3328 for ac_exec_ext in '' $ac_executable_extensions; do
3329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3330 ac_cv_prog_ac_ct_STRIP="strip"
3331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3332 break 2
3334 done
3335 done
3336 IFS=$as_save_IFS
3340 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3341 if test -n "$ac_ct_STRIP"; then
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3343 $as_echo "$ac_ct_STRIP" >&6; }
3344 else
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3346 $as_echo "no" >&6; }
3349 if test "x$ac_ct_STRIP" = x; then
3350 STRIP=":"
3351 else
3352 case $cross_compiling:$ac_tool_warned in
3353 yes:)
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3356 ac_tool_warned=yes ;;
3357 esac
3358 STRIP=$ac_ct_STRIP
3360 else
3361 STRIP="$ac_cv_prog_STRIP"
3365 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3368 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3369 if test -z "$MKDIR_P"; then
3370 if test "${ac_cv_path_mkdir+set}" = set; then :
3371 $as_echo_n "(cached) " >&6
3372 else
3373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3374 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3376 IFS=$as_save_IFS
3377 test -z "$as_dir" && as_dir=.
3378 for ac_prog in mkdir gmkdir; do
3379 for ac_exec_ext in '' $ac_executable_extensions; do
3380 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3381 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3382 'mkdir (GNU coreutils) '* | \
3383 'mkdir (coreutils) '* | \
3384 'mkdir (fileutils) '4.1*)
3385 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3386 break 3;;
3387 esac
3388 done
3389 done
3390 done
3391 IFS=$as_save_IFS
3395 if test "${ac_cv_path_mkdir+set}" = set; then
3396 MKDIR_P="$ac_cv_path_mkdir -p"
3397 else
3398 # As a last resort, use the slow shell script. Don't cache a
3399 # value for MKDIR_P within a source directory, because that will
3400 # break other packages using the cache if that directory is
3401 # removed, or if the value is a relative name.
3402 test -d ./--version && rmdir ./--version
3403 MKDIR_P="$ac_install_sh -d"
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3407 $as_echo "$MKDIR_P" >&6; }
3409 mkdir_p="$MKDIR_P"
3410 case $mkdir_p in
3411 [\\/$]* | ?:[\\/]*) ;;
3412 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3413 esac
3415 for ac_prog in gawk mawk nawk awk
3417 # Extract the first word of "$ac_prog", so it can be a program name with args.
3418 set dummy $ac_prog; ac_word=$2
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3420 $as_echo_n "checking for $ac_word... " >&6; }
3421 if test "${ac_cv_prog_AWK+set}" = set; then :
3422 $as_echo_n "(cached) " >&6
3423 else
3424 if test -n "$AWK"; then
3425 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3426 else
3427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3428 for as_dir in $PATH
3430 IFS=$as_save_IFS
3431 test -z "$as_dir" && as_dir=.
3432 for ac_exec_ext in '' $ac_executable_extensions; do
3433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3434 ac_cv_prog_AWK="$ac_prog"
3435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3436 break 2
3438 done
3439 done
3440 IFS=$as_save_IFS
3444 AWK=$ac_cv_prog_AWK
3445 if test -n "$AWK"; then
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3447 $as_echo "$AWK" >&6; }
3448 else
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3450 $as_echo "no" >&6; }
3454 test -n "$AWK" && break
3455 done
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3458 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3459 set x ${MAKE-make}
3460 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3461 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3462 $as_echo_n "(cached) " >&6
3463 else
3464 cat >conftest.make <<\_ACEOF
3465 SHELL = /bin/sh
3466 all:
3467 @echo '@@@%%%=$(MAKE)=@@@%%%'
3468 _ACEOF
3469 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3470 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3471 *@@@%%%=?*=@@@%%%*)
3472 eval ac_cv_prog_make_${ac_make}_set=yes;;
3474 eval ac_cv_prog_make_${ac_make}_set=no;;
3475 esac
3476 rm -f conftest.make
3478 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3480 $as_echo "yes" >&6; }
3481 SET_MAKE=
3482 else
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3484 $as_echo "no" >&6; }
3485 SET_MAKE="MAKE=${MAKE-make}"
3488 rm -rf .tst 2>/dev/null
3489 mkdir .tst 2>/dev/null
3490 if test -d .tst; then
3491 am__leading_dot=.
3492 else
3493 am__leading_dot=_
3495 rmdir .tst 2>/dev/null
3497 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3498 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3499 # is not polluted with repeated "-I."
3500 am__isrc=' -I$(srcdir)'
3501 # test to see if srcdir already configured
3502 if test -f $srcdir/config.status; then
3503 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3507 # test whether we have cygpath
3508 if test -z "$CYGPATH_W"; then
3509 if (cygpath --version) >/dev/null 2>/dev/null; then
3510 CYGPATH_W='cygpath -w'
3511 else
3512 CYGPATH_W=echo
3517 # Define the identity of the package.
3518 PACKAGE='libstdc++'
3519 VERSION='version-unused'
3522 # Some tools Automake needs.
3524 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3527 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3530 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3533 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3536 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3538 # We need awk for the "check" target. The system "awk" is bad on
3539 # some platforms.
3540 # Always define AMTAR for backward compatibility.
3542 AMTAR=${AMTAR-"${am_missing_run}tar"}
3544 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3553 # -fno-builtin must be present here so that a non-conflicting form of
3554 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3556 save_CXXFLAGS="$CXXFLAGS"
3557 CXXFLAGS="$CXXFLAGS -fno-builtin"
3558 ac_ext=c
3559 ac_cpp='$CPP $CPPFLAGS'
3560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3563 if test -n "$ac_tool_prefix"; then
3564 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3565 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3567 $as_echo_n "checking for $ac_word... " >&6; }
3568 if test "${ac_cv_prog_CC+set}" = set; then :
3569 $as_echo_n "(cached) " >&6
3570 else
3571 if test -n "$CC"; then
3572 ac_cv_prog_CC="$CC" # Let the user override the test.
3573 else
3574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3575 for as_dir in $PATH
3577 IFS=$as_save_IFS
3578 test -z "$as_dir" && as_dir=.
3579 for ac_exec_ext in '' $ac_executable_extensions; do
3580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3581 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3583 break 2
3585 done
3586 done
3587 IFS=$as_save_IFS
3591 CC=$ac_cv_prog_CC
3592 if test -n "$CC"; then
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3594 $as_echo "$CC" >&6; }
3595 else
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3597 $as_echo "no" >&6; }
3602 if test -z "$ac_cv_prog_CC"; then
3603 ac_ct_CC=$CC
3604 # Extract the first word of "gcc", so it can be a program name with args.
3605 set dummy gcc; ac_word=$2
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3607 $as_echo_n "checking for $ac_word... " >&6; }
3608 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3609 $as_echo_n "(cached) " >&6
3610 else
3611 if test -n "$ac_ct_CC"; then
3612 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3613 else
3614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3615 for as_dir in $PATH
3617 IFS=$as_save_IFS
3618 test -z "$as_dir" && as_dir=.
3619 for ac_exec_ext in '' $ac_executable_extensions; do
3620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3621 ac_cv_prog_ac_ct_CC="gcc"
3622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3623 break 2
3625 done
3626 done
3627 IFS=$as_save_IFS
3631 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3632 if test -n "$ac_ct_CC"; then
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3634 $as_echo "$ac_ct_CC" >&6; }
3635 else
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3637 $as_echo "no" >&6; }
3640 if test "x$ac_ct_CC" = x; then
3641 CC=""
3642 else
3643 case $cross_compiling:$ac_tool_warned in
3644 yes:)
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3647 ac_tool_warned=yes ;;
3648 esac
3649 CC=$ac_ct_CC
3651 else
3652 CC="$ac_cv_prog_CC"
3655 if test -z "$CC"; then
3656 if test -n "$ac_tool_prefix"; then
3657 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3658 set dummy ${ac_tool_prefix}cc; ac_word=$2
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3660 $as_echo_n "checking for $ac_word... " >&6; }
3661 if test "${ac_cv_prog_CC+set}" = set; then :
3662 $as_echo_n "(cached) " >&6
3663 else
3664 if test -n "$CC"; then
3665 ac_cv_prog_CC="$CC" # Let the user override the test.
3666 else
3667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3668 for as_dir in $PATH
3670 IFS=$as_save_IFS
3671 test -z "$as_dir" && as_dir=.
3672 for ac_exec_ext in '' $ac_executable_extensions; do
3673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3674 ac_cv_prog_CC="${ac_tool_prefix}cc"
3675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3676 break 2
3678 done
3679 done
3680 IFS=$as_save_IFS
3684 CC=$ac_cv_prog_CC
3685 if test -n "$CC"; then
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3687 $as_echo "$CC" >&6; }
3688 else
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 $as_echo "no" >&6; }
3696 if test -z "$CC"; then
3697 # Extract the first word of "cc", so it can be a program name with args.
3698 set dummy cc; ac_word=$2
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3700 $as_echo_n "checking for $ac_word... " >&6; }
3701 if test "${ac_cv_prog_CC+set}" = set; then :
3702 $as_echo_n "(cached) " >&6
3703 else
3704 if test -n "$CC"; then
3705 ac_cv_prog_CC="$CC" # Let the user override the test.
3706 else
3707 ac_prog_rejected=no
3708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3709 for as_dir in $PATH
3711 IFS=$as_save_IFS
3712 test -z "$as_dir" && as_dir=.
3713 for ac_exec_ext in '' $ac_executable_extensions; do
3714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3715 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3716 ac_prog_rejected=yes
3717 continue
3719 ac_cv_prog_CC="cc"
3720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3721 break 2
3723 done
3724 done
3725 IFS=$as_save_IFS
3727 if test $ac_prog_rejected = yes; then
3728 # We found a bogon in the path, so make sure we never use it.
3729 set dummy $ac_cv_prog_CC
3730 shift
3731 if test $# != 0; then
3732 # We chose a different compiler from the bogus one.
3733 # However, it has the same basename, so the bogon will be chosen
3734 # first if we set CC to just the basename; use the full file name.
3735 shift
3736 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3741 CC=$ac_cv_prog_CC
3742 if test -n "$CC"; then
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3744 $as_echo "$CC" >&6; }
3745 else
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3747 $as_echo "no" >&6; }
3752 if test -z "$CC"; then
3753 if test -n "$ac_tool_prefix"; then
3754 for ac_prog in cl.exe
3756 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3757 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3759 $as_echo_n "checking for $ac_word... " >&6; }
3760 if test "${ac_cv_prog_CC+set}" = set; then :
3761 $as_echo_n "(cached) " >&6
3762 else
3763 if test -n "$CC"; then
3764 ac_cv_prog_CC="$CC" # Let the user override the test.
3765 else
3766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3767 for as_dir in $PATH
3769 IFS=$as_save_IFS
3770 test -z "$as_dir" && as_dir=.
3771 for ac_exec_ext in '' $ac_executable_extensions; do
3772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3773 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3775 break 2
3777 done
3778 done
3779 IFS=$as_save_IFS
3783 CC=$ac_cv_prog_CC
3784 if test -n "$CC"; then
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3786 $as_echo "$CC" >&6; }
3787 else
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3789 $as_echo "no" >&6; }
3793 test -n "$CC" && break
3794 done
3796 if test -z "$CC"; then
3797 ac_ct_CC=$CC
3798 for ac_prog in cl.exe
3800 # Extract the first word of "$ac_prog", so it can be a program name with args.
3801 set dummy $ac_prog; ac_word=$2
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3803 $as_echo_n "checking for $ac_word... " >&6; }
3804 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3805 $as_echo_n "(cached) " >&6
3806 else
3807 if test -n "$ac_ct_CC"; then
3808 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3809 else
3810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3811 for as_dir in $PATH
3813 IFS=$as_save_IFS
3814 test -z "$as_dir" && as_dir=.
3815 for ac_exec_ext in '' $ac_executable_extensions; do
3816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3817 ac_cv_prog_ac_ct_CC="$ac_prog"
3818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3819 break 2
3821 done
3822 done
3823 IFS=$as_save_IFS
3827 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3828 if test -n "$ac_ct_CC"; then
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3830 $as_echo "$ac_ct_CC" >&6; }
3831 else
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3833 $as_echo "no" >&6; }
3837 test -n "$ac_ct_CC" && break
3838 done
3840 if test "x$ac_ct_CC" = x; then
3841 CC=""
3842 else
3843 case $cross_compiling:$ac_tool_warned in
3844 yes:)
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3847 ac_tool_warned=yes ;;
3848 esac
3849 CC=$ac_ct_CC
3856 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3858 as_fn_error "no acceptable C compiler found in \$PATH
3859 See \`config.log' for more details." "$LINENO" 5; }
3861 # Provide some information about the compiler.
3862 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3863 set X $ac_compile
3864 ac_compiler=$2
3865 for ac_option in --version -v -V -qversion; do
3866 { { ac_try="$ac_compiler $ac_option >&5"
3867 case "(($ac_try" in
3868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3869 *) ac_try_echo=$ac_try;;
3870 esac
3871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3872 $as_echo "$ac_try_echo"; } >&5
3873 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3874 ac_status=$?
3875 if test -s conftest.err; then
3876 sed '10a\
3877 ... rest of stderr output deleted ...
3878 10q' conftest.err >conftest.er1
3879 cat conftest.er1 >&5
3880 rm -f conftest.er1 conftest.err
3882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3883 test $ac_status = 0; }
3884 done
3886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h. */
3890 main ()
3894 return 0;
3896 _ACEOF
3897 # FIXME: Cleanup?
3898 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3899 (eval $ac_link) 2>&5
3900 ac_status=$?
3901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3902 test $ac_status = 0; }; then :
3903 gcc_no_link=no
3904 else
3905 gcc_no_link=yes
3907 if test x$gcc_no_link = xyes; then
3908 # Setting cross_compile will disable run tests; it will
3909 # also disable AC_CHECK_FILE but that's generally
3910 # correct if we can't link.
3911 cross_compiling=yes
3912 EXEEXT=
3913 else
3914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915 /* end confdefs.h. */
3918 main ()
3922 return 0;
3924 _ACEOF
3925 ac_clean_files_save=$ac_clean_files
3926 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3927 # Try to create an executable without -o first, disregard a.out.
3928 # It will help us diagnose broken compilers, and finding out an intuition
3929 # of exeext.
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3931 $as_echo_n "checking for C compiler default output file name... " >&6; }
3932 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3934 # The possible output files:
3935 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3937 ac_rmfiles=
3938 for ac_file in $ac_files
3940 case $ac_file in
3941 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3942 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3943 esac
3944 done
3945 rm -f $ac_rmfiles
3947 if { { ac_try="$ac_link_default"
3948 case "(($ac_try" in
3949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3950 *) ac_try_echo=$ac_try;;
3951 esac
3952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3953 $as_echo "$ac_try_echo"; } >&5
3954 (eval "$ac_link_default") 2>&5
3955 ac_status=$?
3956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3957 test $ac_status = 0; }; then :
3958 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3959 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3960 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3961 # so that the user can short-circuit this test for compilers unknown to
3962 # Autoconf.
3963 for ac_file in $ac_files ''
3965 test -f "$ac_file" || continue
3966 case $ac_file in
3967 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3969 [ab].out )
3970 # We found the default executable, but exeext='' is most
3971 # certainly right.
3972 break;;
3973 *.* )
3974 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3975 then :; else
3976 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3978 # We set ac_cv_exeext here because the later test for it is not
3979 # safe: cross compilers may not add the suffix if given an `-o'
3980 # argument, so we may need to know it at that point already.
3981 # Even if this section looks crufty: it has the advantage of
3982 # actually working.
3983 break;;
3985 break;;
3986 esac
3987 done
3988 test "$ac_cv_exeext" = no && ac_cv_exeext=
3990 else
3991 ac_file=''
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3994 $as_echo "$ac_file" >&6; }
3995 if test -z "$ac_file"; then :
3996 $as_echo "$as_me: failed program was:" >&5
3997 sed 's/^/| /' conftest.$ac_ext >&5
3999 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4000 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4001 { as_fn_set_status 77
4002 as_fn_error "C compiler cannot create executables
4003 See \`config.log' for more details." "$LINENO" 5; }; }
4005 ac_exeext=$ac_cv_exeext
4007 # Check that the compiler produces executables we can run. If not, either
4008 # the compiler is broken, or we cross compile.
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4010 $as_echo_n "checking whether the C compiler works... " >&6; }
4011 # If not cross compiling, check that we can run a simple program.
4012 if test "$cross_compiling" != yes; then
4013 if { ac_try='./$ac_file'
4014 { { case "(($ac_try" in
4015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4016 *) ac_try_echo=$ac_try;;
4017 esac
4018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4019 $as_echo "$ac_try_echo"; } >&5
4020 (eval "$ac_try") 2>&5
4021 ac_status=$?
4022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4023 test $ac_status = 0; }; }; then
4024 cross_compiling=no
4025 else
4026 if test "$cross_compiling" = maybe; then
4027 cross_compiling=yes
4028 else
4029 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4031 as_fn_error "cannot run C compiled programs.
4032 If you meant to cross compile, use \`--host'.
4033 See \`config.log' for more details." "$LINENO" 5; }
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4038 $as_echo "yes" >&6; }
4040 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4041 ac_clean_files=$ac_clean_files_save
4042 # Check that the compiler produces executables we can run. If not, either
4043 # the compiler is broken, or we cross compile.
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4045 $as_echo_n "checking whether we are cross compiling... " >&6; }
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4047 $as_echo "$cross_compiling" >&6; }
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4050 $as_echo_n "checking for suffix of executables... " >&6; }
4051 if { { ac_try="$ac_link"
4052 case "(($ac_try" in
4053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4054 *) ac_try_echo=$ac_try;;
4055 esac
4056 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4057 $as_echo "$ac_try_echo"; } >&5
4058 (eval "$ac_link") 2>&5
4059 ac_status=$?
4060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4061 test $ac_status = 0; }; then :
4062 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4063 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4064 # work properly (i.e., refer to `conftest.exe'), while it won't with
4065 # `rm'.
4066 for ac_file in conftest.exe conftest conftest.*; do
4067 test -f "$ac_file" || continue
4068 case $ac_file in
4069 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4070 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4071 break;;
4072 * ) break;;
4073 esac
4074 done
4075 else
4076 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4078 as_fn_error "cannot compute suffix of executables: cannot compile and link
4079 See \`config.log' for more details." "$LINENO" 5; }
4081 rm -f conftest$ac_cv_exeext
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4083 $as_echo "$ac_cv_exeext" >&6; }
4085 rm -f conftest.$ac_ext
4086 EXEEXT=$ac_cv_exeext
4087 ac_exeext=$EXEEXT
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4090 $as_echo_n "checking for suffix of object files... " >&6; }
4091 if test "${ac_cv_objext+set}" = set; then :
4092 $as_echo_n "(cached) " >&6
4093 else
4094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h. */
4098 main ()
4102 return 0;
4104 _ACEOF
4105 rm -f conftest.o conftest.obj
4106 if { { ac_try="$ac_compile"
4107 case "(($ac_try" in
4108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4109 *) ac_try_echo=$ac_try;;
4110 esac
4111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4112 $as_echo "$ac_try_echo"; } >&5
4113 (eval "$ac_compile") 2>&5
4114 ac_status=$?
4115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4116 test $ac_status = 0; }; then :
4117 for ac_file in conftest.o conftest.obj conftest.*; do
4118 test -f "$ac_file" || continue;
4119 case $ac_file in
4120 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4121 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4122 break;;
4123 esac
4124 done
4125 else
4126 $as_echo "$as_me: failed program was:" >&5
4127 sed 's/^/| /' conftest.$ac_ext >&5
4129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4131 as_fn_error "cannot compute suffix of object files: cannot compile
4132 See \`config.log' for more details." "$LINENO" 5; }
4134 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4137 $as_echo "$ac_cv_objext" >&6; }
4138 OBJEXT=$ac_cv_objext
4139 ac_objext=$OBJEXT
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4141 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4142 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4143 $as_echo_n "(cached) " >&6
4144 else
4145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4146 /* end confdefs.h. */
4149 main ()
4151 #ifndef __GNUC__
4152 choke me
4153 #endif
4156 return 0;
4158 _ACEOF
4159 if ac_fn_c_try_compile "$LINENO"; then :
4160 ac_compiler_gnu=yes
4161 else
4162 ac_compiler_gnu=no
4164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4165 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4169 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4170 if test $ac_compiler_gnu = yes; then
4171 GCC=yes
4172 else
4173 GCC=
4175 ac_test_CFLAGS=${CFLAGS+set}
4176 ac_save_CFLAGS=$CFLAGS
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4178 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4179 if test "${ac_cv_prog_cc_g+set}" = set; then :
4180 $as_echo_n "(cached) " >&6
4181 else
4182 ac_save_c_werror_flag=$ac_c_werror_flag
4183 ac_c_werror_flag=yes
4184 ac_cv_prog_cc_g=no
4185 CFLAGS="-g"
4186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4187 /* end confdefs.h. */
4190 main ()
4194 return 0;
4196 _ACEOF
4197 if ac_fn_c_try_compile "$LINENO"; then :
4198 ac_cv_prog_cc_g=yes
4199 else
4200 CFLAGS=""
4201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4202 /* end confdefs.h. */
4205 main ()
4209 return 0;
4211 _ACEOF
4212 if ac_fn_c_try_compile "$LINENO"; then :
4214 else
4215 ac_c_werror_flag=$ac_save_c_werror_flag
4216 CFLAGS="-g"
4217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4218 /* end confdefs.h. */
4221 main ()
4225 return 0;
4227 _ACEOF
4228 if ac_fn_c_try_compile "$LINENO"; then :
4229 ac_cv_prog_cc_g=yes
4231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4236 ac_c_werror_flag=$ac_save_c_werror_flag
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4239 $as_echo "$ac_cv_prog_cc_g" >&6; }
4240 if test "$ac_test_CFLAGS" = set; then
4241 CFLAGS=$ac_save_CFLAGS
4242 elif test $ac_cv_prog_cc_g = yes; then
4243 if test "$GCC" = yes; then
4244 CFLAGS="-g -O2"
4245 else
4246 CFLAGS="-g"
4248 else
4249 if test "$GCC" = yes; then
4250 CFLAGS="-O2"
4251 else
4252 CFLAGS=
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4256 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4257 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4258 $as_echo_n "(cached) " >&6
4259 else
4260 ac_cv_prog_cc_c89=no
4261 ac_save_CC=$CC
4262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4263 /* end confdefs.h. */
4264 #include <stdarg.h>
4265 #include <stdio.h>
4266 #include <sys/types.h>
4267 #include <sys/stat.h>
4268 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4269 struct buf { int x; };
4270 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4271 static char *e (p, i)
4272 char **p;
4273 int i;
4275 return p[i];
4277 static char *f (char * (*g) (char **, int), char **p, ...)
4279 char *s;
4280 va_list v;
4281 va_start (v,p);
4282 s = g (p, va_arg (v,int));
4283 va_end (v);
4284 return s;
4287 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4288 function prototypes and stuff, but not '\xHH' hex character constants.
4289 These don't provoke an error unfortunately, instead are silently treated
4290 as 'x'. The following induces an error, until -std is added to get
4291 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4292 array size at least. It's necessary to write '\x00'==0 to get something
4293 that's true only with -std. */
4294 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4296 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4297 inside strings and character constants. */
4298 #define FOO(x) 'x'
4299 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4301 int test (int i, double x);
4302 struct s1 {int (*f) (int a);};
4303 struct s2 {int (*f) (double a);};
4304 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4305 int argc;
4306 char **argv;
4308 main ()
4310 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4312 return 0;
4314 _ACEOF
4315 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4316 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4318 CC="$ac_save_CC $ac_arg"
4319 if ac_fn_c_try_compile "$LINENO"; then :
4320 ac_cv_prog_cc_c89=$ac_arg
4322 rm -f core conftest.err conftest.$ac_objext
4323 test "x$ac_cv_prog_cc_c89" != "xno" && break
4324 done
4325 rm -f conftest.$ac_ext
4326 CC=$ac_save_CC
4329 # AC_CACHE_VAL
4330 case "x$ac_cv_prog_cc_c89" in
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4333 $as_echo "none needed" >&6; } ;;
4334 xno)
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4336 $as_echo "unsupported" >&6; } ;;
4338 CC="$CC $ac_cv_prog_cc_c89"
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4340 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4341 esac
4342 if test "x$ac_cv_prog_cc_c89" != xno; then :
4346 ac_ext=c
4347 ac_cpp='$CPP $CPPFLAGS'
4348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4352 ac_ext=cpp
4353 ac_cpp='$CXXCPP $CPPFLAGS'
4354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4357 if test -z "$CXX"; then
4358 if test -n "$CCC"; then
4359 CXX=$CCC
4360 else
4361 if test -n "$ac_tool_prefix"; then
4362 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4364 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4365 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4367 $as_echo_n "checking for $ac_word... " >&6; }
4368 if test "${ac_cv_prog_CXX+set}" = set; then :
4369 $as_echo_n "(cached) " >&6
4370 else
4371 if test -n "$CXX"; then
4372 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4373 else
4374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4375 for as_dir in $PATH
4377 IFS=$as_save_IFS
4378 test -z "$as_dir" && as_dir=.
4379 for ac_exec_ext in '' $ac_executable_extensions; do
4380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4381 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4383 break 2
4385 done
4386 done
4387 IFS=$as_save_IFS
4391 CXX=$ac_cv_prog_CXX
4392 if test -n "$CXX"; then
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4394 $as_echo "$CXX" >&6; }
4395 else
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4397 $as_echo "no" >&6; }
4401 test -n "$CXX" && break
4402 done
4404 if test -z "$CXX"; then
4405 ac_ct_CXX=$CXX
4406 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4408 # Extract the first word of "$ac_prog", so it can be a program name with args.
4409 set dummy $ac_prog; ac_word=$2
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4411 $as_echo_n "checking for $ac_word... " >&6; }
4412 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4413 $as_echo_n "(cached) " >&6
4414 else
4415 if test -n "$ac_ct_CXX"; then
4416 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4417 else
4418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4419 for as_dir in $PATH
4421 IFS=$as_save_IFS
4422 test -z "$as_dir" && as_dir=.
4423 for ac_exec_ext in '' $ac_executable_extensions; do
4424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4425 ac_cv_prog_ac_ct_CXX="$ac_prog"
4426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4427 break 2
4429 done
4430 done
4431 IFS=$as_save_IFS
4435 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4436 if test -n "$ac_ct_CXX"; then
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4438 $as_echo "$ac_ct_CXX" >&6; }
4439 else
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4441 $as_echo "no" >&6; }
4445 test -n "$ac_ct_CXX" && break
4446 done
4448 if test "x$ac_ct_CXX" = x; then
4449 CXX="g++"
4450 else
4451 case $cross_compiling:$ac_tool_warned in
4452 yes:)
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4455 ac_tool_warned=yes ;;
4456 esac
4457 CXX=$ac_ct_CXX
4463 # Provide some information about the compiler.
4464 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4465 set X $ac_compile
4466 ac_compiler=$2
4467 for ac_option in --version -v -V -qversion; do
4468 { { ac_try="$ac_compiler $ac_option >&5"
4469 case "(($ac_try" in
4470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4471 *) ac_try_echo=$ac_try;;
4472 esac
4473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4474 $as_echo "$ac_try_echo"; } >&5
4475 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4476 ac_status=$?
4477 if test -s conftest.err; then
4478 sed '10a\
4479 ... rest of stderr output deleted ...
4480 10q' conftest.err >conftest.er1
4481 cat conftest.er1 >&5
4482 rm -f conftest.er1 conftest.err
4484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4485 test $ac_status = 0; }
4486 done
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4489 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4490 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4491 $as_echo_n "(cached) " >&6
4492 else
4493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4494 /* end confdefs.h. */
4497 main ()
4499 #ifndef __GNUC__
4500 choke me
4501 #endif
4504 return 0;
4506 _ACEOF
4507 if ac_fn_cxx_try_compile "$LINENO"; then :
4508 ac_compiler_gnu=yes
4509 else
4510 ac_compiler_gnu=no
4512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4513 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4517 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4518 if test $ac_compiler_gnu = yes; then
4519 GXX=yes
4520 else
4521 GXX=
4523 ac_test_CXXFLAGS=${CXXFLAGS+set}
4524 ac_save_CXXFLAGS=$CXXFLAGS
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4526 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4527 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4528 $as_echo_n "(cached) " >&6
4529 else
4530 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4531 ac_cxx_werror_flag=yes
4532 ac_cv_prog_cxx_g=no
4533 CXXFLAGS="-g"
4534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4535 /* end confdefs.h. */
4538 main ()
4542 return 0;
4544 _ACEOF
4545 if ac_fn_cxx_try_compile "$LINENO"; then :
4546 ac_cv_prog_cxx_g=yes
4547 else
4548 CXXFLAGS=""
4549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h. */
4553 main ()
4557 return 0;
4559 _ACEOF
4560 if ac_fn_cxx_try_compile "$LINENO"; then :
4562 else
4563 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4564 CXXFLAGS="-g"
4565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4566 /* end confdefs.h. */
4569 main ()
4573 return 0;
4575 _ACEOF
4576 if ac_fn_cxx_try_compile "$LINENO"; then :
4577 ac_cv_prog_cxx_g=yes
4579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4584 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4587 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4588 if test "$ac_test_CXXFLAGS" = set; then
4589 CXXFLAGS=$ac_save_CXXFLAGS
4590 elif test $ac_cv_prog_cxx_g = yes; then
4591 if test "$GXX" = yes; then
4592 CXXFLAGS="-g -O2"
4593 else
4594 CXXFLAGS="-g"
4596 else
4597 if test "$GXX" = yes; then
4598 CXXFLAGS="-O2"
4599 else
4600 CXXFLAGS=
4603 ac_ext=c
4604 ac_cpp='$CPP $CPPFLAGS'
4605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4609 CXXFLAGS="$save_CXXFLAGS"
4611 # Runs configure.host, and assorted other critical bits. Sets
4612 # up critical shell variables.
4614 ac_ext=c
4615 ac_cpp='$CPP $CPPFLAGS'
4616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4620 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4621 # On Suns, sometimes $CPP names a directory.
4622 if test -n "$CPP" && test -d "$CPP"; then
4623 CPP=
4625 if test -z "$CPP"; then
4626 if test "${ac_cv_prog_CPP+set}" = set; then :
4627 $as_echo_n "(cached) " >&6
4628 else
4629 # Double quotes because CPP needs to be expanded
4630 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4632 ac_preproc_ok=false
4633 for ac_c_preproc_warn_flag in '' yes
4635 # Use a header file that comes with gcc, so configuring glibc
4636 # with a fresh cross-compiler works.
4637 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4638 # <limits.h> exists even on freestanding compilers.
4639 # On the NeXT, cc -E runs the code through the compiler's parser,
4640 # not just through cpp. "Syntax error" is here to catch this case.
4641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4642 /* end confdefs.h. */
4643 #ifdef __STDC__
4644 # include <limits.h>
4645 #else
4646 # include <assert.h>
4647 #endif
4648 Syntax error
4649 _ACEOF
4650 if ac_fn_c_try_cpp "$LINENO"; then :
4652 else
4653 # Broken: fails on valid input.
4654 continue
4656 rm -f conftest.err conftest.$ac_ext
4658 # OK, works on sane cases. Now check whether nonexistent headers
4659 # can be detected and how.
4660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4661 /* end confdefs.h. */
4662 #include <ac_nonexistent.h>
4663 _ACEOF
4664 if ac_fn_c_try_cpp "$LINENO"; then :
4665 # Broken: success on invalid input.
4666 continue
4667 else
4668 # Passes both tests.
4669 ac_preproc_ok=:
4670 break
4672 rm -f conftest.err conftest.$ac_ext
4674 done
4675 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4676 rm -f conftest.err conftest.$ac_ext
4677 if $ac_preproc_ok; then :
4678 break
4681 done
4682 ac_cv_prog_CPP=$CPP
4685 CPP=$ac_cv_prog_CPP
4686 else
4687 ac_cv_prog_CPP=$CPP
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4690 $as_echo "$CPP" >&6; }
4691 ac_preproc_ok=false
4692 for ac_c_preproc_warn_flag in '' yes
4694 # Use a header file that comes with gcc, so configuring glibc
4695 # with a fresh cross-compiler works.
4696 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4697 # <limits.h> exists even on freestanding compilers.
4698 # On the NeXT, cc -E runs the code through the compiler's parser,
4699 # not just through cpp. "Syntax error" is here to catch this case.
4700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4701 /* end confdefs.h. */
4702 #ifdef __STDC__
4703 # include <limits.h>
4704 #else
4705 # include <assert.h>
4706 #endif
4707 Syntax error
4708 _ACEOF
4709 if ac_fn_c_try_cpp "$LINENO"; then :
4711 else
4712 # Broken: fails on valid input.
4713 continue
4715 rm -f conftest.err conftest.$ac_ext
4717 # OK, works on sane cases. Now check whether nonexistent headers
4718 # can be detected and how.
4719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4720 /* end confdefs.h. */
4721 #include <ac_nonexistent.h>
4722 _ACEOF
4723 if ac_fn_c_try_cpp "$LINENO"; then :
4724 # Broken: success on invalid input.
4725 continue
4726 else
4727 # Passes both tests.
4728 ac_preproc_ok=:
4729 break
4731 rm -f conftest.err conftest.$ac_ext
4733 done
4734 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4735 rm -f conftest.err conftest.$ac_ext
4736 if $ac_preproc_ok; then :
4738 else
4739 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4741 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4742 See \`config.log' for more details." "$LINENO" 5; }
4745 ac_ext=c
4746 ac_cpp='$CPP $CPPFLAGS'
4747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4753 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4754 if test "${ac_cv_path_GREP+set}" = set; then :
4755 $as_echo_n "(cached) " >&6
4756 else
4757 if test -z "$GREP"; then
4758 ac_path_GREP_found=false
4759 # Loop through the user's path and test for each of PROGNAME-LIST
4760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4761 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4763 IFS=$as_save_IFS
4764 test -z "$as_dir" && as_dir=.
4765 for ac_prog in grep ggrep; do
4766 for ac_exec_ext in '' $ac_executable_extensions; do
4767 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4768 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4769 # Check for GNU ac_path_GREP and select it if it is found.
4770 # Check for GNU $ac_path_GREP
4771 case `"$ac_path_GREP" --version 2>&1` in
4772 *GNU*)
4773 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4775 ac_count=0
4776 $as_echo_n 0123456789 >"conftest.in"
4777 while :
4779 cat "conftest.in" "conftest.in" >"conftest.tmp"
4780 mv "conftest.tmp" "conftest.in"
4781 cp "conftest.in" "conftest.nl"
4782 $as_echo 'GREP' >> "conftest.nl"
4783 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4784 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4785 as_fn_arith $ac_count + 1 && ac_count=$as_val
4786 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4787 # Best one so far, save it but keep looking for a better one
4788 ac_cv_path_GREP="$ac_path_GREP"
4789 ac_path_GREP_max=$ac_count
4791 # 10*(2^10) chars as input seems more than enough
4792 test $ac_count -gt 10 && break
4793 done
4794 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4795 esac
4797 $ac_path_GREP_found && break 3
4798 done
4799 done
4800 done
4801 IFS=$as_save_IFS
4802 if test -z "$ac_cv_path_GREP"; then
4803 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4805 else
4806 ac_cv_path_GREP=$GREP
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4811 $as_echo "$ac_cv_path_GREP" >&6; }
4812 GREP="$ac_cv_path_GREP"
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4816 $as_echo_n "checking for egrep... " >&6; }
4817 if test "${ac_cv_path_EGREP+set}" = set; then :
4818 $as_echo_n "(cached) " >&6
4819 else
4820 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4821 then ac_cv_path_EGREP="$GREP -E"
4822 else
4823 if test -z "$EGREP"; then
4824 ac_path_EGREP_found=false
4825 # Loop through the user's path and test for each of PROGNAME-LIST
4826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4827 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4829 IFS=$as_save_IFS
4830 test -z "$as_dir" && as_dir=.
4831 for ac_prog in egrep; do
4832 for ac_exec_ext in '' $ac_executable_extensions; do
4833 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4834 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4835 # Check for GNU ac_path_EGREP and select it if it is found.
4836 # Check for GNU $ac_path_EGREP
4837 case `"$ac_path_EGREP" --version 2>&1` in
4838 *GNU*)
4839 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4841 ac_count=0
4842 $as_echo_n 0123456789 >"conftest.in"
4843 while :
4845 cat "conftest.in" "conftest.in" >"conftest.tmp"
4846 mv "conftest.tmp" "conftest.in"
4847 cp "conftest.in" "conftest.nl"
4848 $as_echo 'EGREP' >> "conftest.nl"
4849 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4850 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4851 as_fn_arith $ac_count + 1 && ac_count=$as_val
4852 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4853 # Best one so far, save it but keep looking for a better one
4854 ac_cv_path_EGREP="$ac_path_EGREP"
4855 ac_path_EGREP_max=$ac_count
4857 # 10*(2^10) chars as input seems more than enough
4858 test $ac_count -gt 10 && break
4859 done
4860 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4861 esac
4863 $ac_path_EGREP_found && break 3
4864 done
4865 done
4866 done
4867 IFS=$as_save_IFS
4868 if test -z "$ac_cv_path_EGREP"; then
4869 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4871 else
4872 ac_cv_path_EGREP=$EGREP
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4878 $as_echo "$ac_cv_path_EGREP" >&6; }
4879 EGREP="$ac_cv_path_EGREP"
4883 # Keep these sync'd with the list in Makefile.am. The first provides an
4884 # expandable list at autoconf time; the second provides an expandable list
4885 # (i.e., shell variable) at configure time.
4887 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4889 # These need to be absolute paths, yet at the same time need to
4890 # canonicalize only relative paths, because then amd will not unmount
4891 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4892 glibcxx_builddir=`${PWDCMD-pwd}`
4893 case $srcdir in
4894 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4895 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4896 esac
4897 toplevel_builddir=${glibcxx_builddir}/..
4898 toplevel_srcdir=${glibcxx_srcdir}/..
4904 # We use these options to decide which functions to include. They are
4905 # set from the top level.
4907 # Check whether --with-target-subdir was given.
4908 if test "${with_target_subdir+set}" = set; then :
4909 withval=$with_target_subdir;
4914 # Check whether --with-cross-host was given.
4915 if test "${with_cross_host+set}" = set; then :
4916 withval=$with_cross_host;
4921 # Check whether --with-newlib was given.
4922 if test "${with_newlib+set}" = set; then :
4923 withval=$with_newlib;
4927 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4928 # available). Uncomment the next line to force a particular method.
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4930 $as_echo_n "checking whether ln -s works... " >&6; }
4931 LN_S=$as_ln_s
4932 if test "$LN_S" = "ln -s"; then
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4934 $as_echo "yes" >&6; }
4935 else
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4937 $as_echo "no, using $LN_S" >&6; }
4940 #LN_S='cp -p'
4942 if test -n "$ac_tool_prefix"; then
4943 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4944 set dummy ${ac_tool_prefix}as; ac_word=$2
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4946 $as_echo_n "checking for $ac_word... " >&6; }
4947 if test "${ac_cv_prog_AS+set}" = set; then :
4948 $as_echo_n "(cached) " >&6
4949 else
4950 if test -n "$AS"; then
4951 ac_cv_prog_AS="$AS" # Let the user override the test.
4952 else
4953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4954 for as_dir in $PATH
4956 IFS=$as_save_IFS
4957 test -z "$as_dir" && as_dir=.
4958 for ac_exec_ext in '' $ac_executable_extensions; do
4959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4960 ac_cv_prog_AS="${ac_tool_prefix}as"
4961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4962 break 2
4964 done
4965 done
4966 IFS=$as_save_IFS
4970 AS=$ac_cv_prog_AS
4971 if test -n "$AS"; then
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4973 $as_echo "$AS" >&6; }
4974 else
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976 $as_echo "no" >&6; }
4981 if test -z "$ac_cv_prog_AS"; then
4982 ac_ct_AS=$AS
4983 # Extract the first word of "as", so it can be a program name with args.
4984 set dummy as; ac_word=$2
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4986 $as_echo_n "checking for $ac_word... " >&6; }
4987 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4988 $as_echo_n "(cached) " >&6
4989 else
4990 if test -n "$ac_ct_AS"; then
4991 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4992 else
4993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4994 for as_dir in $PATH
4996 IFS=$as_save_IFS
4997 test -z "$as_dir" && as_dir=.
4998 for ac_exec_ext in '' $ac_executable_extensions; do
4999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5000 ac_cv_prog_ac_ct_AS="as"
5001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5002 break 2
5004 done
5005 done
5006 IFS=$as_save_IFS
5010 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5011 if test -n "$ac_ct_AS"; then
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5013 $as_echo "$ac_ct_AS" >&6; }
5014 else
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5019 if test "x$ac_ct_AS" = x; then
5020 AS=""
5021 else
5022 case $cross_compiling:$ac_tool_warned in
5023 yes:)
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5026 ac_tool_warned=yes ;;
5027 esac
5028 AS=$ac_ct_AS
5030 else
5031 AS="$ac_cv_prog_AS"
5034 if test -n "$ac_tool_prefix"; then
5035 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5036 set dummy ${ac_tool_prefix}ar; ac_word=$2
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5038 $as_echo_n "checking for $ac_word... " >&6; }
5039 if test "${ac_cv_prog_AR+set}" = set; then :
5040 $as_echo_n "(cached) " >&6
5041 else
5042 if test -n "$AR"; then
5043 ac_cv_prog_AR="$AR" # Let the user override the test.
5044 else
5045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5046 for as_dir in $PATH
5048 IFS=$as_save_IFS
5049 test -z "$as_dir" && as_dir=.
5050 for ac_exec_ext in '' $ac_executable_extensions; do
5051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5052 ac_cv_prog_AR="${ac_tool_prefix}ar"
5053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054 break 2
5056 done
5057 done
5058 IFS=$as_save_IFS
5062 AR=$ac_cv_prog_AR
5063 if test -n "$AR"; then
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5065 $as_echo "$AR" >&6; }
5066 else
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068 $as_echo "no" >&6; }
5073 if test -z "$ac_cv_prog_AR"; then
5074 ac_ct_AR=$AR
5075 # Extract the first word of "ar", so it can be a program name with args.
5076 set dummy ar; ac_word=$2
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5078 $as_echo_n "checking for $ac_word... " >&6; }
5079 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5080 $as_echo_n "(cached) " >&6
5081 else
5082 if test -n "$ac_ct_AR"; then
5083 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5084 else
5085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5086 for as_dir in $PATH
5088 IFS=$as_save_IFS
5089 test -z "$as_dir" && as_dir=.
5090 for ac_exec_ext in '' $ac_executable_extensions; do
5091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5092 ac_cv_prog_ac_ct_AR="ar"
5093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5094 break 2
5096 done
5097 done
5098 IFS=$as_save_IFS
5102 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5103 if test -n "$ac_ct_AR"; then
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5105 $as_echo "$ac_ct_AR" >&6; }
5106 else
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 $as_echo "no" >&6; }
5111 if test "x$ac_ct_AR" = x; then
5112 AR=""
5113 else
5114 case $cross_compiling:$ac_tool_warned in
5115 yes:)
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5118 ac_tool_warned=yes ;;
5119 esac
5120 AR=$ac_ct_AR
5122 else
5123 AR="$ac_cv_prog_AR"
5126 if test -n "$ac_tool_prefix"; then
5127 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5128 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5130 $as_echo_n "checking for $ac_word... " >&6; }
5131 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5132 $as_echo_n "(cached) " >&6
5133 else
5134 if test -n "$RANLIB"; then
5135 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5136 else
5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138 for as_dir in $PATH
5140 IFS=$as_save_IFS
5141 test -z "$as_dir" && as_dir=.
5142 for ac_exec_ext in '' $ac_executable_extensions; do
5143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5144 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5146 break 2
5148 done
5149 done
5150 IFS=$as_save_IFS
5154 RANLIB=$ac_cv_prog_RANLIB
5155 if test -n "$RANLIB"; then
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5157 $as_echo "$RANLIB" >&6; }
5158 else
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5160 $as_echo "no" >&6; }
5165 if test -z "$ac_cv_prog_RANLIB"; then
5166 ac_ct_RANLIB=$RANLIB
5167 # Extract the first word of "ranlib", so it can be a program name with args.
5168 set dummy ranlib; ac_word=$2
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5170 $as_echo_n "checking for $ac_word... " >&6; }
5171 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5172 $as_echo_n "(cached) " >&6
5173 else
5174 if test -n "$ac_ct_RANLIB"; then
5175 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5176 else
5177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5178 for as_dir in $PATH
5180 IFS=$as_save_IFS
5181 test -z "$as_dir" && as_dir=.
5182 for ac_exec_ext in '' $ac_executable_extensions; do
5183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5184 ac_cv_prog_ac_ct_RANLIB="ranlib"
5185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5186 break 2
5188 done
5189 done
5190 IFS=$as_save_IFS
5194 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5195 if test -n "$ac_ct_RANLIB"; then
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5197 $as_echo "$ac_ct_RANLIB" >&6; }
5198 else
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5200 $as_echo "no" >&6; }
5203 if test "x$ac_ct_RANLIB" = x; then
5204 RANLIB="ranlib-not-found-in-path-error"
5205 else
5206 case $cross_compiling:$ac_tool_warned in
5207 yes:)
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5210 ac_tool_warned=yes ;;
5211 esac
5212 RANLIB=$ac_ct_RANLIB
5214 else
5215 RANLIB="$ac_cv_prog_RANLIB"
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5221 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5222 # Check whether --enable-maintainer-mode was given.
5223 if test "${enable_maintainer_mode+set}" = set; then :
5224 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5225 else
5226 USE_MAINTAINER_MODE=no
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5230 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5231 if test $USE_MAINTAINER_MODE = yes; then
5232 MAINTAINER_MODE_TRUE=
5233 MAINTAINER_MODE_FALSE='#'
5234 else
5235 MAINTAINER_MODE_TRUE='#'
5236 MAINTAINER_MODE_FALSE=
5239 MAINT=$MAINTAINER_MODE_TRUE
5243 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5244 # which are themselves conditionally expanded.
5245 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5246 ## other macros from doing the same. This should be automated.) -pme
5248 # Check for C library flavor since GNU/Linux platforms use different
5249 # configuration directories depending on the C library in use.
5250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5251 /* end confdefs.h. */
5253 #include <stdio.h>
5254 #if __UCLIBC__
5255 _using_uclibc
5256 #endif
5258 _ACEOF
5259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5260 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5261 uclibc=yes
5262 else
5263 uclibc=no
5265 rm -f conftest*
5268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5269 /* end confdefs.h. */
5271 #include <stdio.h>
5272 #if __BIONIC__
5273 _using_bionic
5274 #endif
5276 _ACEOF
5277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5278 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5279 bionic=yes
5280 else
5281 bionic=no
5283 rm -f conftest*
5286 # Find platform-specific directories containing configuration info.
5287 # Also possibly modify flags used elsewhere, as needed by the platform.
5289 . $glibcxx_srcdir/configure.host
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5291 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5293 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5297 # Libtool setup.
5298 if test "x${with_newlib}" != "xyes"; then
5299 enable_dlopen=yes
5304 case `pwd` in
5305 *\ * | *\ *)
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5307 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5308 esac
5312 macro_version='2.2.7a'
5313 macro_revision='1.3134'
5327 ltmain="$ac_aux_dir/ltmain.sh"
5329 # Backslashify metacharacters that are still active within
5330 # double-quoted strings.
5331 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5333 # Same as above, but do not quote variable references.
5334 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5336 # Sed substitution to delay expansion of an escaped shell variable in a
5337 # double_quote_subst'ed string.
5338 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5340 # Sed substitution to delay expansion of an escaped single quote.
5341 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5343 # Sed substitution to avoid accidental globbing in evaled expressions
5344 no_glob_subst='s/\*/\\\*/g'
5346 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5347 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5348 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5351 $as_echo_n "checking how to print strings... " >&6; }
5352 # Test print first, because it will be a builtin if present.
5353 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5354 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5355 ECHO='print -r --'
5356 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5357 ECHO='printf %s\n'
5358 else
5359 # Use this function as a fallback that always works.
5360 func_fallback_echo ()
5362 eval 'cat <<_LTECHO_EOF
5364 _LTECHO_EOF'
5366 ECHO='func_fallback_echo'
5369 # func_echo_all arg...
5370 # Invoke $ECHO with all args, space-separated.
5371 func_echo_all ()
5373 $ECHO ""
5376 case "$ECHO" in
5377 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5378 $as_echo "printf" >&6; } ;;
5379 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5380 $as_echo "print -r" >&6; } ;;
5381 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5382 $as_echo "cat" >&6; } ;;
5383 esac
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5399 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5400 if test "${ac_cv_path_SED+set}" = set; then :
5401 $as_echo_n "(cached) " >&6
5402 else
5403 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5404 for ac_i in 1 2 3 4 5 6 7; do
5405 ac_script="$ac_script$as_nl$ac_script"
5406 done
5407 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5408 { ac_script=; unset ac_script;}
5409 if test -z "$SED"; then
5410 ac_path_SED_found=false
5411 # Loop through the user's path and test for each of PROGNAME-LIST
5412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5413 for as_dir in $PATH
5415 IFS=$as_save_IFS
5416 test -z "$as_dir" && as_dir=.
5417 for ac_prog in sed gsed; do
5418 for ac_exec_ext in '' $ac_executable_extensions; do
5419 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5420 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5421 # Check for GNU ac_path_SED and select it if it is found.
5422 # Check for GNU $ac_path_SED
5423 case `"$ac_path_SED" --version 2>&1` in
5424 *GNU*)
5425 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5427 ac_count=0
5428 $as_echo_n 0123456789 >"conftest.in"
5429 while :
5431 cat "conftest.in" "conftest.in" >"conftest.tmp"
5432 mv "conftest.tmp" "conftest.in"
5433 cp "conftest.in" "conftest.nl"
5434 $as_echo '' >> "conftest.nl"
5435 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5436 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5437 as_fn_arith $ac_count + 1 && ac_count=$as_val
5438 if test $ac_count -gt ${ac_path_SED_max-0}; then
5439 # Best one so far, save it but keep looking for a better one
5440 ac_cv_path_SED="$ac_path_SED"
5441 ac_path_SED_max=$ac_count
5443 # 10*(2^10) chars as input seems more than enough
5444 test $ac_count -gt 10 && break
5445 done
5446 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5447 esac
5449 $ac_path_SED_found && break 3
5450 done
5451 done
5452 done
5453 IFS=$as_save_IFS
5454 if test -z "$ac_cv_path_SED"; then
5455 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5457 else
5458 ac_cv_path_SED=$SED
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5463 $as_echo "$ac_cv_path_SED" >&6; }
5464 SED="$ac_cv_path_SED"
5465 rm -f conftest.sed
5467 test -z "$SED" && SED=sed
5468 Xsed="$SED -e 1s/^X//"
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5481 $as_echo_n "checking for fgrep... " >&6; }
5482 if test "${ac_cv_path_FGREP+set}" = set; then :
5483 $as_echo_n "(cached) " >&6
5484 else
5485 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5486 then ac_cv_path_FGREP="$GREP -F"
5487 else
5488 if test -z "$FGREP"; then
5489 ac_path_FGREP_found=false
5490 # Loop through the user's path and test for each of PROGNAME-LIST
5491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5492 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5494 IFS=$as_save_IFS
5495 test -z "$as_dir" && as_dir=.
5496 for ac_prog in fgrep; do
5497 for ac_exec_ext in '' $ac_executable_extensions; do
5498 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5499 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5500 # Check for GNU ac_path_FGREP and select it if it is found.
5501 # Check for GNU $ac_path_FGREP
5502 case `"$ac_path_FGREP" --version 2>&1` in
5503 *GNU*)
5504 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5506 ac_count=0
5507 $as_echo_n 0123456789 >"conftest.in"
5508 while :
5510 cat "conftest.in" "conftest.in" >"conftest.tmp"
5511 mv "conftest.tmp" "conftest.in"
5512 cp "conftest.in" "conftest.nl"
5513 $as_echo 'FGREP' >> "conftest.nl"
5514 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5515 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5516 as_fn_arith $ac_count + 1 && ac_count=$as_val
5517 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5518 # Best one so far, save it but keep looking for a better one
5519 ac_cv_path_FGREP="$ac_path_FGREP"
5520 ac_path_FGREP_max=$ac_count
5522 # 10*(2^10) chars as input seems more than enough
5523 test $ac_count -gt 10 && break
5524 done
5525 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5526 esac
5528 $ac_path_FGREP_found && break 3
5529 done
5530 done
5531 done
5532 IFS=$as_save_IFS
5533 if test -z "$ac_cv_path_FGREP"; then
5534 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5536 else
5537 ac_cv_path_FGREP=$FGREP
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5543 $as_echo "$ac_cv_path_FGREP" >&6; }
5544 FGREP="$ac_cv_path_FGREP"
5547 test -z "$GREP" && GREP=grep
5567 # Check whether --with-gnu-ld was given.
5568 if test "${with_gnu_ld+set}" = set; then :
5569 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5570 else
5571 with_gnu_ld=no
5574 ac_prog=ld
5575 if test "$GCC" = yes; then
5576 # Check if gcc -print-prog-name=ld gives a path.
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5578 $as_echo_n "checking for ld used by $CC... " >&6; }
5579 case $host in
5580 *-*-mingw*)
5581 # gcc leaves a trailing carriage return which upsets mingw
5582 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5584 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5585 esac
5586 case $ac_prog in
5587 # Accept absolute paths.
5588 [\\/]* | ?:[\\/]*)
5589 re_direlt='/[^/][^/]*/\.\./'
5590 # Canonicalize the pathname of ld
5591 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5592 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5593 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5594 done
5595 test -z "$LD" && LD="$ac_prog"
5598 # If it fails, then pretend we aren't using GCC.
5599 ac_prog=ld
5602 # If it is relative, then search for the first ld in PATH.
5603 with_gnu_ld=unknown
5605 esac
5606 elif test "$with_gnu_ld" = yes; then
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5608 $as_echo_n "checking for GNU ld... " >&6; }
5609 else
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5611 $as_echo_n "checking for non-GNU ld... " >&6; }
5613 if test "${lt_cv_path_LD+set}" = set; then :
5614 $as_echo_n "(cached) " >&6
5615 else
5616 if test -z "$LD"; then
5617 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5618 for ac_dir in $PATH; do
5619 IFS="$lt_save_ifs"
5620 test -z "$ac_dir" && ac_dir=.
5621 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5622 lt_cv_path_LD="$ac_dir/$ac_prog"
5623 # Check to see if the program is GNU ld. I'd rather use --version,
5624 # but apparently some variants of GNU ld only accept -v.
5625 # Break only if it was the GNU/non-GNU ld that we prefer.
5626 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5627 *GNU* | *'with BFD'*)
5628 test "$with_gnu_ld" != no && break
5631 test "$with_gnu_ld" != yes && break
5633 esac
5635 done
5636 IFS="$lt_save_ifs"
5637 else
5638 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5642 LD="$lt_cv_path_LD"
5643 if test -n "$LD"; then
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5645 $as_echo "$LD" >&6; }
5646 else
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5648 $as_echo "no" >&6; }
5650 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5652 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5653 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5654 $as_echo_n "(cached) " >&6
5655 else
5656 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5657 case `$LD -v 2>&1 </dev/null` in
5658 *GNU* | *'with BFD'*)
5659 lt_cv_prog_gnu_ld=yes
5662 lt_cv_prog_gnu_ld=no
5664 esac
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5667 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5668 with_gnu_ld=$lt_cv_prog_gnu_ld
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5679 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5680 if test "${lt_cv_path_NM+set}" = set; then :
5681 $as_echo_n "(cached) " >&6
5682 else
5683 if test -n "$NM"; then
5684 # Let the user override the test.
5685 lt_cv_path_NM="$NM"
5686 else
5687 lt_nm_to_check="${ac_tool_prefix}nm"
5688 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5689 lt_nm_to_check="$lt_nm_to_check nm"
5691 for lt_tmp_nm in $lt_nm_to_check; do
5692 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5693 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5694 IFS="$lt_save_ifs"
5695 test -z "$ac_dir" && ac_dir=.
5696 tmp_nm="$ac_dir/$lt_tmp_nm"
5697 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5698 # Check to see if the nm accepts a BSD-compat flag.
5699 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5700 # nm: unknown option "B" ignored
5701 # Tru64's nm complains that /dev/null is an invalid object file
5702 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5703 */dev/null* | *'Invalid file or object type'*)
5704 lt_cv_path_NM="$tmp_nm -B"
5705 break
5708 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5709 */dev/null*)
5710 lt_cv_path_NM="$tmp_nm -p"
5711 break
5714 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5715 continue # so that we can try to find one that supports BSD flags
5717 esac
5719 esac
5721 done
5722 IFS="$lt_save_ifs"
5723 done
5724 : ${lt_cv_path_NM=no}
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5728 $as_echo "$lt_cv_path_NM" >&6; }
5729 if test "$lt_cv_path_NM" != "no"; then
5730 NM="$lt_cv_path_NM"
5731 else
5732 # Didn't find any BSD compatible name lister, look for dumpbin.
5733 if test -n "$DUMPBIN"; then :
5734 # Let the user override the test.
5735 else
5736 if test -n "$ac_tool_prefix"; then
5737 for ac_prog in dumpbin "link -dump"
5739 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5740 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5742 $as_echo_n "checking for $ac_word... " >&6; }
5743 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5744 $as_echo_n "(cached) " >&6
5745 else
5746 if test -n "$DUMPBIN"; then
5747 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5748 else
5749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5750 for as_dir in $PATH
5752 IFS=$as_save_IFS
5753 test -z "$as_dir" && as_dir=.
5754 for ac_exec_ext in '' $ac_executable_extensions; do
5755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5756 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5758 break 2
5760 done
5761 done
5762 IFS=$as_save_IFS
5766 DUMPBIN=$ac_cv_prog_DUMPBIN
5767 if test -n "$DUMPBIN"; then
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5769 $as_echo "$DUMPBIN" >&6; }
5770 else
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5772 $as_echo "no" >&6; }
5776 test -n "$DUMPBIN" && break
5777 done
5779 if test -z "$DUMPBIN"; then
5780 ac_ct_DUMPBIN=$DUMPBIN
5781 for ac_prog in dumpbin "link -dump"
5783 # Extract the first word of "$ac_prog", so it can be a program name with args.
5784 set dummy $ac_prog; ac_word=$2
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5786 $as_echo_n "checking for $ac_word... " >&6; }
5787 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5788 $as_echo_n "(cached) " >&6
5789 else
5790 if test -n "$ac_ct_DUMPBIN"; then
5791 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5792 else
5793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5794 for as_dir in $PATH
5796 IFS=$as_save_IFS
5797 test -z "$as_dir" && as_dir=.
5798 for ac_exec_ext in '' $ac_executable_extensions; do
5799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5800 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5802 break 2
5804 done
5805 done
5806 IFS=$as_save_IFS
5810 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5811 if test -n "$ac_ct_DUMPBIN"; then
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5813 $as_echo "$ac_ct_DUMPBIN" >&6; }
5814 else
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5816 $as_echo "no" >&6; }
5820 test -n "$ac_ct_DUMPBIN" && break
5821 done
5823 if test "x$ac_ct_DUMPBIN" = x; then
5824 DUMPBIN=":"
5825 else
5826 case $cross_compiling:$ac_tool_warned in
5827 yes:)
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5829 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5830 ac_tool_warned=yes ;;
5831 esac
5832 DUMPBIN=$ac_ct_DUMPBIN
5836 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5837 *COFF*)
5838 DUMPBIN="$DUMPBIN -symbols"
5841 DUMPBIN=:
5843 esac
5846 if test "$DUMPBIN" != ":"; then
5847 NM="$DUMPBIN"
5850 test -z "$NM" && NM=nm
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5858 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5859 if test "${lt_cv_nm_interface+set}" = set; then :
5860 $as_echo_n "(cached) " >&6
5861 else
5862 lt_cv_nm_interface="BSD nm"
5863 echo "int some_variable = 0;" > conftest.$ac_ext
5864 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5865 (eval "$ac_compile" 2>conftest.err)
5866 cat conftest.err >&5
5867 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5868 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5869 cat conftest.err >&5
5870 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5871 cat conftest.out >&5
5872 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5873 lt_cv_nm_interface="MS dumpbin"
5875 rm -f conftest*
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5878 $as_echo "$lt_cv_nm_interface" >&6; }
5880 # find the maximum length of command line arguments
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5882 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5883 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5884 $as_echo_n "(cached) " >&6
5885 else
5887 teststring="ABCD"
5889 case $build_os in
5890 msdosdjgpp*)
5891 # On DJGPP, this test can blow up pretty badly due to problems in libc
5892 # (any single argument exceeding 2000 bytes causes a buffer overrun
5893 # during glob expansion). Even if it were fixed, the result of this
5894 # check would be larger than it should be.
5895 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5898 gnu*)
5899 # Under GNU Hurd, this test is not required because there is
5900 # no limit to the length of command line arguments.
5901 # Libtool will interpret -1 as no limit whatsoever
5902 lt_cv_sys_max_cmd_len=-1;
5905 cygwin* | mingw* | cegcc*)
5906 # On Win9x/ME, this test blows up -- it succeeds, but takes
5907 # about 5 minutes as the teststring grows exponentially.
5908 # Worse, since 9x/ME are not pre-emptively multitasking,
5909 # you end up with a "frozen" computer, even though with patience
5910 # the test eventually succeeds (with a max line length of 256k).
5911 # Instead, let's just punt: use the minimum linelength reported by
5912 # all of the supported platforms: 8192 (on NT/2K/XP).
5913 lt_cv_sys_max_cmd_len=8192;
5916 mint*)
5917 # On MiNT this can take a long time and run out of memory.
5918 lt_cv_sys_max_cmd_len=8192;
5921 amigaos*)
5922 # On AmigaOS with pdksh, this test takes hours, literally.
5923 # So we just punt and use a minimum line length of 8192.
5924 lt_cv_sys_max_cmd_len=8192;
5927 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5928 # This has been around since 386BSD, at least. Likely further.
5929 if test -x /sbin/sysctl; then
5930 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5931 elif test -x /usr/sbin/sysctl; then
5932 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5933 else
5934 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5936 # And add a safety zone
5937 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5938 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5941 interix*)
5942 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5943 lt_cv_sys_max_cmd_len=196608
5946 osf*)
5947 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5948 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5949 # nice to cause kernel panics so lets avoid the loop below.
5950 # First set a reasonable default.
5951 lt_cv_sys_max_cmd_len=16384
5953 if test -x /sbin/sysconfig; then
5954 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5955 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5956 esac
5959 sco3.2v5*)
5960 lt_cv_sys_max_cmd_len=102400
5962 sysv5* | sco5v6* | sysv4.2uw2*)
5963 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5964 if test -n "$kargmax"; then
5965 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5966 else
5967 lt_cv_sys_max_cmd_len=32768
5971 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5972 if test -n "$lt_cv_sys_max_cmd_len"; then
5973 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5974 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5975 else
5976 # Make teststring a little bigger before we do anything with it.
5977 # a 1K string should be a reasonable start.
5978 for i in 1 2 3 4 5 6 7 8 ; do
5979 teststring=$teststring$teststring
5980 done
5981 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5982 # If test is not a shell built-in, we'll probably end up computing a
5983 # maximum length that is only half of the actual maximum length, but
5984 # we can't tell.
5985 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5986 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5987 test $i != 17 # 1/2 MB should be enough
5989 i=`expr $i + 1`
5990 teststring=$teststring$teststring
5991 done
5992 # Only check the string length outside the loop.
5993 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5994 teststring=
5995 # Add a significant safety factor because C++ compilers can tack on
5996 # massive amounts of additional arguments before passing them to the
5997 # linker. It appears as though 1/2 is a usable value.
5998 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6001 esac
6005 if test -n $lt_cv_sys_max_cmd_len ; then
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6007 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6008 else
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6010 $as_echo "none" >&6; }
6012 max_cmd_len=$lt_cv_sys_max_cmd_len
6019 : ${CP="cp -f"}
6020 : ${MV="mv -f"}
6021 : ${RM="rm -f"}
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6024 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6025 # Try some XSI features
6026 xsi_shell=no
6027 ( _lt_dummy="a/b/c"
6028 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6029 = c,a/b,, \
6030 && eval 'test $(( 1 + 1 )) -eq 2 \
6031 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6032 && xsi_shell=yes
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6034 $as_echo "$xsi_shell" >&6; }
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6038 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6039 lt_shell_append=no
6040 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6041 >/dev/null 2>&1 \
6042 && lt_shell_append=yes
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6044 $as_echo "$lt_shell_append" >&6; }
6047 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6048 lt_unset=unset
6049 else
6050 lt_unset=false
6057 # test EBCDIC or ASCII
6058 case `echo X|tr X '\101'` in
6059 A) # ASCII based system
6060 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6061 lt_SP2NL='tr \040 \012'
6062 lt_NL2SP='tr \015\012 \040\040'
6064 *) # EBCDIC based system
6065 lt_SP2NL='tr \100 \n'
6066 lt_NL2SP='tr \r\n \100\100'
6068 esac
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6079 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6080 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6081 $as_echo_n "(cached) " >&6
6082 else
6083 lt_cv_ld_reload_flag='-r'
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6086 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6087 reload_flag=$lt_cv_ld_reload_flag
6088 case $reload_flag in
6089 "" | " "*) ;;
6090 *) reload_flag=" $reload_flag" ;;
6091 esac
6092 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6093 case $host_os in
6094 darwin*)
6095 if test "$GCC" = yes; then
6096 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6097 else
6098 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6101 esac
6111 if test -n "$ac_tool_prefix"; then
6112 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6113 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115 $as_echo_n "checking for $ac_word... " >&6; }
6116 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6117 $as_echo_n "(cached) " >&6
6118 else
6119 if test -n "$OBJDUMP"; then
6120 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6121 else
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in $PATH
6125 IFS=$as_save_IFS
6126 test -z "$as_dir" && as_dir=.
6127 for ac_exec_ext in '' $ac_executable_extensions; do
6128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6129 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6131 break 2
6133 done
6134 done
6135 IFS=$as_save_IFS
6139 OBJDUMP=$ac_cv_prog_OBJDUMP
6140 if test -n "$OBJDUMP"; then
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6142 $as_echo "$OBJDUMP" >&6; }
6143 else
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6145 $as_echo "no" >&6; }
6150 if test -z "$ac_cv_prog_OBJDUMP"; then
6151 ac_ct_OBJDUMP=$OBJDUMP
6152 # Extract the first word of "objdump", so it can be a program name with args.
6153 set dummy objdump; ac_word=$2
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6155 $as_echo_n "checking for $ac_word... " >&6; }
6156 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6157 $as_echo_n "(cached) " >&6
6158 else
6159 if test -n "$ac_ct_OBJDUMP"; then
6160 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6161 else
6162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6163 for as_dir in $PATH
6165 IFS=$as_save_IFS
6166 test -z "$as_dir" && as_dir=.
6167 for ac_exec_ext in '' $ac_executable_extensions; do
6168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6169 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6171 break 2
6173 done
6174 done
6175 IFS=$as_save_IFS
6179 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6180 if test -n "$ac_ct_OBJDUMP"; then
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6182 $as_echo "$ac_ct_OBJDUMP" >&6; }
6183 else
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6185 $as_echo "no" >&6; }
6188 if test "x$ac_ct_OBJDUMP" = x; then
6189 OBJDUMP="false"
6190 else
6191 case $cross_compiling:$ac_tool_warned in
6192 yes:)
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6195 ac_tool_warned=yes ;;
6196 esac
6197 OBJDUMP=$ac_ct_OBJDUMP
6199 else
6200 OBJDUMP="$ac_cv_prog_OBJDUMP"
6203 test -z "$OBJDUMP" && OBJDUMP=objdump
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6214 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6215 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6216 $as_echo_n "(cached) " >&6
6217 else
6218 lt_cv_file_magic_cmd='$MAGIC_CMD'
6219 lt_cv_file_magic_test_file=
6220 lt_cv_deplibs_check_method='unknown'
6221 # Need to set the preceding variable on all platforms that support
6222 # interlibrary dependencies.
6223 # 'none' -- dependencies not supported.
6224 # `unknown' -- same as none, but documents that we really don't know.
6225 # 'pass_all' -- all dependencies passed with no checks.
6226 # 'test_compile' -- check by making test program.
6227 # 'file_magic [[regex]]' -- check by looking for files in library path
6228 # which responds to the $file_magic_cmd with a given extended regex.
6229 # If you have `file' or equivalent on your system and you're not sure
6230 # whether `pass_all' will *always* work, you probably want this one.
6232 case $host_os in
6233 aix[4-9]*)
6234 lt_cv_deplibs_check_method=pass_all
6237 beos*)
6238 lt_cv_deplibs_check_method=pass_all
6241 bsdi[45]*)
6242 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6243 lt_cv_file_magic_cmd='/usr/bin/file -L'
6244 lt_cv_file_magic_test_file=/shlib/libc.so
6247 cygwin*)
6248 # func_win32_libid is a shell function defined in ltmain.sh
6249 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6250 lt_cv_file_magic_cmd='func_win32_libid'
6253 mingw* | pw32*)
6254 # Base MSYS/MinGW do not provide the 'file' command needed by
6255 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6256 # unless we find 'file', for example because we are cross-compiling.
6257 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6258 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6259 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6260 lt_cv_file_magic_cmd='func_win32_libid'
6261 else
6262 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6263 lt_cv_file_magic_cmd='$OBJDUMP -f'
6267 cegcc*)
6268 # use the weaker test based on 'objdump'. See mingw*.
6269 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6270 lt_cv_file_magic_cmd='$OBJDUMP -f'
6273 darwin* | rhapsody*)
6274 lt_cv_deplibs_check_method=pass_all
6277 freebsd* | dragonfly*)
6278 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6279 case $host_cpu in
6280 i*86 )
6281 # Not sure whether the presence of OpenBSD here was a mistake.
6282 # Let's accept both of them until this is cleared up.
6283 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6284 lt_cv_file_magic_cmd=/usr/bin/file
6285 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6287 esac
6288 else
6289 lt_cv_deplibs_check_method=pass_all
6293 gnu*)
6294 lt_cv_deplibs_check_method=pass_all
6297 haiku*)
6298 lt_cv_deplibs_check_method=pass_all
6301 hpux10.20* | hpux11*)
6302 lt_cv_file_magic_cmd=/usr/bin/file
6303 case $host_cpu in
6304 ia64*)
6305 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6306 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6308 hppa*64*)
6309 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]'
6310 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6313 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6314 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6316 esac
6319 interix[3-9]*)
6320 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6321 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6324 irix5* | irix6* | nonstopux*)
6325 case $LD in
6326 *-32|*"-32 ") libmagic=32-bit;;
6327 *-n32|*"-n32 ") libmagic=N32;;
6328 *-64|*"-64 ") libmagic=64-bit;;
6329 *) libmagic=never-match;;
6330 esac
6331 lt_cv_deplibs_check_method=pass_all
6334 # This must be Linux ELF.
6335 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6336 lt_cv_deplibs_check_method=pass_all
6339 netbsd*)
6340 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6341 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6342 else
6343 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6347 newos6*)
6348 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6349 lt_cv_file_magic_cmd=/usr/bin/file
6350 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6353 *nto* | *qnx*)
6354 lt_cv_deplibs_check_method=pass_all
6357 openbsd*)
6358 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6359 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6360 else
6361 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6365 osf3* | osf4* | osf5*)
6366 lt_cv_deplibs_check_method=pass_all
6369 rdos*)
6370 lt_cv_deplibs_check_method=pass_all
6373 solaris*)
6374 lt_cv_deplibs_check_method=pass_all
6377 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6378 lt_cv_deplibs_check_method=pass_all
6381 sysv4 | sysv4.3*)
6382 case $host_vendor in
6383 motorola)
6384 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]'
6385 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6387 ncr)
6388 lt_cv_deplibs_check_method=pass_all
6390 sequent)
6391 lt_cv_file_magic_cmd='/bin/file'
6392 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6394 sni)
6395 lt_cv_file_magic_cmd='/bin/file'
6396 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6397 lt_cv_file_magic_test_file=/lib/libc.so
6399 siemens)
6400 lt_cv_deplibs_check_method=pass_all
6403 lt_cv_deplibs_check_method=pass_all
6405 esac
6408 tpf*)
6409 lt_cv_deplibs_check_method=pass_all
6411 esac
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6415 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6416 file_magic_cmd=$lt_cv_file_magic_cmd
6417 deplibs_check_method=$lt_cv_deplibs_check_method
6418 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6431 if test -n "$ac_tool_prefix"; then
6432 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6433 set dummy ${ac_tool_prefix}ar; ac_word=$2
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6435 $as_echo_n "checking for $ac_word... " >&6; }
6436 if test "${ac_cv_prog_AR+set}" = set; then :
6437 $as_echo_n "(cached) " >&6
6438 else
6439 if test -n "$AR"; then
6440 ac_cv_prog_AR="$AR" # Let the user override the test.
6441 else
6442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6443 for as_dir in $PATH
6445 IFS=$as_save_IFS
6446 test -z "$as_dir" && as_dir=.
6447 for ac_exec_ext in '' $ac_executable_extensions; do
6448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6449 ac_cv_prog_AR="${ac_tool_prefix}ar"
6450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6451 break 2
6453 done
6454 done
6455 IFS=$as_save_IFS
6459 AR=$ac_cv_prog_AR
6460 if test -n "$AR"; then
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6462 $as_echo "$AR" >&6; }
6463 else
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6465 $as_echo "no" >&6; }
6470 if test -z "$ac_cv_prog_AR"; then
6471 ac_ct_AR=$AR
6472 # Extract the first word of "ar", so it can be a program name with args.
6473 set dummy ar; ac_word=$2
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6475 $as_echo_n "checking for $ac_word... " >&6; }
6476 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6477 $as_echo_n "(cached) " >&6
6478 else
6479 if test -n "$ac_ct_AR"; then
6480 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6481 else
6482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6483 for as_dir in $PATH
6485 IFS=$as_save_IFS
6486 test -z "$as_dir" && as_dir=.
6487 for ac_exec_ext in '' $ac_executable_extensions; do
6488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6489 ac_cv_prog_ac_ct_AR="ar"
6490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6491 break 2
6493 done
6494 done
6495 IFS=$as_save_IFS
6499 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6500 if test -n "$ac_ct_AR"; then
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6502 $as_echo "$ac_ct_AR" >&6; }
6503 else
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6505 $as_echo "no" >&6; }
6508 if test "x$ac_ct_AR" = x; then
6509 AR="false"
6510 else
6511 case $cross_compiling:$ac_tool_warned in
6512 yes:)
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6515 ac_tool_warned=yes ;;
6516 esac
6517 AR=$ac_ct_AR
6519 else
6520 AR="$ac_cv_prog_AR"
6523 test -z "$AR" && AR=ar
6524 test -z "$AR_FLAGS" && AR_FLAGS=cru
6536 if test -n "$ac_tool_prefix"; then
6537 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6538 set dummy ${ac_tool_prefix}strip; ac_word=$2
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6540 $as_echo_n "checking for $ac_word... " >&6; }
6541 if test "${ac_cv_prog_STRIP+set}" = set; then :
6542 $as_echo_n "(cached) " >&6
6543 else
6544 if test -n "$STRIP"; then
6545 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6546 else
6547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6548 for as_dir in $PATH
6550 IFS=$as_save_IFS
6551 test -z "$as_dir" && as_dir=.
6552 for ac_exec_ext in '' $ac_executable_extensions; do
6553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6554 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6556 break 2
6558 done
6559 done
6560 IFS=$as_save_IFS
6564 STRIP=$ac_cv_prog_STRIP
6565 if test -n "$STRIP"; then
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6567 $as_echo "$STRIP" >&6; }
6568 else
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6570 $as_echo "no" >&6; }
6575 if test -z "$ac_cv_prog_STRIP"; then
6576 ac_ct_STRIP=$STRIP
6577 # Extract the first word of "strip", so it can be a program name with args.
6578 set dummy strip; ac_word=$2
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6580 $as_echo_n "checking for $ac_word... " >&6; }
6581 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6582 $as_echo_n "(cached) " >&6
6583 else
6584 if test -n "$ac_ct_STRIP"; then
6585 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6586 else
6587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6588 for as_dir in $PATH
6590 IFS=$as_save_IFS
6591 test -z "$as_dir" && as_dir=.
6592 for ac_exec_ext in '' $ac_executable_extensions; do
6593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6594 ac_cv_prog_ac_ct_STRIP="strip"
6595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6596 break 2
6598 done
6599 done
6600 IFS=$as_save_IFS
6604 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6605 if test -n "$ac_ct_STRIP"; then
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6607 $as_echo "$ac_ct_STRIP" >&6; }
6608 else
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6610 $as_echo "no" >&6; }
6613 if test "x$ac_ct_STRIP" = x; then
6614 STRIP=":"
6615 else
6616 case $cross_compiling:$ac_tool_warned in
6617 yes:)
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6620 ac_tool_warned=yes ;;
6621 esac
6622 STRIP=$ac_ct_STRIP
6624 else
6625 STRIP="$ac_cv_prog_STRIP"
6628 test -z "$STRIP" && STRIP=:
6635 if test -n "$ac_tool_prefix"; then
6636 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6637 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6639 $as_echo_n "checking for $ac_word... " >&6; }
6640 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6641 $as_echo_n "(cached) " >&6
6642 else
6643 if test -n "$RANLIB"; then
6644 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6645 else
6646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6647 for as_dir in $PATH
6649 IFS=$as_save_IFS
6650 test -z "$as_dir" && as_dir=.
6651 for ac_exec_ext in '' $ac_executable_extensions; do
6652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6653 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6655 break 2
6657 done
6658 done
6659 IFS=$as_save_IFS
6663 RANLIB=$ac_cv_prog_RANLIB
6664 if test -n "$RANLIB"; then
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6666 $as_echo "$RANLIB" >&6; }
6667 else
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6669 $as_echo "no" >&6; }
6674 if test -z "$ac_cv_prog_RANLIB"; then
6675 ac_ct_RANLIB=$RANLIB
6676 # Extract the first word of "ranlib", so it can be a program name with args.
6677 set dummy ranlib; ac_word=$2
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6679 $as_echo_n "checking for $ac_word... " >&6; }
6680 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6681 $as_echo_n "(cached) " >&6
6682 else
6683 if test -n "$ac_ct_RANLIB"; then
6684 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6685 else
6686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6687 for as_dir in $PATH
6689 IFS=$as_save_IFS
6690 test -z "$as_dir" && as_dir=.
6691 for ac_exec_ext in '' $ac_executable_extensions; do
6692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6693 ac_cv_prog_ac_ct_RANLIB="ranlib"
6694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6695 break 2
6697 done
6698 done
6699 IFS=$as_save_IFS
6703 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6704 if test -n "$ac_ct_RANLIB"; then
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6706 $as_echo "$ac_ct_RANLIB" >&6; }
6707 else
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6709 $as_echo "no" >&6; }
6712 if test "x$ac_ct_RANLIB" = x; then
6713 RANLIB=":"
6714 else
6715 case $cross_compiling:$ac_tool_warned in
6716 yes:)
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6719 ac_tool_warned=yes ;;
6720 esac
6721 RANLIB=$ac_ct_RANLIB
6723 else
6724 RANLIB="$ac_cv_prog_RANLIB"
6727 test -z "$RANLIB" && RANLIB=:
6734 # Determine commands to create old-style static archives.
6735 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6736 old_postinstall_cmds='chmod 644 $oldlib'
6737 old_postuninstall_cmds=
6739 if test -n "$RANLIB"; then
6740 case $host_os in
6741 openbsd*)
6742 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6745 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6747 esac
6748 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6751 case $host_os in
6752 darwin*)
6753 lock_old_archive_extraction=yes ;;
6755 lock_old_archive_extraction=no ;;
6756 esac
6796 # If no C compiler was specified, use CC.
6797 LTCC=${LTCC-"$CC"}
6799 # If no C compiler flags were specified, use CFLAGS.
6800 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6802 # Allow CC to be a program name with arguments.
6803 compiler=$CC
6806 # Check for command to grab the raw symbol name followed by C symbol from nm.
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6808 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6809 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6810 $as_echo_n "(cached) " >&6
6811 else
6813 # These are sane defaults that work on at least a few old systems.
6814 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6816 # Character class describing NM global symbol codes.
6817 symcode='[BCDEGRST]'
6819 # Regexp to match symbols that can be accessed directly from C.
6820 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6822 # Define system-specific variables.
6823 case $host_os in
6824 aix*)
6825 symcode='[BCDT]'
6827 cygwin* | mingw* | pw32* | cegcc*)
6828 symcode='[ABCDGISTW]'
6830 hpux*)
6831 if test "$host_cpu" = ia64; then
6832 symcode='[ABCDEGRST]'
6835 irix* | nonstopux*)
6836 symcode='[BCDEGRST]'
6838 osf*)
6839 symcode='[BCDEGQRST]'
6841 solaris*)
6842 symcode='[BDRT]'
6844 sco3.2v5*)
6845 symcode='[DT]'
6847 sysv4.2uw2*)
6848 symcode='[DT]'
6850 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6851 symcode='[ABDT]'
6853 sysv4)
6854 symcode='[DFNSTU]'
6856 esac
6858 # If we're using GNU nm, then use its standard symbol codes.
6859 case `$NM -V 2>&1` in
6860 *GNU* | *'with BFD'*)
6861 symcode='[ABCDGIRSTW]' ;;
6862 esac
6864 # Transform an extracted symbol line into a proper C declaration.
6865 # Some systems (esp. on ia64) link data and code symbols differently,
6866 # so use this general approach.
6867 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6869 # Transform an extracted symbol line into symbol name and symbol address
6870 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6871 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'"
6873 # Handle CRLF in mingw tool chain
6874 opt_cr=
6875 case $build_os in
6876 mingw*)
6877 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6879 esac
6881 # Try without a prefix underscore, then with it.
6882 for ac_symprfx in "" "_"; do
6884 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6885 symxfrm="\\1 $ac_symprfx\\2 \\2"
6887 # Write the raw and C identifiers.
6888 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6889 # Fake it for dumpbin and say T for any non-static function
6890 # and D for any global variable.
6891 # Also find C++ and __fastcall symbols from MSVC++,
6892 # which start with @ or ?.
6893 lt_cv_sys_global_symbol_pipe="$AWK '"\
6894 " {last_section=section; section=\$ 3};"\
6895 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6896 " \$ 0!~/External *\|/{next};"\
6897 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6898 " {if(hide[section]) next};"\
6899 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6900 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6901 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6902 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6903 " ' prfx=^$ac_symprfx"
6904 else
6905 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6908 # Check to see that the pipe works correctly.
6909 pipe_works=no
6911 rm -f conftest*
6912 cat > conftest.$ac_ext <<_LT_EOF
6913 #ifdef __cplusplus
6914 extern "C" {
6915 #endif
6916 char nm_test_var;
6917 void nm_test_func(void);
6918 void nm_test_func(void){}
6919 #ifdef __cplusplus
6921 #endif
6922 int main(){nm_test_var='a';nm_test_func();return(0);}
6923 _LT_EOF
6925 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6926 (eval $ac_compile) 2>&5
6927 ac_status=$?
6928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6929 test $ac_status = 0; }; then
6930 # Now try to grab the symbols.
6931 nlist=conftest.nm
6932 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6933 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6934 ac_status=$?
6935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6936 test $ac_status = 0; } && test -s "$nlist"; then
6937 # Try sorting and uniquifying the output.
6938 if sort "$nlist" | uniq > "$nlist"T; then
6939 mv -f "$nlist"T "$nlist"
6940 else
6941 rm -f "$nlist"T
6944 # Make sure that we snagged all the symbols we need.
6945 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6946 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6947 cat <<_LT_EOF > conftest.$ac_ext
6948 #ifdef __cplusplus
6949 extern "C" {
6950 #endif
6952 _LT_EOF
6953 # Now generate the symbol file.
6954 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6956 cat <<_LT_EOF >> conftest.$ac_ext
6958 /* The mapping between symbol names and symbols. */
6959 const struct {
6960 const char *name;
6961 void *address;
6963 lt__PROGRAM__LTX_preloaded_symbols[] =
6965 { "@PROGRAM@", (void *) 0 },
6966 _LT_EOF
6967 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6968 cat <<\_LT_EOF >> conftest.$ac_ext
6969 {0, (void *) 0}
6972 /* This works around a problem in FreeBSD linker */
6973 #ifdef FREEBSD_WORKAROUND
6974 static const void *lt_preloaded_setup() {
6975 return lt__PROGRAM__LTX_preloaded_symbols;
6977 #endif
6979 #ifdef __cplusplus
6981 #endif
6982 _LT_EOF
6983 # Now try linking the two files.
6984 mv conftest.$ac_objext conftstm.$ac_objext
6985 lt_save_LIBS="$LIBS"
6986 lt_save_CFLAGS="$CFLAGS"
6987 LIBS="conftstm.$ac_objext"
6988 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6989 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6990 (eval $ac_link) 2>&5
6991 ac_status=$?
6992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6993 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6994 pipe_works=yes
6996 LIBS="$lt_save_LIBS"
6997 CFLAGS="$lt_save_CFLAGS"
6998 else
6999 echo "cannot find nm_test_func in $nlist" >&5
7001 else
7002 echo "cannot find nm_test_var in $nlist" >&5
7004 else
7005 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7007 else
7008 echo "$progname: failed program was:" >&5
7009 cat conftest.$ac_ext >&5
7011 rm -rf conftest* conftst*
7013 # Do not use the global_symbol_pipe unless it works.
7014 if test "$pipe_works" = yes; then
7015 break
7016 else
7017 lt_cv_sys_global_symbol_pipe=
7019 done
7023 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7024 lt_cv_sys_global_symbol_to_cdecl=
7026 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7028 $as_echo "failed" >&6; }
7029 else
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7031 $as_echo "ok" >&6; }
7055 # Check whether --enable-libtool-lock was given.
7056 if test "${enable_libtool_lock+set}" = set; then :
7057 enableval=$enable_libtool_lock;
7060 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7062 # Some flags need to be propagated to the compiler or linker for good
7063 # libtool support.
7064 case $host in
7065 ia64-*-hpux*)
7066 # Find out which ABI we are using.
7067 echo 'int i;' > conftest.$ac_ext
7068 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7069 (eval $ac_compile) 2>&5
7070 ac_status=$?
7071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7072 test $ac_status = 0; }; then
7073 case `/usr/bin/file conftest.$ac_objext` in
7074 *ELF-32*)
7075 HPUX_IA64_MODE="32"
7077 *ELF-64*)
7078 HPUX_IA64_MODE="64"
7080 esac
7082 rm -rf conftest*
7084 *-*-irix6*)
7085 # Find out which ABI we are using.
7086 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7087 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7088 (eval $ac_compile) 2>&5
7089 ac_status=$?
7090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7091 test $ac_status = 0; }; then
7092 if test "$lt_cv_prog_gnu_ld" = yes; then
7093 case `/usr/bin/file conftest.$ac_objext` in
7094 *32-bit*)
7095 LD="${LD-ld} -melf32bsmip"
7097 *N32*)
7098 LD="${LD-ld} -melf32bmipn32"
7100 *64-bit*)
7101 LD="${LD-ld} -melf64bmip"
7103 esac
7104 else
7105 case `/usr/bin/file conftest.$ac_objext` in
7106 *32-bit*)
7107 LD="${LD-ld} -32"
7109 *N32*)
7110 LD="${LD-ld} -n32"
7112 *64-bit*)
7113 LD="${LD-ld} -64"
7115 esac
7118 rm -rf conftest*
7121 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7122 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7123 # Find out which ABI we are using.
7124 echo 'int i;' > conftest.$ac_ext
7125 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7126 (eval $ac_compile) 2>&5
7127 ac_status=$?
7128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7129 test $ac_status = 0; }; then
7130 case `/usr/bin/file conftest.o` in
7131 *32-bit*)
7132 case $host in
7133 x86_64-*kfreebsd*-gnu)
7134 LD="${LD-ld} -m elf_i386_fbsd"
7136 x86_64-*linux*)
7137 case `/usr/bin/file conftest.o` in
7138 *x86-64*)
7139 LD="${LD-ld} -m elf32_x86_64"
7142 LD="${LD-ld} -m elf_i386"
7144 esac
7146 powerpc64le-*linux*)
7147 LD="${LD-ld} -m elf32lppclinux"
7149 powerpc64-*linux*)
7150 LD="${LD-ld} -m elf32ppclinux"
7152 s390x-*linux*)
7153 LD="${LD-ld} -m elf_s390"
7155 sparc64-*linux*)
7156 LD="${LD-ld} -m elf32_sparc"
7158 esac
7160 *64-bit*)
7161 case $host in
7162 x86_64-*kfreebsd*-gnu)
7163 LD="${LD-ld} -m elf_x86_64_fbsd"
7165 x86_64-*linux*)
7166 LD="${LD-ld} -m elf_x86_64"
7168 powerpcle-*linux*)
7169 LD="${LD-ld} -m elf64lppc"
7171 powerpc-*linux*)
7172 LD="${LD-ld} -m elf64ppc"
7174 s390*-*linux*|s390*-*tpf*)
7175 LD="${LD-ld} -m elf64_s390"
7177 sparc*-*linux*)
7178 LD="${LD-ld} -m elf64_sparc"
7180 esac
7182 esac
7184 rm -rf conftest*
7187 *-*-sco3.2v5*)
7188 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7189 SAVE_CFLAGS="$CFLAGS"
7190 CFLAGS="$CFLAGS -belf"
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7192 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7193 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7194 $as_echo_n "(cached) " >&6
7195 else
7196 ac_ext=c
7197 ac_cpp='$CPP $CPPFLAGS'
7198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7202 if test x$gcc_no_link = xyes; then
7203 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7206 /* end confdefs.h. */
7209 main ()
7213 return 0;
7215 _ACEOF
7216 if ac_fn_c_try_link "$LINENO"; then :
7217 lt_cv_cc_needs_belf=yes
7218 else
7219 lt_cv_cc_needs_belf=no
7221 rm -f core conftest.err conftest.$ac_objext \
7222 conftest$ac_exeext conftest.$ac_ext
7223 ac_ext=c
7224 ac_cpp='$CPP $CPPFLAGS'
7225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7231 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7232 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7233 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7234 CFLAGS="$SAVE_CFLAGS"
7237 sparc*-*solaris*)
7238 # Find out which ABI we are using.
7239 echo 'int i;' > conftest.$ac_ext
7240 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7241 (eval $ac_compile) 2>&5
7242 ac_status=$?
7243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7244 test $ac_status = 0; }; then
7245 case `/usr/bin/file conftest.o` in
7246 *64-bit*)
7247 case $lt_cv_prog_gnu_ld in
7248 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7250 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7251 LD="${LD-ld} -64"
7254 esac
7256 esac
7258 rm -rf conftest*
7260 esac
7262 need_locks="$enable_libtool_lock"
7265 case $host_os in
7266 rhapsody* | darwin*)
7267 if test -n "$ac_tool_prefix"; then
7268 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7269 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271 $as_echo_n "checking for $ac_word... " >&6; }
7272 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7273 $as_echo_n "(cached) " >&6
7274 else
7275 if test -n "$DSYMUTIL"; then
7276 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7277 else
7278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7279 for as_dir in $PATH
7281 IFS=$as_save_IFS
7282 test -z "$as_dir" && as_dir=.
7283 for ac_exec_ext in '' $ac_executable_extensions; do
7284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7285 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7287 break 2
7289 done
7290 done
7291 IFS=$as_save_IFS
7295 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7296 if test -n "$DSYMUTIL"; then
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7298 $as_echo "$DSYMUTIL" >&6; }
7299 else
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301 $as_echo "no" >&6; }
7306 if test -z "$ac_cv_prog_DSYMUTIL"; then
7307 ac_ct_DSYMUTIL=$DSYMUTIL
7308 # Extract the first word of "dsymutil", so it can be a program name with args.
7309 set dummy dsymutil; ac_word=$2
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7311 $as_echo_n "checking for $ac_word... " >&6; }
7312 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7313 $as_echo_n "(cached) " >&6
7314 else
7315 if test -n "$ac_ct_DSYMUTIL"; then
7316 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7317 else
7318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7319 for as_dir in $PATH
7321 IFS=$as_save_IFS
7322 test -z "$as_dir" && as_dir=.
7323 for ac_exec_ext in '' $ac_executable_extensions; do
7324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7325 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7327 break 2
7329 done
7330 done
7331 IFS=$as_save_IFS
7335 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7336 if test -n "$ac_ct_DSYMUTIL"; then
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7338 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7339 else
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7341 $as_echo "no" >&6; }
7344 if test "x$ac_ct_DSYMUTIL" = x; then
7345 DSYMUTIL=":"
7346 else
7347 case $cross_compiling:$ac_tool_warned in
7348 yes:)
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7351 ac_tool_warned=yes ;;
7352 esac
7353 DSYMUTIL=$ac_ct_DSYMUTIL
7355 else
7356 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7359 if test -n "$ac_tool_prefix"; then
7360 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7361 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7363 $as_echo_n "checking for $ac_word... " >&6; }
7364 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7365 $as_echo_n "(cached) " >&6
7366 else
7367 if test -n "$NMEDIT"; then
7368 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7369 else
7370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7371 for as_dir in $PATH
7373 IFS=$as_save_IFS
7374 test -z "$as_dir" && as_dir=.
7375 for ac_exec_ext in '' $ac_executable_extensions; do
7376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7377 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7379 break 2
7381 done
7382 done
7383 IFS=$as_save_IFS
7387 NMEDIT=$ac_cv_prog_NMEDIT
7388 if test -n "$NMEDIT"; then
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7390 $as_echo "$NMEDIT" >&6; }
7391 else
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7393 $as_echo "no" >&6; }
7398 if test -z "$ac_cv_prog_NMEDIT"; then
7399 ac_ct_NMEDIT=$NMEDIT
7400 # Extract the first word of "nmedit", so it can be a program name with args.
7401 set dummy nmedit; ac_word=$2
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7403 $as_echo_n "checking for $ac_word... " >&6; }
7404 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7405 $as_echo_n "(cached) " >&6
7406 else
7407 if test -n "$ac_ct_NMEDIT"; then
7408 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7409 else
7410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7411 for as_dir in $PATH
7413 IFS=$as_save_IFS
7414 test -z "$as_dir" && as_dir=.
7415 for ac_exec_ext in '' $ac_executable_extensions; do
7416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7417 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7419 break 2
7421 done
7422 done
7423 IFS=$as_save_IFS
7427 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7428 if test -n "$ac_ct_NMEDIT"; then
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7430 $as_echo "$ac_ct_NMEDIT" >&6; }
7431 else
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7433 $as_echo "no" >&6; }
7436 if test "x$ac_ct_NMEDIT" = x; then
7437 NMEDIT=":"
7438 else
7439 case $cross_compiling:$ac_tool_warned in
7440 yes:)
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7443 ac_tool_warned=yes ;;
7444 esac
7445 NMEDIT=$ac_ct_NMEDIT
7447 else
7448 NMEDIT="$ac_cv_prog_NMEDIT"
7451 if test -n "$ac_tool_prefix"; then
7452 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7453 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7455 $as_echo_n "checking for $ac_word... " >&6; }
7456 if test "${ac_cv_prog_LIPO+set}" = set; then :
7457 $as_echo_n "(cached) " >&6
7458 else
7459 if test -n "$LIPO"; then
7460 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7461 else
7462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7463 for as_dir in $PATH
7465 IFS=$as_save_IFS
7466 test -z "$as_dir" && as_dir=.
7467 for ac_exec_ext in '' $ac_executable_extensions; do
7468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7469 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7471 break 2
7473 done
7474 done
7475 IFS=$as_save_IFS
7479 LIPO=$ac_cv_prog_LIPO
7480 if test -n "$LIPO"; then
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7482 $as_echo "$LIPO" >&6; }
7483 else
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7485 $as_echo "no" >&6; }
7490 if test -z "$ac_cv_prog_LIPO"; then
7491 ac_ct_LIPO=$LIPO
7492 # Extract the first word of "lipo", so it can be a program name with args.
7493 set dummy lipo; ac_word=$2
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7495 $as_echo_n "checking for $ac_word... " >&6; }
7496 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7497 $as_echo_n "(cached) " >&6
7498 else
7499 if test -n "$ac_ct_LIPO"; then
7500 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7501 else
7502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7503 for as_dir in $PATH
7505 IFS=$as_save_IFS
7506 test -z "$as_dir" && as_dir=.
7507 for ac_exec_ext in '' $ac_executable_extensions; do
7508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7509 ac_cv_prog_ac_ct_LIPO="lipo"
7510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7511 break 2
7513 done
7514 done
7515 IFS=$as_save_IFS
7519 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7520 if test -n "$ac_ct_LIPO"; then
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7522 $as_echo "$ac_ct_LIPO" >&6; }
7523 else
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7525 $as_echo "no" >&6; }
7528 if test "x$ac_ct_LIPO" = x; then
7529 LIPO=":"
7530 else
7531 case $cross_compiling:$ac_tool_warned in
7532 yes:)
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7535 ac_tool_warned=yes ;;
7536 esac
7537 LIPO=$ac_ct_LIPO
7539 else
7540 LIPO="$ac_cv_prog_LIPO"
7543 if test -n "$ac_tool_prefix"; then
7544 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7545 set dummy ${ac_tool_prefix}otool; ac_word=$2
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7547 $as_echo_n "checking for $ac_word... " >&6; }
7548 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7549 $as_echo_n "(cached) " >&6
7550 else
7551 if test -n "$OTOOL"; then
7552 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7553 else
7554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7555 for as_dir in $PATH
7557 IFS=$as_save_IFS
7558 test -z "$as_dir" && as_dir=.
7559 for ac_exec_ext in '' $ac_executable_extensions; do
7560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7561 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7563 break 2
7565 done
7566 done
7567 IFS=$as_save_IFS
7571 OTOOL=$ac_cv_prog_OTOOL
7572 if test -n "$OTOOL"; then
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7574 $as_echo "$OTOOL" >&6; }
7575 else
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7577 $as_echo "no" >&6; }
7582 if test -z "$ac_cv_prog_OTOOL"; then
7583 ac_ct_OTOOL=$OTOOL
7584 # Extract the first word of "otool", so it can be a program name with args.
7585 set dummy otool; ac_word=$2
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7587 $as_echo_n "checking for $ac_word... " >&6; }
7588 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7589 $as_echo_n "(cached) " >&6
7590 else
7591 if test -n "$ac_ct_OTOOL"; then
7592 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7593 else
7594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7595 for as_dir in $PATH
7597 IFS=$as_save_IFS
7598 test -z "$as_dir" && as_dir=.
7599 for ac_exec_ext in '' $ac_executable_extensions; do
7600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7601 ac_cv_prog_ac_ct_OTOOL="otool"
7602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7603 break 2
7605 done
7606 done
7607 IFS=$as_save_IFS
7611 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7612 if test -n "$ac_ct_OTOOL"; then
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7614 $as_echo "$ac_ct_OTOOL" >&6; }
7615 else
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7617 $as_echo "no" >&6; }
7620 if test "x$ac_ct_OTOOL" = x; then
7621 OTOOL=":"
7622 else
7623 case $cross_compiling:$ac_tool_warned in
7624 yes:)
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7627 ac_tool_warned=yes ;;
7628 esac
7629 OTOOL=$ac_ct_OTOOL
7631 else
7632 OTOOL="$ac_cv_prog_OTOOL"
7635 if test -n "$ac_tool_prefix"; then
7636 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7637 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7639 $as_echo_n "checking for $ac_word... " >&6; }
7640 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7641 $as_echo_n "(cached) " >&6
7642 else
7643 if test -n "$OTOOL64"; then
7644 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7645 else
7646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7647 for as_dir in $PATH
7649 IFS=$as_save_IFS
7650 test -z "$as_dir" && as_dir=.
7651 for ac_exec_ext in '' $ac_executable_extensions; do
7652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7653 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7655 break 2
7657 done
7658 done
7659 IFS=$as_save_IFS
7663 OTOOL64=$ac_cv_prog_OTOOL64
7664 if test -n "$OTOOL64"; then
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7666 $as_echo "$OTOOL64" >&6; }
7667 else
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7669 $as_echo "no" >&6; }
7674 if test -z "$ac_cv_prog_OTOOL64"; then
7675 ac_ct_OTOOL64=$OTOOL64
7676 # Extract the first word of "otool64", so it can be a program name with args.
7677 set dummy otool64; ac_word=$2
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7679 $as_echo_n "checking for $ac_word... " >&6; }
7680 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7681 $as_echo_n "(cached) " >&6
7682 else
7683 if test -n "$ac_ct_OTOOL64"; then
7684 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7685 else
7686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7687 for as_dir in $PATH
7689 IFS=$as_save_IFS
7690 test -z "$as_dir" && as_dir=.
7691 for ac_exec_ext in '' $ac_executable_extensions; do
7692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7693 ac_cv_prog_ac_ct_OTOOL64="otool64"
7694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7695 break 2
7697 done
7698 done
7699 IFS=$as_save_IFS
7703 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7704 if test -n "$ac_ct_OTOOL64"; then
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7706 $as_echo "$ac_ct_OTOOL64" >&6; }
7707 else
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7709 $as_echo "no" >&6; }
7712 if test "x$ac_ct_OTOOL64" = x; then
7713 OTOOL64=":"
7714 else
7715 case $cross_compiling:$ac_tool_warned in
7716 yes:)
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7719 ac_tool_warned=yes ;;
7720 esac
7721 OTOOL64=$ac_ct_OTOOL64
7723 else
7724 OTOOL64="$ac_cv_prog_OTOOL64"
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7754 $as_echo_n "checking for -single_module linker flag... " >&6; }
7755 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7756 $as_echo_n "(cached) " >&6
7757 else
7758 lt_cv_apple_cc_single_mod=no
7759 if test -z "${LT_MULTI_MODULE}"; then
7760 # By default we will add the -single_module flag. You can override
7761 # by either setting the environment variable LT_MULTI_MODULE
7762 # non-empty at configure time, or by adding -multi_module to the
7763 # link flags.
7764 rm -rf libconftest.dylib*
7765 echo "int foo(void){return 1;}" > conftest.c
7766 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7767 -dynamiclib -Wl,-single_module conftest.c" >&5
7768 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7769 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7770 _lt_result=$?
7771 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7772 lt_cv_apple_cc_single_mod=yes
7773 else
7774 cat conftest.err >&5
7776 rm -rf libconftest.dylib*
7777 rm -f conftest.*
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7781 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7783 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7784 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7785 $as_echo_n "(cached) " >&6
7786 else
7787 lt_cv_ld_exported_symbols_list=no
7788 save_LDFLAGS=$LDFLAGS
7789 echo "_main" > conftest.sym
7790 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7791 if test x$gcc_no_link = xyes; then
7792 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7795 /* end confdefs.h. */
7798 main ()
7802 return 0;
7804 _ACEOF
7805 if ac_fn_c_try_link "$LINENO"; then :
7806 lt_cv_ld_exported_symbols_list=yes
7807 else
7808 lt_cv_ld_exported_symbols_list=no
7810 rm -f core conftest.err conftest.$ac_objext \
7811 conftest$ac_exeext conftest.$ac_ext
7812 LDFLAGS="$save_LDFLAGS"
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7816 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7818 $as_echo_n "checking for -force_load linker flag... " >&6; }
7819 if test "${lt_cv_ld_force_load+set}" = set; then :
7820 $as_echo_n "(cached) " >&6
7821 else
7822 lt_cv_ld_force_load=no
7823 cat > conftest.c << _LT_EOF
7824 int forced_loaded() { return 2;}
7825 _LT_EOF
7826 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7827 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7828 echo "$AR cru libconftest.a conftest.o" >&5
7829 $AR cru libconftest.a conftest.o 2>&5
7830 cat > conftest.c << _LT_EOF
7831 int main() { return 0;}
7832 _LT_EOF
7833 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7834 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7835 _lt_result=$?
7836 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7837 lt_cv_ld_force_load=yes
7838 else
7839 cat conftest.err >&5
7841 rm -f conftest.err libconftest.a conftest conftest.c
7842 rm -rf conftest.dSYM
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7846 $as_echo "$lt_cv_ld_force_load" >&6; }
7847 case $host_os in
7848 rhapsody* | darwin1.[012])
7849 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7850 darwin1.*)
7851 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7852 darwin*) # darwin 5.x on
7853 # if running on 10.5 or later, the deployment target defaults
7854 # to the OS version, if on x86, and 10.4, the deployment
7855 # target defaults to 10.4. Don't you love it?
7856 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7857 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7858 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7859 10.[012]*)
7860 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7861 10.*)
7862 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7863 esac
7865 esac
7866 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7867 _lt_dar_single_mod='$single_module'
7869 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7870 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7871 else
7872 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7874 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7875 _lt_dsymutil='~$DSYMUTIL $lib || :'
7876 else
7877 _lt_dsymutil=
7880 esac
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7883 $as_echo_n "checking for ANSI C header files... " >&6; }
7884 if test "${ac_cv_header_stdc+set}" = set; then :
7885 $as_echo_n "(cached) " >&6
7886 else
7887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7888 /* end confdefs.h. */
7889 #include <stdlib.h>
7890 #include <stdarg.h>
7891 #include <string.h>
7892 #include <float.h>
7895 main ()
7899 return 0;
7901 _ACEOF
7902 if ac_fn_c_try_compile "$LINENO"; then :
7903 ac_cv_header_stdc=yes
7904 else
7905 ac_cv_header_stdc=no
7907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7909 if test $ac_cv_header_stdc = yes; then
7910 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7912 /* end confdefs.h. */
7913 #include <string.h>
7915 _ACEOF
7916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7917 $EGREP "memchr" >/dev/null 2>&1; then :
7919 else
7920 ac_cv_header_stdc=no
7922 rm -f conftest*
7926 if test $ac_cv_header_stdc = yes; then
7927 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7929 /* end confdefs.h. */
7930 #include <stdlib.h>
7932 _ACEOF
7933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7934 $EGREP "free" >/dev/null 2>&1; then :
7936 else
7937 ac_cv_header_stdc=no
7939 rm -f conftest*
7943 if test $ac_cv_header_stdc = yes; then
7944 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7945 if test "$cross_compiling" = yes; then :
7947 else
7948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7949 /* end confdefs.h. */
7950 #include <ctype.h>
7951 #include <stdlib.h>
7952 #if ((' ' & 0x0FF) == 0x020)
7953 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7954 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7955 #else
7956 # define ISLOWER(c) \
7957 (('a' <= (c) && (c) <= 'i') \
7958 || ('j' <= (c) && (c) <= 'r') \
7959 || ('s' <= (c) && (c) <= 'z'))
7960 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7961 #endif
7963 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7965 main ()
7967 int i;
7968 for (i = 0; i < 256; i++)
7969 if (XOR (islower (i), ISLOWER (i))
7970 || toupper (i) != TOUPPER (i))
7971 return 2;
7972 return 0;
7974 _ACEOF
7975 if ac_fn_c_try_run "$LINENO"; then :
7977 else
7978 ac_cv_header_stdc=no
7980 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7981 conftest.$ac_objext conftest.beam conftest.$ac_ext
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7987 $as_echo "$ac_cv_header_stdc" >&6; }
7988 if test $ac_cv_header_stdc = yes; then
7990 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7994 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7995 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7996 inttypes.h stdint.h unistd.h
7997 do :
7998 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7999 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8001 eval as_val=\$$as_ac_Header
8002 if test "x$as_val" = x""yes; then :
8003 cat >>confdefs.h <<_ACEOF
8004 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8005 _ACEOF
8009 done
8012 for ac_header in dlfcn.h
8013 do :
8014 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8016 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8017 cat >>confdefs.h <<_ACEOF
8018 #define HAVE_DLFCN_H 1
8019 _ACEOF
8023 done
8030 # Set options
8035 enable_win32_dll=no
8038 # Check whether --enable-shared was given.
8039 if test "${enable_shared+set}" = set; then :
8040 enableval=$enable_shared; p=${PACKAGE-default}
8041 case $enableval in
8042 yes) enable_shared=yes ;;
8043 no) enable_shared=no ;;
8045 enable_shared=no
8046 # Look at the argument we got. We use all the common list separators.
8047 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8048 for pkg in $enableval; do
8049 IFS="$lt_save_ifs"
8050 if test "X$pkg" = "X$p"; then
8051 enable_shared=yes
8053 done
8054 IFS="$lt_save_ifs"
8056 esac
8057 else
8058 enable_shared=yes
8069 # Check whether --enable-static was given.
8070 if test "${enable_static+set}" = set; then :
8071 enableval=$enable_static; p=${PACKAGE-default}
8072 case $enableval in
8073 yes) enable_static=yes ;;
8074 no) enable_static=no ;;
8076 enable_static=no
8077 # Look at the argument we got. We use all the common list separators.
8078 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8079 for pkg in $enableval; do
8080 IFS="$lt_save_ifs"
8081 if test "X$pkg" = "X$p"; then
8082 enable_static=yes
8084 done
8085 IFS="$lt_save_ifs"
8087 esac
8088 else
8089 enable_static=yes
8101 # Check whether --with-pic was given.
8102 if test "${with_pic+set}" = set; then :
8103 withval=$with_pic; pic_mode="$withval"
8104 else
8105 pic_mode=default
8109 test -z "$pic_mode" && pic_mode=default
8117 # Check whether --enable-fast-install was given.
8118 if test "${enable_fast_install+set}" = set; then :
8119 enableval=$enable_fast_install; p=${PACKAGE-default}
8120 case $enableval in
8121 yes) enable_fast_install=yes ;;
8122 no) enable_fast_install=no ;;
8124 enable_fast_install=no
8125 # Look at the argument we got. We use all the common list separators.
8126 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8127 for pkg in $enableval; do
8128 IFS="$lt_save_ifs"
8129 if test "X$pkg" = "X$p"; then
8130 enable_fast_install=yes
8132 done
8133 IFS="$lt_save_ifs"
8135 esac
8136 else
8137 enable_fast_install=yes
8150 # This can be used to rebuild libtool when needed
8151 LIBTOOL_DEPS="$ltmain"
8153 # Always use our own libtool.
8154 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8181 test -z "$LN_S" && LN_S="ln -s"
8196 if test -n "${ZSH_VERSION+set}" ; then
8197 setopt NO_GLOB_SUBST
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8201 $as_echo_n "checking for objdir... " >&6; }
8202 if test "${lt_cv_objdir+set}" = set; then :
8203 $as_echo_n "(cached) " >&6
8204 else
8205 rm -f .libs 2>/dev/null
8206 mkdir .libs 2>/dev/null
8207 if test -d .libs; then
8208 lt_cv_objdir=.libs
8209 else
8210 # MS-DOS does not allow filenames that begin with a dot.
8211 lt_cv_objdir=_libs
8213 rmdir .libs 2>/dev/null
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8216 $as_echo "$lt_cv_objdir" >&6; }
8217 objdir=$lt_cv_objdir
8223 cat >>confdefs.h <<_ACEOF
8224 #define LT_OBJDIR "$lt_cv_objdir/"
8225 _ACEOF
8230 case $host_os in
8231 aix3*)
8232 # AIX sometimes has problems with the GCC collect2 program. For some
8233 # reason, if we set the COLLECT_NAMES environment variable, the problems
8234 # vanish in a puff of smoke.
8235 if test "X${COLLECT_NAMES+set}" != Xset; then
8236 COLLECT_NAMES=
8237 export COLLECT_NAMES
8240 esac
8242 # Global variables:
8243 ofile=libtool
8244 can_build_shared=yes
8246 # All known linkers require a `.a' archive for static linking (except MSVC,
8247 # which needs '.lib').
8248 libext=a
8250 with_gnu_ld="$lt_cv_prog_gnu_ld"
8252 old_CC="$CC"
8253 old_CFLAGS="$CFLAGS"
8255 # Set sane defaults for various variables
8256 test -z "$CC" && CC=cc
8257 test -z "$LTCC" && LTCC=$CC
8258 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8259 test -z "$LD" && LD=ld
8260 test -z "$ac_objext" && ac_objext=o
8262 for cc_temp in $compiler""; do
8263 case $cc_temp in
8264 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8265 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8266 \-*) ;;
8267 *) break;;
8268 esac
8269 done
8270 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8273 # Only perform the check for file, if the check method requires it
8274 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8275 case $deplibs_check_method in
8276 file_magic*)
8277 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8279 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8280 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8281 $as_echo_n "(cached) " >&6
8282 else
8283 case $MAGIC_CMD in
8284 [\\/*] | ?:[\\/]*)
8285 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8288 lt_save_MAGIC_CMD="$MAGIC_CMD"
8289 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8290 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8291 for ac_dir in $ac_dummy; do
8292 IFS="$lt_save_ifs"
8293 test -z "$ac_dir" && ac_dir=.
8294 if test -f $ac_dir/${ac_tool_prefix}file; then
8295 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8296 if test -n "$file_magic_test_file"; then
8297 case $deplibs_check_method in
8298 "file_magic "*)
8299 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8300 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8301 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8302 $EGREP "$file_magic_regex" > /dev/null; then
8304 else
8305 cat <<_LT_EOF 1>&2
8307 *** Warning: the command libtool uses to detect shared libraries,
8308 *** $file_magic_cmd, produces output that libtool cannot recognize.
8309 *** The result is that libtool may fail to recognize shared libraries
8310 *** as such. This will affect the creation of libtool libraries that
8311 *** depend on shared libraries, but programs linked with such libtool
8312 *** libraries will work regardless of this problem. Nevertheless, you
8313 *** may want to report the problem to your system manager and/or to
8314 *** bug-libtool@gnu.org
8316 _LT_EOF
8317 fi ;;
8318 esac
8320 break
8322 done
8323 IFS="$lt_save_ifs"
8324 MAGIC_CMD="$lt_save_MAGIC_CMD"
8326 esac
8329 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8330 if test -n "$MAGIC_CMD"; then
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8332 $as_echo "$MAGIC_CMD" >&6; }
8333 else
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8335 $as_echo "no" >&6; }
8342 if test -z "$lt_cv_path_MAGIC_CMD"; then
8343 if test -n "$ac_tool_prefix"; then
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8345 $as_echo_n "checking for file... " >&6; }
8346 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8347 $as_echo_n "(cached) " >&6
8348 else
8349 case $MAGIC_CMD in
8350 [\\/*] | ?:[\\/]*)
8351 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8354 lt_save_MAGIC_CMD="$MAGIC_CMD"
8355 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8356 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8357 for ac_dir in $ac_dummy; do
8358 IFS="$lt_save_ifs"
8359 test -z "$ac_dir" && ac_dir=.
8360 if test -f $ac_dir/file; then
8361 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8362 if test -n "$file_magic_test_file"; then
8363 case $deplibs_check_method in
8364 "file_magic "*)
8365 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8366 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8367 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8368 $EGREP "$file_magic_regex" > /dev/null; then
8370 else
8371 cat <<_LT_EOF 1>&2
8373 *** Warning: the command libtool uses to detect shared libraries,
8374 *** $file_magic_cmd, produces output that libtool cannot recognize.
8375 *** The result is that libtool may fail to recognize shared libraries
8376 *** as such. This will affect the creation of libtool libraries that
8377 *** depend on shared libraries, but programs linked with such libtool
8378 *** libraries will work regardless of this problem. Nevertheless, you
8379 *** may want to report the problem to your system manager and/or to
8380 *** bug-libtool@gnu.org
8382 _LT_EOF
8383 fi ;;
8384 esac
8386 break
8388 done
8389 IFS="$lt_save_ifs"
8390 MAGIC_CMD="$lt_save_MAGIC_CMD"
8392 esac
8395 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8396 if test -n "$MAGIC_CMD"; then
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8398 $as_echo "$MAGIC_CMD" >&6; }
8399 else
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8401 $as_echo "no" >&6; }
8405 else
8406 MAGIC_CMD=:
8412 esac
8414 # Use C for the default configuration in the libtool script
8416 lt_save_CC="$CC"
8417 ac_ext=c
8418 ac_cpp='$CPP $CPPFLAGS'
8419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8424 # Source file extension for C test sources.
8425 ac_ext=c
8427 # Object file extension for compiled C test sources.
8428 objext=o
8429 objext=$objext
8431 # Code to be used in simple compile tests
8432 lt_simple_compile_test_code="int some_variable = 0;"
8434 # Code to be used in simple link tests
8435 lt_simple_link_test_code='int main(){return(0);}'
8443 # If no C compiler was specified, use CC.
8444 LTCC=${LTCC-"$CC"}
8446 # If no C compiler flags were specified, use CFLAGS.
8447 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8449 # Allow CC to be a program name with arguments.
8450 compiler=$CC
8452 # Save the default compiler, since it gets overwritten when the other
8453 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8454 compiler_DEFAULT=$CC
8456 # save warnings/boilerplate of simple test code
8457 ac_outfile=conftest.$ac_objext
8458 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8459 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8460 _lt_compiler_boilerplate=`cat conftest.err`
8461 $RM conftest*
8463 ac_outfile=conftest.$ac_objext
8464 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8465 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8466 _lt_linker_boilerplate=`cat conftest.err`
8467 $RM -r conftest*
8470 ## CAVEAT EMPTOR:
8471 ## There is no encapsulation within the following macros, do not change
8472 ## the running order or otherwise move them around unless you know exactly
8473 ## what you are doing...
8474 if test -n "$compiler"; then
8476 lt_prog_compiler_no_builtin_flag=
8478 if test "$GCC" = yes; then
8479 case $cc_basename in
8480 nvcc*)
8481 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8483 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8484 esac
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8487 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8488 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8489 $as_echo_n "(cached) " >&6
8490 else
8491 lt_cv_prog_compiler_rtti_exceptions=no
8492 ac_outfile=conftest.$ac_objext
8493 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8494 lt_compiler_flag="-fno-rtti -fno-exceptions"
8495 # Insert the option either (1) after the last *FLAGS variable, or
8496 # (2) before a word containing "conftest.", or (3) at the end.
8497 # Note that $ac_compile itself does not contain backslashes and begins
8498 # with a dollar sign (not a hyphen), so the echo should work correctly.
8499 # The option is referenced via a variable to avoid confusing sed.
8500 lt_compile=`echo "$ac_compile" | $SED \
8501 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8502 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8503 -e 's:$: $lt_compiler_flag:'`
8504 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8505 (eval "$lt_compile" 2>conftest.err)
8506 ac_status=$?
8507 cat conftest.err >&5
8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509 if (exit $ac_status) && test -s "$ac_outfile"; then
8510 # The compiler can only warn and ignore the option if not recognized
8511 # So say no if there are warnings other than the usual output.
8512 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8513 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8514 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8515 lt_cv_prog_compiler_rtti_exceptions=yes
8518 $RM conftest*
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8522 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8524 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8525 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8526 else
8537 lt_prog_compiler_wl=
8538 lt_prog_compiler_pic=
8539 lt_prog_compiler_static=
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8542 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8544 if test "$GCC" = yes; then
8545 lt_prog_compiler_wl='-Wl,'
8546 lt_prog_compiler_static='-static'
8548 case $host_os in
8549 aix*)
8550 # All AIX code is PIC.
8551 if test "$host_cpu" = ia64; then
8552 # AIX 5 now supports IA64 processor
8553 lt_prog_compiler_static='-Bstatic'
8555 lt_prog_compiler_pic='-fPIC'
8558 amigaos*)
8559 case $host_cpu in
8560 powerpc)
8561 # see comment about AmigaOS4 .so support
8562 lt_prog_compiler_pic='-fPIC'
8564 m68k)
8565 # FIXME: we need at least 68020 code to build shared libraries, but
8566 # adding the `-m68020' flag to GCC prevents building anything better,
8567 # like `-m68040'.
8568 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8570 esac
8573 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8574 # PIC is the default for these OSes.
8577 mingw* | cygwin* | pw32* | os2* | cegcc*)
8578 # This hack is so that the source file can tell whether it is being
8579 # built for inclusion in a dll (and should export symbols for example).
8580 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8581 # (--disable-auto-import) libraries
8582 lt_prog_compiler_pic='-DDLL_EXPORT'
8585 darwin* | rhapsody*)
8586 # PIC is the default on this platform
8587 # Common symbols not allowed in MH_DYLIB files
8588 lt_prog_compiler_pic='-fno-common'
8591 haiku*)
8592 # PIC is the default for Haiku.
8593 # The "-static" flag exists, but is broken.
8594 lt_prog_compiler_static=
8597 hpux*)
8598 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8599 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8600 # sets the default TLS model and affects inlining.
8601 case $host_cpu in
8602 hppa*64*)
8603 # +Z the default
8606 lt_prog_compiler_pic='-fPIC'
8608 esac
8611 interix[3-9]*)
8612 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8613 # Instead, we relocate shared libraries at runtime.
8616 msdosdjgpp*)
8617 # Just because we use GCC doesn't mean we suddenly get shared libraries
8618 # on systems that don't support them.
8619 lt_prog_compiler_can_build_shared=no
8620 enable_shared=no
8623 *nto* | *qnx*)
8624 # QNX uses GNU C++, but need to define -shared option too, otherwise
8625 # it will coredump.
8626 lt_prog_compiler_pic='-fPIC -shared'
8629 sysv4*MP*)
8630 if test -d /usr/nec; then
8631 lt_prog_compiler_pic=-Kconform_pic
8636 lt_prog_compiler_pic='-fPIC'
8638 esac
8640 case $cc_basename in
8641 nvcc*) # Cuda Compiler Driver 2.2
8642 lt_prog_compiler_wl='-Xlinker '
8643 lt_prog_compiler_pic='-Xcompiler -fPIC'
8645 esac
8646 else
8647 # PORTME Check for flag to pass linker flags through the system compiler.
8648 case $host_os in
8649 aix*)
8650 lt_prog_compiler_wl='-Wl,'
8651 if test "$host_cpu" = ia64; then
8652 # AIX 5 now supports IA64 processor
8653 lt_prog_compiler_static='-Bstatic'
8654 else
8655 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8659 mingw* | cygwin* | pw32* | os2* | cegcc*)
8660 # This hack is so that the source file can tell whether it is being
8661 # built for inclusion in a dll (and should export symbols for example).
8662 lt_prog_compiler_pic='-DDLL_EXPORT'
8665 hpux9* | hpux10* | hpux11*)
8666 lt_prog_compiler_wl='-Wl,'
8667 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8668 # not for PA HP-UX.
8669 case $host_cpu in
8670 hppa*64*|ia64*)
8671 # +Z the default
8674 lt_prog_compiler_pic='+Z'
8676 esac
8677 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8678 lt_prog_compiler_static='${wl}-a ${wl}archive'
8681 irix5* | irix6* | nonstopux*)
8682 lt_prog_compiler_wl='-Wl,'
8683 # PIC (with -KPIC) is the default.
8684 lt_prog_compiler_static='-non_shared'
8687 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8688 case $cc_basename in
8689 # old Intel for x86_64 which still supported -KPIC.
8690 ecc*)
8691 lt_prog_compiler_wl='-Wl,'
8692 lt_prog_compiler_pic='-KPIC'
8693 lt_prog_compiler_static='-static'
8695 # icc used to be incompatible with GCC.
8696 # ICC 10 doesn't accept -KPIC any more.
8697 icc* | ifort*)
8698 lt_prog_compiler_wl='-Wl,'
8699 lt_prog_compiler_pic='-fPIC'
8700 lt_prog_compiler_static='-static'
8702 # Lahey Fortran 8.1.
8703 lf95*)
8704 lt_prog_compiler_wl='-Wl,'
8705 lt_prog_compiler_pic='--shared'
8706 lt_prog_compiler_static='--static'
8708 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8709 # Portland Group compilers (*not* the Pentium gcc compiler,
8710 # which looks to be a dead project)
8711 lt_prog_compiler_wl='-Wl,'
8712 lt_prog_compiler_pic='-fpic'
8713 lt_prog_compiler_static='-Bstatic'
8715 ccc*)
8716 lt_prog_compiler_wl='-Wl,'
8717 # All Alpha code is PIC.
8718 lt_prog_compiler_static='-non_shared'
8720 xl* | bgxl* | bgf* | mpixl*)
8721 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8722 lt_prog_compiler_wl='-Wl,'
8723 lt_prog_compiler_pic='-qpic'
8724 lt_prog_compiler_static='-qstaticlink'
8727 case `$CC -V 2>&1 | sed 5q` in
8728 *Sun\ F* | *Sun*Fortran*)
8729 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8730 lt_prog_compiler_pic='-KPIC'
8731 lt_prog_compiler_static='-Bstatic'
8732 lt_prog_compiler_wl=''
8734 *Sun\ C*)
8735 # Sun C 5.9
8736 lt_prog_compiler_pic='-KPIC'
8737 lt_prog_compiler_static='-Bstatic'
8738 lt_prog_compiler_wl='-Wl,'
8740 esac
8742 esac
8745 newsos6)
8746 lt_prog_compiler_pic='-KPIC'
8747 lt_prog_compiler_static='-Bstatic'
8750 *nto* | *qnx*)
8751 # QNX uses GNU C++, but need to define -shared option too, otherwise
8752 # it will coredump.
8753 lt_prog_compiler_pic='-fPIC -shared'
8756 osf3* | osf4* | osf5*)
8757 lt_prog_compiler_wl='-Wl,'
8758 # All OSF/1 code is PIC.
8759 lt_prog_compiler_static='-non_shared'
8762 rdos*)
8763 lt_prog_compiler_static='-non_shared'
8766 solaris*)
8767 lt_prog_compiler_pic='-KPIC'
8768 lt_prog_compiler_static='-Bstatic'
8769 case $cc_basename in
8770 f77* | f90* | f95*)
8771 lt_prog_compiler_wl='-Qoption ld ';;
8773 lt_prog_compiler_wl='-Wl,';;
8774 esac
8777 sunos4*)
8778 lt_prog_compiler_wl='-Qoption ld '
8779 lt_prog_compiler_pic='-PIC'
8780 lt_prog_compiler_static='-Bstatic'
8783 sysv4 | sysv4.2uw2* | sysv4.3*)
8784 lt_prog_compiler_wl='-Wl,'
8785 lt_prog_compiler_pic='-KPIC'
8786 lt_prog_compiler_static='-Bstatic'
8789 sysv4*MP*)
8790 if test -d /usr/nec ;then
8791 lt_prog_compiler_pic='-Kconform_pic'
8792 lt_prog_compiler_static='-Bstatic'
8796 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8797 lt_prog_compiler_wl='-Wl,'
8798 lt_prog_compiler_pic='-KPIC'
8799 lt_prog_compiler_static='-Bstatic'
8802 unicos*)
8803 lt_prog_compiler_wl='-Wl,'
8804 lt_prog_compiler_can_build_shared=no
8807 uts4*)
8808 lt_prog_compiler_pic='-pic'
8809 lt_prog_compiler_static='-Bstatic'
8813 lt_prog_compiler_can_build_shared=no
8815 esac
8818 case $host_os in
8819 # For platforms which do not support PIC, -DPIC is meaningless:
8820 *djgpp*)
8821 lt_prog_compiler_pic=
8824 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8826 esac
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8828 $as_echo "$lt_prog_compiler_pic" >&6; }
8836 # Check to make sure the PIC flag actually works.
8838 if test -n "$lt_prog_compiler_pic"; then
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8840 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8841 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8842 $as_echo_n "(cached) " >&6
8843 else
8844 lt_cv_prog_compiler_pic_works=no
8845 ac_outfile=conftest.$ac_objext
8846 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8847 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8848 # Insert the option either (1) after the last *FLAGS variable, or
8849 # (2) before a word containing "conftest.", or (3) at the end.
8850 # Note that $ac_compile itself does not contain backslashes and begins
8851 # with a dollar sign (not a hyphen), so the echo should work correctly.
8852 # The option is referenced via a variable to avoid confusing sed.
8853 lt_compile=`echo "$ac_compile" | $SED \
8854 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8855 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8856 -e 's:$: $lt_compiler_flag:'`
8857 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8858 (eval "$lt_compile" 2>conftest.err)
8859 ac_status=$?
8860 cat conftest.err >&5
8861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8862 if (exit $ac_status) && test -s "$ac_outfile"; then
8863 # The compiler can only warn and ignore the option if not recognized
8864 # So say no if there are warnings other than the usual output.
8865 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8866 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8867 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8868 lt_cv_prog_compiler_pic_works=yes
8871 $RM conftest*
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8875 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8877 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8878 case $lt_prog_compiler_pic in
8879 "" | " "*) ;;
8880 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8881 esac
8882 else
8883 lt_prog_compiler_pic=
8884 lt_prog_compiler_can_build_shared=no
8895 # Check to make sure the static flag actually works.
8897 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8899 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8900 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8901 $as_echo_n "(cached) " >&6
8902 else
8903 lt_cv_prog_compiler_static_works=no
8904 save_LDFLAGS="$LDFLAGS"
8905 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8906 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8907 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8908 # The linker can only warn and ignore the option if not recognized
8909 # So say no if there are warnings
8910 if test -s conftest.err; then
8911 # Append any errors to the config.log.
8912 cat conftest.err 1>&5
8913 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8914 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8915 if diff conftest.exp conftest.er2 >/dev/null; then
8916 lt_cv_prog_compiler_static_works=yes
8918 else
8919 lt_cv_prog_compiler_static_works=yes
8922 $RM -r conftest*
8923 LDFLAGS="$save_LDFLAGS"
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8927 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8929 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8931 else
8932 lt_prog_compiler_static=
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8942 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8943 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8944 $as_echo_n "(cached) " >&6
8945 else
8946 lt_cv_prog_compiler_c_o=no
8947 $RM -r conftest 2>/dev/null
8948 mkdir conftest
8949 cd conftest
8950 mkdir out
8951 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8953 lt_compiler_flag="-o out/conftest2.$ac_objext"
8954 # Insert the option either (1) after the last *FLAGS variable, or
8955 # (2) before a word containing "conftest.", or (3) at the end.
8956 # Note that $ac_compile itself does not contain backslashes and begins
8957 # with a dollar sign (not a hyphen), so the echo should work correctly.
8958 lt_compile=`echo "$ac_compile" | $SED \
8959 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8960 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8961 -e 's:$: $lt_compiler_flag:'`
8962 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8963 (eval "$lt_compile" 2>out/conftest.err)
8964 ac_status=$?
8965 cat out/conftest.err >&5
8966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8967 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8968 then
8969 # The compiler can only warn and ignore the option if not recognized
8970 # So say no if there are warnings
8971 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8972 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8973 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8974 lt_cv_prog_compiler_c_o=yes
8977 chmod u+w . 2>&5
8978 $RM conftest*
8979 # SGI C++ compiler will create directory out/ii_files/ for
8980 # template instantiation
8981 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8982 $RM out/* && rmdir out
8983 cd ..
8984 $RM -r conftest
8985 $RM conftest*
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8989 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8997 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8998 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8999 $as_echo_n "(cached) " >&6
9000 else
9001 lt_cv_prog_compiler_c_o=no
9002 $RM -r conftest 2>/dev/null
9003 mkdir conftest
9004 cd conftest
9005 mkdir out
9006 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9008 lt_compiler_flag="-o out/conftest2.$ac_objext"
9009 # Insert the option either (1) after the last *FLAGS variable, or
9010 # (2) before a word containing "conftest.", or (3) at the end.
9011 # Note that $ac_compile itself does not contain backslashes and begins
9012 # with a dollar sign (not a hyphen), so the echo should work correctly.
9013 lt_compile=`echo "$ac_compile" | $SED \
9014 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9015 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9016 -e 's:$: $lt_compiler_flag:'`
9017 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9018 (eval "$lt_compile" 2>out/conftest.err)
9019 ac_status=$?
9020 cat out/conftest.err >&5
9021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9022 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9023 then
9024 # The compiler can only warn and ignore the option if not recognized
9025 # So say no if there are warnings
9026 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9027 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9028 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9029 lt_cv_prog_compiler_c_o=yes
9032 chmod u+w . 2>&5
9033 $RM conftest*
9034 # SGI C++ compiler will create directory out/ii_files/ for
9035 # template instantiation
9036 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9037 $RM out/* && rmdir out
9038 cd ..
9039 $RM -r conftest
9040 $RM conftest*
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9044 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9049 hard_links="nottested"
9050 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9051 # do not overwrite the value of need_locks provided by the user
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9053 $as_echo_n "checking if we can lock with hard links... " >&6; }
9054 hard_links=yes
9055 $RM conftest*
9056 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9057 touch conftest.a
9058 ln conftest.a conftest.b 2>&5 || hard_links=no
9059 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9061 $as_echo "$hard_links" >&6; }
9062 if test "$hard_links" = no; then
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9064 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9065 need_locks=warn
9067 else
9068 need_locks=no
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9077 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9079 runpath_var=
9080 allow_undefined_flag=
9081 always_export_symbols=no
9082 archive_cmds=
9083 archive_expsym_cmds=
9084 compiler_needs_object=no
9085 enable_shared_with_static_runtimes=no
9086 export_dynamic_flag_spec=
9087 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9088 hardcode_automatic=no
9089 hardcode_direct=no
9090 hardcode_direct_absolute=no
9091 hardcode_libdir_flag_spec=
9092 hardcode_libdir_flag_spec_ld=
9093 hardcode_libdir_separator=
9094 hardcode_minus_L=no
9095 hardcode_shlibpath_var=unsupported
9096 inherit_rpath=no
9097 link_all_deplibs=unknown
9098 module_cmds=
9099 module_expsym_cmds=
9100 old_archive_from_new_cmds=
9101 old_archive_from_expsyms_cmds=
9102 thread_safe_flag_spec=
9103 whole_archive_flag_spec=
9104 # include_expsyms should be a list of space-separated symbols to be *always*
9105 # included in the symbol list
9106 include_expsyms=
9107 # exclude_expsyms can be an extended regexp of symbols to exclude
9108 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9109 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9110 # as well as any symbol that contains `d'.
9111 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9112 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9113 # platforms (ab)use it in PIC code, but their linkers get confused if
9114 # the symbol is explicitly referenced. Since portable code cannot
9115 # rely on this symbol name, it's probably fine to never include it in
9116 # preloaded symbol tables.
9117 # Exclude shared library initialization/finalization symbols.
9118 extract_expsyms_cmds=
9120 case $host_os in
9121 cygwin* | mingw* | pw32* | cegcc*)
9122 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9123 # When not using gcc, we currently assume that we are using
9124 # Microsoft Visual C++.
9125 if test "$GCC" != yes; then
9126 with_gnu_ld=no
9129 interix*)
9130 # we just hope/assume this is gcc and not c89 (= MSVC++)
9131 with_gnu_ld=yes
9133 openbsd*)
9134 with_gnu_ld=no
9136 esac
9138 ld_shlibs=yes
9140 # On some targets, GNU ld is compatible enough with the native linker
9141 # that we're better off using the native interface for both.
9142 lt_use_gnu_ld_interface=no
9143 if test "$with_gnu_ld" = yes; then
9144 case $host_os in
9145 aix*)
9146 # The AIX port of GNU ld has always aspired to compatibility
9147 # with the native linker. However, as the warning in the GNU ld
9148 # block says, versions before 2.19.5* couldn't really create working
9149 # shared libraries, regardless of the interface used.
9150 case `$LD -v 2>&1` in
9151 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9152 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9153 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9155 lt_use_gnu_ld_interface=yes
9157 esac
9160 lt_use_gnu_ld_interface=yes
9162 esac
9165 if test "$lt_use_gnu_ld_interface" = yes; then
9166 # If archive_cmds runs LD, not CC, wlarc should be empty
9167 wlarc='${wl}'
9169 # Set some defaults for GNU ld with shared library support. These
9170 # are reset later if shared libraries are not supported. Putting them
9171 # here allows them to be overridden if necessary.
9172 runpath_var=LD_RUN_PATH
9173 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9174 export_dynamic_flag_spec='${wl}--export-dynamic'
9175 # ancient GNU ld didn't support --whole-archive et. al.
9176 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9177 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9178 else
9179 whole_archive_flag_spec=
9181 supports_anon_versioning=no
9182 case `$LD -v 2>&1` in
9183 *GNU\ gold*) supports_anon_versioning=yes ;;
9184 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9185 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9186 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9187 *\ 2.11.*) ;; # other 2.11 versions
9188 *) supports_anon_versioning=yes ;;
9189 esac
9191 # See if GNU ld supports shared libraries.
9192 case $host_os in
9193 aix[3-9]*)
9194 # On AIX/PPC, the GNU linker is very broken
9195 if test "$host_cpu" != ia64; then
9196 ld_shlibs=no
9197 cat <<_LT_EOF 1>&2
9199 *** Warning: the GNU linker, at least up to release 2.19, is reported
9200 *** to be unable to reliably create shared libraries on AIX.
9201 *** Therefore, libtool is disabling shared libraries support. If you
9202 *** really care for shared libraries, you may want to install binutils
9203 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9204 *** You will then need to restart the configuration process.
9206 _LT_EOF
9210 amigaos*)
9211 case $host_cpu in
9212 powerpc)
9213 # see comment about AmigaOS4 .so support
9214 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9215 archive_expsym_cmds=''
9217 m68k)
9218 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)'
9219 hardcode_libdir_flag_spec='-L$libdir'
9220 hardcode_minus_L=yes
9222 esac
9225 beos*)
9226 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9227 allow_undefined_flag=unsupported
9228 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9229 # support --undefined. This deserves some investigation. FIXME
9230 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9231 else
9232 ld_shlibs=no
9236 cygwin* | mingw* | pw32* | cegcc*)
9237 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9238 # as there is no search path for DLLs.
9239 hardcode_libdir_flag_spec='-L$libdir'
9240 export_dynamic_flag_spec='${wl}--export-all-symbols'
9241 allow_undefined_flag=unsupported
9242 always_export_symbols=no
9243 enable_shared_with_static_runtimes=yes
9244 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9246 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9247 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9248 # If the export-symbols file already is a .def file (1st line
9249 # is EXPORTS), use it as is; otherwise, prepend...
9250 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9251 cp $export_symbols $output_objdir/$soname.def;
9252 else
9253 echo EXPORTS > $output_objdir/$soname.def;
9254 cat $export_symbols >> $output_objdir/$soname.def;
9256 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9257 else
9258 ld_shlibs=no
9262 haiku*)
9263 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9264 link_all_deplibs=yes
9267 interix[3-9]*)
9268 hardcode_direct=no
9269 hardcode_shlibpath_var=no
9270 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9271 export_dynamic_flag_spec='${wl}-E'
9272 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9273 # Instead, shared libraries are loaded at an image base (0x10000000 by
9274 # default) and relocated if they conflict, which is a slow very memory
9275 # consuming and fragmenting process. To avoid this, we pick a random,
9276 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9277 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9278 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9279 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'
9282 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9283 tmp_diet=no
9284 if test "$host_os" = linux-dietlibc; then
9285 case $cc_basename in
9286 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9287 esac
9289 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9290 && test "$tmp_diet" = no
9291 then
9292 tmp_addflag=
9293 tmp_sharedflag='-shared'
9294 case $cc_basename,$host_cpu in
9295 pgcc*) # Portland Group C compiler
9296 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'
9297 tmp_addflag=' $pic_flag'
9299 pgf77* | pgf90* | pgf95* | pgfortran*)
9300 # Portland Group f77 and f90 compilers
9301 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'
9302 tmp_addflag=' $pic_flag -Mnomain' ;;
9303 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9304 tmp_addflag=' -i_dynamic' ;;
9305 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9306 tmp_addflag=' -i_dynamic -nofor_main' ;;
9307 ifc* | ifort*) # Intel Fortran compiler
9308 tmp_addflag=' -nofor_main' ;;
9309 lf95*) # Lahey Fortran 8.1
9310 whole_archive_flag_spec=
9311 tmp_sharedflag='--shared' ;;
9312 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9313 tmp_sharedflag='-qmkshrobj'
9314 tmp_addflag= ;;
9315 nvcc*) # Cuda Compiler Driver 2.2
9316 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'
9317 compiler_needs_object=yes
9319 esac
9320 case `$CC -V 2>&1 | sed 5q` in
9321 *Sun\ C*) # Sun C 5.9
9322 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'
9323 compiler_needs_object=yes
9324 tmp_sharedflag='-G' ;;
9325 *Sun\ F*) # Sun Fortran 8.3
9326 tmp_sharedflag='-G' ;;
9327 esac
9328 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9330 if test "x$supports_anon_versioning" = xyes; then
9331 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9332 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9333 echo "local: *; };" >> $output_objdir/$libname.ver~
9334 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9337 case $cc_basename in
9338 xlf* | bgf* | bgxlf* | mpixlf*)
9339 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9340 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9341 hardcode_libdir_flag_spec=
9342 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9343 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9344 if test "x$supports_anon_versioning" = xyes; then
9345 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9346 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9347 echo "local: *; };" >> $output_objdir/$libname.ver~
9348 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9351 esac
9352 else
9353 ld_shlibs=no
9357 netbsd*)
9358 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9359 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9360 wlarc=
9361 else
9362 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9363 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9367 solaris*)
9368 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9369 ld_shlibs=no
9370 cat <<_LT_EOF 1>&2
9372 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9373 *** create shared libraries on Solaris systems. Therefore, libtool
9374 *** is disabling shared libraries support. We urge you to upgrade GNU
9375 *** binutils to release 2.9.1 or newer. Another option is to modify
9376 *** your PATH or compiler configuration so that the native linker is
9377 *** used, and then restart.
9379 _LT_EOF
9380 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9381 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9382 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9383 else
9384 ld_shlibs=no
9388 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9389 case `$LD -v 2>&1` in
9390 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9391 ld_shlibs=no
9392 cat <<_LT_EOF 1>&2
9394 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9395 *** reliably create shared libraries on SCO systems. Therefore, libtool
9396 *** is disabling shared libraries support. We urge you to upgrade GNU
9397 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9398 *** your PATH or compiler configuration so that the native linker is
9399 *** used, and then restart.
9401 _LT_EOF
9404 # For security reasons, it is highly recommended that you always
9405 # use absolute paths for naming shared libraries, and exclude the
9406 # DT_RUNPATH tag from executables and libraries. But doing so
9407 # requires that you compile everything twice, which is a pain.
9408 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9409 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9410 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9411 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9412 else
9413 ld_shlibs=no
9416 esac
9419 sunos4*)
9420 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9421 wlarc=
9422 hardcode_direct=yes
9423 hardcode_shlibpath_var=no
9427 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9428 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9429 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9430 else
9431 ld_shlibs=no
9434 esac
9436 if test "$ld_shlibs" = no; then
9437 runpath_var=
9438 hardcode_libdir_flag_spec=
9439 export_dynamic_flag_spec=
9440 whole_archive_flag_spec=
9442 else
9443 # PORTME fill in a description of your system's linker (not GNU ld)
9444 case $host_os in
9445 aix3*)
9446 allow_undefined_flag=unsupported
9447 always_export_symbols=yes
9448 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'
9449 # Note: this linker hardcodes the directories in LIBPATH if there
9450 # are no directories specified by -L.
9451 hardcode_minus_L=yes
9452 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9453 # Neither direct hardcoding nor static linking is supported with a
9454 # broken collect2.
9455 hardcode_direct=unsupported
9459 aix[4-9]*)
9460 if test "$host_cpu" = ia64; then
9461 # On IA64, the linker does run time linking by default, so we don't
9462 # have to do anything special.
9463 aix_use_runtimelinking=no
9464 exp_sym_flag='-Bexport'
9465 no_entry_flag=""
9466 else
9467 # If we're using GNU nm, then we don't want the "-C" option.
9468 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9469 # Also, AIX nm treats weak defined symbols like other global
9470 # defined symbols, whereas GNU nm marks them as "W".
9471 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9472 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'
9473 else
9474 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'
9476 aix_use_runtimelinking=no
9478 # Test if we are trying to use run time linking or normal
9479 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9480 # need to do runtime linking.
9481 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9482 for ld_flag in $LDFLAGS; do
9483 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9484 aix_use_runtimelinking=yes
9485 break
9487 done
9489 esac
9491 exp_sym_flag='-bexport'
9492 no_entry_flag='-bnoentry'
9495 # When large executables or shared objects are built, AIX ld can
9496 # have problems creating the table of contents. If linking a library
9497 # or program results in "error TOC overflow" add -mminimal-toc to
9498 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9499 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9501 archive_cmds=''
9502 hardcode_direct=yes
9503 hardcode_direct_absolute=yes
9504 hardcode_libdir_separator=':'
9505 link_all_deplibs=yes
9506 file_list_spec='${wl}-f,'
9508 if test "$GCC" = yes; then
9509 case $host_os in aix4.[012]|aix4.[012].*)
9510 # We only want to do this on AIX 4.2 and lower, the check
9511 # below for broken collect2 doesn't work under 4.3+
9512 collect2name=`${CC} -print-prog-name=collect2`
9513 if test -f "$collect2name" &&
9514 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9515 then
9516 # We have reworked collect2
9518 else
9519 # We have old collect2
9520 hardcode_direct=unsupported
9521 # It fails to find uninstalled libraries when the uninstalled
9522 # path is not listed in the libpath. Setting hardcode_minus_L
9523 # to unsupported forces relinking
9524 hardcode_minus_L=yes
9525 hardcode_libdir_flag_spec='-L$libdir'
9526 hardcode_libdir_separator=
9529 esac
9530 shared_flag='-shared'
9531 if test "$aix_use_runtimelinking" = yes; then
9532 shared_flag="$shared_flag "'${wl}-G'
9534 else
9535 # not using gcc
9536 if test "$host_cpu" = ia64; then
9537 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9538 # chokes on -Wl,-G. The following line is correct:
9539 shared_flag='-G'
9540 else
9541 if test "$aix_use_runtimelinking" = yes; then
9542 shared_flag='${wl}-G'
9543 else
9544 shared_flag='${wl}-bM:SRE'
9549 export_dynamic_flag_spec='${wl}-bexpall'
9550 # It seems that -bexpall does not export symbols beginning with
9551 # underscore (_), so it is better to generate a list of symbols to export.
9552 always_export_symbols=yes
9553 if test "$aix_use_runtimelinking" = yes; then
9554 # Warning - without using the other runtime loading flags (-brtl),
9555 # -berok will link without error, but may produce a broken library.
9556 allow_undefined_flag='-berok'
9557 # Determine the default libpath from the value encoded in an
9558 # empty executable.
9559 if test x$gcc_no_link = xyes; then
9560 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9563 /* end confdefs.h. */
9566 main ()
9570 return 0;
9572 _ACEOF
9573 if ac_fn_c_try_link "$LINENO"; then :
9575 lt_aix_libpath_sed='
9576 /Import File Strings/,/^$/ {
9577 /^0/ {
9578 s/^0 *\(.*\)$/\1/
9582 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9583 # Check for a 64-bit object if we didn't find anything.
9584 if test -z "$aix_libpath"; then
9585 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9588 rm -f core conftest.err conftest.$ac_objext \
9589 conftest$ac_exeext conftest.$ac_ext
9590 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9592 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9593 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"
9594 else
9595 if test "$host_cpu" = ia64; then
9596 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9597 allow_undefined_flag="-z nodefs"
9598 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"
9599 else
9600 # Determine the default libpath from the value encoded in an
9601 # empty executable.
9602 if test x$gcc_no_link = xyes; then
9603 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9606 /* end confdefs.h. */
9609 main ()
9613 return 0;
9615 _ACEOF
9616 if ac_fn_c_try_link "$LINENO"; then :
9618 lt_aix_libpath_sed='
9619 /Import File Strings/,/^$/ {
9620 /^0/ {
9621 s/^0 *\(.*\)$/\1/
9625 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9626 # Check for a 64-bit object if we didn't find anything.
9627 if test -z "$aix_libpath"; then
9628 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9631 rm -f core conftest.err conftest.$ac_objext \
9632 conftest$ac_exeext conftest.$ac_ext
9633 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9635 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9636 # Warning - without using the other run time loading flags,
9637 # -berok will link without error, but may produce a broken library.
9638 no_undefined_flag=' ${wl}-bernotok'
9639 allow_undefined_flag=' ${wl}-berok'
9640 if test "$with_gnu_ld" = yes; then
9641 # We only use this code for GNU lds that support --whole-archive.
9642 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9643 else
9644 # Exported symbols can be pulled into shared objects from archives
9645 whole_archive_flag_spec='$convenience'
9647 archive_cmds_need_lc=yes
9648 # This is similar to how AIX traditionally builds its shared libraries.
9649 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'
9654 amigaos*)
9655 case $host_cpu in
9656 powerpc)
9657 # see comment about AmigaOS4 .so support
9658 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9659 archive_expsym_cmds=''
9661 m68k)
9662 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)'
9663 hardcode_libdir_flag_spec='-L$libdir'
9664 hardcode_minus_L=yes
9666 esac
9669 bsdi[45]*)
9670 export_dynamic_flag_spec=-rdynamic
9673 cygwin* | mingw* | pw32* | cegcc*)
9674 # When not using gcc, we currently assume that we are using
9675 # Microsoft Visual C++.
9676 # hardcode_libdir_flag_spec is actually meaningless, as there is
9677 # no search path for DLLs.
9678 hardcode_libdir_flag_spec=' '
9679 allow_undefined_flag=unsupported
9680 # Tell ltmain to make .lib files, not .a files.
9681 libext=lib
9682 # Tell ltmain to make .dll files, not .so files.
9683 shrext_cmds=".dll"
9684 # FIXME: Setting linknames here is a bad hack.
9685 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9686 # The linker will automatically build a .lib file if we build a DLL.
9687 old_archive_from_new_cmds='true'
9688 # FIXME: Should let the user specify the lib program.
9689 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9690 fix_srcfile_path='`cygpath -w "$srcfile"`'
9691 enable_shared_with_static_runtimes=yes
9694 darwin* | rhapsody*)
9697 archive_cmds_need_lc=no
9698 hardcode_direct=no
9699 hardcode_automatic=yes
9700 hardcode_shlibpath_var=unsupported
9701 if test "$lt_cv_ld_force_load" = "yes"; then
9702 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\"`'
9703 else
9704 whole_archive_flag_spec=''
9706 link_all_deplibs=yes
9707 allow_undefined_flag="$_lt_dar_allow_undefined"
9708 case $cc_basename in
9709 ifort*) _lt_dar_can_shared=yes ;;
9710 *) _lt_dar_can_shared=$GCC ;;
9711 esac
9712 if test "$_lt_dar_can_shared" = "yes"; then
9713 output_verbose_link_cmd=func_echo_all
9714 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9715 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9716 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}"
9717 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}"
9719 else
9720 ld_shlibs=no
9725 dgux*)
9726 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9727 hardcode_libdir_flag_spec='-L$libdir'
9728 hardcode_shlibpath_var=no
9731 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9732 # support. Future versions do this automatically, but an explicit c++rt0.o
9733 # does not break anything, and helps significantly (at the cost of a little
9734 # extra space).
9735 freebsd2.2*)
9736 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9737 hardcode_libdir_flag_spec='-R$libdir'
9738 hardcode_direct=yes
9739 hardcode_shlibpath_var=no
9742 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9743 freebsd2.*)
9744 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9745 hardcode_direct=yes
9746 hardcode_minus_L=yes
9747 hardcode_shlibpath_var=no
9750 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9751 freebsd* | dragonfly*)
9752 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9753 hardcode_libdir_flag_spec='-R$libdir'
9754 hardcode_direct=yes
9755 hardcode_shlibpath_var=no
9758 hpux9*)
9759 if test "$GCC" = yes; then
9760 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'
9761 else
9762 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'
9764 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9765 hardcode_libdir_separator=:
9766 hardcode_direct=yes
9768 # hardcode_minus_L: Not really in the search PATH,
9769 # but as the default location of the library.
9770 hardcode_minus_L=yes
9771 export_dynamic_flag_spec='${wl}-E'
9774 hpux10*)
9775 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9776 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9777 else
9778 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9780 if test "$with_gnu_ld" = no; then
9781 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9782 hardcode_libdir_flag_spec_ld='+b $libdir'
9783 hardcode_libdir_separator=:
9784 hardcode_direct=yes
9785 hardcode_direct_absolute=yes
9786 export_dynamic_flag_spec='${wl}-E'
9787 # hardcode_minus_L: Not really in the search PATH,
9788 # but as the default location of the library.
9789 hardcode_minus_L=yes
9793 hpux11*)
9794 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9795 case $host_cpu in
9796 hppa*64*)
9797 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9799 ia64*)
9800 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9803 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9805 esac
9806 else
9807 case $host_cpu in
9808 hppa*64*)
9809 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9811 ia64*)
9812 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9816 # Older versions of the 11.00 compiler do not understand -b yet
9817 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9819 $as_echo_n "checking if $CC understands -b... " >&6; }
9820 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9821 $as_echo_n "(cached) " >&6
9822 else
9823 lt_cv_prog_compiler__b=no
9824 save_LDFLAGS="$LDFLAGS"
9825 LDFLAGS="$LDFLAGS -b"
9826 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9827 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9828 # The linker can only warn and ignore the option if not recognized
9829 # So say no if there are warnings
9830 if test -s conftest.err; then
9831 # Append any errors to the config.log.
9832 cat conftest.err 1>&5
9833 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9834 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9835 if diff conftest.exp conftest.er2 >/dev/null; then
9836 lt_cv_prog_compiler__b=yes
9838 else
9839 lt_cv_prog_compiler__b=yes
9842 $RM -r conftest*
9843 LDFLAGS="$save_LDFLAGS"
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9847 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9849 if test x"$lt_cv_prog_compiler__b" = xyes; then
9850 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9851 else
9852 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9856 esac
9858 if test "$with_gnu_ld" = no; then
9859 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9860 hardcode_libdir_separator=:
9862 case $host_cpu in
9863 hppa*64*|ia64*)
9864 hardcode_direct=no
9865 hardcode_shlibpath_var=no
9868 hardcode_direct=yes
9869 hardcode_direct_absolute=yes
9870 export_dynamic_flag_spec='${wl}-E'
9872 # hardcode_minus_L: Not really in the search PATH,
9873 # but as the default location of the library.
9874 hardcode_minus_L=yes
9876 esac
9880 irix5* | irix6* | nonstopux*)
9881 if test "$GCC" = yes; then
9882 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'
9883 # Try to use the -exported_symbol ld option, if it does not
9884 # work, assume that -exports_file does not work either and
9885 # implicitly export all symbols.
9886 save_LDFLAGS="$LDFLAGS"
9887 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9888 if test x$gcc_no_link = xyes; then
9889 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9892 /* end confdefs.h. */
9893 int foo(void) {}
9894 _ACEOF
9895 if ac_fn_c_try_link "$LINENO"; then :
9896 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'
9899 rm -f core conftest.err conftest.$ac_objext \
9900 conftest$ac_exeext conftest.$ac_ext
9901 LDFLAGS="$save_LDFLAGS"
9902 else
9903 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'
9904 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'
9906 archive_cmds_need_lc='no'
9907 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9908 hardcode_libdir_separator=:
9909 inherit_rpath=yes
9910 link_all_deplibs=yes
9913 netbsd*)
9914 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9915 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9916 else
9917 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9919 hardcode_libdir_flag_spec='-R$libdir'
9920 hardcode_direct=yes
9921 hardcode_shlibpath_var=no
9924 newsos6)
9925 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9926 hardcode_direct=yes
9927 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9928 hardcode_libdir_separator=:
9929 hardcode_shlibpath_var=no
9932 *nto* | *qnx*)
9935 openbsd*)
9936 if test -f /usr/libexec/ld.so; then
9937 hardcode_direct=yes
9938 hardcode_shlibpath_var=no
9939 hardcode_direct_absolute=yes
9940 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9941 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9942 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9943 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9944 export_dynamic_flag_spec='${wl}-E'
9945 else
9946 case $host_os in
9947 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9948 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9949 hardcode_libdir_flag_spec='-R$libdir'
9952 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9953 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9955 esac
9957 else
9958 ld_shlibs=no
9962 os2*)
9963 hardcode_libdir_flag_spec='-L$libdir'
9964 hardcode_minus_L=yes
9965 allow_undefined_flag=unsupported
9966 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'
9967 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9970 osf3*)
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}-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 else
9975 allow_undefined_flag=' -expect_unresolved \*'
9976 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'
9978 archive_cmds_need_lc='no'
9979 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9980 hardcode_libdir_separator=:
9983 osf4* | osf5*) # as osf3* with the addition of -msym flag
9984 if test "$GCC" = yes; then
9985 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9986 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'
9987 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9988 else
9989 allow_undefined_flag=' -expect_unresolved \*'
9990 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'
9991 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~
9992 $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'
9994 # Both c and cxx compiler support -rpath directly
9995 hardcode_libdir_flag_spec='-rpath $libdir'
9997 archive_cmds_need_lc='no'
9998 hardcode_libdir_separator=:
10001 solaris*)
10002 no_undefined_flag=' -z defs'
10003 if test "$GCC" = yes; then
10004 wlarc='${wl}'
10005 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$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 -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10008 else
10009 case `$CC -V 2>&1` in
10010 *"Compilers 5.0"*)
10011 wlarc=''
10012 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10013 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10014 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10017 wlarc='${wl}'
10018 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10019 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10020 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10022 esac
10024 hardcode_libdir_flag_spec='-R$libdir'
10025 hardcode_shlibpath_var=no
10026 case $host_os in
10027 solaris2.[0-5] | solaris2.[0-5].*) ;;
10029 # The compiler driver will combine and reorder linker options,
10030 # but understands `-z linker_flag'. GCC discards it without `$wl',
10031 # but is careful enough not to reorder.
10032 # Supported since Solaris 2.6 (maybe 2.5.1?)
10033 if test "$GCC" = yes; then
10034 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10035 else
10036 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10039 esac
10040 link_all_deplibs=yes
10043 sunos4*)
10044 if test "x$host_vendor" = xsequent; then
10045 # Use $CC to link under sequent, because it throws in some extra .o
10046 # files that make .init and .fini sections work.
10047 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10048 else
10049 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10051 hardcode_libdir_flag_spec='-L$libdir'
10052 hardcode_direct=yes
10053 hardcode_minus_L=yes
10054 hardcode_shlibpath_var=no
10057 sysv4)
10058 case $host_vendor in
10059 sni)
10060 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10061 hardcode_direct=yes # is this really true???
10063 siemens)
10064 ## LD is ld it makes a PLAMLIB
10065 ## CC just makes a GrossModule.
10066 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10067 reload_cmds='$CC -r -o $output$reload_objs'
10068 hardcode_direct=no
10070 motorola)
10071 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10072 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10074 esac
10075 runpath_var='LD_RUN_PATH'
10076 hardcode_shlibpath_var=no
10079 sysv4.3*)
10080 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10081 hardcode_shlibpath_var=no
10082 export_dynamic_flag_spec='-Bexport'
10085 sysv4*MP*)
10086 if test -d /usr/nec; then
10087 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10088 hardcode_shlibpath_var=no
10089 runpath_var=LD_RUN_PATH
10090 hardcode_runpath_var=yes
10091 ld_shlibs=yes
10095 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10096 no_undefined_flag='${wl}-z,text'
10097 archive_cmds_need_lc=no
10098 hardcode_shlibpath_var=no
10099 runpath_var='LD_RUN_PATH'
10101 if test "$GCC" = yes; then
10102 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10103 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10104 else
10105 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10106 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10110 sysv5* | sco3.2v5* | sco5v6*)
10111 # Note: We can NOT use -z defs as we might desire, because we do not
10112 # link with -lc, and that would cause any symbols used from libc to
10113 # always be unresolved, which means just about no library would
10114 # ever link correctly. If we're not using GNU ld we use -z text
10115 # though, which does catch some bad symbols but isn't as heavy-handed
10116 # as -z defs.
10117 no_undefined_flag='${wl}-z,text'
10118 allow_undefined_flag='${wl}-z,nodefs'
10119 archive_cmds_need_lc=no
10120 hardcode_shlibpath_var=no
10121 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10122 hardcode_libdir_separator=':'
10123 link_all_deplibs=yes
10124 export_dynamic_flag_spec='${wl}-Bexport'
10125 runpath_var='LD_RUN_PATH'
10127 if test "$GCC" = yes; then
10128 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10129 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10130 else
10131 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10132 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10136 uts4*)
10137 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10138 hardcode_libdir_flag_spec='-L$libdir'
10139 hardcode_shlibpath_var=no
10143 ld_shlibs=no
10145 esac
10147 if test x$host_vendor = xsni; then
10148 case $host in
10149 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10150 export_dynamic_flag_spec='${wl}-Blargedynsym'
10152 esac
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10157 $as_echo "$ld_shlibs" >&6; }
10158 test "$ld_shlibs" = no && can_build_shared=no
10160 with_gnu_ld=$with_gnu_ld
10177 # Do we need to explicitly link libc?
10179 case "x$archive_cmds_need_lc" in
10180 x|xyes)
10181 # Assume -lc should be added
10182 archive_cmds_need_lc=yes
10184 if test "$enable_shared" = yes && test "$GCC" = yes; then
10185 case $archive_cmds in
10186 *'~'*)
10187 # FIXME: we may have to deal with multi-command sequences.
10189 '$CC '*)
10190 # Test whether the compiler implicitly links with -lc since on some
10191 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10192 # to ld, don't add -lc before -lgcc.
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10194 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10195 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10196 $as_echo_n "(cached) " >&6
10197 else
10198 $RM conftest*
10199 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10201 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10202 (eval $ac_compile) 2>&5
10203 ac_status=$?
10204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10205 test $ac_status = 0; } 2>conftest.err; then
10206 soname=conftest
10207 lib=conftest
10208 libobjs=conftest.$ac_objext
10209 deplibs=
10210 wl=$lt_prog_compiler_wl
10211 pic_flag=$lt_prog_compiler_pic
10212 compiler_flags=-v
10213 linker_flags=-v
10214 verstring=
10215 output_objdir=.
10216 libname=conftest
10217 lt_save_allow_undefined_flag=$allow_undefined_flag
10218 allow_undefined_flag=
10219 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10220 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10221 ac_status=$?
10222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10223 test $ac_status = 0; }
10224 then
10225 lt_cv_archive_cmds_need_lc=no
10226 else
10227 lt_cv_archive_cmds_need_lc=yes
10229 allow_undefined_flag=$lt_save_allow_undefined_flag
10230 else
10231 cat conftest.err 1>&5
10233 $RM conftest*
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10237 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10238 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10240 esac
10243 esac
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10402 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10404 if test "$GCC" = yes; then
10405 case $host_os in
10406 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10407 *) lt_awk_arg="/^libraries:/" ;;
10408 esac
10409 case $host_os in
10410 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10411 *) lt_sed_strip_eq="s,=/,/,g" ;;
10412 esac
10413 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10414 case $lt_search_path_spec in
10415 *\;*)
10416 # if the path contains ";" then we assume it to be the separator
10417 # otherwise default to the standard path separator (i.e. ":") - it is
10418 # assumed that no part of a normal pathname contains ";" but that should
10419 # okay in the real world where ";" in dirpaths is itself problematic.
10420 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10423 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10425 esac
10426 # Ok, now we have the path, separated by spaces, we can step through it
10427 # and add multilib dir if necessary.
10428 lt_tmp_lt_search_path_spec=
10429 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10430 for lt_sys_path in $lt_search_path_spec; do
10431 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10432 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10433 else
10434 test -d "$lt_sys_path" && \
10435 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10437 done
10438 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10439 BEGIN {RS=" "; FS="/|\n";} {
10440 lt_foo="";
10441 lt_count=0;
10442 for (lt_i = NF; lt_i > 0; lt_i--) {
10443 if ($lt_i != "" && $lt_i != ".") {
10444 if ($lt_i == "..") {
10445 lt_count++;
10446 } else {
10447 if (lt_count == 0) {
10448 lt_foo="/" $lt_i lt_foo;
10449 } else {
10450 lt_count--;
10455 if (lt_foo != "") { lt_freq[lt_foo]++; }
10456 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10458 # AWK program above erroneously prepends '/' to C:/dos/paths
10459 # for these hosts.
10460 case $host_os in
10461 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10462 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10463 esac
10464 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10465 else
10466 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10468 library_names_spec=
10469 libname_spec='lib$name'
10470 soname_spec=
10471 shrext_cmds=".so"
10472 postinstall_cmds=
10473 postuninstall_cmds=
10474 finish_cmds=
10475 finish_eval=
10476 shlibpath_var=
10477 shlibpath_overrides_runpath=unknown
10478 version_type=none
10479 dynamic_linker="$host_os ld.so"
10480 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10481 need_lib_prefix=unknown
10482 hardcode_into_libs=no
10484 # when you set need_version to no, make sure it does not cause -set_version
10485 # flags to be left without arguments
10486 need_version=unknown
10488 case $host_os in
10489 aix3*)
10490 version_type=linux
10491 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10492 shlibpath_var=LIBPATH
10494 # AIX 3 has no versioning support, so we append a major version to the name.
10495 soname_spec='${libname}${release}${shared_ext}$major'
10498 aix[4-9]*)
10499 version_type=linux
10500 need_lib_prefix=no
10501 need_version=no
10502 hardcode_into_libs=yes
10503 if test "$host_cpu" = ia64; then
10504 # AIX 5 supports IA64
10505 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10506 shlibpath_var=LD_LIBRARY_PATH
10507 else
10508 # With GCC up to 2.95.x, collect2 would create an import file
10509 # for dependence libraries. The import file would start with
10510 # the line `#! .'. This would cause the generated library to
10511 # depend on `.', always an invalid library. This was fixed in
10512 # development snapshots of GCC prior to 3.0.
10513 case $host_os in
10514 aix4 | aix4.[01] | aix4.[01].*)
10515 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10516 echo ' yes '
10517 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10519 else
10520 can_build_shared=no
10523 esac
10524 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10525 # soname into executable. Probably we can add versioning support to
10526 # collect2, so additional links can be useful in future.
10527 if test "$aix_use_runtimelinking" = yes; then
10528 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10529 # instead of lib<name>.a to let people know that these are not
10530 # typical AIX shared libraries.
10531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10532 else
10533 # We preserve .a as extension for shared libraries through AIX4.2
10534 # and later when we are not doing run time linking.
10535 library_names_spec='${libname}${release}.a $libname.a'
10536 soname_spec='${libname}${release}${shared_ext}$major'
10538 shlibpath_var=LIBPATH
10542 amigaos*)
10543 case $host_cpu in
10544 powerpc)
10545 # Since July 2007 AmigaOS4 officially supports .so libraries.
10546 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10549 m68k)
10550 library_names_spec='$libname.ixlibrary $libname.a'
10551 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10552 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'
10554 esac
10557 beos*)
10558 library_names_spec='${libname}${shared_ext}'
10559 dynamic_linker="$host_os ld.so"
10560 shlibpath_var=LIBRARY_PATH
10563 bsdi[45]*)
10564 version_type=linux
10565 need_version=no
10566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10567 soname_spec='${libname}${release}${shared_ext}$major'
10568 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10569 shlibpath_var=LD_LIBRARY_PATH
10570 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10571 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10572 # the default ld.so.conf also contains /usr/contrib/lib and
10573 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10574 # libtool to hard-code these into programs
10577 cygwin* | mingw* | pw32* | cegcc*)
10578 version_type=windows
10579 shrext_cmds=".dll"
10580 need_version=no
10581 need_lib_prefix=no
10583 case $GCC,$host_os in
10584 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10585 library_names_spec='$libname.dll.a'
10586 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10587 postinstall_cmds='base_file=`basename \${file}`~
10588 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10589 dldir=$destdir/`dirname \$dlpath`~
10590 test -d \$dldir || mkdir -p \$dldir~
10591 $install_prog $dir/$dlname \$dldir/$dlname~
10592 chmod a+x \$dldir/$dlname~
10593 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10594 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10596 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10597 dlpath=$dir/\$dldll~
10598 $RM \$dlpath'
10599 shlibpath_overrides_runpath=yes
10601 case $host_os in
10602 cygwin*)
10603 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10604 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10606 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10608 mingw* | cegcc*)
10609 # MinGW DLLs use traditional 'lib' prefix
10610 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10612 pw32*)
10613 # pw32 DLLs use 'pw' prefix rather than 'lib'
10614 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10616 esac
10620 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10622 esac
10623 dynamic_linker='Win32 ld.exe'
10624 # FIXME: first we should search . and the directory the executable is in
10625 shlibpath_var=PATH
10628 darwin* | rhapsody*)
10629 dynamic_linker="$host_os dyld"
10630 version_type=darwin
10631 need_lib_prefix=no
10632 need_version=no
10633 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10634 soname_spec='${libname}${release}${major}$shared_ext'
10635 shlibpath_overrides_runpath=yes
10636 shlibpath_var=DYLD_LIBRARY_PATH
10637 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10639 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10640 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10643 dgux*)
10644 version_type=linux
10645 need_lib_prefix=no
10646 need_version=no
10647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10648 soname_spec='${libname}${release}${shared_ext}$major'
10649 shlibpath_var=LD_LIBRARY_PATH
10652 freebsd* | dragonfly*)
10653 # DragonFly does not have aout. When/if they implement a new
10654 # versioning mechanism, adjust this.
10655 if test -x /usr/bin/objformat; then
10656 objformat=`/usr/bin/objformat`
10657 else
10658 case $host_os in
10659 freebsd[23].*) objformat=aout ;;
10660 *) objformat=elf ;;
10661 esac
10663 version_type=freebsd-$objformat
10664 case $version_type in
10665 freebsd-elf*)
10666 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10667 need_version=no
10668 need_lib_prefix=no
10670 freebsd-*)
10671 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10672 need_version=yes
10674 esac
10675 shlibpath_var=LD_LIBRARY_PATH
10676 case $host_os in
10677 freebsd2.*)
10678 shlibpath_overrides_runpath=yes
10680 freebsd3.[01]* | freebsdelf3.[01]*)
10681 shlibpath_overrides_runpath=yes
10682 hardcode_into_libs=yes
10684 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10685 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10686 shlibpath_overrides_runpath=no
10687 hardcode_into_libs=yes
10689 *) # from 4.6 on, and DragonFly
10690 shlibpath_overrides_runpath=yes
10691 hardcode_into_libs=yes
10693 esac
10696 gnu*)
10697 version_type=linux
10698 need_lib_prefix=no
10699 need_version=no
10700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10701 soname_spec='${libname}${release}${shared_ext}$major'
10702 shlibpath_var=LD_LIBRARY_PATH
10703 hardcode_into_libs=yes
10706 haiku*)
10707 version_type=linux
10708 need_lib_prefix=no
10709 need_version=no
10710 dynamic_linker="$host_os runtime_loader"
10711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10712 soname_spec='${libname}${release}${shared_ext}$major'
10713 shlibpath_var=LIBRARY_PATH
10714 shlibpath_overrides_runpath=yes
10715 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10716 hardcode_into_libs=yes
10719 hpux9* | hpux10* | hpux11*)
10720 # Give a soname corresponding to the major version so that dld.sl refuses to
10721 # link against other versions.
10722 version_type=sunos
10723 need_lib_prefix=no
10724 need_version=no
10725 case $host_cpu in
10726 ia64*)
10727 shrext_cmds='.so'
10728 hardcode_into_libs=yes
10729 dynamic_linker="$host_os dld.so"
10730 shlibpath_var=LD_LIBRARY_PATH
10731 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10733 soname_spec='${libname}${release}${shared_ext}$major'
10734 if test "X$HPUX_IA64_MODE" = X32; then
10735 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10736 else
10737 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10739 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10741 hppa*64*)
10742 shrext_cmds='.sl'
10743 hardcode_into_libs=yes
10744 dynamic_linker="$host_os dld.sl"
10745 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10746 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10748 soname_spec='${libname}${release}${shared_ext}$major'
10749 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10750 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10753 shrext_cmds='.sl'
10754 dynamic_linker="$host_os dld.sl"
10755 shlibpath_var=SHLIB_PATH
10756 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10758 soname_spec='${libname}${release}${shared_ext}$major'
10760 esac
10761 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10762 postinstall_cmds='chmod 555 $lib'
10763 # or fails outright, so override atomically:
10764 install_override_mode=555
10767 interix[3-9]*)
10768 version_type=linux
10769 need_lib_prefix=no
10770 need_version=no
10771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10772 soname_spec='${libname}${release}${shared_ext}$major'
10773 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10774 shlibpath_var=LD_LIBRARY_PATH
10775 shlibpath_overrides_runpath=no
10776 hardcode_into_libs=yes
10779 irix5* | irix6* | nonstopux*)
10780 case $host_os in
10781 nonstopux*) version_type=nonstopux ;;
10783 if test "$lt_cv_prog_gnu_ld" = yes; then
10784 version_type=linux
10785 else
10786 version_type=irix
10787 fi ;;
10788 esac
10789 need_lib_prefix=no
10790 need_version=no
10791 soname_spec='${libname}${release}${shared_ext}$major'
10792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10793 case $host_os in
10794 irix5* | nonstopux*)
10795 libsuff= shlibsuff=
10798 case $LD in # libtool.m4 will add one of these switches to LD
10799 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10800 libsuff= shlibsuff= libmagic=32-bit;;
10801 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10802 libsuff=32 shlibsuff=N32 libmagic=N32;;
10803 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10804 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10805 *) libsuff= shlibsuff= libmagic=never-match;;
10806 esac
10808 esac
10809 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10810 shlibpath_overrides_runpath=no
10811 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10812 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10813 hardcode_into_libs=yes
10816 # No shared lib support for Linux oldld, aout, or coff.
10817 linux*oldld* | linux*aout* | linux*coff*)
10818 dynamic_linker=no
10821 # This must be Linux ELF.
10822 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10823 version_type=linux
10824 need_lib_prefix=no
10825 need_version=no
10826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10827 soname_spec='${libname}${release}${shared_ext}$major'
10828 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10829 shlibpath_var=LD_LIBRARY_PATH
10830 shlibpath_overrides_runpath=no
10832 # Some binutils ld are patched to set DT_RUNPATH
10833 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10834 $as_echo_n "(cached) " >&6
10835 else
10836 lt_cv_shlibpath_overrides_runpath=no
10837 save_LDFLAGS=$LDFLAGS
10838 save_libdir=$libdir
10839 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10840 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10841 if test x$gcc_no_link = xyes; then
10842 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10845 /* end confdefs.h. */
10848 main ()
10852 return 0;
10854 _ACEOF
10855 if ac_fn_c_try_link "$LINENO"; then :
10856 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10857 lt_cv_shlibpath_overrides_runpath=yes
10860 rm -f core conftest.err conftest.$ac_objext \
10861 conftest$ac_exeext conftest.$ac_ext
10862 LDFLAGS=$save_LDFLAGS
10863 libdir=$save_libdir
10867 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10869 # This implies no fast_install, which is unacceptable.
10870 # Some rework will be needed to allow for fast_install
10871 # before this can be enabled.
10872 hardcode_into_libs=yes
10874 # Append ld.so.conf contents to the search path
10875 if test -f /etc/ld.so.conf; then
10876 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' ' '`
10877 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10880 # We used to test for /lib/ld.so.1 and disable shared libraries on
10881 # powerpc, because MkLinux only supported shared libraries with the
10882 # GNU dynamic linker. Since this was broken with cross compilers,
10883 # most powerpc-linux boxes support dynamic linking these days and
10884 # people can always --disable-shared, the test was removed, and we
10885 # assume the GNU/Linux dynamic linker is in use.
10886 dynamic_linker='GNU/Linux ld.so'
10889 netbsd*)
10890 version_type=sunos
10891 need_lib_prefix=no
10892 need_version=no
10893 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10895 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10896 dynamic_linker='NetBSD (a.out) ld.so'
10897 else
10898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10899 soname_spec='${libname}${release}${shared_ext}$major'
10900 dynamic_linker='NetBSD ld.elf_so'
10902 shlibpath_var=LD_LIBRARY_PATH
10903 shlibpath_overrides_runpath=yes
10904 hardcode_into_libs=yes
10907 newsos6)
10908 version_type=linux
10909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10910 shlibpath_var=LD_LIBRARY_PATH
10911 shlibpath_overrides_runpath=yes
10914 *nto* | *qnx*)
10915 version_type=qnx
10916 need_lib_prefix=no
10917 need_version=no
10918 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10919 soname_spec='${libname}${release}${shared_ext}$major'
10920 shlibpath_var=LD_LIBRARY_PATH
10921 shlibpath_overrides_runpath=no
10922 hardcode_into_libs=yes
10923 dynamic_linker='ldqnx.so'
10926 openbsd*)
10927 version_type=sunos
10928 sys_lib_dlsearch_path_spec="/usr/lib"
10929 need_lib_prefix=no
10930 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10931 case $host_os in
10932 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10933 *) need_version=no ;;
10934 esac
10935 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10936 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10937 shlibpath_var=LD_LIBRARY_PATH
10938 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10939 case $host_os in
10940 openbsd2.[89] | openbsd2.[89].*)
10941 shlibpath_overrides_runpath=no
10944 shlibpath_overrides_runpath=yes
10946 esac
10947 else
10948 shlibpath_overrides_runpath=yes
10952 os2*)
10953 libname_spec='$name'
10954 shrext_cmds=".dll"
10955 need_lib_prefix=no
10956 library_names_spec='$libname${shared_ext} $libname.a'
10957 dynamic_linker='OS/2 ld.exe'
10958 shlibpath_var=LIBPATH
10961 osf3* | osf4* | osf5*)
10962 version_type=osf
10963 need_lib_prefix=no
10964 need_version=no
10965 soname_spec='${libname}${release}${shared_ext}$major'
10966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10967 shlibpath_var=LD_LIBRARY_PATH
10968 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10969 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10972 rdos*)
10973 dynamic_linker=no
10976 solaris*)
10977 version_type=linux
10978 need_lib_prefix=no
10979 need_version=no
10980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10981 soname_spec='${libname}${release}${shared_ext}$major'
10982 shlibpath_var=LD_LIBRARY_PATH
10983 shlibpath_overrides_runpath=yes
10984 hardcode_into_libs=yes
10985 # ldd complains unless libraries are executable
10986 postinstall_cmds='chmod +x $lib'
10989 sunos4*)
10990 version_type=sunos
10991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10992 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10993 shlibpath_var=LD_LIBRARY_PATH
10994 shlibpath_overrides_runpath=yes
10995 if test "$with_gnu_ld" = yes; then
10996 need_lib_prefix=no
10998 need_version=yes
11001 sysv4 | sysv4.3*)
11002 version_type=linux
11003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11004 soname_spec='${libname}${release}${shared_ext}$major'
11005 shlibpath_var=LD_LIBRARY_PATH
11006 case $host_vendor in
11007 sni)
11008 shlibpath_overrides_runpath=no
11009 need_lib_prefix=no
11010 runpath_var=LD_RUN_PATH
11012 siemens)
11013 need_lib_prefix=no
11015 motorola)
11016 need_lib_prefix=no
11017 need_version=no
11018 shlibpath_overrides_runpath=no
11019 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11021 esac
11024 sysv4*MP*)
11025 if test -d /usr/nec ;then
11026 version_type=linux
11027 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11028 soname_spec='$libname${shared_ext}.$major'
11029 shlibpath_var=LD_LIBRARY_PATH
11033 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11034 version_type=freebsd-elf
11035 need_lib_prefix=no
11036 need_version=no
11037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11038 soname_spec='${libname}${release}${shared_ext}$major'
11039 shlibpath_var=LD_LIBRARY_PATH
11040 shlibpath_overrides_runpath=yes
11041 hardcode_into_libs=yes
11042 if test "$with_gnu_ld" = yes; then
11043 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11044 else
11045 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11046 case $host_os in
11047 sco3.2v5*)
11048 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11050 esac
11052 sys_lib_dlsearch_path_spec='/usr/lib'
11055 tpf*)
11056 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11057 version_type=linux
11058 need_lib_prefix=no
11059 need_version=no
11060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11061 shlibpath_var=LD_LIBRARY_PATH
11062 shlibpath_overrides_runpath=no
11063 hardcode_into_libs=yes
11066 uts4*)
11067 version_type=linux
11068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11069 soname_spec='${libname}${release}${shared_ext}$major'
11070 shlibpath_var=LD_LIBRARY_PATH
11074 dynamic_linker=no
11076 esac
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11078 $as_echo "$dynamic_linker" >&6; }
11079 test "$dynamic_linker" = no && can_build_shared=no
11081 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11082 if test "$GCC" = yes; then
11083 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11086 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11087 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11089 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11090 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11185 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11186 hardcode_action=
11187 if test -n "$hardcode_libdir_flag_spec" ||
11188 test -n "$runpath_var" ||
11189 test "X$hardcode_automatic" = "Xyes" ; then
11191 # We can hardcode non-existent directories.
11192 if test "$hardcode_direct" != no &&
11193 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11194 # have to relink, otherwise we might link with an installed library
11195 # when we should be linking with a yet-to-be-installed one
11196 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11197 test "$hardcode_minus_L" != no; then
11198 # Linking always hardcodes the temporary library directory.
11199 hardcode_action=relink
11200 else
11201 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11202 hardcode_action=immediate
11204 else
11205 # We cannot hardcode anything, or else we can only hardcode existing
11206 # directories.
11207 hardcode_action=unsupported
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11210 $as_echo "$hardcode_action" >&6; }
11212 if test "$hardcode_action" = relink ||
11213 test "$inherit_rpath" = yes; then
11214 # Fast installation is not supported
11215 enable_fast_install=no
11216 elif test "$shlibpath_overrides_runpath" = yes ||
11217 test "$enable_shared" = no; then
11218 # Fast installation is not necessary
11219 enable_fast_install=needless
11227 if test "x$enable_dlopen" != xyes; then
11228 enable_dlopen=unknown
11229 enable_dlopen_self=unknown
11230 enable_dlopen_self_static=unknown
11231 else
11232 lt_cv_dlopen=no
11233 lt_cv_dlopen_libs=
11235 case $host_os in
11236 beos*)
11237 lt_cv_dlopen="load_add_on"
11238 lt_cv_dlopen_libs=
11239 lt_cv_dlopen_self=yes
11242 mingw* | pw32* | cegcc*)
11243 lt_cv_dlopen="LoadLibrary"
11244 lt_cv_dlopen_libs=
11247 cygwin*)
11248 lt_cv_dlopen="dlopen"
11249 lt_cv_dlopen_libs=
11252 darwin*)
11253 # if libdl is installed we need to link against it
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11255 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11256 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11257 $as_echo_n "(cached) " >&6
11258 else
11259 ac_check_lib_save_LIBS=$LIBS
11260 LIBS="-ldl $LIBS"
11261 if test x$gcc_no_link = xyes; then
11262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11265 /* end confdefs.h. */
11267 /* Override any GCC internal prototype to avoid an error.
11268 Use char because int might match the return type of a GCC
11269 builtin and then its argument prototype would still apply. */
11270 #ifdef __cplusplus
11271 extern "C"
11272 #endif
11273 char dlopen ();
11275 main ()
11277 return dlopen ();
11279 return 0;
11281 _ACEOF
11282 if ac_fn_c_try_link "$LINENO"; then :
11283 ac_cv_lib_dl_dlopen=yes
11284 else
11285 ac_cv_lib_dl_dlopen=no
11287 rm -f core conftest.err conftest.$ac_objext \
11288 conftest$ac_exeext conftest.$ac_ext
11289 LIBS=$ac_check_lib_save_LIBS
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11292 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11293 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11294 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11295 else
11297 lt_cv_dlopen="dyld"
11298 lt_cv_dlopen_libs=
11299 lt_cv_dlopen_self=yes
11306 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11307 if test "x$ac_cv_func_shl_load" = x""yes; then :
11308 lt_cv_dlopen="shl_load"
11309 else
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11311 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11312 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11313 $as_echo_n "(cached) " >&6
11314 else
11315 ac_check_lib_save_LIBS=$LIBS
11316 LIBS="-ldld $LIBS"
11317 if test x$gcc_no_link = xyes; then
11318 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11321 /* end confdefs.h. */
11323 /* Override any GCC internal prototype to avoid an error.
11324 Use char because int might match the return type of a GCC
11325 builtin and then its argument prototype would still apply. */
11326 #ifdef __cplusplus
11327 extern "C"
11328 #endif
11329 char shl_load ();
11331 main ()
11333 return shl_load ();
11335 return 0;
11337 _ACEOF
11338 if ac_fn_c_try_link "$LINENO"; then :
11339 ac_cv_lib_dld_shl_load=yes
11340 else
11341 ac_cv_lib_dld_shl_load=no
11343 rm -f core conftest.err conftest.$ac_objext \
11344 conftest$ac_exeext conftest.$ac_ext
11345 LIBS=$ac_check_lib_save_LIBS
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11348 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11349 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11350 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11351 else
11352 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11353 if test "x$ac_cv_func_dlopen" = x""yes; then :
11354 lt_cv_dlopen="dlopen"
11355 else
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11357 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11358 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11359 $as_echo_n "(cached) " >&6
11360 else
11361 ac_check_lib_save_LIBS=$LIBS
11362 LIBS="-ldl $LIBS"
11363 if test x$gcc_no_link = xyes; then
11364 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11367 /* end confdefs.h. */
11369 /* Override any GCC internal prototype to avoid an error.
11370 Use char because int might match the return type of a GCC
11371 builtin and then its argument prototype would still apply. */
11372 #ifdef __cplusplus
11373 extern "C"
11374 #endif
11375 char dlopen ();
11377 main ()
11379 return dlopen ();
11381 return 0;
11383 _ACEOF
11384 if ac_fn_c_try_link "$LINENO"; then :
11385 ac_cv_lib_dl_dlopen=yes
11386 else
11387 ac_cv_lib_dl_dlopen=no
11389 rm -f core conftest.err conftest.$ac_objext \
11390 conftest$ac_exeext conftest.$ac_ext
11391 LIBS=$ac_check_lib_save_LIBS
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11394 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11395 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11396 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11397 else
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11399 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11400 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11401 $as_echo_n "(cached) " >&6
11402 else
11403 ac_check_lib_save_LIBS=$LIBS
11404 LIBS="-lsvld $LIBS"
11405 if test x$gcc_no_link = xyes; then
11406 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11409 /* end confdefs.h. */
11411 /* Override any GCC internal prototype to avoid an error.
11412 Use char because int might match the return type of a GCC
11413 builtin and then its argument prototype would still apply. */
11414 #ifdef __cplusplus
11415 extern "C"
11416 #endif
11417 char dlopen ();
11419 main ()
11421 return dlopen ();
11423 return 0;
11425 _ACEOF
11426 if ac_fn_c_try_link "$LINENO"; then :
11427 ac_cv_lib_svld_dlopen=yes
11428 else
11429 ac_cv_lib_svld_dlopen=no
11431 rm -f core conftest.err conftest.$ac_objext \
11432 conftest$ac_exeext conftest.$ac_ext
11433 LIBS=$ac_check_lib_save_LIBS
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11436 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11437 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11438 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11439 else
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11441 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11442 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11443 $as_echo_n "(cached) " >&6
11444 else
11445 ac_check_lib_save_LIBS=$LIBS
11446 LIBS="-ldld $LIBS"
11447 if test x$gcc_no_link = xyes; then
11448 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11451 /* end confdefs.h. */
11453 /* Override any GCC internal prototype to avoid an error.
11454 Use char because int might match the return type of a GCC
11455 builtin and then its argument prototype would still apply. */
11456 #ifdef __cplusplus
11457 extern "C"
11458 #endif
11459 char dld_link ();
11461 main ()
11463 return dld_link ();
11465 return 0;
11467 _ACEOF
11468 if ac_fn_c_try_link "$LINENO"; then :
11469 ac_cv_lib_dld_dld_link=yes
11470 else
11471 ac_cv_lib_dld_dld_link=no
11473 rm -f core conftest.err conftest.$ac_objext \
11474 conftest$ac_exeext conftest.$ac_ext
11475 LIBS=$ac_check_lib_save_LIBS
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11478 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11479 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11480 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11499 esac
11501 if test "x$lt_cv_dlopen" != xno; then
11502 enable_dlopen=yes
11503 else
11504 enable_dlopen=no
11507 case $lt_cv_dlopen in
11508 dlopen)
11509 save_CPPFLAGS="$CPPFLAGS"
11510 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11512 save_LDFLAGS="$LDFLAGS"
11513 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11515 save_LIBS="$LIBS"
11516 LIBS="$lt_cv_dlopen_libs $LIBS"
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11519 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11520 if test "${lt_cv_dlopen_self+set}" = set; then :
11521 $as_echo_n "(cached) " >&6
11522 else
11523 if test "$cross_compiling" = yes; then :
11524 lt_cv_dlopen_self=cross
11525 else
11526 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11527 lt_status=$lt_dlunknown
11528 cat > conftest.$ac_ext <<_LT_EOF
11529 #line 11529 "configure"
11530 #include "confdefs.h"
11532 #if HAVE_DLFCN_H
11533 #include <dlfcn.h>
11534 #endif
11536 #include <stdio.h>
11538 #ifdef RTLD_GLOBAL
11539 # define LT_DLGLOBAL RTLD_GLOBAL
11540 #else
11541 # ifdef DL_GLOBAL
11542 # define LT_DLGLOBAL DL_GLOBAL
11543 # else
11544 # define LT_DLGLOBAL 0
11545 # endif
11546 #endif
11548 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11549 find out it does not work in some platform. */
11550 #ifndef LT_DLLAZY_OR_NOW
11551 # ifdef RTLD_LAZY
11552 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11553 # else
11554 # ifdef DL_LAZY
11555 # define LT_DLLAZY_OR_NOW DL_LAZY
11556 # else
11557 # ifdef RTLD_NOW
11558 # define LT_DLLAZY_OR_NOW RTLD_NOW
11559 # else
11560 # ifdef DL_NOW
11561 # define LT_DLLAZY_OR_NOW DL_NOW
11562 # else
11563 # define LT_DLLAZY_OR_NOW 0
11564 # endif
11565 # endif
11566 # endif
11567 # endif
11568 #endif
11570 /* When -fvisbility=hidden is used, assume the code has been annotated
11571 correspondingly for the symbols needed. */
11572 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11573 void fnord () __attribute__((visibility("default")));
11574 #endif
11576 void fnord () { int i=42; }
11577 int main ()
11579 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11580 int status = $lt_dlunknown;
11582 if (self)
11584 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11585 else
11587 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11588 else puts (dlerror ());
11590 /* dlclose (self); */
11592 else
11593 puts (dlerror ());
11595 return status;
11597 _LT_EOF
11598 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11599 (eval $ac_link) 2>&5
11600 ac_status=$?
11601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11602 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11603 (./conftest; exit; ) >&5 2>/dev/null
11604 lt_status=$?
11605 case x$lt_status in
11606 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11607 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11608 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11609 esac
11610 else :
11611 # compilation failed
11612 lt_cv_dlopen_self=no
11615 rm -fr conftest*
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11620 $as_echo "$lt_cv_dlopen_self" >&6; }
11622 if test "x$lt_cv_dlopen_self" = xyes; then
11623 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11625 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11626 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11627 $as_echo_n "(cached) " >&6
11628 else
11629 if test "$cross_compiling" = yes; then :
11630 lt_cv_dlopen_self_static=cross
11631 else
11632 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11633 lt_status=$lt_dlunknown
11634 cat > conftest.$ac_ext <<_LT_EOF
11635 #line 11635 "configure"
11636 #include "confdefs.h"
11638 #if HAVE_DLFCN_H
11639 #include <dlfcn.h>
11640 #endif
11642 #include <stdio.h>
11644 #ifdef RTLD_GLOBAL
11645 # define LT_DLGLOBAL RTLD_GLOBAL
11646 #else
11647 # ifdef DL_GLOBAL
11648 # define LT_DLGLOBAL DL_GLOBAL
11649 # else
11650 # define LT_DLGLOBAL 0
11651 # endif
11652 #endif
11654 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11655 find out it does not work in some platform. */
11656 #ifndef LT_DLLAZY_OR_NOW
11657 # ifdef RTLD_LAZY
11658 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11659 # else
11660 # ifdef DL_LAZY
11661 # define LT_DLLAZY_OR_NOW DL_LAZY
11662 # else
11663 # ifdef RTLD_NOW
11664 # define LT_DLLAZY_OR_NOW RTLD_NOW
11665 # else
11666 # ifdef DL_NOW
11667 # define LT_DLLAZY_OR_NOW DL_NOW
11668 # else
11669 # define LT_DLLAZY_OR_NOW 0
11670 # endif
11671 # endif
11672 # endif
11673 # endif
11674 #endif
11676 /* When -fvisbility=hidden is used, assume the code has been annotated
11677 correspondingly for the symbols needed. */
11678 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11679 void fnord () __attribute__((visibility("default")));
11680 #endif
11682 void fnord () { int i=42; }
11683 int main ()
11685 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11686 int status = $lt_dlunknown;
11688 if (self)
11690 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11691 else
11693 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11694 else puts (dlerror ());
11696 /* dlclose (self); */
11698 else
11699 puts (dlerror ());
11701 return status;
11703 _LT_EOF
11704 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11705 (eval $ac_link) 2>&5
11706 ac_status=$?
11707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11708 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11709 (./conftest; exit; ) >&5 2>/dev/null
11710 lt_status=$?
11711 case x$lt_status in
11712 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11713 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11714 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11715 esac
11716 else :
11717 # compilation failed
11718 lt_cv_dlopen_self_static=no
11721 rm -fr conftest*
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11726 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11729 CPPFLAGS="$save_CPPFLAGS"
11730 LDFLAGS="$save_LDFLAGS"
11731 LIBS="$save_LIBS"
11733 esac
11735 case $lt_cv_dlopen_self in
11736 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11737 *) enable_dlopen_self=unknown ;;
11738 esac
11740 case $lt_cv_dlopen_self_static in
11741 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11742 *) enable_dlopen_self_static=unknown ;;
11743 esac
11762 striplib=
11763 old_striplib=
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11765 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11766 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11767 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11768 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11770 $as_echo "yes" >&6; }
11771 else
11772 # FIXME - insert some real tests, host_os isn't really good enough
11773 case $host_os in
11774 darwin*)
11775 if test -n "$STRIP" ; then
11776 striplib="$STRIP -x"
11777 old_striplib="$STRIP -S"
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11779 $as_echo "yes" >&6; }
11780 else
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11782 $as_echo "no" >&6; }
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11787 $as_echo "no" >&6; }
11789 esac
11803 # Report which library types will actually be built
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11805 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11807 $as_echo "$can_build_shared" >&6; }
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11810 $as_echo_n "checking whether to build shared libraries... " >&6; }
11811 test "$can_build_shared" = "no" && enable_shared=no
11813 # On AIX, shared libraries and static libraries use the same namespace, and
11814 # are all built from PIC.
11815 case $host_os in
11816 aix3*)
11817 test "$enable_shared" = yes && enable_static=no
11818 if test -n "$RANLIB"; then
11819 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11820 postinstall_cmds='$RANLIB $lib'
11824 aix[4-9]*)
11825 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11826 test "$enable_shared" = yes && enable_static=no
11829 esac
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11831 $as_echo "$enable_shared" >&6; }
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11834 $as_echo_n "checking whether to build static libraries... " >&6; }
11835 # Make sure either enable_shared or enable_static is yes.
11836 test "$enable_shared" = yes || enable_static=yes
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11838 $as_echo "$enable_static" >&6; }
11844 ac_ext=c
11845 ac_cpp='$CPP $CPPFLAGS'
11846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11850 CC="$lt_save_CC"
11852 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11853 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11854 (test "X$CXX" != "Xg++"))) ; then
11855 ac_ext=cpp
11856 ac_cpp='$CXXCPP $CPPFLAGS'
11857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11861 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11862 if test -z "$CXXCPP"; then
11863 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11864 $as_echo_n "(cached) " >&6
11865 else
11866 # Double quotes because CXXCPP needs to be expanded
11867 for CXXCPP in "$CXX -E" "/lib/cpp"
11869 ac_preproc_ok=false
11870 for ac_cxx_preproc_warn_flag in '' yes
11872 # Use a header file that comes with gcc, so configuring glibc
11873 # with a fresh cross-compiler works.
11874 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11875 # <limits.h> exists even on freestanding compilers.
11876 # On the NeXT, cc -E runs the code through the compiler's parser,
11877 # not just through cpp. "Syntax error" is here to catch this case.
11878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11879 /* end confdefs.h. */
11880 #ifdef __STDC__
11881 # include <limits.h>
11882 #else
11883 # include <assert.h>
11884 #endif
11885 Syntax error
11886 _ACEOF
11887 if ac_fn_cxx_try_cpp "$LINENO"; then :
11889 else
11890 # Broken: fails on valid input.
11891 continue
11893 rm -f conftest.err conftest.$ac_ext
11895 # OK, works on sane cases. Now check whether nonexistent headers
11896 # can be detected and how.
11897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11898 /* end confdefs.h. */
11899 #include <ac_nonexistent.h>
11900 _ACEOF
11901 if ac_fn_cxx_try_cpp "$LINENO"; then :
11902 # Broken: success on invalid input.
11903 continue
11904 else
11905 # Passes both tests.
11906 ac_preproc_ok=:
11907 break
11909 rm -f conftest.err conftest.$ac_ext
11911 done
11912 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11913 rm -f conftest.err conftest.$ac_ext
11914 if $ac_preproc_ok; then :
11915 break
11918 done
11919 ac_cv_prog_CXXCPP=$CXXCPP
11922 CXXCPP=$ac_cv_prog_CXXCPP
11923 else
11924 ac_cv_prog_CXXCPP=$CXXCPP
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11927 $as_echo "$CXXCPP" >&6; }
11928 ac_preproc_ok=false
11929 for ac_cxx_preproc_warn_flag in '' yes
11931 # Use a header file that comes with gcc, so configuring glibc
11932 # with a fresh cross-compiler works.
11933 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11934 # <limits.h> exists even on freestanding compilers.
11935 # On the NeXT, cc -E runs the code through the compiler's parser,
11936 # not just through cpp. "Syntax error" is here to catch this case.
11937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11938 /* end confdefs.h. */
11939 #ifdef __STDC__
11940 # include <limits.h>
11941 #else
11942 # include <assert.h>
11943 #endif
11944 Syntax error
11945 _ACEOF
11946 if ac_fn_cxx_try_cpp "$LINENO"; then :
11948 else
11949 # Broken: fails on valid input.
11950 continue
11952 rm -f conftest.err conftest.$ac_ext
11954 # OK, works on sane cases. Now check whether nonexistent headers
11955 # can be detected and how.
11956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11957 /* end confdefs.h. */
11958 #include <ac_nonexistent.h>
11959 _ACEOF
11960 if ac_fn_cxx_try_cpp "$LINENO"; then :
11961 # Broken: success on invalid input.
11962 continue
11963 else
11964 # Passes both tests.
11965 ac_preproc_ok=:
11966 break
11968 rm -f conftest.err conftest.$ac_ext
11970 done
11971 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11972 rm -f conftest.err conftest.$ac_ext
11973 if $ac_preproc_ok; then :
11975 else
11976 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11978 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11979 See \`config.log' for more details." "$LINENO" 5; }
11982 ac_ext=c
11983 ac_cpp='$CPP $CPPFLAGS'
11984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11988 else
11989 _lt_caught_CXX_error=yes
11992 ac_ext=cpp
11993 ac_cpp='$CXXCPP $CPPFLAGS'
11994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11998 archive_cmds_need_lc_CXX=no
11999 allow_undefined_flag_CXX=
12000 always_export_symbols_CXX=no
12001 archive_expsym_cmds_CXX=
12002 compiler_needs_object_CXX=no
12003 export_dynamic_flag_spec_CXX=
12004 hardcode_direct_CXX=no
12005 hardcode_direct_absolute_CXX=no
12006 hardcode_libdir_flag_spec_CXX=
12007 hardcode_libdir_flag_spec_ld_CXX=
12008 hardcode_libdir_separator_CXX=
12009 hardcode_minus_L_CXX=no
12010 hardcode_shlibpath_var_CXX=unsupported
12011 hardcode_automatic_CXX=no
12012 inherit_rpath_CXX=no
12013 module_cmds_CXX=
12014 module_expsym_cmds_CXX=
12015 link_all_deplibs_CXX=unknown
12016 old_archive_cmds_CXX=$old_archive_cmds
12017 reload_flag_CXX=$reload_flag
12018 reload_cmds_CXX=$reload_cmds
12019 no_undefined_flag_CXX=
12020 whole_archive_flag_spec_CXX=
12021 enable_shared_with_static_runtimes_CXX=no
12023 # Source file extension for C++ test sources.
12024 ac_ext=cpp
12026 # Object file extension for compiled C++ test sources.
12027 objext=o
12028 objext_CXX=$objext
12030 # No sense in running all these tests if we already determined that
12031 # the CXX compiler isn't working. Some variables (like enable_shared)
12032 # are currently assumed to apply to all compilers on this platform,
12033 # and will be corrupted by setting them based on a non-working compiler.
12034 if test "$_lt_caught_CXX_error" != yes; then
12035 # Code to be used in simple compile tests
12036 lt_simple_compile_test_code="int some_variable = 0;"
12038 # Code to be used in simple link tests
12039 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12041 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12048 # If no C compiler was specified, use CC.
12049 LTCC=${LTCC-"$CC"}
12051 # If no C compiler flags were specified, use CFLAGS.
12052 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12054 # Allow CC to be a program name with arguments.
12055 compiler=$CC
12058 # save warnings/boilerplate of simple test code
12059 ac_outfile=conftest.$ac_objext
12060 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12061 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12062 _lt_compiler_boilerplate=`cat conftest.err`
12063 $RM conftest*
12065 ac_outfile=conftest.$ac_objext
12066 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12067 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12068 _lt_linker_boilerplate=`cat conftest.err`
12069 $RM -r conftest*
12072 # Allow CC to be a program name with arguments.
12073 lt_save_CC=$CC
12074 lt_save_LD=$LD
12075 lt_save_GCC=$GCC
12076 GCC=$GXX
12077 lt_save_with_gnu_ld=$with_gnu_ld
12078 lt_save_path_LD=$lt_cv_path_LD
12079 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12080 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12081 else
12082 $as_unset lt_cv_prog_gnu_ld
12084 if test -n "${lt_cv_path_LDCXX+set}"; then
12085 lt_cv_path_LD=$lt_cv_path_LDCXX
12086 else
12087 $as_unset lt_cv_path_LD
12089 test -z "${LDCXX+set}" || LD=$LDCXX
12090 CC=${CXX-"c++"}
12091 compiler=$CC
12092 compiler_CXX=$CC
12093 for cc_temp in $compiler""; do
12094 case $cc_temp in
12095 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12096 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12097 \-*) ;;
12098 *) break;;
12099 esac
12100 done
12101 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12104 if test -n "$compiler"; then
12105 # We don't want -fno-exception when compiling C++ code, so set the
12106 # no_builtin_flag separately
12107 if test "$GXX" = yes; then
12108 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12109 else
12110 lt_prog_compiler_no_builtin_flag_CXX=
12113 if test "$GXX" = yes; then
12114 # Set up default GNU C++ configuration
12118 # Check whether --with-gnu-ld was given.
12119 if test "${with_gnu_ld+set}" = set; then :
12120 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12121 else
12122 with_gnu_ld=no
12125 ac_prog=ld
12126 if test "$GCC" = yes; then
12127 # Check if gcc -print-prog-name=ld gives a path.
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12129 $as_echo_n "checking for ld used by $CC... " >&6; }
12130 case $host in
12131 *-*-mingw*)
12132 # gcc leaves a trailing carriage return which upsets mingw
12133 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12135 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12136 esac
12137 case $ac_prog in
12138 # Accept absolute paths.
12139 [\\/]* | ?:[\\/]*)
12140 re_direlt='/[^/][^/]*/\.\./'
12141 # Canonicalize the pathname of ld
12142 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12143 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12144 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12145 done
12146 test -z "$LD" && LD="$ac_prog"
12149 # If it fails, then pretend we aren't using GCC.
12150 ac_prog=ld
12153 # If it is relative, then search for the first ld in PATH.
12154 with_gnu_ld=unknown
12156 esac
12157 elif test "$with_gnu_ld" = yes; then
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12159 $as_echo_n "checking for GNU ld... " >&6; }
12160 else
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12162 $as_echo_n "checking for non-GNU ld... " >&6; }
12164 if test "${lt_cv_path_LD+set}" = set; then :
12165 $as_echo_n "(cached) " >&6
12166 else
12167 if test -z "$LD"; then
12168 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12169 for ac_dir in $PATH; do
12170 IFS="$lt_save_ifs"
12171 test -z "$ac_dir" && ac_dir=.
12172 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12173 lt_cv_path_LD="$ac_dir/$ac_prog"
12174 # Check to see if the program is GNU ld. I'd rather use --version,
12175 # but apparently some variants of GNU ld only accept -v.
12176 # Break only if it was the GNU/non-GNU ld that we prefer.
12177 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12178 *GNU* | *'with BFD'*)
12179 test "$with_gnu_ld" != no && break
12182 test "$with_gnu_ld" != yes && break
12184 esac
12186 done
12187 IFS="$lt_save_ifs"
12188 else
12189 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12193 LD="$lt_cv_path_LD"
12194 if test -n "$LD"; then
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12196 $as_echo "$LD" >&6; }
12197 else
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12199 $as_echo "no" >&6; }
12201 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12203 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12204 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12205 $as_echo_n "(cached) " >&6
12206 else
12207 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12208 case `$LD -v 2>&1 </dev/null` in
12209 *GNU* | *'with BFD'*)
12210 lt_cv_prog_gnu_ld=yes
12213 lt_cv_prog_gnu_ld=no
12215 esac
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12218 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12219 with_gnu_ld=$lt_cv_prog_gnu_ld
12227 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12228 # archiving commands below assume that GNU ld is being used.
12229 if test "$with_gnu_ld" = yes; then
12230 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12231 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'
12233 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12234 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12236 # If archive_cmds runs LD, not CC, wlarc should be empty
12237 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12238 # investigate it a little bit more. (MM)
12239 wlarc='${wl}'
12241 # ancient GNU ld didn't support --whole-archive et. al.
12242 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12243 $GREP 'no-whole-archive' > /dev/null; then
12244 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12245 else
12246 whole_archive_flag_spec_CXX=
12248 else
12249 with_gnu_ld=no
12250 wlarc=
12252 # A generic and very simple default shared library creation
12253 # command for GNU C++ for the case where it uses the native
12254 # linker, instead of GNU ld. If possible, this setting should
12255 # overridden to take advantage of the native linker features on
12256 # the platform it is being used on.
12257 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12260 # Commands to make compiler produce verbose output that lists
12261 # what "hidden" libraries, object files and flags are used when
12262 # linking a shared library.
12263 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12265 else
12266 GXX=no
12267 with_gnu_ld=no
12268 wlarc=
12271 # PORTME: fill in a description of your system's C++ link characteristics
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12273 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12274 ld_shlibs_CXX=yes
12275 case $host_os in
12276 aix3*)
12277 # FIXME: insert proper C++ library support
12278 ld_shlibs_CXX=no
12280 aix[4-9]*)
12281 if test "$host_cpu" = ia64; then
12282 # On IA64, the linker does run time linking by default, so we don't
12283 # have to do anything special.
12284 aix_use_runtimelinking=no
12285 exp_sym_flag='-Bexport'
12286 no_entry_flag=""
12287 else
12288 aix_use_runtimelinking=no
12290 # Test if we are trying to use run time linking or normal
12291 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12292 # need to do runtime linking.
12293 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12294 for ld_flag in $LDFLAGS; do
12295 case $ld_flag in
12296 *-brtl*)
12297 aix_use_runtimelinking=yes
12298 break
12300 esac
12301 done
12303 esac
12305 exp_sym_flag='-bexport'
12306 no_entry_flag='-bnoentry'
12309 # When large executables or shared objects are built, AIX ld can
12310 # have problems creating the table of contents. If linking a library
12311 # or program results in "error TOC overflow" add -mminimal-toc to
12312 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12313 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12315 archive_cmds_CXX=''
12316 hardcode_direct_CXX=yes
12317 hardcode_direct_absolute_CXX=yes
12318 hardcode_libdir_separator_CXX=':'
12319 link_all_deplibs_CXX=yes
12320 file_list_spec_CXX='${wl}-f,'
12322 if test "$GXX" = yes; then
12323 case $host_os in aix4.[012]|aix4.[012].*)
12324 # We only want to do this on AIX 4.2 and lower, the check
12325 # below for broken collect2 doesn't work under 4.3+
12326 collect2name=`${CC} -print-prog-name=collect2`
12327 if test -f "$collect2name" &&
12328 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12329 then
12330 # We have reworked collect2
12332 else
12333 # We have old collect2
12334 hardcode_direct_CXX=unsupported
12335 # It fails to find uninstalled libraries when the uninstalled
12336 # path is not listed in the libpath. Setting hardcode_minus_L
12337 # to unsupported forces relinking
12338 hardcode_minus_L_CXX=yes
12339 hardcode_libdir_flag_spec_CXX='-L$libdir'
12340 hardcode_libdir_separator_CXX=
12342 esac
12343 shared_flag='-shared'
12344 if test "$aix_use_runtimelinking" = yes; then
12345 shared_flag="$shared_flag "'${wl}-G'
12347 else
12348 # not using gcc
12349 if test "$host_cpu" = ia64; then
12350 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12351 # chokes on -Wl,-G. The following line is correct:
12352 shared_flag='-G'
12353 else
12354 if test "$aix_use_runtimelinking" = yes; then
12355 shared_flag='${wl}-G'
12356 else
12357 shared_flag='${wl}-bM:SRE'
12362 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12363 # It seems that -bexpall does not export symbols beginning with
12364 # underscore (_), so it is better to generate a list of symbols to
12365 # export.
12366 always_export_symbols_CXX=yes
12367 if test "$aix_use_runtimelinking" = yes; then
12368 # Warning - without using the other runtime loading flags (-brtl),
12369 # -berok will link without error, but may produce a broken library.
12370 allow_undefined_flag_CXX='-berok'
12371 # Determine the default libpath from the value encoded in an empty
12372 # executable.
12373 if test x$gcc_no_link = xyes; then
12374 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12377 /* end confdefs.h. */
12380 main ()
12384 return 0;
12386 _ACEOF
12387 if ac_fn_cxx_try_link "$LINENO"; then :
12389 lt_aix_libpath_sed='
12390 /Import File Strings/,/^$/ {
12391 /^0/ {
12392 s/^0 *\(.*\)$/\1/
12396 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12397 # Check for a 64-bit object if we didn't find anything.
12398 if test -z "$aix_libpath"; then
12399 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12402 rm -f core conftest.err conftest.$ac_objext \
12403 conftest$ac_exeext conftest.$ac_ext
12404 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12406 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12408 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"
12409 else
12410 if test "$host_cpu" = ia64; then
12411 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12412 allow_undefined_flag_CXX="-z nodefs"
12413 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"
12414 else
12415 # Determine the default libpath from the value encoded in an
12416 # empty executable.
12417 if test x$gcc_no_link = xyes; then
12418 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12421 /* end confdefs.h. */
12424 main ()
12428 return 0;
12430 _ACEOF
12431 if ac_fn_cxx_try_link "$LINENO"; then :
12433 lt_aix_libpath_sed='
12434 /Import File Strings/,/^$/ {
12435 /^0/ {
12436 s/^0 *\(.*\)$/\1/
12440 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12441 # Check for a 64-bit object if we didn't find anything.
12442 if test -z "$aix_libpath"; then
12443 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12446 rm -f core conftest.err conftest.$ac_objext \
12447 conftest$ac_exeext conftest.$ac_ext
12448 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12450 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12451 # Warning - without using the other run time loading flags,
12452 # -berok will link without error, but may produce a broken library.
12453 no_undefined_flag_CXX=' ${wl}-bernotok'
12454 allow_undefined_flag_CXX=' ${wl}-berok'
12455 if test "$with_gnu_ld" = yes; then
12456 # We only use this code for GNU lds that support --whole-archive.
12457 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12458 else
12459 # Exported symbols can be pulled into shared objects from archives
12460 whole_archive_flag_spec_CXX='$convenience'
12462 archive_cmds_need_lc_CXX=yes
12463 # This is similar to how AIX traditionally builds its shared
12464 # libraries.
12465 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'
12470 beos*)
12471 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12472 allow_undefined_flag_CXX=unsupported
12473 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12474 # support --undefined. This deserves some investigation. FIXME
12475 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12476 else
12477 ld_shlibs_CXX=no
12481 chorus*)
12482 case $cc_basename in
12484 # FIXME: insert proper C++ library support
12485 ld_shlibs_CXX=no
12487 esac
12490 cygwin* | mingw* | pw32* | cegcc*)
12491 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12492 # as there is no search path for DLLs.
12493 hardcode_libdir_flag_spec_CXX='-L$libdir'
12494 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12495 allow_undefined_flag_CXX=unsupported
12496 always_export_symbols_CXX=no
12497 enable_shared_with_static_runtimes_CXX=yes
12499 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12500 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'
12501 # If the export-symbols file already is a .def file (1st line
12502 # is EXPORTS), use it as is; otherwise, prepend...
12503 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12504 cp $export_symbols $output_objdir/$soname.def;
12505 else
12506 echo EXPORTS > $output_objdir/$soname.def;
12507 cat $export_symbols >> $output_objdir/$soname.def;
12509 $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'
12510 else
12511 ld_shlibs_CXX=no
12514 darwin* | rhapsody*)
12517 archive_cmds_need_lc_CXX=no
12518 hardcode_direct_CXX=no
12519 hardcode_automatic_CXX=yes
12520 hardcode_shlibpath_var_CXX=unsupported
12521 if test "$lt_cv_ld_force_load" = "yes"; then
12522 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\"`'
12523 else
12524 whole_archive_flag_spec_CXX=''
12526 link_all_deplibs_CXX=yes
12527 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12528 case $cc_basename in
12529 ifort*) _lt_dar_can_shared=yes ;;
12530 *) _lt_dar_can_shared=$GCC ;;
12531 esac
12532 if test "$_lt_dar_can_shared" = "yes"; then
12533 output_verbose_link_cmd=func_echo_all
12534 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}"
12535 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12536 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}"
12537 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}"
12538 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12539 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}"
12540 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}"
12543 else
12544 ld_shlibs_CXX=no
12549 dgux*)
12550 case $cc_basename in
12551 ec++*)
12552 # FIXME: insert proper C++ library support
12553 ld_shlibs_CXX=no
12555 ghcx*)
12556 # Green Hills C++ Compiler
12557 # FIXME: insert proper C++ library support
12558 ld_shlibs_CXX=no
12561 # FIXME: insert proper C++ library support
12562 ld_shlibs_CXX=no
12564 esac
12567 freebsd2.*)
12568 # C++ shared libraries reported to be fairly broken before
12569 # switch to ELF
12570 ld_shlibs_CXX=no
12573 freebsd-elf*)
12574 archive_cmds_need_lc_CXX=no
12577 freebsd* | dragonfly*)
12578 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12579 # conventions
12580 ld_shlibs_CXX=yes
12583 gnu*)
12586 haiku*)
12587 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12588 link_all_deplibs_CXX=yes
12591 hpux9*)
12592 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12593 hardcode_libdir_separator_CXX=:
12594 export_dynamic_flag_spec_CXX='${wl}-E'
12595 hardcode_direct_CXX=yes
12596 hardcode_minus_L_CXX=yes # Not in the search PATH,
12597 # but as the default
12598 # location of the library.
12600 case $cc_basename in
12601 CC*)
12602 # FIXME: insert proper C++ library support
12603 ld_shlibs_CXX=no
12605 aCC*)
12606 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'
12607 # Commands to make compiler produce verbose output that lists
12608 # what "hidden" libraries, object files and flags are used when
12609 # linking a shared library.
12611 # There doesn't appear to be a way to prevent this compiler from
12612 # explicitly linking system object files so we need to strip them
12613 # from the output so that they don't get included in the library
12614 # dependencies.
12615 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"'
12618 if test "$GXX" = yes; then
12619 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'
12620 else
12621 # FIXME: insert proper C++ library support
12622 ld_shlibs_CXX=no
12625 esac
12628 hpux10*|hpux11*)
12629 if test $with_gnu_ld = no; then
12630 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12631 hardcode_libdir_separator_CXX=:
12633 case $host_cpu in
12634 hppa*64*|ia64*)
12637 export_dynamic_flag_spec_CXX='${wl}-E'
12639 esac
12641 case $host_cpu in
12642 hppa*64*|ia64*)
12643 hardcode_direct_CXX=no
12644 hardcode_shlibpath_var_CXX=no
12647 hardcode_direct_CXX=yes
12648 hardcode_direct_absolute_CXX=yes
12649 hardcode_minus_L_CXX=yes # Not in the search PATH,
12650 # but as the default
12651 # location of the library.
12653 esac
12655 case $cc_basename in
12656 CC*)
12657 # FIXME: insert proper C++ library support
12658 ld_shlibs_CXX=no
12660 aCC*)
12661 case $host_cpu in
12662 hppa*64*)
12663 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12665 ia64*)
12666 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12669 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12671 esac
12672 # Commands to make compiler produce verbose output that lists
12673 # what "hidden" libraries, object files and flags are used when
12674 # linking a shared library.
12676 # There doesn't appear to be a way to prevent this compiler from
12677 # explicitly linking system object files so we need to strip them
12678 # from the output so that they don't get included in the library
12679 # dependencies.
12680 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"'
12683 if test "$GXX" = yes; then
12684 if test $with_gnu_ld = no; then
12685 case $host_cpu in
12686 hppa*64*)
12687 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12689 ia64*)
12690 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12693 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'
12695 esac
12697 else
12698 # FIXME: insert proper C++ library support
12699 ld_shlibs_CXX=no
12702 esac
12705 interix[3-9]*)
12706 hardcode_direct_CXX=no
12707 hardcode_shlibpath_var_CXX=no
12708 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12709 export_dynamic_flag_spec_CXX='${wl}-E'
12710 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12711 # Instead, shared libraries are loaded at an image base (0x10000000 by
12712 # default) and relocated if they conflict, which is a slow very memory
12713 # consuming and fragmenting process. To avoid this, we pick a random,
12714 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12715 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12716 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'
12717 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'
12719 irix5* | irix6*)
12720 case $cc_basename in
12721 CC*)
12722 # SGI C++
12723 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'
12725 # Archives containing C++ object files must be created using
12726 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12727 # necessary to make sure instantiated templates are included
12728 # in the archive.
12729 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12732 if test "$GXX" = yes; then
12733 if test "$with_gnu_ld" = no; then
12734 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'
12735 else
12736 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'
12739 link_all_deplibs_CXX=yes
12741 esac
12742 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12743 hardcode_libdir_separator_CXX=:
12744 inherit_rpath_CXX=yes
12747 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12748 case $cc_basename in
12749 KCC*)
12750 # Kuck and Associates, Inc. (KAI) C++ Compiler
12752 # KCC will only create a shared library if the output file
12753 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12754 # to its proper name (with version) after linking.
12755 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'
12756 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'
12757 # Commands to make compiler produce verbose output that lists
12758 # what "hidden" libraries, object files and flags are used when
12759 # linking a shared library.
12761 # There doesn't appear to be a way to prevent this compiler from
12762 # explicitly linking system object files so we need to strip them
12763 # from the output so that they don't get included in the library
12764 # dependencies.
12765 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"'
12767 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12768 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12770 # Archives containing C++ object files must be created using
12771 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12772 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12774 icpc* | ecpc* )
12775 # Intel C++
12776 with_gnu_ld=yes
12777 # version 8.0 and above of icpc choke on multiply defined symbols
12778 # if we add $predep_objects and $postdep_objects, however 7.1 and
12779 # earlier do not add the objects themselves.
12780 case `$CC -V 2>&1` in
12781 *"Version 7."*)
12782 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12783 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'
12785 *) # Version 8.0 or newer
12786 tmp_idyn=
12787 case $host_cpu in
12788 ia64*) tmp_idyn=' -i_dynamic';;
12789 esac
12790 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12791 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'
12793 esac
12794 archive_cmds_need_lc_CXX=no
12795 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12796 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12797 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12799 pgCC* | pgcpp*)
12800 # Portland Group C++ compiler
12801 case `$CC -V` in
12802 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12803 prelink_cmds_CXX='tpldir=Template.dir~
12804 rm -rf $tpldir~
12805 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12806 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12807 old_archive_cmds_CXX='tpldir=Template.dir~
12808 rm -rf $tpldir~
12809 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12810 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12811 $RANLIB $oldlib'
12812 archive_cmds_CXX='tpldir=Template.dir~
12813 rm -rf $tpldir~
12814 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12815 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12816 archive_expsym_cmds_CXX='tpldir=Template.dir~
12817 rm -rf $tpldir~
12818 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12819 $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'
12821 *) # Version 6 and above use weak symbols
12822 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12823 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'
12825 esac
12827 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12828 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12829 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'
12831 cxx*)
12832 # Compaq C++
12833 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12834 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'
12836 runpath_var=LD_RUN_PATH
12837 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12838 hardcode_libdir_separator_CXX=:
12840 # Commands to make compiler produce verbose output that lists
12841 # what "hidden" libraries, object files and flags are used when
12842 # linking a shared library.
12844 # There doesn't appear to be a way to prevent this compiler from
12845 # explicitly linking system object files so we need to strip them
12846 # from the output so that they don't get included in the library
12847 # dependencies.
12848 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'
12850 xl* | mpixl* | bgxl*)
12851 # IBM XL 8.0 on PPC, with GNU ld
12852 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12853 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12854 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12855 if test "x$supports_anon_versioning" = xyes; then
12856 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12857 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12858 echo "local: *; };" >> $output_objdir/$libname.ver~
12859 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12863 case `$CC -V 2>&1 | sed 5q` in
12864 *Sun\ C*)
12865 # Sun C++ 5.9
12866 no_undefined_flag_CXX=' -zdefs'
12867 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12868 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'
12869 hardcode_libdir_flag_spec_CXX='-R$libdir'
12870 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'
12871 compiler_needs_object_CXX=yes
12873 # Not sure whether something based on
12874 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12875 # would be better.
12876 output_verbose_link_cmd='func_echo_all'
12878 # Archives containing C++ object files must be created using
12879 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12880 # necessary to make sure instantiated templates are included
12881 # in the archive.
12882 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12884 esac
12886 esac
12889 lynxos*)
12890 # FIXME: insert proper C++ library support
12891 ld_shlibs_CXX=no
12894 m88k*)
12895 # FIXME: insert proper C++ library support
12896 ld_shlibs_CXX=no
12899 mvs*)
12900 case $cc_basename in
12901 cxx*)
12902 # FIXME: insert proper C++ library support
12903 ld_shlibs_CXX=no
12906 # FIXME: insert proper C++ library support
12907 ld_shlibs_CXX=no
12909 esac
12912 netbsd*)
12913 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12914 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12915 wlarc=
12916 hardcode_libdir_flag_spec_CXX='-R$libdir'
12917 hardcode_direct_CXX=yes
12918 hardcode_shlibpath_var_CXX=no
12920 # Workaround some broken pre-1.5 toolchains
12921 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12924 *nto* | *qnx*)
12925 ld_shlibs_CXX=yes
12928 openbsd2*)
12929 # C++ shared libraries are fairly broken
12930 ld_shlibs_CXX=no
12933 openbsd*)
12934 if test -f /usr/libexec/ld.so; then
12935 hardcode_direct_CXX=yes
12936 hardcode_shlibpath_var_CXX=no
12937 hardcode_direct_absolute_CXX=yes
12938 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12939 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12940 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12941 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12942 export_dynamic_flag_spec_CXX='${wl}-E'
12943 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12945 output_verbose_link_cmd=func_echo_all
12946 else
12947 ld_shlibs_CXX=no
12951 osf3* | osf4* | osf5*)
12952 case $cc_basename in
12953 KCC*)
12954 # Kuck and Associates, Inc. (KAI) C++ Compiler
12956 # KCC will only create a shared library if the output file
12957 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12958 # to its proper name (with version) after linking.
12959 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'
12961 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12962 hardcode_libdir_separator_CXX=:
12964 # Archives containing C++ object files must be created using
12965 # the KAI C++ compiler.
12966 case $host in
12967 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12968 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12969 esac
12971 RCC*)
12972 # Rational C++ 2.4.1
12973 # FIXME: insert proper C++ library support
12974 ld_shlibs_CXX=no
12976 cxx*)
12977 case $host in
12978 osf3*)
12979 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12980 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'
12981 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12984 allow_undefined_flag_CXX=' -expect_unresolved \*'
12985 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'
12986 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12987 echo "-hidden">> $lib.exp~
12988 $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~
12989 $RM $lib.exp'
12990 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12992 esac
12994 hardcode_libdir_separator_CXX=:
12996 # Commands to make compiler produce verbose output that lists
12997 # what "hidden" libraries, object files and flags are used when
12998 # linking a shared library.
13000 # There doesn't appear to be a way to prevent this compiler from
13001 # explicitly linking system object files so we need to strip them
13002 # from the output so that they don't get included in the library
13003 # dependencies.
13004 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"'
13007 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13008 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13009 case $host in
13010 osf3*)
13011 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'
13014 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'
13016 esac
13018 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13019 hardcode_libdir_separator_CXX=:
13021 # Commands to make compiler produce verbose output that lists
13022 # what "hidden" libraries, object files and flags are used when
13023 # linking a shared library.
13024 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13026 else
13027 # FIXME: insert proper C++ library support
13028 ld_shlibs_CXX=no
13031 esac
13034 psos*)
13035 # FIXME: insert proper C++ library support
13036 ld_shlibs_CXX=no
13039 sunos4*)
13040 case $cc_basename in
13041 CC*)
13042 # Sun C++ 4.x
13043 # FIXME: insert proper C++ library support
13044 ld_shlibs_CXX=no
13046 lcc*)
13047 # Lucid
13048 # FIXME: insert proper C++ library support
13049 ld_shlibs_CXX=no
13052 # FIXME: insert proper C++ library support
13053 ld_shlibs_CXX=no
13055 esac
13058 solaris*)
13059 case $cc_basename in
13060 CC*)
13061 # Sun C++ 4.2, 5.x and Centerline C++
13062 archive_cmds_need_lc_CXX=yes
13063 no_undefined_flag_CXX=' -zdefs'
13064 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13065 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13066 $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'
13068 hardcode_libdir_flag_spec_CXX='-R$libdir'
13069 hardcode_shlibpath_var_CXX=no
13070 case $host_os in
13071 solaris2.[0-5] | solaris2.[0-5].*) ;;
13073 # The compiler driver will combine and reorder linker options,
13074 # but understands `-z linker_flag'.
13075 # Supported since Solaris 2.6 (maybe 2.5.1?)
13076 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13078 esac
13079 link_all_deplibs_CXX=yes
13081 output_verbose_link_cmd='func_echo_all'
13083 # Archives containing C++ object files must be created using
13084 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13085 # necessary to make sure instantiated templates are included
13086 # in the archive.
13087 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13089 gcx*)
13090 # Green Hills C++ Compiler
13091 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13093 # The C++ compiler must be used to create the archive.
13094 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13097 # GNU C++ compiler with Solaris linker
13098 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13099 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13100 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13101 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13102 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13103 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13105 # Commands to make compiler produce verbose output that lists
13106 # what "hidden" libraries, object files and flags are used when
13107 # linking a shared library.
13108 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13109 else
13110 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13111 # platform.
13112 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13113 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13114 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13116 # Commands to make compiler produce verbose output that lists
13117 # what "hidden" libraries, object files and flags are used when
13118 # linking a shared library.
13119 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13122 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13123 case $host_os in
13124 solaris2.[0-5] | solaris2.[0-5].*) ;;
13126 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13128 esac
13131 esac
13134 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13135 no_undefined_flag_CXX='${wl}-z,text'
13136 archive_cmds_need_lc_CXX=no
13137 hardcode_shlibpath_var_CXX=no
13138 runpath_var='LD_RUN_PATH'
13140 case $cc_basename in
13141 CC*)
13142 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13143 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13146 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13147 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13149 esac
13152 sysv5* | sco3.2v5* | sco5v6*)
13153 # Note: We can NOT use -z defs as we might desire, because we do not
13154 # link with -lc, and that would cause any symbols used from libc to
13155 # always be unresolved, which means just about no library would
13156 # ever link correctly. If we're not using GNU ld we use -z text
13157 # though, which does catch some bad symbols but isn't as heavy-handed
13158 # as -z defs.
13159 no_undefined_flag_CXX='${wl}-z,text'
13160 allow_undefined_flag_CXX='${wl}-z,nodefs'
13161 archive_cmds_need_lc_CXX=no
13162 hardcode_shlibpath_var_CXX=no
13163 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13164 hardcode_libdir_separator_CXX=':'
13165 link_all_deplibs_CXX=yes
13166 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13167 runpath_var='LD_RUN_PATH'
13169 case $cc_basename in
13170 CC*)
13171 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13172 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13173 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13174 '"$old_archive_cmds_CXX"
13175 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13176 '"$reload_cmds_CXX"
13179 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13180 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13182 esac
13185 tandem*)
13186 case $cc_basename in
13187 NCC*)
13188 # NonStop-UX NCC 3.20
13189 # FIXME: insert proper C++ library support
13190 ld_shlibs_CXX=no
13193 # FIXME: insert proper C++ library support
13194 ld_shlibs_CXX=no
13196 esac
13199 vxworks*)
13200 # FIXME: insert proper C++ library support
13201 ld_shlibs_CXX=no
13205 # FIXME: insert proper C++ library support
13206 ld_shlibs_CXX=no
13208 esac
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13211 $as_echo "$ld_shlibs_CXX" >&6; }
13212 test "$ld_shlibs_CXX" = no && can_build_shared=no
13214 GCC_CXX="$GXX"
13215 LD_CXX="$LD"
13217 ## CAVEAT EMPTOR:
13218 ## There is no encapsulation within the following macros, do not change
13219 ## the running order or otherwise move them around unless you know exactly
13220 ## what you are doing...
13221 # Dependencies to place before and after the object being linked:
13222 predep_objects_CXX=
13223 postdep_objects_CXX=
13224 predeps_CXX=
13225 postdeps_CXX=
13226 compiler_lib_search_path_CXX=
13228 cat > conftest.$ac_ext <<_LT_EOF
13229 class Foo
13231 public:
13232 Foo (void) { a = 0; }
13233 private:
13234 int a;
13236 _LT_EOF
13238 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13239 (eval $ac_compile) 2>&5
13240 ac_status=$?
13241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13242 test $ac_status = 0; }; then
13243 # Parse the compiler output and extract the necessary
13244 # objects, libraries and library flags.
13246 # Sentinel used to keep track of whether or not we are before
13247 # the conftest object file.
13248 pre_test_object_deps_done=no
13250 for p in `eval "$output_verbose_link_cmd"`; do
13251 case $p in
13253 -L* | -R* | -l*)
13254 # Some compilers place space between "-{L,R}" and the path.
13255 # Remove the space.
13256 if test $p = "-L" ||
13257 test $p = "-R"; then
13258 prev=$p
13259 continue
13260 else
13261 prev=
13264 if test "$pre_test_object_deps_done" = no; then
13265 case $p in
13266 -L* | -R*)
13267 # Internal compiler library paths should come after those
13268 # provided the user. The postdeps already come after the
13269 # user supplied libs so there is no need to process them.
13270 if test -z "$compiler_lib_search_path_CXX"; then
13271 compiler_lib_search_path_CXX="${prev}${p}"
13272 else
13273 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13276 # The "-l" case would never come before the object being
13277 # linked, so don't bother handling this case.
13278 esac
13279 else
13280 if test -z "$postdeps_CXX"; then
13281 postdeps_CXX="${prev}${p}"
13282 else
13283 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13288 *.$objext)
13289 # This assumes that the test object file only shows up
13290 # once in the compiler output.
13291 if test "$p" = "conftest.$objext"; then
13292 pre_test_object_deps_done=yes
13293 continue
13296 if test "$pre_test_object_deps_done" = no; then
13297 if test -z "$predep_objects_CXX"; then
13298 predep_objects_CXX="$p"
13299 else
13300 predep_objects_CXX="$predep_objects_CXX $p"
13302 else
13303 if test -z "$postdep_objects_CXX"; then
13304 postdep_objects_CXX="$p"
13305 else
13306 postdep_objects_CXX="$postdep_objects_CXX $p"
13311 *) ;; # Ignore the rest.
13313 esac
13314 done
13316 # Clean up.
13317 rm -f a.out a.exe
13318 else
13319 echo "libtool.m4: error: problem compiling CXX test program"
13322 $RM -f confest.$objext
13324 # PORTME: override above test on systems where it is broken
13325 case $host_os in
13326 interix[3-9]*)
13327 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13328 # hack all around it, let's just trust "g++" to DTRT.
13329 predep_objects_CXX=
13330 postdep_objects_CXX=
13331 postdeps_CXX=
13334 linux*)
13335 case `$CC -V 2>&1 | sed 5q` in
13336 *Sun\ C*)
13337 # Sun C++ 5.9
13339 # The more standards-conforming stlport4 library is
13340 # incompatible with the Cstd library. Avoid specifying
13341 # it if it's in CXXFLAGS. Ignore libCrun as
13342 # -library=stlport4 depends on it.
13343 case " $CXX $CXXFLAGS " in
13344 *" -library=stlport4 "*)
13345 solaris_use_stlport4=yes
13347 esac
13349 if test "$solaris_use_stlport4" != yes; then
13350 postdeps_CXX='-library=Cstd -library=Crun'
13353 esac
13356 solaris*)
13357 case $cc_basename in
13358 CC*)
13359 # The more standards-conforming stlport4 library is
13360 # incompatible with the Cstd library. Avoid specifying
13361 # it if it's in CXXFLAGS. Ignore libCrun as
13362 # -library=stlport4 depends on it.
13363 case " $CXX $CXXFLAGS " in
13364 *" -library=stlport4 "*)
13365 solaris_use_stlport4=yes
13367 esac
13369 # Adding this requires a known-good setup of shared libraries for
13370 # Sun compiler versions before 5.6, else PIC objects from an old
13371 # archive will be linked into the output, leading to subtle bugs.
13372 if test "$solaris_use_stlport4" != yes; then
13373 postdeps_CXX='-library=Cstd -library=Crun'
13376 esac
13378 esac
13381 case " $postdeps_CXX " in
13382 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13383 esac
13384 compiler_lib_search_dirs_CXX=
13385 if test -n "${compiler_lib_search_path_CXX}"; then
13386 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13419 lt_prog_compiler_wl_CXX=
13420 lt_prog_compiler_pic_CXX=
13421 lt_prog_compiler_static_CXX=
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13424 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13426 # C++ specific cases for pic, static, wl, etc.
13427 if test "$GXX" = yes; then
13428 lt_prog_compiler_wl_CXX='-Wl,'
13429 lt_prog_compiler_static_CXX='-static'
13431 case $host_os in
13432 aix*)
13433 # All AIX code is PIC.
13434 if test "$host_cpu" = ia64; then
13435 # AIX 5 now supports IA64 processor
13436 lt_prog_compiler_static_CXX='-Bstatic'
13438 lt_prog_compiler_pic_CXX='-fPIC'
13441 amigaos*)
13442 case $host_cpu in
13443 powerpc)
13444 # see comment about AmigaOS4 .so support
13445 lt_prog_compiler_pic_CXX='-fPIC'
13447 m68k)
13448 # FIXME: we need at least 68020 code to build shared libraries, but
13449 # adding the `-m68020' flag to GCC prevents building anything better,
13450 # like `-m68040'.
13451 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13453 esac
13456 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13457 # PIC is the default for these OSes.
13459 mingw* | cygwin* | os2* | pw32* | cegcc*)
13460 # This hack is so that the source file can tell whether it is being
13461 # built for inclusion in a dll (and should export symbols for example).
13462 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13463 # (--disable-auto-import) libraries
13464 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13466 darwin* | rhapsody*)
13467 # PIC is the default on this platform
13468 # Common symbols not allowed in MH_DYLIB files
13469 lt_prog_compiler_pic_CXX='-fno-common'
13471 *djgpp*)
13472 # DJGPP does not support shared libraries at all
13473 lt_prog_compiler_pic_CXX=
13475 haiku*)
13476 # PIC is the default for Haiku.
13477 # The "-static" flag exists, but is broken.
13478 lt_prog_compiler_static_CXX=
13480 interix[3-9]*)
13481 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13482 # Instead, we relocate shared libraries at runtime.
13484 sysv4*MP*)
13485 if test -d /usr/nec; then
13486 lt_prog_compiler_pic_CXX=-Kconform_pic
13489 hpux*)
13490 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13491 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13492 # sets the default TLS model and affects inlining.
13493 case $host_cpu in
13494 hppa*64*)
13497 lt_prog_compiler_pic_CXX='-fPIC'
13499 esac
13501 *qnx* | *nto*)
13502 # QNX uses GNU C++, but need to define -shared option too, otherwise
13503 # it will coredump.
13504 lt_prog_compiler_pic_CXX='-fPIC -shared'
13507 lt_prog_compiler_pic_CXX='-fPIC'
13509 esac
13510 else
13511 case $host_os in
13512 aix[4-9]*)
13513 # All AIX code is PIC.
13514 if test "$host_cpu" = ia64; then
13515 # AIX 5 now supports IA64 processor
13516 lt_prog_compiler_static_CXX='-Bstatic'
13517 else
13518 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13521 chorus*)
13522 case $cc_basename in
13523 cxch68*)
13524 # Green Hills C++ Compiler
13525 # _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"
13527 esac
13529 dgux*)
13530 case $cc_basename in
13531 ec++*)
13532 lt_prog_compiler_pic_CXX='-KPIC'
13534 ghcx*)
13535 # Green Hills C++ Compiler
13536 lt_prog_compiler_pic_CXX='-pic'
13540 esac
13542 freebsd* | dragonfly*)
13543 # FreeBSD uses GNU C++
13545 hpux9* | hpux10* | hpux11*)
13546 case $cc_basename in
13547 CC*)
13548 lt_prog_compiler_wl_CXX='-Wl,'
13549 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13550 if test "$host_cpu" != ia64; then
13551 lt_prog_compiler_pic_CXX='+Z'
13554 aCC*)
13555 lt_prog_compiler_wl_CXX='-Wl,'
13556 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13557 case $host_cpu in
13558 hppa*64*|ia64*)
13559 # +Z the default
13562 lt_prog_compiler_pic_CXX='+Z'
13564 esac
13568 esac
13570 interix*)
13571 # This is c89, which is MS Visual C++ (no shared libs)
13572 # Anyone wants to do a port?
13574 irix5* | irix6* | nonstopux*)
13575 case $cc_basename in
13576 CC*)
13577 lt_prog_compiler_wl_CXX='-Wl,'
13578 lt_prog_compiler_static_CXX='-non_shared'
13579 # CC pic flag -KPIC is the default.
13583 esac
13585 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13586 case $cc_basename in
13587 KCC*)
13588 # KAI C++ Compiler
13589 lt_prog_compiler_wl_CXX='--backend -Wl,'
13590 lt_prog_compiler_pic_CXX='-fPIC'
13592 ecpc* )
13593 # old Intel C++ for x86_64 which still supported -KPIC.
13594 lt_prog_compiler_wl_CXX='-Wl,'
13595 lt_prog_compiler_pic_CXX='-KPIC'
13596 lt_prog_compiler_static_CXX='-static'
13598 icpc* )
13599 # Intel C++, used to be incompatible with GCC.
13600 # ICC 10 doesn't accept -KPIC any more.
13601 lt_prog_compiler_wl_CXX='-Wl,'
13602 lt_prog_compiler_pic_CXX='-fPIC'
13603 lt_prog_compiler_static_CXX='-static'
13605 pgCC* | pgcpp*)
13606 # Portland Group C++ compiler
13607 lt_prog_compiler_wl_CXX='-Wl,'
13608 lt_prog_compiler_pic_CXX='-fpic'
13609 lt_prog_compiler_static_CXX='-Bstatic'
13611 cxx*)
13612 # Compaq C++
13613 # Make sure the PIC flag is empty. It appears that all Alpha
13614 # Linux and Compaq Tru64 Unix objects are PIC.
13615 lt_prog_compiler_pic_CXX=
13616 lt_prog_compiler_static_CXX='-non_shared'
13618 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13619 # IBM XL 8.0, 9.0 on PPC and BlueGene
13620 lt_prog_compiler_wl_CXX='-Wl,'
13621 lt_prog_compiler_pic_CXX='-qpic'
13622 lt_prog_compiler_static_CXX='-qstaticlink'
13625 case `$CC -V 2>&1 | sed 5q` in
13626 *Sun\ C*)
13627 # Sun C++ 5.9
13628 lt_prog_compiler_pic_CXX='-KPIC'
13629 lt_prog_compiler_static_CXX='-Bstatic'
13630 lt_prog_compiler_wl_CXX='-Qoption ld '
13632 esac
13634 esac
13636 lynxos*)
13638 m88k*)
13640 mvs*)
13641 case $cc_basename in
13642 cxx*)
13643 lt_prog_compiler_pic_CXX='-W c,exportall'
13647 esac
13649 netbsd*)
13651 *qnx* | *nto*)
13652 # QNX uses GNU C++, but need to define -shared option too, otherwise
13653 # it will coredump.
13654 lt_prog_compiler_pic_CXX='-fPIC -shared'
13656 osf3* | osf4* | osf5*)
13657 case $cc_basename in
13658 KCC*)
13659 lt_prog_compiler_wl_CXX='--backend -Wl,'
13661 RCC*)
13662 # Rational C++ 2.4.1
13663 lt_prog_compiler_pic_CXX='-pic'
13665 cxx*)
13666 # Digital/Compaq C++
13667 lt_prog_compiler_wl_CXX='-Wl,'
13668 # Make sure the PIC flag is empty. It appears that all Alpha
13669 # Linux and Compaq Tru64 Unix objects are PIC.
13670 lt_prog_compiler_pic_CXX=
13671 lt_prog_compiler_static_CXX='-non_shared'
13675 esac
13677 psos*)
13679 solaris*)
13680 case $cc_basename in
13681 CC*)
13682 # Sun C++ 4.2, 5.x and Centerline C++
13683 lt_prog_compiler_pic_CXX='-KPIC'
13684 lt_prog_compiler_static_CXX='-Bstatic'
13685 lt_prog_compiler_wl_CXX='-Qoption ld '
13687 gcx*)
13688 # Green Hills C++ Compiler
13689 lt_prog_compiler_pic_CXX='-PIC'
13693 esac
13695 sunos4*)
13696 case $cc_basename in
13697 CC*)
13698 # Sun C++ 4.x
13699 lt_prog_compiler_pic_CXX='-pic'
13700 lt_prog_compiler_static_CXX='-Bstatic'
13702 lcc*)
13703 # Lucid
13704 lt_prog_compiler_pic_CXX='-pic'
13708 esac
13710 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13711 case $cc_basename in
13712 CC*)
13713 lt_prog_compiler_wl_CXX='-Wl,'
13714 lt_prog_compiler_pic_CXX='-KPIC'
13715 lt_prog_compiler_static_CXX='-Bstatic'
13717 esac
13719 tandem*)
13720 case $cc_basename in
13721 NCC*)
13722 # NonStop-UX NCC 3.20
13723 lt_prog_compiler_pic_CXX='-KPIC'
13727 esac
13729 vxworks*)
13732 lt_prog_compiler_can_build_shared_CXX=no
13734 esac
13737 case $host_os in
13738 # For platforms which do not support PIC, -DPIC is meaningless:
13739 *djgpp*)
13740 lt_prog_compiler_pic_CXX=
13743 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13745 esac
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13747 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13752 # Check to make sure the PIC flag actually works.
13754 if test -n "$lt_prog_compiler_pic_CXX"; then
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13756 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13757 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13758 $as_echo_n "(cached) " >&6
13759 else
13760 lt_cv_prog_compiler_pic_works_CXX=no
13761 ac_outfile=conftest.$ac_objext
13762 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13763 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13764 # Insert the option either (1) after the last *FLAGS variable, or
13765 # (2) before a word containing "conftest.", or (3) at the end.
13766 # Note that $ac_compile itself does not contain backslashes and begins
13767 # with a dollar sign (not a hyphen), so the echo should work correctly.
13768 # The option is referenced via a variable to avoid confusing sed.
13769 lt_compile=`echo "$ac_compile" | $SED \
13770 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13771 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13772 -e 's:$: $lt_compiler_flag:'`
13773 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13774 (eval "$lt_compile" 2>conftest.err)
13775 ac_status=$?
13776 cat conftest.err >&5
13777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13778 if (exit $ac_status) && test -s "$ac_outfile"; then
13779 # The compiler can only warn and ignore the option if not recognized
13780 # So say no if there are warnings other than the usual output.
13781 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13782 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13783 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13784 lt_cv_prog_compiler_pic_works_CXX=yes
13787 $RM conftest*
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13791 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13793 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13794 case $lt_prog_compiler_pic_CXX in
13795 "" | " "*) ;;
13796 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13797 esac
13798 else
13799 lt_prog_compiler_pic_CXX=
13800 lt_prog_compiler_can_build_shared_CXX=no
13808 # Check to make sure the static flag actually works.
13810 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13812 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13813 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13814 $as_echo_n "(cached) " >&6
13815 else
13816 lt_cv_prog_compiler_static_works_CXX=no
13817 save_LDFLAGS="$LDFLAGS"
13818 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13819 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13820 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13821 # The linker can only warn and ignore the option if not recognized
13822 # So say no if there are warnings
13823 if test -s conftest.err; then
13824 # Append any errors to the config.log.
13825 cat conftest.err 1>&5
13826 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13827 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13828 if diff conftest.exp conftest.er2 >/dev/null; then
13829 lt_cv_prog_compiler_static_works_CXX=yes
13831 else
13832 lt_cv_prog_compiler_static_works_CXX=yes
13835 $RM -r conftest*
13836 LDFLAGS="$save_LDFLAGS"
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13840 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13842 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13844 else
13845 lt_prog_compiler_static_CXX=
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13852 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13853 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13854 $as_echo_n "(cached) " >&6
13855 else
13856 lt_cv_prog_compiler_c_o_CXX=no
13857 $RM -r conftest 2>/dev/null
13858 mkdir conftest
13859 cd conftest
13860 mkdir out
13861 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13863 lt_compiler_flag="-o out/conftest2.$ac_objext"
13864 # Insert the option either (1) after the last *FLAGS variable, or
13865 # (2) before a word containing "conftest.", or (3) at the end.
13866 # Note that $ac_compile itself does not contain backslashes and begins
13867 # with a dollar sign (not a hyphen), so the echo should work correctly.
13868 lt_compile=`echo "$ac_compile" | $SED \
13869 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13870 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13871 -e 's:$: $lt_compiler_flag:'`
13872 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13873 (eval "$lt_compile" 2>out/conftest.err)
13874 ac_status=$?
13875 cat out/conftest.err >&5
13876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13878 then
13879 # The compiler can only warn and ignore the option if not recognized
13880 # So say no if there are warnings
13881 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13882 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13883 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13884 lt_cv_prog_compiler_c_o_CXX=yes
13887 chmod u+w . 2>&5
13888 $RM conftest*
13889 # SGI C++ compiler will create directory out/ii_files/ for
13890 # template instantiation
13891 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13892 $RM out/* && rmdir out
13893 cd ..
13894 $RM -r conftest
13895 $RM conftest*
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13899 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13904 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13905 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13906 $as_echo_n "(cached) " >&6
13907 else
13908 lt_cv_prog_compiler_c_o_CXX=no
13909 $RM -r conftest 2>/dev/null
13910 mkdir conftest
13911 cd conftest
13912 mkdir out
13913 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13915 lt_compiler_flag="-o out/conftest2.$ac_objext"
13916 # Insert the option either (1) after the last *FLAGS variable, or
13917 # (2) before a word containing "conftest.", or (3) at the end.
13918 # Note that $ac_compile itself does not contain backslashes and begins
13919 # with a dollar sign (not a hyphen), so the echo should work correctly.
13920 lt_compile=`echo "$ac_compile" | $SED \
13921 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13922 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13923 -e 's:$: $lt_compiler_flag:'`
13924 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13925 (eval "$lt_compile" 2>out/conftest.err)
13926 ac_status=$?
13927 cat out/conftest.err >&5
13928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13930 then
13931 # The compiler can only warn and ignore the option if not recognized
13932 # So say no if there are warnings
13933 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13934 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13935 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13936 lt_cv_prog_compiler_c_o_CXX=yes
13939 chmod u+w . 2>&5
13940 $RM conftest*
13941 # SGI C++ compiler will create directory out/ii_files/ for
13942 # template instantiation
13943 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13944 $RM out/* && rmdir out
13945 cd ..
13946 $RM -r conftest
13947 $RM conftest*
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13951 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13956 hard_links="nottested"
13957 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13958 # do not overwrite the value of need_locks provided by the user
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13960 $as_echo_n "checking if we can lock with hard links... " >&6; }
13961 hard_links=yes
13962 $RM conftest*
13963 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13964 touch conftest.a
13965 ln conftest.a conftest.b 2>&5 || hard_links=no
13966 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13968 $as_echo "$hard_links" >&6; }
13969 if test "$hard_links" = no; then
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13971 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13972 need_locks=warn
13974 else
13975 need_locks=no
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13981 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13983 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13984 case $host_os in
13985 aix[4-9]*)
13986 # If we're using GNU nm, then we don't want the "-C" option.
13987 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13988 # Also, AIX nm treats weak defined symbols like other global defined
13989 # symbols, whereas GNU nm marks them as "W".
13990 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13991 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'
13992 else
13993 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'
13996 pw32*)
13997 export_symbols_cmds_CXX="$ltdll_cmds"
13999 cygwin* | mingw* | cegcc*)
14000 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'
14003 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14005 esac
14006 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14009 $as_echo "$ld_shlibs_CXX" >&6; }
14010 test "$ld_shlibs_CXX" = no && can_build_shared=no
14012 with_gnu_ld_CXX=$with_gnu_ld
14020 # Do we need to explicitly link libc?
14022 case "x$archive_cmds_need_lc_CXX" in
14023 x|xyes)
14024 # Assume -lc should be added
14025 archive_cmds_need_lc_CXX=yes
14027 if test "$enable_shared" = yes && test "$GCC" = yes; then
14028 case $archive_cmds_CXX in
14029 *'~'*)
14030 # FIXME: we may have to deal with multi-command sequences.
14032 '$CC '*)
14033 # Test whether the compiler implicitly links with -lc since on some
14034 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14035 # to ld, don't add -lc before -lgcc.
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14037 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14038 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14039 $as_echo_n "(cached) " >&6
14040 else
14041 $RM conftest*
14042 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14044 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14045 (eval $ac_compile) 2>&5
14046 ac_status=$?
14047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14048 test $ac_status = 0; } 2>conftest.err; then
14049 soname=conftest
14050 lib=conftest
14051 libobjs=conftest.$ac_objext
14052 deplibs=
14053 wl=$lt_prog_compiler_wl_CXX
14054 pic_flag=$lt_prog_compiler_pic_CXX
14055 compiler_flags=-v
14056 linker_flags=-v
14057 verstring=
14058 output_objdir=.
14059 libname=conftest
14060 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14061 allow_undefined_flag_CXX=
14062 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14063 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14064 ac_status=$?
14065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14066 test $ac_status = 0; }
14067 then
14068 lt_cv_archive_cmds_need_lc_CXX=no
14069 else
14070 lt_cv_archive_cmds_need_lc_CXX=yes
14072 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14073 else
14074 cat conftest.err 1>&5
14076 $RM conftest*
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14080 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14081 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14083 esac
14086 esac
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14152 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14154 library_names_spec=
14155 libname_spec='lib$name'
14156 soname_spec=
14157 shrext_cmds=".so"
14158 postinstall_cmds=
14159 postuninstall_cmds=
14160 finish_cmds=
14161 finish_eval=
14162 shlibpath_var=
14163 shlibpath_overrides_runpath=unknown
14164 version_type=none
14165 dynamic_linker="$host_os ld.so"
14166 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14167 need_lib_prefix=unknown
14168 hardcode_into_libs=no
14170 # when you set need_version to no, make sure it does not cause -set_version
14171 # flags to be left without arguments
14172 need_version=unknown
14174 case $host_os in
14175 aix3*)
14176 version_type=linux
14177 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14178 shlibpath_var=LIBPATH
14180 # AIX 3 has no versioning support, so we append a major version to the name.
14181 soname_spec='${libname}${release}${shared_ext}$major'
14184 aix[4-9]*)
14185 version_type=linux
14186 need_lib_prefix=no
14187 need_version=no
14188 hardcode_into_libs=yes
14189 if test "$host_cpu" = ia64; then
14190 # AIX 5 supports IA64
14191 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14192 shlibpath_var=LD_LIBRARY_PATH
14193 else
14194 # With GCC up to 2.95.x, collect2 would create an import file
14195 # for dependence libraries. The import file would start with
14196 # the line `#! .'. This would cause the generated library to
14197 # depend on `.', always an invalid library. This was fixed in
14198 # development snapshots of GCC prior to 3.0.
14199 case $host_os in
14200 aix4 | aix4.[01] | aix4.[01].*)
14201 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14202 echo ' yes '
14203 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14205 else
14206 can_build_shared=no
14209 esac
14210 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14211 # soname into executable. Probably we can add versioning support to
14212 # collect2, so additional links can be useful in future.
14213 if test "$aix_use_runtimelinking" = yes; then
14214 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14215 # instead of lib<name>.a to let people know that these are not
14216 # typical AIX shared libraries.
14217 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14218 else
14219 # We preserve .a as extension for shared libraries through AIX4.2
14220 # and later when we are not doing run time linking.
14221 library_names_spec='${libname}${release}.a $libname.a'
14222 soname_spec='${libname}${release}${shared_ext}$major'
14224 shlibpath_var=LIBPATH
14228 amigaos*)
14229 case $host_cpu in
14230 powerpc)
14231 # Since July 2007 AmigaOS4 officially supports .so libraries.
14232 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14235 m68k)
14236 library_names_spec='$libname.ixlibrary $libname.a'
14237 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14238 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'
14240 esac
14243 beos*)
14244 library_names_spec='${libname}${shared_ext}'
14245 dynamic_linker="$host_os ld.so"
14246 shlibpath_var=LIBRARY_PATH
14249 bsdi[45]*)
14250 version_type=linux
14251 need_version=no
14252 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14253 soname_spec='${libname}${release}${shared_ext}$major'
14254 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14255 shlibpath_var=LD_LIBRARY_PATH
14256 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14257 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14258 # the default ld.so.conf also contains /usr/contrib/lib and
14259 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14260 # libtool to hard-code these into programs
14263 cygwin* | mingw* | pw32* | cegcc*)
14264 version_type=windows
14265 shrext_cmds=".dll"
14266 need_version=no
14267 need_lib_prefix=no
14269 case $GCC,$host_os in
14270 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14271 library_names_spec='$libname.dll.a'
14272 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14273 postinstall_cmds='base_file=`basename \${file}`~
14274 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14275 dldir=$destdir/`dirname \$dlpath`~
14276 test -d \$dldir || mkdir -p \$dldir~
14277 $install_prog $dir/$dlname \$dldir/$dlname~
14278 chmod a+x \$dldir/$dlname~
14279 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14280 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14282 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14283 dlpath=$dir/\$dldll~
14284 $RM \$dlpath'
14285 shlibpath_overrides_runpath=yes
14287 case $host_os in
14288 cygwin*)
14289 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14290 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14293 mingw* | cegcc*)
14294 # MinGW DLLs use traditional 'lib' prefix
14295 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14297 pw32*)
14298 # pw32 DLLs use 'pw' prefix rather than 'lib'
14299 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14301 esac
14305 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14307 esac
14308 dynamic_linker='Win32 ld.exe'
14309 # FIXME: first we should search . and the directory the executable is in
14310 shlibpath_var=PATH
14313 darwin* | rhapsody*)
14314 dynamic_linker="$host_os dyld"
14315 version_type=darwin
14316 need_lib_prefix=no
14317 need_version=no
14318 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14319 soname_spec='${libname}${release}${major}$shared_ext'
14320 shlibpath_overrides_runpath=yes
14321 shlibpath_var=DYLD_LIBRARY_PATH
14322 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14324 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14327 dgux*)
14328 version_type=linux
14329 need_lib_prefix=no
14330 need_version=no
14331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14332 soname_spec='${libname}${release}${shared_ext}$major'
14333 shlibpath_var=LD_LIBRARY_PATH
14336 freebsd* | dragonfly*)
14337 # DragonFly does not have aout. When/if they implement a new
14338 # versioning mechanism, adjust this.
14339 if test -x /usr/bin/objformat; then
14340 objformat=`/usr/bin/objformat`
14341 else
14342 case $host_os in
14343 freebsd[23].*) objformat=aout ;;
14344 *) objformat=elf ;;
14345 esac
14347 version_type=freebsd-$objformat
14348 case $version_type in
14349 freebsd-elf*)
14350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14351 need_version=no
14352 need_lib_prefix=no
14354 freebsd-*)
14355 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14356 need_version=yes
14358 esac
14359 shlibpath_var=LD_LIBRARY_PATH
14360 case $host_os in
14361 freebsd2.*)
14362 shlibpath_overrides_runpath=yes
14364 freebsd3.[01]* | freebsdelf3.[01]*)
14365 shlibpath_overrides_runpath=yes
14366 hardcode_into_libs=yes
14368 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14369 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14370 shlibpath_overrides_runpath=no
14371 hardcode_into_libs=yes
14373 *) # from 4.6 on, and DragonFly
14374 shlibpath_overrides_runpath=yes
14375 hardcode_into_libs=yes
14377 esac
14380 gnu*)
14381 version_type=linux
14382 need_lib_prefix=no
14383 need_version=no
14384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14385 soname_spec='${libname}${release}${shared_ext}$major'
14386 shlibpath_var=LD_LIBRARY_PATH
14387 hardcode_into_libs=yes
14390 haiku*)
14391 version_type=linux
14392 need_lib_prefix=no
14393 need_version=no
14394 dynamic_linker="$host_os runtime_loader"
14395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14396 soname_spec='${libname}${release}${shared_ext}$major'
14397 shlibpath_var=LIBRARY_PATH
14398 shlibpath_overrides_runpath=yes
14399 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14400 hardcode_into_libs=yes
14403 hpux9* | hpux10* | hpux11*)
14404 # Give a soname corresponding to the major version so that dld.sl refuses to
14405 # link against other versions.
14406 version_type=sunos
14407 need_lib_prefix=no
14408 need_version=no
14409 case $host_cpu in
14410 ia64*)
14411 shrext_cmds='.so'
14412 hardcode_into_libs=yes
14413 dynamic_linker="$host_os dld.so"
14414 shlibpath_var=LD_LIBRARY_PATH
14415 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14417 soname_spec='${libname}${release}${shared_ext}$major'
14418 if test "X$HPUX_IA64_MODE" = X32; then
14419 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14420 else
14421 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14423 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14425 hppa*64*)
14426 shrext_cmds='.sl'
14427 hardcode_into_libs=yes
14428 dynamic_linker="$host_os dld.sl"
14429 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14430 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14432 soname_spec='${libname}${release}${shared_ext}$major'
14433 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14434 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14437 shrext_cmds='.sl'
14438 dynamic_linker="$host_os dld.sl"
14439 shlibpath_var=SHLIB_PATH
14440 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14442 soname_spec='${libname}${release}${shared_ext}$major'
14444 esac
14445 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14446 postinstall_cmds='chmod 555 $lib'
14447 # or fails outright, so override atomically:
14448 install_override_mode=555
14451 interix[3-9]*)
14452 version_type=linux
14453 need_lib_prefix=no
14454 need_version=no
14455 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14456 soname_spec='${libname}${release}${shared_ext}$major'
14457 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14458 shlibpath_var=LD_LIBRARY_PATH
14459 shlibpath_overrides_runpath=no
14460 hardcode_into_libs=yes
14463 irix5* | irix6* | nonstopux*)
14464 case $host_os in
14465 nonstopux*) version_type=nonstopux ;;
14467 if test "$lt_cv_prog_gnu_ld" = yes; then
14468 version_type=linux
14469 else
14470 version_type=irix
14471 fi ;;
14472 esac
14473 need_lib_prefix=no
14474 need_version=no
14475 soname_spec='${libname}${release}${shared_ext}$major'
14476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14477 case $host_os in
14478 irix5* | nonstopux*)
14479 libsuff= shlibsuff=
14482 case $LD in # libtool.m4 will add one of these switches to LD
14483 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14484 libsuff= shlibsuff= libmagic=32-bit;;
14485 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14486 libsuff=32 shlibsuff=N32 libmagic=N32;;
14487 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14488 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14489 *) libsuff= shlibsuff= libmagic=never-match;;
14490 esac
14492 esac
14493 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14494 shlibpath_overrides_runpath=no
14495 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14496 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14497 hardcode_into_libs=yes
14500 # No shared lib support for Linux oldld, aout, or coff.
14501 linux*oldld* | linux*aout* | linux*coff*)
14502 dynamic_linker=no
14505 # This must be Linux ELF.
14506 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14507 version_type=linux
14508 need_lib_prefix=no
14509 need_version=no
14510 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14511 soname_spec='${libname}${release}${shared_ext}$major'
14512 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14513 shlibpath_var=LD_LIBRARY_PATH
14514 shlibpath_overrides_runpath=no
14516 # Some binutils ld are patched to set DT_RUNPATH
14517 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14518 $as_echo_n "(cached) " >&6
14519 else
14520 lt_cv_shlibpath_overrides_runpath=no
14521 save_LDFLAGS=$LDFLAGS
14522 save_libdir=$libdir
14523 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14524 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14525 if test x$gcc_no_link = xyes; then
14526 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14529 /* end confdefs.h. */
14532 main ()
14536 return 0;
14538 _ACEOF
14539 if ac_fn_cxx_try_link "$LINENO"; then :
14540 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14541 lt_cv_shlibpath_overrides_runpath=yes
14544 rm -f core conftest.err conftest.$ac_objext \
14545 conftest$ac_exeext conftest.$ac_ext
14546 LDFLAGS=$save_LDFLAGS
14547 libdir=$save_libdir
14551 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14553 # This implies no fast_install, which is unacceptable.
14554 # Some rework will be needed to allow for fast_install
14555 # before this can be enabled.
14556 hardcode_into_libs=yes
14558 # Append ld.so.conf contents to the search path
14559 if test -f /etc/ld.so.conf; then
14560 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' ' '`
14561 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14564 # We used to test for /lib/ld.so.1 and disable shared libraries on
14565 # powerpc, because MkLinux only supported shared libraries with the
14566 # GNU dynamic linker. Since this was broken with cross compilers,
14567 # most powerpc-linux boxes support dynamic linking these days and
14568 # people can always --disable-shared, the test was removed, and we
14569 # assume the GNU/Linux dynamic linker is in use.
14570 dynamic_linker='GNU/Linux ld.so'
14573 netbsd*)
14574 version_type=sunos
14575 need_lib_prefix=no
14576 need_version=no
14577 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14579 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14580 dynamic_linker='NetBSD (a.out) ld.so'
14581 else
14582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14583 soname_spec='${libname}${release}${shared_ext}$major'
14584 dynamic_linker='NetBSD ld.elf_so'
14586 shlibpath_var=LD_LIBRARY_PATH
14587 shlibpath_overrides_runpath=yes
14588 hardcode_into_libs=yes
14591 newsos6)
14592 version_type=linux
14593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14594 shlibpath_var=LD_LIBRARY_PATH
14595 shlibpath_overrides_runpath=yes
14598 *nto* | *qnx*)
14599 version_type=qnx
14600 need_lib_prefix=no
14601 need_version=no
14602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14603 soname_spec='${libname}${release}${shared_ext}$major'
14604 shlibpath_var=LD_LIBRARY_PATH
14605 shlibpath_overrides_runpath=no
14606 hardcode_into_libs=yes
14607 dynamic_linker='ldqnx.so'
14610 openbsd*)
14611 version_type=sunos
14612 sys_lib_dlsearch_path_spec="/usr/lib"
14613 need_lib_prefix=no
14614 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14615 case $host_os in
14616 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14617 *) need_version=no ;;
14618 esac
14619 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14620 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14621 shlibpath_var=LD_LIBRARY_PATH
14622 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14623 case $host_os in
14624 openbsd2.[89] | openbsd2.[89].*)
14625 shlibpath_overrides_runpath=no
14628 shlibpath_overrides_runpath=yes
14630 esac
14631 else
14632 shlibpath_overrides_runpath=yes
14636 os2*)
14637 libname_spec='$name'
14638 shrext_cmds=".dll"
14639 need_lib_prefix=no
14640 library_names_spec='$libname${shared_ext} $libname.a'
14641 dynamic_linker='OS/2 ld.exe'
14642 shlibpath_var=LIBPATH
14645 osf3* | osf4* | osf5*)
14646 version_type=osf
14647 need_lib_prefix=no
14648 need_version=no
14649 soname_spec='${libname}${release}${shared_ext}$major'
14650 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14651 shlibpath_var=LD_LIBRARY_PATH
14652 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14653 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14656 rdos*)
14657 dynamic_linker=no
14660 solaris*)
14661 version_type=linux
14662 need_lib_prefix=no
14663 need_version=no
14664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14665 soname_spec='${libname}${release}${shared_ext}$major'
14666 shlibpath_var=LD_LIBRARY_PATH
14667 shlibpath_overrides_runpath=yes
14668 hardcode_into_libs=yes
14669 # ldd complains unless libraries are executable
14670 postinstall_cmds='chmod +x $lib'
14673 sunos4*)
14674 version_type=sunos
14675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14676 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14677 shlibpath_var=LD_LIBRARY_PATH
14678 shlibpath_overrides_runpath=yes
14679 if test "$with_gnu_ld" = yes; then
14680 need_lib_prefix=no
14682 need_version=yes
14685 sysv4 | sysv4.3*)
14686 version_type=linux
14687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14688 soname_spec='${libname}${release}${shared_ext}$major'
14689 shlibpath_var=LD_LIBRARY_PATH
14690 case $host_vendor in
14691 sni)
14692 shlibpath_overrides_runpath=no
14693 need_lib_prefix=no
14694 runpath_var=LD_RUN_PATH
14696 siemens)
14697 need_lib_prefix=no
14699 motorola)
14700 need_lib_prefix=no
14701 need_version=no
14702 shlibpath_overrides_runpath=no
14703 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14705 esac
14708 sysv4*MP*)
14709 if test -d /usr/nec ;then
14710 version_type=linux
14711 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14712 soname_spec='$libname${shared_ext}.$major'
14713 shlibpath_var=LD_LIBRARY_PATH
14717 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14718 version_type=freebsd-elf
14719 need_lib_prefix=no
14720 need_version=no
14721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14722 soname_spec='${libname}${release}${shared_ext}$major'
14723 shlibpath_var=LD_LIBRARY_PATH
14724 shlibpath_overrides_runpath=yes
14725 hardcode_into_libs=yes
14726 if test "$with_gnu_ld" = yes; then
14727 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14728 else
14729 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14730 case $host_os in
14731 sco3.2v5*)
14732 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14734 esac
14736 sys_lib_dlsearch_path_spec='/usr/lib'
14739 tpf*)
14740 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14741 version_type=linux
14742 need_lib_prefix=no
14743 need_version=no
14744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14745 shlibpath_var=LD_LIBRARY_PATH
14746 shlibpath_overrides_runpath=no
14747 hardcode_into_libs=yes
14750 uts4*)
14751 version_type=linux
14752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14753 soname_spec='${libname}${release}${shared_ext}$major'
14754 shlibpath_var=LD_LIBRARY_PATH
14758 dynamic_linker=no
14760 esac
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14762 $as_echo "$dynamic_linker" >&6; }
14763 test "$dynamic_linker" = no && can_build_shared=no
14765 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14766 if test "$GCC" = yes; then
14767 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14770 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14771 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14773 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14774 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14815 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14816 hardcode_action_CXX=
14817 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14818 test -n "$runpath_var_CXX" ||
14819 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14821 # We can hardcode non-existent directories.
14822 if test "$hardcode_direct_CXX" != no &&
14823 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14824 # have to relink, otherwise we might link with an installed library
14825 # when we should be linking with a yet-to-be-installed one
14826 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14827 test "$hardcode_minus_L_CXX" != no; then
14828 # Linking always hardcodes the temporary library directory.
14829 hardcode_action_CXX=relink
14830 else
14831 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14832 hardcode_action_CXX=immediate
14834 else
14835 # We cannot hardcode anything, or else we can only hardcode existing
14836 # directories.
14837 hardcode_action_CXX=unsupported
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14840 $as_echo "$hardcode_action_CXX" >&6; }
14842 if test "$hardcode_action_CXX" = relink ||
14843 test "$inherit_rpath_CXX" = yes; then
14844 # Fast installation is not supported
14845 enable_fast_install=no
14846 elif test "$shlibpath_overrides_runpath" = yes ||
14847 test "$enable_shared" = no; then
14848 # Fast installation is not necessary
14849 enable_fast_install=needless
14858 fi # test -n "$compiler"
14860 CC=$lt_save_CC
14861 LDCXX=$LD
14862 LD=$lt_save_LD
14863 GCC=$lt_save_GCC
14864 with_gnu_ld=$lt_save_with_gnu_ld
14865 lt_cv_path_LDCXX=$lt_cv_path_LD
14866 lt_cv_path_LD=$lt_save_path_LD
14867 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14868 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14869 fi # test "$_lt_caught_CXX_error" != yes
14871 ac_ext=c
14872 ac_cpp='$CPP $CPPFLAGS'
14873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14889 ac_config_commands="$ac_config_commands libtool"
14894 # Only expand once:
14900 case $host in
14901 *-cygwin* | *-mingw*)
14902 # 'host' will be top-level target in the case of a target lib,
14903 # we must compare to with_cross_host to decide if this is a native
14904 # or cross-compiler and select where to install dlls appropriately.
14905 if test -n "$with_cross_host" &&
14906 test x"$with_cross_host" != x"no"; then
14907 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14908 else
14909 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14913 lt_host_flags=
14915 esac
14922 if test "$enable_vtable_verify" = yes; then
14923 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14924 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14928 # libtool variables for C++ shared and position-independent compiles.
14930 # Use glibcxx_lt_pic_flag to designate the automake variable
14931 # used to encapsulate the default libtool approach to creating objects
14932 # with position-independent code. Default: -prefer-pic.
14934 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14935 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14937 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14938 # creating position-independent objects. This varies with the target
14939 # hardware and operating system, but is often: -DPIC -fPIC.
14940 if test "$enable_shared" = yes; then
14941 glibcxx_lt_pic_flag="-prefer-pic"
14942 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14943 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14945 else
14946 glibcxx_lt_pic_flag=
14947 glibcxx_compiler_pic_flag=
14948 glibcxx_compiler_shared_flag=
14954 # Override the libtool's pic_flag and pic_mode.
14955 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14956 # NB: this impacts --with-pic and --without-pic.
14957 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14958 pic_mode='default'
14960 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14961 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14963 # Possibly disable most of the library.
14964 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14965 ## than just ignoring the results. Faster /and/ more correct, win win.
14967 # Check whether --enable-hosted-libstdcxx was given.
14968 if test "${enable_hosted_libstdcxx+set}" = set; then :
14969 enableval=$enable_hosted_libstdcxx;
14970 else
14971 case "$host" in
14972 arm*-*-symbianelf*)
14973 enable_hosted_libstdcxx=no
14976 enable_hosted_libstdcxx=yes
14978 esac
14981 if test "$enable_hosted_libstdcxx" = no; then
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14983 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14984 is_hosted=no
14985 hosted_define=0
14986 enable_abi_check=no
14987 enable_libstdcxx_pch=no
14988 else
14989 is_hosted=yes
14990 hosted_define=1
14994 cat >>confdefs.h <<_ACEOF
14995 #define _GLIBCXX_HOSTED $hosted_define
14996 _ACEOF
15000 # Enable descriptive messages to standard output on termination.
15002 # Check whether --enable-libstdcxx-verbose was given.
15003 if test "${enable_libstdcxx_verbose+set}" = set; then :
15004 enableval=$enable_libstdcxx_verbose;
15005 else
15006 enable_libstdcxx_verbose=yes
15009 if test x"$enable_libstdcxx_verbose" = xyes; then
15010 verbose_define=1
15011 else
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15013 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15014 verbose_define=0
15017 cat >>confdefs.h <<_ACEOF
15018 #define _GLIBCXX_VERBOSE $verbose_define
15019 _ACEOF
15023 # Enable compiler support that doesn't require linking.
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15026 $as_echo_n "checking for exception model to use... " >&6; }
15028 ac_ext=cpp
15029 ac_cpp='$CXXCPP $CPPFLAGS'
15030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15034 # Check whether --enable-sjlj-exceptions was given.
15035 if test "${enable_sjlj_exceptions+set}" = set; then :
15036 enableval=$enable_sjlj_exceptions;
15037 case "$enableval" in
15038 yes|no|auto) ;;
15039 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15040 esac
15042 else
15043 enable_sjlj_exceptions=auto
15048 if test $enable_sjlj_exceptions = auto; then
15049 # Botheration. Now we've got to detect the exception model. Link tests
15050 # against libgcc.a are problematic since we've not been given proper -L
15051 # bits for single-tree newlib and libgloss.
15053 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15054 cat > conftest.$ac_ext << EOF
15055 #line 15055 "configure"
15056 struct S { ~S(); };
15057 void bar();
15058 void foo()
15060 S s;
15061 bar();
15064 old_CXXFLAGS="$CXXFLAGS"
15065 CXXFLAGS=-S
15066 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15067 (eval $ac_compile) 2>&5
15068 ac_status=$?
15069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15070 test $ac_status = 0; }; then
15071 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15072 enable_sjlj_exceptions=yes
15073 elif grep _Unwind_SjLj_Register conftest.s >/dev/null 2>&1 ; then
15074 enable_sjlj_exceptions=yes
15075 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15076 enable_sjlj_exceptions=no
15077 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15078 enable_sjlj_exceptions=no
15081 CXXFLAGS="$old_CXXFLAGS"
15082 rm -f conftest*
15085 # This is a tad weird, for hysterical raisins. We have to map
15086 # enable/disable to two different models.
15087 case $enable_sjlj_exceptions in
15088 yes)
15090 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15092 ac_exception_model_name=sjlj
15095 ac_exception_model_name="call frame"
15098 as_fn_error "unable to detect exception model" "$LINENO" 5
15100 esac
15101 ac_ext=c
15102 ac_cpp='$CPP $CPPFLAGS'
15103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15108 $as_echo "$ac_exception_model_name" >&6; }
15111 # Check whether --enable-libstdcxx-pch was given.
15112 if test "${enable_libstdcxx_pch+set}" = set; then :
15113 enableval=$enable_libstdcxx_pch;
15114 case "$enableval" in
15115 yes|no) ;;
15116 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15117 esac
15119 else
15120 enable_libstdcxx_pch=$is_hosted
15124 if test $enable_libstdcxx_pch = yes; then
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15126 $as_echo_n "checking for compiler with PCH support... " >&6; }
15127 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15128 $as_echo_n "(cached) " >&6
15129 else
15130 ac_save_CXXFLAGS="$CXXFLAGS"
15131 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15133 ac_ext=cpp
15134 ac_cpp='$CXXCPP $CPPFLAGS'
15135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15139 echo '#include <math.h>' > conftest.h
15140 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15141 -o conftest.h.gch 1>&5 2>&1 &&
15142 echo '#error "pch failed"' > conftest.h &&
15143 echo '#include "conftest.h"' > conftest.cc &&
15144 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15145 then
15146 glibcxx_cv_prog_CXX_pch=yes
15147 else
15148 glibcxx_cv_prog_CXX_pch=no
15150 rm -f conftest*
15151 CXXFLAGS=$ac_save_CXXFLAGS
15152 ac_ext=c
15153 ac_cpp='$CPP $CPPFLAGS'
15154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15161 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15162 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15166 $as_echo_n "checking for enabled PCH... " >&6; }
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15168 $as_echo "$enable_libstdcxx_pch" >&6; }
15171 if test $enable_libstdcxx_pch = yes; then
15172 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15173 else
15174 glibcxx_PCHFLAGS=""
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15180 $as_echo_n "checking for thread model used by GCC... " >&6; }
15181 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15183 $as_echo "$target_thread_file" >&6; }
15185 case $target_thread_file in
15186 aix) thread_header=config/rs6000/gthr-aix.h ;;
15187 dce) thread_header=config/pa/gthr-dce.h ;;
15188 lynx) thread_header=config/gthr-lynx.h ;;
15189 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15190 posix) thread_header=gthr-posix.h ;;
15191 rtems) thread_header=config/gthr-rtems.h ;;
15192 single) thread_header=gthr-single.h ;;
15193 tpf) thread_header=config/s390/gthr-tpf.h ;;
15194 vxworks) thread_header=config/gthr-vxworks.h ;;
15195 win32) thread_header=config/i386/gthr-win32.h ;;
15196 esac
15202 ac_ext=cpp
15203 ac_cpp='$CXXCPP $CPPFLAGS'
15204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15208 old_CXXFLAGS="$CXXFLAGS"
15210 # Do link tests if possible, instead asm tests, limited to some platforms
15211 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15212 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15213 atomic_builtins_link_tests=no
15214 if test x$gcc_no_link != xyes; then
15215 # Can do link tests. Limit to some tested platforms
15216 case "$host" in
15217 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15218 atomic_builtins_link_tests=yes
15220 esac
15223 if test x$atomic_builtins_link_tests = xyes; then
15225 # Do link tests.
15227 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15230 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15231 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15232 $as_echo_n "(cached) " >&6
15233 else
15235 if test x$gcc_no_link = xyes; then
15236 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15239 /* end confdefs.h. */
15242 main ()
15244 typedef bool atomic_type;
15245 atomic_type c1;
15246 atomic_type c2;
15247 atomic_type c3(0);
15248 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15249 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15250 __ATOMIC_RELAXED);
15251 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15252 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15255 return 0;
15257 _ACEOF
15258 if ac_fn_cxx_try_link "$LINENO"; then :
15259 glibcxx_cv_atomic_bool=yes
15260 else
15261 glibcxx_cv_atomic_bool=no
15263 rm -f core conftest.err conftest.$ac_objext \
15264 conftest$ac_exeext conftest.$ac_ext
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15269 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15272 $as_echo_n "checking for atomic builtins for short... " >&6; }
15273 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15274 $as_echo_n "(cached) " >&6
15275 else
15277 if test x$gcc_no_link = xyes; then
15278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15281 /* end confdefs.h. */
15284 main ()
15286 typedef short atomic_type;
15287 atomic_type c1;
15288 atomic_type c2;
15289 atomic_type c3(0);
15290 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15291 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15292 __ATOMIC_RELAXED);
15293 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15294 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15297 return 0;
15299 _ACEOF
15300 if ac_fn_cxx_try_link "$LINENO"; then :
15301 glibcxx_cv_atomic_short=yes
15302 else
15303 glibcxx_cv_atomic_short=no
15305 rm -f core conftest.err conftest.$ac_objext \
15306 conftest$ac_exeext conftest.$ac_ext
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15311 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15314 $as_echo_n "checking for atomic builtins for int... " >&6; }
15315 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15316 $as_echo_n "(cached) " >&6
15317 else
15319 if test x$gcc_no_link = xyes; then
15320 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15323 /* end confdefs.h. */
15326 main ()
15328 typedef int atomic_type;
15329 atomic_type c1;
15330 atomic_type c2;
15331 atomic_type c3(0);
15332 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15333 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15334 __ATOMIC_RELAXED);
15335 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15336 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15339 return 0;
15341 _ACEOF
15342 if ac_fn_cxx_try_link "$LINENO"; then :
15343 glibcxx_cv_atomic_int=yes
15344 else
15345 glibcxx_cv_atomic_int=no
15347 rm -f core conftest.err conftest.$ac_objext \
15348 conftest$ac_exeext conftest.$ac_ext
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15353 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15356 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15357 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15358 $as_echo_n "(cached) " >&6
15359 else
15361 if test x$gcc_no_link = xyes; then
15362 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15365 /* end confdefs.h. */
15368 main ()
15370 typedef long long atomic_type;
15371 atomic_type c1;
15372 atomic_type c2;
15373 atomic_type c3(0);
15374 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15375 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15376 __ATOMIC_RELAXED);
15377 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15378 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15381 return 0;
15383 _ACEOF
15384 if ac_fn_cxx_try_link "$LINENO"; then :
15385 glibcxx_cv_atomic_long_long=yes
15386 else
15387 glibcxx_cv_atomic_long_long=no
15389 rm -f core conftest.err conftest.$ac_objext \
15390 conftest$ac_exeext conftest.$ac_ext
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15395 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15397 else
15399 # Do asm tests.
15401 # Compile unoptimized.
15402 CXXFLAGS='-O0 -S'
15404 # Fake what AC_TRY_COMPILE does.
15406 cat > conftest.$ac_ext << EOF
15407 #line 15407 "configure"
15408 int main()
15410 typedef bool atomic_type;
15411 atomic_type c1;
15412 atomic_type c2;
15413 atomic_type c3(0);
15414 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15415 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15416 __ATOMIC_RELAXED);
15417 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15418 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15420 return 0;
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15425 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15426 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15427 (eval $ac_compile) 2>&5
15428 ac_status=$?
15429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15430 test $ac_status = 0; }; then
15431 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15432 glibcxx_cv_atomic_bool=no
15433 else
15434 glibcxx_cv_atomic_bool=yes
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15438 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15439 rm -f conftest*
15441 cat > conftest.$ac_ext << EOF
15442 #line 15442 "configure"
15443 int main()
15445 typedef short atomic_type;
15446 atomic_type c1;
15447 atomic_type c2;
15448 atomic_type c3(0);
15449 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15450 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15451 __ATOMIC_RELAXED);
15452 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15453 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15455 return 0;
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15460 $as_echo_n "checking for atomic builtins for short... " >&6; }
15461 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15462 (eval $ac_compile) 2>&5
15463 ac_status=$?
15464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15465 test $ac_status = 0; }; then
15466 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15467 glibcxx_cv_atomic_short=no
15468 else
15469 glibcxx_cv_atomic_short=yes
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15473 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15474 rm -f conftest*
15476 cat > conftest.$ac_ext << EOF
15477 #line 15477 "configure"
15478 int main()
15480 // NB: _Atomic_word not necessarily int.
15481 typedef int atomic_type;
15482 atomic_type c1;
15483 atomic_type c2;
15484 atomic_type c3(0);
15485 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15486 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15487 __ATOMIC_RELAXED);
15488 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15489 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15491 return 0;
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15496 $as_echo_n "checking for atomic builtins for int... " >&6; }
15497 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15498 (eval $ac_compile) 2>&5
15499 ac_status=$?
15500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15501 test $ac_status = 0; }; then
15502 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15503 glibcxx_cv_atomic_int=no
15504 else
15505 glibcxx_cv_atomic_int=yes
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15509 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15510 rm -f conftest*
15512 cat > conftest.$ac_ext << EOF
15513 #line 15513 "configure"
15514 int main()
15516 typedef long long atomic_type;
15517 atomic_type c1;
15518 atomic_type c2;
15519 atomic_type c3(0);
15520 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15521 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15522 __ATOMIC_RELAXED);
15523 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15524 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15526 return 0;
15530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15531 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15532 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15533 (eval $ac_compile) 2>&5
15534 ac_status=$?
15535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15536 test $ac_status = 0; }; then
15537 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15538 glibcxx_cv_atomic_long_long=no
15539 else
15540 glibcxx_cv_atomic_long_long=yes
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15544 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15545 rm -f conftest*
15549 CXXFLAGS="$old_CXXFLAGS"
15550 ac_ext=c
15551 ac_cpp='$CPP $CPPFLAGS'
15552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15557 # Set atomicity_dir to builtins if all but the long long test above passes.
15558 if test $glibcxx_cv_atomic_bool = yes \
15559 && test $glibcxx_cv_atomic_short = yes \
15560 && test $glibcxx_cv_atomic_int = yes; then
15562 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15564 atomicity_dir=cpu/generic/atomicity_builtins
15567 # If still generic, set to mutex.
15568 if test $atomicity_dir = "cpu/generic" ; then
15569 atomicity_dir=cpu/generic/atomicity_mutex
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15571 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15572 if test "x$target_thread_file" = xsingle; then
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15574 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15576 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15577 else
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15579 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15581 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15588 # Fake what AC_TRY_COMPILE does, without linking as this is
15589 # unnecessary for this test.
15591 cat > conftest.$ac_ext << EOF
15592 #line 15592 "configure"
15593 int main()
15595 _Decimal32 d1;
15596 _Decimal64 d2;
15597 _Decimal128 d3;
15598 return 0;
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15603 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15604 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15605 (eval $ac_compile) 2>&5
15606 ac_status=$?
15607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15608 test $ac_status = 0; }; then
15610 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15612 enable_dfp=yes
15613 else
15614 enable_dfp=no
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15617 $as_echo "$enable_dfp" >&6; }
15618 rm -f conftest*
15623 ac_ext=cpp
15624 ac_cpp='$CXXCPP $CPPFLAGS'
15625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15630 # Fake what AC_TRY_COMPILE does, without linking as this is
15631 # unnecessary for this test.
15633 cat > conftest.$ac_ext << EOF
15634 #line 15634 "configure"
15635 template<typename T1, typename T2>
15636 struct same
15637 { typedef T2 type; };
15639 template<typename T>
15640 struct same<T, T>;
15642 int main()
15644 typename same<long, __int128>::type i1;
15645 typename same<long long, __int128>::type i2;
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15650 $as_echo_n "checking for __int128... " >&6; }
15651 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15652 (eval $ac_compile) 2>&5
15653 ac_status=$?
15654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15655 test $ac_status = 0; }; then
15657 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15659 enable_int128=yes
15660 else
15661 enable_int128=no
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15664 $as_echo "$enable_int128" >&6; }
15665 rm -f conftest*
15667 cat > conftest.$ac_ext << EOF
15668 #line 15668 "configure"
15669 template<typename T1, typename T2>
15670 struct same
15671 { typedef T2 type; };
15673 template<typename T>
15674 struct same<T, T>;
15676 int main()
15678 typename same<double, __float128>::type f1;
15679 typename same<long double, __float128>::type f2;
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15684 $as_echo_n "checking for __float128... " >&6; }
15685 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15686 (eval $ac_compile) 2>&5
15687 ac_status=$?
15688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15689 test $ac_status = 0; }; then
15691 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15693 enable_float128=yes
15694 else
15695 enable_float128=no
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15698 $as_echo "$enable_float128" >&6; }
15699 rm -f conftest*
15701 ac_ext=c
15702 ac_cpp='$CPP $CPPFLAGS'
15703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15709 # Checks for compiler support that doesn't require linking.
15711 # All these tests are for C++; save the language and the compiler flags.
15712 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15713 # found in GLIBCXX_CONFIGURE.
15715 ac_ext=cpp
15716 ac_cpp='$CXXCPP $CPPFLAGS'
15717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15721 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15722 ac_save_CXXFLAGS="$CXXFLAGS"
15724 # Check for maintainer-mode bits.
15725 if test x"$USE_MAINTAINER_MODE" = xno; then
15726 WERROR=''
15727 else
15728 WERROR='-Werror'
15731 # Check for -ffunction-sections -fdata-sections
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15733 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15734 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15736 /* end confdefs.h. */
15737 int foo; void bar() { };
15739 main ()
15743 return 0;
15745 _ACEOF
15746 if ac_fn_cxx_try_compile "$LINENO"; then :
15747 ac_fdsections=yes
15748 else
15749 ac_fdsections=no
15751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15752 if test "$ac_test_CXXFLAGS" = set; then
15753 CXXFLAGS="$ac_save_CXXFLAGS"
15754 else
15755 # this is the suspicious part
15756 CXXFLAGS=''
15758 if test x"$ac_fdsections" = x"yes"; then
15759 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15762 $as_echo "$ac_fdsections" >&6; }
15764 ac_ext=c
15765 ac_cpp='$CPP $CPPFLAGS'
15766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15774 # Enable all the variable C++ runtime options that don't require linking.
15776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15777 $as_echo_n "checking for underlying I/O to use... " >&6; }
15778 # Check whether --enable-cstdio was given.
15779 if test "${enable_cstdio+set}" = set; then :
15780 enableval=$enable_cstdio;
15781 case "$enableval" in
15782 stdio) ;;
15783 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15784 esac
15786 else
15787 enable_cstdio=stdio
15792 # Now that libio has been removed, you can have any color you want as long
15793 # as it's black. This is one big no-op until other packages are added, but
15794 # showing the framework never hurts.
15795 case ${enable_cstdio} in
15796 stdio)
15797 CSTDIO_H=config/io/c_io_stdio.h
15798 BASIC_FILE_H=config/io/basic_file_stdio.h
15799 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15801 $as_echo "stdio" >&6; }
15803 esac
15810 # Check whether --enable-clocale was given.
15811 if test "${enable_clocale+set}" = set; then :
15812 enableval=$enable_clocale;
15813 case "$enableval" in
15814 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15815 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15816 esac
15818 else
15819 enable_clocale=auto
15824 # Deal with gettext issues. Default to not using it (=no) until we detect
15825 # support for it later. Let the user turn it off via --e/d, but let that
15826 # default to on for easier handling.
15827 USE_NLS=no
15828 # Check whether --enable-nls was given.
15829 if test "${enable_nls+set}" = set; then :
15830 enableval=$enable_nls;
15831 else
15832 enable_nls=yes
15836 # Either a known package, or "auto"
15837 if test $enable_clocale = no || test $enable_clocale = yes; then
15838 enable_clocale=auto
15840 enable_clocale_flag=$enable_clocale
15842 # Probe for locale model to use if none specified.
15843 # Default to "generic".
15844 if test $enable_clocale_flag = auto; then
15845 case ${target_os} in
15846 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15847 enable_clocale_flag=gnu
15849 darwin* | freebsd*)
15850 enable_clocale_flag=darwin
15852 openbsd*)
15853 enable_clocale_flag=newlib
15856 if test x"$with_newlib" = x"yes"; then
15857 enable_clocale_flag=newlib
15858 else
15859 enable_clocale_flag=generic
15862 esac
15865 # Sanity check model, and test for special functionality.
15866 if test $enable_clocale_flag = gnu; then
15867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15868 /* end confdefs.h. */
15870 #include <features.h>
15871 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15872 _GLIBCXX_ok
15873 #endif
15875 _ACEOF
15876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15877 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15878 enable_clocale_flag=gnu
15879 else
15880 enable_clocale_flag=generic
15882 rm -f conftest*
15885 # Set it to scream when it hurts.
15886 ac_save_CFLAGS="$CFLAGS"
15887 CFLAGS="-Wimplicit-function-declaration -Werror"
15889 # Use strxfrm_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 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15900 return 0;
15902 _ACEOF
15903 if ac_fn_c_try_compile "$LINENO"; then :
15905 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15910 # Use strerror_l if available.
15911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15912 /* end confdefs.h. */
15913 #define _GNU_SOURCE 1
15914 #include <string.h>
15915 #include <locale.h>
15917 main ()
15919 __locale_t loc; strerror_l(5, loc);
15921 return 0;
15923 _ACEOF
15924 if ac_fn_c_try_compile "$LINENO"; then :
15926 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15931 CFLAGS="$ac_save_CFLAGS"
15934 # Perhaps use strerror_r if available, and strerror_l isn't.
15935 ac_save_CFLAGS="$CFLAGS"
15936 CFLAGS="-Wimplicit-function-declaration -Werror"
15937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15938 /* end confdefs.h. */
15939 #define _GNU_SOURCE 1
15940 #include <string.h>
15941 #include <locale.h>
15943 main ()
15945 char s[128]; strerror_r(5, s, 128);
15947 return 0;
15949 _ACEOF
15950 if ac_fn_c_try_compile "$LINENO"; then :
15952 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15956 CFLAGS="$ac_save_CFLAGS"
15958 # Set configure bits for specified locale package
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15960 $as_echo_n "checking for C locale to use... " >&6; }
15961 case ${enable_clocale_flag} in
15962 generic)
15963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15964 $as_echo "generic" >&6; }
15966 CLOCALE_H=config/locale/generic/c_locale.h
15967 CLOCALE_CC=config/locale/generic/c_locale.cc
15968 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15969 CCOLLATE_CC=config/locale/generic/collate_members.cc
15970 CCTYPE_CC=config/locale/generic/ctype_members.cc
15971 CMESSAGES_H=config/locale/generic/messages_members.h
15972 CMESSAGES_CC=config/locale/generic/messages_members.cc
15973 CMONEY_CC=config/locale/generic/monetary_members.cc
15974 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15975 CTIME_H=config/locale/generic/time_members.h
15976 CTIME_CC=config/locale/generic/time_members.cc
15977 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15979 darwin)
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15981 $as_echo "darwin or freebsd" >&6; }
15983 CLOCALE_H=config/locale/generic/c_locale.h
15984 CLOCALE_CC=config/locale/generic/c_locale.cc
15985 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15986 CCOLLATE_CC=config/locale/generic/collate_members.cc
15987 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15988 CMESSAGES_H=config/locale/generic/messages_members.h
15989 CMESSAGES_CC=config/locale/generic/messages_members.cc
15990 CMONEY_CC=config/locale/generic/monetary_members.cc
15991 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15992 CTIME_H=config/locale/generic/time_members.h
15993 CTIME_CC=config/locale/generic/time_members.cc
15994 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15997 gnu)
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15999 $as_echo "gnu" >&6; }
16001 # Declare intention to use gettext, and add support for specific
16002 # languages.
16003 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16004 ALL_LINGUAS="de fr"
16006 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16007 # Extract the first word of "msgfmt", so it can be a program name with args.
16008 set dummy msgfmt; ac_word=$2
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16010 $as_echo_n "checking for $ac_word... " >&6; }
16011 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16012 $as_echo_n "(cached) " >&6
16013 else
16014 if test -n "$check_msgfmt"; then
16015 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16016 else
16017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16018 for as_dir in $PATH
16020 IFS=$as_save_IFS
16021 test -z "$as_dir" && as_dir=.
16022 for ac_exec_ext in '' $ac_executable_extensions; do
16023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16024 ac_cv_prog_check_msgfmt="yes"
16025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16026 break 2
16028 done
16029 done
16030 IFS=$as_save_IFS
16032 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16035 check_msgfmt=$ac_cv_prog_check_msgfmt
16036 if test -n "$check_msgfmt"; then
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16038 $as_echo "$check_msgfmt" >&6; }
16039 else
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16041 $as_echo "no" >&6; }
16045 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16046 USE_NLS=yes
16048 # Export the build objects.
16049 for ling in $ALL_LINGUAS; do \
16050 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16051 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16052 done
16056 CLOCALE_H=config/locale/gnu/c_locale.h
16057 CLOCALE_CC=config/locale/gnu/c_locale.cc
16058 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16059 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16060 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16061 CMESSAGES_H=config/locale/gnu/messages_members.h
16062 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16063 CMONEY_CC=config/locale/gnu/monetary_members.cc
16064 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16065 CTIME_H=config/locale/gnu/time_members.h
16066 CTIME_CC=config/locale/gnu/time_members.cc
16067 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16069 ieee_1003.1-2001)
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16071 $as_echo "IEEE 1003.1" >&6; }
16073 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16074 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16075 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16076 CCOLLATE_CC=config/locale/generic/collate_members.cc
16077 CCTYPE_CC=config/locale/generic/ctype_members.cc
16078 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16079 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16080 CMONEY_CC=config/locale/generic/monetary_members.cc
16081 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16082 CTIME_H=config/locale/generic/time_members.h
16083 CTIME_CC=config/locale/generic/time_members.cc
16084 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16086 newlib)
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16088 $as_echo "newlib" >&6; }
16090 CLOCALE_H=config/locale/generic/c_locale.h
16091 CLOCALE_CC=config/locale/generic/c_locale.cc
16092 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16093 CCOLLATE_CC=config/locale/generic/collate_members.cc
16094 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16095 CMESSAGES_H=config/locale/generic/messages_members.h
16096 CMESSAGES_CC=config/locale/generic/messages_members.cc
16097 CMONEY_CC=config/locale/generic/monetary_members.cc
16098 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16099 CTIME_H=config/locale/generic/time_members.h
16100 CTIME_CC=config/locale/generic/time_members.cc
16101 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16103 esac
16105 # This is where the testsuite looks for locale catalogs, using the
16106 # -DLOCALEDIR define during testsuite compilation.
16107 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16110 # A standalone libintl (e.g., GNU libintl) may be in use.
16111 if test $USE_NLS = yes; then
16112 for ac_header in libintl.h
16113 do :
16114 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16115 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16116 cat >>confdefs.h <<_ACEOF
16117 #define HAVE_LIBINTL_H 1
16118 _ACEOF
16120 else
16121 USE_NLS=no
16124 done
16126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16127 $as_echo_n "checking for library containing gettext... " >&6; }
16128 if test "${ac_cv_search_gettext+set}" = set; then :
16129 $as_echo_n "(cached) " >&6
16130 else
16131 ac_func_search_save_LIBS=$LIBS
16132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16133 /* end confdefs.h. */
16135 /* Override any GCC internal prototype to avoid an error.
16136 Use char because int might match the return type of a GCC
16137 builtin and then its argument prototype would still apply. */
16138 #ifdef __cplusplus
16139 extern "C"
16140 #endif
16141 char gettext ();
16143 main ()
16145 return gettext ();
16147 return 0;
16149 _ACEOF
16150 for ac_lib in '' intl; do
16151 if test -z "$ac_lib"; then
16152 ac_res="none required"
16153 else
16154 ac_res=-l$ac_lib
16155 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16157 if test x$gcc_no_link = xyes; then
16158 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16160 if ac_fn_c_try_link "$LINENO"; then :
16161 ac_cv_search_gettext=$ac_res
16163 rm -f core conftest.err conftest.$ac_objext \
16164 conftest$ac_exeext
16165 if test "${ac_cv_search_gettext+set}" = set; then :
16166 break
16168 done
16169 if test "${ac_cv_search_gettext+set}" = set; then :
16171 else
16172 ac_cv_search_gettext=no
16174 rm conftest.$ac_ext
16175 LIBS=$ac_func_search_save_LIBS
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16178 $as_echo "$ac_cv_search_gettext" >&6; }
16179 ac_res=$ac_cv_search_gettext
16180 if test "$ac_res" != no; then :
16181 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16183 else
16184 USE_NLS=no
16188 if test $USE_NLS = yes; then
16190 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16210 $as_echo_n "checking for std::allocator base class... " >&6; }
16211 # Check whether --enable-libstdcxx-allocator was given.
16212 if test "${enable_libstdcxx_allocator+set}" = set; then :
16213 enableval=$enable_libstdcxx_allocator;
16214 case "$enableval" in
16215 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16216 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16217 esac
16219 else
16220 enable_libstdcxx_allocator=auto
16225 # If they didn't use this option switch, or if they specified --enable
16226 # with no specific model, we'll have to look for one. If they
16227 # specified --disable (???), do likewise.
16228 if test $enable_libstdcxx_allocator = no ||
16229 test $enable_libstdcxx_allocator = yes;
16230 then
16231 enable_libstdcxx_allocator=auto
16234 # Either a known package, or "auto". Auto implies the default choice
16235 # for a particular platform.
16236 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16238 # Probe for host-specific support if no specific model is specified.
16239 # Default to "new".
16240 if test $enable_libstdcxx_allocator_flag = auto; then
16241 case ${target_os} in
16242 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16243 enable_libstdcxx_allocator_flag=new
16246 enable_libstdcxx_allocator_flag=new
16248 esac
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16251 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16254 # Set configure bits for specified locale package
16255 case ${enable_libstdcxx_allocator_flag} in
16256 bitmap)
16257 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16258 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16260 malloc)
16261 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16262 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16265 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16266 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16268 new)
16269 ALLOCATOR_H=config/allocator/new_allocator_base.h
16270 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16272 pool)
16273 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16274 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16276 esac
16282 # Check whether --enable-cheaders was given.
16283 if test "${enable_cheaders+set}" = set; then :
16284 enableval=$enable_cheaders;
16285 case "$enableval" in
16286 c|c_std|c_global) ;;
16287 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16288 esac
16290 else
16291 enable_cheaders=$c_model
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16296 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16298 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16300 # Allow overrides to configure.host here.
16301 if test $enable_cheaders = c_global; then
16302 c_compatibility=yes
16311 # Check whether --enable-long-long was given.
16312 if test "${enable_long_long+set}" = set; then :
16313 enableval=$enable_long_long;
16314 case "$enableval" in
16315 yes|no) ;;
16316 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16317 esac
16319 else
16320 enable_long_long=yes
16324 if test $enable_long_long = yes; then
16326 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16330 $as_echo_n "checking for enabled long long specializations... " >&6; }
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16332 $as_echo "$enable_long_long" >&6; }
16335 # Check whether --enable-wchar_t was given.
16336 if test "${enable_wchar_t+set}" = set; then :
16337 enableval=$enable_wchar_t;
16338 case "$enableval" in
16339 yes|no) ;;
16340 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16341 esac
16343 else
16344 enable_wchar_t=yes
16349 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16350 for ac_header in wchar.h
16351 do :
16352 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16353 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16354 cat >>confdefs.h <<_ACEOF
16355 #define HAVE_WCHAR_H 1
16356 _ACEOF
16357 ac_has_wchar_h=yes
16358 else
16359 ac_has_wchar_h=no
16362 done
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16365 $as_echo_n "checking for mbstate_t... " >&6; }
16366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16367 /* end confdefs.h. */
16368 #include <wchar.h>
16370 main ()
16372 mbstate_t teststate;
16374 return 0;
16376 _ACEOF
16377 if ac_fn_c_try_compile "$LINENO"; then :
16378 have_mbstate_t=yes
16379 else
16380 have_mbstate_t=no
16382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16384 $as_echo "$have_mbstate_t" >&6; }
16385 if test x"$have_mbstate_t" = xyes; then
16387 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16391 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16392 # ac_has_wchar_h.
16393 for ac_header in wctype.h
16394 do :
16395 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16396 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16397 cat >>confdefs.h <<_ACEOF
16398 #define HAVE_WCTYPE_H 1
16399 _ACEOF
16400 ac_has_wctype_h=yes
16401 else
16402 ac_has_wctype_h=no
16405 done
16408 if test x"$enable_wchar_t" = x"yes"; then
16411 ac_ext=cpp
16412 ac_cpp='$CXXCPP $CPPFLAGS'
16413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16418 if test x"$ac_has_wchar_h" = xyes &&
16419 test x"$ac_has_wctype_h" = xyes; then
16420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16421 /* end confdefs.h. */
16422 #include <wchar.h>
16423 #include <stddef.h>
16424 wint_t i;
16425 long l = WEOF;
16426 long j = WCHAR_MIN;
16427 long k = WCHAR_MAX;
16428 namespace test
16430 using ::btowc;
16431 using ::fgetwc;
16432 using ::fgetws;
16433 using ::fputwc;
16434 using ::fputws;
16435 using ::fwide;
16436 using ::fwprintf;
16437 using ::fwscanf;
16438 using ::getwc;
16439 using ::getwchar;
16440 using ::mbrlen;
16441 using ::mbrtowc;
16442 using ::mbsinit;
16443 using ::mbsrtowcs;
16444 using ::putwc;
16445 using ::putwchar;
16446 using ::swprintf;
16447 using ::swscanf;
16448 using ::ungetwc;
16449 using ::vfwprintf;
16450 using ::vswprintf;
16451 using ::vwprintf;
16452 using ::wcrtomb;
16453 using ::wcscat;
16454 using ::wcschr;
16455 using ::wcscmp;
16456 using ::wcscoll;
16457 using ::wcscpy;
16458 using ::wcscspn;
16459 using ::wcsftime;
16460 using ::wcslen;
16461 using ::wcsncat;
16462 using ::wcsncmp;
16463 using ::wcsncpy;
16464 using ::wcspbrk;
16465 using ::wcsrchr;
16466 using ::wcsrtombs;
16467 using ::wcsspn;
16468 using ::wcsstr;
16469 using ::wcstod;
16470 using ::wcstok;
16471 using ::wcstol;
16472 using ::wcstoul;
16473 using ::wcsxfrm;
16474 using ::wctob;
16475 using ::wmemchr;
16476 using ::wmemcmp;
16477 using ::wmemcpy;
16478 using ::wmemmove;
16479 using ::wmemset;
16480 using ::wprintf;
16481 using ::wscanf;
16485 main ()
16489 return 0;
16491 _ACEOF
16492 if ac_fn_cxx_try_compile "$LINENO"; then :
16494 else
16495 enable_wchar_t=no
16497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16498 else
16499 enable_wchar_t=no
16502 ac_ext=c
16503 ac_cpp='$CPP $CPPFLAGS'
16504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16510 if test x"$enable_wchar_t" = x"yes"; then
16512 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16517 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16519 $as_echo "$enable_wchar_t" >&6; }
16523 # Check whether --enable-c99 was given.
16524 if test "${enable_c99+set}" = set; then :
16525 enableval=$enable_c99;
16526 case "$enableval" in
16527 yes|no) ;;
16528 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16529 esac
16531 else
16532 enable_c99=yes
16537 if test x"$enable_c99" = x"yes"; then
16540 ac_ext=cpp
16541 ac_cpp='$CXXCPP $CPPFLAGS'
16542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16547 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16548 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16549 # spuriously enabled.
16550 # Long term, -std=c++0x could be even better, could manage to explicitely
16551 # request C99 facilities to the underlying C headers.
16552 ac_save_CXXFLAGS="$CXXFLAGS"
16553 CXXFLAGS="$CXXFLAGS -std=c++98"
16554 ac_save_LIBS="$LIBS"
16555 ac_save_gcc_no_link="$gcc_no_link"
16557 if test x$gcc_no_link != xyes; then
16558 # Use -fno-exceptions to that the C driver can link these tests without
16559 # hitting undefined references to personality routines.
16560 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16562 $as_echo_n "checking for sin in -lm... " >&6; }
16563 if test "${ac_cv_lib_m_sin+set}" = set; then :
16564 $as_echo_n "(cached) " >&6
16565 else
16566 ac_check_lib_save_LIBS=$LIBS
16567 LIBS="-lm $LIBS"
16568 if test x$gcc_no_link = xyes; then
16569 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16572 /* end confdefs.h. */
16574 /* Override any GCC internal prototype to avoid an error.
16575 Use char because int might match the return type of a GCC
16576 builtin and then its argument prototype would still apply. */
16577 #ifdef __cplusplus
16578 extern "C"
16579 #endif
16580 char sin ();
16582 main ()
16584 return sin ();
16586 return 0;
16588 _ACEOF
16589 if ac_fn_cxx_try_link "$LINENO"; then :
16590 ac_cv_lib_m_sin=yes
16591 else
16592 ac_cv_lib_m_sin=no
16594 rm -f core conftest.err conftest.$ac_objext \
16595 conftest$ac_exeext conftest.$ac_ext
16596 LIBS=$ac_check_lib_save_LIBS
16598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16599 $as_echo "$ac_cv_lib_m_sin" >&6; }
16600 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16602 LIBS="$LIBS -lm"
16604 else
16606 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16607 gcc_no_link=yes
16613 # Check for the existence of <math.h> functions used if C99 is enabled.
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16615 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16616 if test "${glibcxx_cv_c99_math+set}" = set; then :
16617 $as_echo_n "(cached) " >&6
16618 else
16620 if test x$gcc_no_link = xyes; then
16621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16622 /* end confdefs.h. */
16623 #include <math.h>
16624 volatile double d1, d2;
16625 volatile int i;
16627 main ()
16629 i = fpclassify(d1);
16630 i = isfinite(d1);
16631 i = isinf(d1);
16632 i = isnan(d1);
16633 i = isnormal(d1);
16634 i = signbit(d1);
16635 i = isgreater(d1, d2);
16636 i = isgreaterequal(d1, d2);
16637 i = isless(d1, d2);
16638 i = islessequal(d1, d2);
16639 i = islessgreater(d1, d2);
16640 i = islessgreater(d1, d2);
16641 i = isunordered(d1, d2);
16644 return 0;
16646 _ACEOF
16647 if ac_fn_cxx_try_compile "$LINENO"; then :
16648 glibcxx_cv_c99_math=yes
16649 else
16650 glibcxx_cv_c99_math=no
16652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16653 else
16654 if test x$gcc_no_link = xyes; then
16655 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16658 /* end confdefs.h. */
16659 #include <math.h>
16660 volatile double d1, d2;
16661 volatile int i;
16663 main ()
16665 i = fpclassify(d1);
16666 i = isfinite(d1);
16667 i = isinf(d1);
16668 i = isnan(d1);
16669 i = isnormal(d1);
16670 i = signbit(d1);
16671 i = isgreater(d1, d2);
16672 i = isgreaterequal(d1, d2);
16673 i = isless(d1, d2);
16674 i = islessequal(d1, d2);
16675 i = islessgreater(d1, d2);
16676 i = islessgreater(d1, d2);
16677 i = isunordered(d1, d2);
16680 return 0;
16682 _ACEOF
16683 if ac_fn_cxx_try_link "$LINENO"; then :
16684 glibcxx_cv_c99_math=yes
16685 else
16686 glibcxx_cv_c99_math=no
16688 rm -f core conftest.err conftest.$ac_objext \
16689 conftest$ac_exeext conftest.$ac_ext
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16695 $as_echo "$glibcxx_cv_c99_math" >&6; }
16696 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16698 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16702 # Check for the existence of <complex.h> complex math functions.
16703 # This is necessary even though libstdc++ uses the builtin versions
16704 # of these functions, because if the builtin cannot be used, a reference
16705 # to the library function is emitted.
16706 for ac_header in tgmath.h
16707 do :
16708 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16709 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16710 cat >>confdefs.h <<_ACEOF
16711 #define HAVE_TGMATH_H 1
16712 _ACEOF
16713 ac_has_tgmath_h=yes
16714 else
16715 ac_has_tgmath_h=no
16718 done
16720 for ac_header in complex.h
16721 do :
16722 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16723 if test "x$ac_cv_header_complex_h" = x""yes; then :
16724 cat >>confdefs.h <<_ACEOF
16725 #define HAVE_COMPLEX_H 1
16726 _ACEOF
16727 ac_has_complex_h=yes
16728 else
16729 ac_has_complex_h=no
16732 done
16734 glibcxx_cv_c99_complex=no;
16735 if test x"$ac_has_complex_h" = x"yes"; then
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16737 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16738 if test x$gcc_no_link = xyes; then
16739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16740 /* end confdefs.h. */
16741 #include <complex.h>
16742 typedef __complex__ float float_type;
16743 typedef __complex__ double double_type;
16744 typedef __complex__ long double ld_type;
16745 volatile float_type tmpf;
16746 volatile double_type tmpd;
16747 volatile ld_type tmpld;
16748 volatile float f;
16749 volatile double d;
16750 volatile long double ld;
16752 main ()
16754 f = cabsf(tmpf);
16755 f = cargf(tmpf);
16756 tmpf = ccosf(tmpf);
16757 tmpf = ccoshf(tmpf);
16758 tmpf = cexpf(tmpf);
16759 tmpf = clogf(tmpf);
16760 tmpf = csinf(tmpf);
16761 tmpf = csinhf(tmpf);
16762 tmpf = csqrtf(tmpf);
16763 tmpf = ctanf(tmpf);
16764 tmpf = ctanhf(tmpf);
16765 tmpf = cpowf(tmpf, tmpf);
16766 tmpf = cprojf(tmpf);
16767 d = cabs(tmpd);
16768 d = carg(tmpd);
16769 tmpd = ccos(tmpd);
16770 tmpd = ccosh(tmpd);
16771 tmpd = cexp(tmpd);
16772 tmpd = clog(tmpd);
16773 tmpd = csin(tmpd);
16774 tmpd = csinh(tmpd);
16775 tmpd = csqrt(tmpd);
16776 tmpd = ctan(tmpd);
16777 tmpd = ctanh(tmpd);
16778 tmpd = cpow(tmpd, tmpd);
16779 tmpd = cproj(tmpd);
16780 ld = cabsl(tmpld);
16781 ld = cargl(tmpld);
16782 tmpld = ccosl(tmpld);
16783 tmpld = ccoshl(tmpld);
16784 tmpld = cexpl(tmpld);
16785 tmpld = clogl(tmpld);
16786 tmpld = csinl(tmpld);
16787 tmpld = csinhl(tmpld);
16788 tmpld = csqrtl(tmpld);
16789 tmpld = ctanl(tmpld);
16790 tmpld = ctanhl(tmpld);
16791 tmpld = cpowl(tmpld, tmpld);
16792 tmpld = cprojl(tmpld);
16795 return 0;
16797 _ACEOF
16798 if ac_fn_cxx_try_compile "$LINENO"; then :
16799 glibcxx_cv_c99_complex=yes
16800 else
16801 glibcxx_cv_c99_complex=no
16803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16804 else
16805 if test x$gcc_no_link = xyes; then
16806 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16809 /* end confdefs.h. */
16810 #include <complex.h>
16811 typedef __complex__ float float_type;
16812 typedef __complex__ double double_type;
16813 typedef __complex__ long double ld_type;
16814 volatile float_type tmpf;
16815 volatile double_type tmpd;
16816 volatile ld_type tmpld;
16817 volatile float f;
16818 volatile double d;
16819 volatile long double ld;
16821 main ()
16823 f = cabsf(tmpf);
16824 f = cargf(tmpf);
16825 tmpf = ccosf(tmpf);
16826 tmpf = ccoshf(tmpf);
16827 tmpf = cexpf(tmpf);
16828 tmpf = clogf(tmpf);
16829 tmpf = csinf(tmpf);
16830 tmpf = csinhf(tmpf);
16831 tmpf = csqrtf(tmpf);
16832 tmpf = ctanf(tmpf);
16833 tmpf = ctanhf(tmpf);
16834 tmpf = cpowf(tmpf, tmpf);
16835 tmpf = cprojf(tmpf);
16836 d = cabs(tmpd);
16837 d = carg(tmpd);
16838 tmpd = ccos(tmpd);
16839 tmpd = ccosh(tmpd);
16840 tmpd = cexp(tmpd);
16841 tmpd = clog(tmpd);
16842 tmpd = csin(tmpd);
16843 tmpd = csinh(tmpd);
16844 tmpd = csqrt(tmpd);
16845 tmpd = ctan(tmpd);
16846 tmpd = ctanh(tmpd);
16847 tmpd = cpow(tmpd, tmpd);
16848 tmpd = cproj(tmpd);
16849 ld = cabsl(tmpld);
16850 ld = cargl(tmpld);
16851 tmpld = ccosl(tmpld);
16852 tmpld = ccoshl(tmpld);
16853 tmpld = cexpl(tmpld);
16854 tmpld = clogl(tmpld);
16855 tmpld = csinl(tmpld);
16856 tmpld = csinhl(tmpld);
16857 tmpld = csqrtl(tmpld);
16858 tmpld = ctanl(tmpld);
16859 tmpld = ctanhl(tmpld);
16860 tmpld = cpowl(tmpld, tmpld);
16861 tmpld = cprojl(tmpld);
16864 return 0;
16866 _ACEOF
16867 if ac_fn_cxx_try_link "$LINENO"; then :
16868 glibcxx_cv_c99_complex=yes
16869 else
16870 glibcxx_cv_c99_complex=no
16872 rm -f core conftest.err conftest.$ac_objext \
16873 conftest$ac_exeext conftest.$ac_ext
16876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16877 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16878 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16880 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16884 # Check for the existence in <stdio.h> of vscanf, et. al.
16885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16886 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16887 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16888 $as_echo_n "(cached) " >&6
16889 else
16891 if test x$gcc_no_link = xyes; then
16892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16893 /* end confdefs.h. */
16894 #include <stdio.h>
16895 #include <stdarg.h>
16896 void foo(char* fmt, ...)
16898 va_list args; va_start(args, fmt);
16899 vfscanf(stderr, "%i", args);
16900 vscanf("%i", args);
16901 vsnprintf(fmt, 0, "%i", args);
16902 vsscanf(fmt, "%i", args);
16905 main ()
16907 snprintf("12", 0, "%i");
16909 return 0;
16911 _ACEOF
16912 if ac_fn_cxx_try_compile "$LINENO"; then :
16913 glibcxx_cv_c99_stdio=yes
16914 else
16915 glibcxx_cv_c99_stdio=no
16917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16918 else
16919 if test x$gcc_no_link = xyes; then
16920 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16923 /* end confdefs.h. */
16924 #include <stdio.h>
16925 #include <stdarg.h>
16926 void foo(char* fmt, ...)
16928 va_list args; va_start(args, fmt);
16929 vfscanf(stderr, "%i", args);
16930 vscanf("%i", args);
16931 vsnprintf(fmt, 0, "%i", args);
16932 vsscanf(fmt, "%i", args);
16935 main ()
16937 snprintf("12", 0, "%i");
16939 return 0;
16941 _ACEOF
16942 if ac_fn_cxx_try_link "$LINENO"; then :
16943 glibcxx_cv_c99_stdio=yes
16944 else
16945 glibcxx_cv_c99_stdio=no
16947 rm -f core conftest.err conftest.$ac_objext \
16948 conftest$ac_exeext conftest.$ac_ext
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16954 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16956 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16958 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16959 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16960 $as_echo_n "(cached) " >&6
16961 else
16963 if test x$gcc_no_link = xyes; then
16964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16965 /* end confdefs.h. */
16966 #include <stdlib.h>
16967 volatile float f;
16968 volatile long double ld;
16969 volatile unsigned long long ll;
16970 lldiv_t mydivt;
16972 main ()
16974 char* tmp;
16975 f = strtof("gnu", &tmp);
16976 ld = strtold("gnu", &tmp);
16977 ll = strtoll("gnu", &tmp, 10);
16978 ll = strtoull("gnu", &tmp, 10);
16979 ll = llabs(10);
16980 mydivt = lldiv(10,1);
16981 ll = mydivt.quot;
16982 ll = mydivt.rem;
16983 ll = atoll("10");
16984 _Exit(0);
16987 return 0;
16989 _ACEOF
16990 if ac_fn_cxx_try_compile "$LINENO"; then :
16991 glibcxx_cv_c99_stdlib=yes
16992 else
16993 glibcxx_cv_c99_stdlib=no
16995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16996 else
16997 if test x$gcc_no_link = xyes; then
16998 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17001 /* end confdefs.h. */
17002 #include <stdlib.h>
17003 volatile float f;
17004 volatile long double ld;
17005 volatile unsigned long long ll;
17006 lldiv_t mydivt;
17008 main ()
17010 char* tmp;
17011 f = strtof("gnu", &tmp);
17012 ld = strtold("gnu", &tmp);
17013 ll = strtoll("gnu", &tmp, 10);
17014 ll = strtoull("gnu", &tmp, 10);
17015 ll = llabs(10);
17016 mydivt = lldiv(10,1);
17017 ll = mydivt.quot;
17018 ll = mydivt.rem;
17019 ll = atoll("10");
17020 _Exit(0);
17023 return 0;
17025 _ACEOF
17026 if ac_fn_cxx_try_link "$LINENO"; then :
17027 glibcxx_cv_c99_stdlib=yes
17028 else
17029 glibcxx_cv_c99_stdlib=no
17031 rm -f core conftest.err conftest.$ac_objext \
17032 conftest$ac_exeext conftest.$ac_ext
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17038 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17040 # Check for the existence in <wchar.h> of wcstold, etc.
17041 glibcxx_cv_c99_wchar=no;
17042 if test x"$ac_has_wchar_h" = xyes &&
17043 test x"$ac_has_wctype_h" = xyes; then
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17045 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17047 /* end confdefs.h. */
17048 #include <wchar.h>
17049 namespace test
17051 using ::wcstold;
17052 using ::wcstoll;
17053 using ::wcstoull;
17057 main ()
17061 return 0;
17063 _ACEOF
17064 if ac_fn_cxx_try_compile "$LINENO"; then :
17065 glibcxx_cv_c99_wchar=yes
17066 else
17067 glibcxx_cv_c99_wchar=no
17069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17071 # Checks for wide character functions that may not be present.
17072 # Injection of these is wrapped with guard macros.
17073 # NB: only put functions here, instead of immediately above, if
17074 # absolutely necessary.
17075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17076 /* end confdefs.h. */
17077 #include <wchar.h>
17078 namespace test { using ::vfwscanf; }
17080 main ()
17084 return 0;
17086 _ACEOF
17087 if ac_fn_cxx_try_compile "$LINENO"; then :
17089 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17095 /* end confdefs.h. */
17096 #include <wchar.h>
17097 namespace test { using ::vswscanf; }
17099 main ()
17103 return 0;
17105 _ACEOF
17106 if ac_fn_cxx_try_compile "$LINENO"; then :
17108 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17114 /* end confdefs.h. */
17115 #include <wchar.h>
17116 namespace test { using ::vwscanf; }
17118 main ()
17122 return 0;
17124 _ACEOF
17125 if ac_fn_cxx_try_compile "$LINENO"; then :
17127 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17133 /* end confdefs.h. */
17134 #include <wchar.h>
17135 namespace test { using ::wcstof; }
17137 main ()
17141 return 0;
17143 _ACEOF
17144 if ac_fn_cxx_try_compile "$LINENO"; then :
17146 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17152 /* end confdefs.h. */
17153 #include <wctype.h>
17155 main ()
17157 wint_t t; int i = iswblank(t);
17159 return 0;
17161 _ACEOF
17162 if ac_fn_cxx_try_compile "$LINENO"; then :
17164 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17170 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17173 # Option parsed, now set things appropriately.
17174 if test x"$glibcxx_cv_c99_math" = x"no" ||
17175 test x"$glibcxx_cv_c99_complex" = x"no" ||
17176 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17177 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17178 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17179 enable_c99=no;
17180 else
17182 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17186 gcc_no_link="$ac_save_gcc_no_link"
17187 LIBS="$ac_save_LIBS"
17188 CXXFLAGS="$ac_save_CXXFLAGS"
17189 ac_ext=c
17190 ac_cpp='$CPP $CPPFLAGS'
17191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17198 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17200 $as_echo "$enable_c99" >&6; }
17203 # Check whether --enable-concept-checks was given.
17204 if test "${enable_concept_checks+set}" = set; then :
17205 enableval=$enable_concept_checks;
17206 case "$enableval" in
17207 yes|no) ;;
17208 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17209 esac
17211 else
17212 enable_concept_checks=no
17216 if test $enable_concept_checks = yes; then
17218 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17223 # Check whether --enable-libstdcxx-debug-flags was given.
17224 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17225 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17226 xno | x) enable_libstdcxx_debug_flags= ;;
17227 x-*) ;;
17228 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17229 esac
17230 else
17231 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17236 # Option parsed, now set things appropriately
17237 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17240 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17241 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17245 $as_echo_n "checking for additional debug build... " >&6; }
17246 # Check whether --enable-libstdcxx-debug was given.
17247 if test "${enable_libstdcxx_debug+set}" = set; then :
17248 enableval=$enable_libstdcxx_debug;
17249 case "$enableval" in
17250 yes|no) ;;
17251 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17252 esac
17254 else
17255 enable_libstdcxx_debug=no
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17260 $as_echo "$enable_libstdcxx_debug" >&6; }
17265 enable_parallel=no;
17267 # See if configured libgomp/omp.h exists. (libgomp may be in
17268 # noconfigdirs but not explicitly disabled.)
17269 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17270 enable_parallel=yes;
17271 else
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17273 $as_echo "$as_me: target-libgomp not built" >&6;}
17276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17277 $as_echo_n "checking for parallel mode support... " >&6; }
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17279 $as_echo "$enable_parallel" >&6; }
17281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17282 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17283 # Check whether --enable-cxx-flags was given.
17284 if test "${enable_cxx_flags+set}" = set; then :
17285 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17286 xno | x) enable_cxx_flags= ;;
17287 x-*) ;;
17288 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17289 esac
17290 else
17291 enable_cxx_flags=
17296 # Run through flags (either default or command-line) and set anything
17297 # extra (e.g., #defines) that must accompany particular g++ options.
17298 if test -n "$enable_cxx_flags"; then
17299 for f in $enable_cxx_flags; do
17300 case "$f" in
17301 -fhonor-std) ;;
17302 -*) ;;
17303 *) # and we're trying to pass /what/ exactly?
17304 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17305 esac
17306 done
17309 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17311 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17315 # Check whether --enable-fully-dynamic-string was given.
17316 if test "${enable_fully_dynamic_string+set}" = set; then :
17317 enableval=$enable_fully_dynamic_string;
17318 case "$enableval" in
17319 yes|no) ;;
17320 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17321 esac
17323 else
17324 enable_fully_dynamic_string=no
17328 if test $enable_fully_dynamic_string = yes; then
17329 enable_fully_dynamic_string_def=1
17330 else
17331 enable_fully_dynamic_string_def=0
17334 cat >>confdefs.h <<_ACEOF
17335 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17336 _ACEOF
17341 # Check whether --enable-extern-template was given.
17342 if test "${enable_extern_template+set}" = set; then :
17343 enableval=$enable_extern_template;
17344 case "$enableval" in
17345 yes|no) ;;
17346 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17347 esac
17349 else
17350 enable_extern_template=yes
17355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17356 $as_echo_n "checking for extern template support... " >&6; }
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17358 $as_echo "$enable_extern_template" >&6; }
17364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17365 $as_echo_n "checking for custom python install directory... " >&6; }
17367 # Check whether --with-python-dir was given.
17368 if test "${with_python_dir+set}" = set; then :
17369 withval=$with_python_dir; with_python_dir=$withval
17370 else
17371 with_python_dir="no"
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17375 $as_echo "${with_python_dir}" >&6; }
17377 # Needed for installing Python modules during make install.
17378 python_mod_dir="${with_python_dir}"
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17384 $as_echo_n "checking for -Werror... " >&6; }
17385 # Check whether --enable-werror was given.
17386 if test "${enable_werror+set}" = set; then :
17387 enableval=$enable_werror;
17388 case "$enableval" in
17389 yes|no) ;;
17390 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17391 esac
17393 else
17394 enable_werror=yes
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17399 $as_echo "$enable_werror" >&6; }
17404 # Check whether --enable-vtable-verify was given.
17405 if test "${enable_vtable_verify+set}" = set; then :
17406 enableval=$enable_vtable_verify;
17407 case "$enableval" in
17408 yes|no) ;;
17409 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17410 esac
17412 else
17413 enable_vtable_verify=no
17418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17419 $as_echo_n "checking for vtable verify support... " >&6; }
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17421 $as_echo "$enable_vtable_verify" >&6; }
17423 if test $enable_vtable_verify = yes; then
17424 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17425 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17426 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17427 else
17428 VTV_CXXFLAGS=
17429 VTV_PCH_CXXFLAGS=
17430 VTV_CXXLINKFLAGS=
17439 # Checks for operating systems support that doesn't require linking.
17443 ac_ext=cpp
17444 ac_cpp='$CXXCPP $CPPFLAGS'
17445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17451 $as_echo_n "checking for gets declaration... " >&6; }
17452 if test "${glibcxx_cv_gets+set}" = set; then :
17453 $as_echo_n "(cached) " >&6
17454 else
17456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17457 /* end confdefs.h. */
17458 #include <stdio.h>
17459 namespace test
17461 using ::gets;
17464 _ACEOF
17465 if ac_fn_cxx_try_compile "$LINENO"; then :
17466 glibcxx_cv_gets=yes
17467 else
17468 glibcxx_cv_gets=no
17471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17475 if test $glibcxx_cv_gets = yes; then
17477 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17481 $as_echo "$glibcxx_cv_gets" >&6; }
17483 ac_ext=c
17484 ac_cpp='$CPP $CPPFLAGS'
17485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17493 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17494 if test "${glibcxx_cv_system_error1+set}" = set; then :
17495 $as_echo_n "(cached) " >&6
17496 else
17498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17499 /* end confdefs.h. */
17500 #include <errno.h>
17502 main ()
17504 int i = EOWNERDEAD;
17506 return 0;
17508 _ACEOF
17509 if ac_fn_c_try_compile "$LINENO"; then :
17510 glibcxx_cv_system_error1=yes
17511 else
17512 glibcxx_cv_system_error1=no
17514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17519 $as_echo "$glibcxx_cv_system_error1" >&6; }
17520 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17522 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17526 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17527 if test "${glibcxx_cv_system_error2+set}" = set; then :
17528 $as_echo_n "(cached) " >&6
17529 else
17531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17532 /* end confdefs.h. */
17533 #include <errno.h>
17535 main ()
17537 int i = ENOTRECOVERABLE;
17539 return 0;
17541 _ACEOF
17542 if ac_fn_c_try_compile "$LINENO"; then :
17543 glibcxx_cv_system_error2=yes
17544 else
17545 glibcxx_cv_system_error2=no
17547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17552 $as_echo "$glibcxx_cv_system_error2" >&6; }
17553 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17555 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17559 $as_echo_n "checking for ENOLINK... " >&6; }
17560 if test "${glibcxx_cv_system_error3+set}" = set; then :
17561 $as_echo_n "(cached) " >&6
17562 else
17564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17565 /* end confdefs.h. */
17566 #include <errno.h>
17568 main ()
17570 int i = ENOLINK;
17572 return 0;
17574 _ACEOF
17575 if ac_fn_c_try_compile "$LINENO"; then :
17576 glibcxx_cv_system_error3=yes
17577 else
17578 glibcxx_cv_system_error3=no
17580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17585 $as_echo "$glibcxx_cv_system_error3" >&6; }
17586 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17588 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17592 $as_echo_n "checking for EPROTO... " >&6; }
17593 if test "${glibcxx_cv_system_error4+set}" = set; then :
17594 $as_echo_n "(cached) " >&6
17595 else
17597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17598 /* end confdefs.h. */
17599 #include <errno.h>
17601 main ()
17603 int i = EPROTO;
17605 return 0;
17607 _ACEOF
17608 if ac_fn_c_try_compile "$LINENO"; then :
17609 glibcxx_cv_system_error4=yes
17610 else
17611 glibcxx_cv_system_error4=no
17613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17618 $as_echo "$glibcxx_cv_system_error4" >&6; }
17619 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17621 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17625 $as_echo_n "checking for ENODATA... " >&6; }
17626 if test "${glibcxx_cv_system_error5+set}" = set; then :
17627 $as_echo_n "(cached) " >&6
17628 else
17630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17631 /* end confdefs.h. */
17632 #include <errno.h>
17634 main ()
17636 int i = ENODATA;
17638 return 0;
17640 _ACEOF
17641 if ac_fn_c_try_compile "$LINENO"; then :
17642 glibcxx_cv_system_error5=yes
17643 else
17644 glibcxx_cv_system_error5=no
17646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17651 $as_echo "$glibcxx_cv_system_error5" >&6; }
17652 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17654 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17658 $as_echo_n "checking for ENOSR... " >&6; }
17659 if test "${glibcxx_cv_system_error6+set}" = set; then :
17660 $as_echo_n "(cached) " >&6
17661 else
17663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17664 /* end confdefs.h. */
17665 #include <errno.h>
17667 main ()
17669 int i = ENOSR;
17671 return 0;
17673 _ACEOF
17674 if ac_fn_c_try_compile "$LINENO"; then :
17675 glibcxx_cv_system_error6=yes
17676 else
17677 glibcxx_cv_system_error6=no
17679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17684 $as_echo "$glibcxx_cv_system_error6" >&6; }
17685 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17687 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17691 $as_echo_n "checking for ENOSTR... " >&6; }
17692 if test "${glibcxx_cv_system_error7+set}" = set; then :
17693 $as_echo_n "(cached) " >&6
17694 else
17696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17697 /* end confdefs.h. */
17698 #include <errno.h>
17700 main ()
17702 int i = ENOSTR;
17704 return 0;
17706 _ACEOF
17707 if ac_fn_c_try_compile "$LINENO"; then :
17708 glibcxx_cv_system_error7=yes
17709 else
17710 glibcxx_cv_system_error7=no
17712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17717 $as_echo "$glibcxx_cv_system_error7" >&6; }
17718 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17720 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17724 $as_echo_n "checking for ETIME... " >&6; }
17725 if test "${glibcxx_cv_system_error8+set}" = set; then :
17726 $as_echo_n "(cached) " >&6
17727 else
17729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17730 /* end confdefs.h. */
17731 #include <errno.h>
17733 main ()
17735 int i = ETIME;
17737 return 0;
17739 _ACEOF
17740 if ac_fn_c_try_compile "$LINENO"; then :
17741 glibcxx_cv_system_error8=yes
17742 else
17743 glibcxx_cv_system_error8=no
17745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17750 $as_echo "$glibcxx_cv_system_error8" >&6; }
17751 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17753 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17757 $as_echo_n "checking for EBADMSG... " >&6; }
17758 if test "${glibcxx_cv_system_error9+set}" = set; then :
17759 $as_echo_n "(cached) " >&6
17760 else
17762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17763 /* end confdefs.h. */
17764 #include <errno.h>
17766 main ()
17768 int i = EBADMSG;
17770 return 0;
17772 _ACEOF
17773 if ac_fn_c_try_compile "$LINENO"; then :
17774 glibcxx_cv_system_error9=yes
17775 else
17776 glibcxx_cv_system_error9=no
17778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17783 $as_echo "$glibcxx_cv_system_error9" >&6; }
17784 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17786 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17790 $as_echo_n "checking for ECANCELED... " >&6; }
17791 if test "${glibcxx_cv_system_error10+set}" = set; then :
17792 $as_echo_n "(cached) " >&6
17793 else
17795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17796 /* end confdefs.h. */
17797 #include <errno.h>
17799 main ()
17801 int i = ECANCELED;
17803 return 0;
17805 _ACEOF
17806 if ac_fn_c_try_compile "$LINENO"; then :
17807 glibcxx_cv_system_error10=yes
17808 else
17809 glibcxx_cv_system_error10=no
17811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17816 $as_echo "$glibcxx_cv_system_error10" >&6; }
17817 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17819 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17823 $as_echo_n "checking for EOVERFLOW... " >&6; }
17824 if test "${glibcxx_cv_system_error11+set}" = set; then :
17825 $as_echo_n "(cached) " >&6
17826 else
17828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17829 /* end confdefs.h. */
17830 #include <errno.h>
17832 main ()
17834 int i = EOVERFLOW;
17836 return 0;
17838 _ACEOF
17839 if ac_fn_c_try_compile "$LINENO"; then :
17840 glibcxx_cv_system_error11=yes
17841 else
17842 glibcxx_cv_system_error11=no
17844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17849 $as_echo "$glibcxx_cv_system_error11" >&6; }
17850 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17852 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17856 $as_echo_n "checking for ENOTSUP... " >&6; }
17857 if test "${glibcxx_cv_system_error12+set}" = set; then :
17858 $as_echo_n "(cached) " >&6
17859 else
17861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17862 /* end confdefs.h. */
17863 #include <errno.h>
17865 main ()
17867 int i = ENOTSUP;
17869 return 0;
17871 _ACEOF
17872 if ac_fn_c_try_compile "$LINENO"; then :
17873 glibcxx_cv_system_error12=yes
17874 else
17875 glibcxx_cv_system_error12=no
17877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17882 $as_echo "$glibcxx_cv_system_error12" >&6; }
17883 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17885 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17889 $as_echo_n "checking for EIDRM... " >&6; }
17890 if test "${glibcxx_cv_system_error13+set}" = set; then :
17891 $as_echo_n "(cached) " >&6
17892 else
17894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17895 /* end confdefs.h. */
17896 #include <errno.h>
17898 main ()
17900 int i = EIDRM;
17902 return 0;
17904 _ACEOF
17905 if ac_fn_c_try_compile "$LINENO"; then :
17906 glibcxx_cv_system_error13=yes
17907 else
17908 glibcxx_cv_system_error13=no
17910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17915 $as_echo "$glibcxx_cv_system_error13" >&6; }
17916 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17918 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17922 $as_echo_n "checking for ETXTBSY... " >&6; }
17923 if test "${glibcxx_cv_system_error14+set}" = set; then :
17924 $as_echo_n "(cached) " >&6
17925 else
17927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17928 /* end confdefs.h. */
17929 #include <errno.h>
17931 main ()
17933 int i = ETXTBSY;
17935 return 0;
17937 _ACEOF
17938 if ac_fn_c_try_compile "$LINENO"; then :
17939 glibcxx_cv_system_error14=yes
17940 else
17941 glibcxx_cv_system_error14=no
17943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17948 $as_echo "$glibcxx_cv_system_error14" >&6; }
17949 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17951 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17955 $as_echo_n "checking for ECHILD... " >&6; }
17956 if test "${glibcxx_cv_system_error15+set}" = set; then :
17957 $as_echo_n "(cached) " >&6
17958 else
17960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17961 /* end confdefs.h. */
17962 #include <errno.h>
17964 main ()
17966 int i = ECHILD;
17968 return 0;
17970 _ACEOF
17971 if ac_fn_c_try_compile "$LINENO"; then :
17972 glibcxx_cv_system_error15=yes
17973 else
17974 glibcxx_cv_system_error15=no
17976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17981 $as_echo "$glibcxx_cv_system_error15" >&6; }
17982 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17984 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17988 $as_echo_n "checking for ENOSPC... " >&6; }
17989 if test "${glibcxx_cv_system_error16+set}" = set; then :
17990 $as_echo_n "(cached) " >&6
17991 else
17993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17994 /* end confdefs.h. */
17995 #include <errno.h>
17997 main ()
17999 int i = ENOSPC;
18001 return 0;
18003 _ACEOF
18004 if ac_fn_c_try_compile "$LINENO"; then :
18005 glibcxx_cv_system_error16=yes
18006 else
18007 glibcxx_cv_system_error16=no
18009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18014 $as_echo "$glibcxx_cv_system_error16" >&6; }
18015 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18017 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18021 $as_echo_n "checking for EPERM... " >&6; }
18022 if test "${glibcxx_cv_system_error17+set}" = set; then :
18023 $as_echo_n "(cached) " >&6
18024 else
18026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18027 /* end confdefs.h. */
18028 #include <errno.h>
18030 main ()
18032 int i = EPERM;
18034 return 0;
18036 _ACEOF
18037 if ac_fn_c_try_compile "$LINENO"; then :
18038 glibcxx_cv_system_error17=yes
18039 else
18040 glibcxx_cv_system_error17=no
18042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18047 $as_echo "$glibcxx_cv_system_error17" >&6; }
18048 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18050 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18054 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18055 if test "${glibcxx_cv_system_error18+set}" = set; then :
18056 $as_echo_n "(cached) " >&6
18057 else
18059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18060 /* end confdefs.h. */
18061 #include <errno.h>
18063 main ()
18065 int i = ETIMEDOUT;
18067 return 0;
18069 _ACEOF
18070 if ac_fn_c_try_compile "$LINENO"; then :
18071 glibcxx_cv_system_error18=yes
18072 else
18073 glibcxx_cv_system_error18=no
18075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18080 $as_echo "$glibcxx_cv_system_error18" >&6; }
18081 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18083 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18087 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18088 if test "${glibcxx_cv_system_error19+set}" = set; then :
18089 $as_echo_n "(cached) " >&6
18090 else
18092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18093 /* end confdefs.h. */
18094 #include <errno.h>
18096 main ()
18098 int i = EWOULDBLOCK;
18100 return 0;
18102 _ACEOF
18103 if ac_fn_c_try_compile "$LINENO"; then :
18104 glibcxx_cv_system_error19=yes
18105 else
18106 glibcxx_cv_system_error19=no
18108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18113 $as_echo "$glibcxx_cv_system_error19" >&6; }
18114 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18116 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18122 # For the streamoff typedef.
18126 ac_ext=cpp
18127 ac_cpp='$CXXCPP $CPPFLAGS'
18128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18134 $as_echo_n "checking for int64_t... " >&6; }
18135 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18136 $as_echo_n "(cached) " >&6
18137 else
18139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18140 /* end confdefs.h. */
18141 #include <stdint.h>
18143 main ()
18145 int64_t var;
18147 return 0;
18149 _ACEOF
18150 if ac_fn_cxx_try_compile "$LINENO"; then :
18151 glibcxx_cv_INT64_T=yes
18152 else
18153 glibcxx_cv_INT64_T=no
18155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18160 if test $glibcxx_cv_INT64_T = yes; then
18162 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18165 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18168 $as_echo_n "checking for int64_t as long... " >&6; }
18169 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18170 $as_echo_n "(cached) " >&6
18171 else
18173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18174 /* end confdefs.h. */
18175 #include <stdint.h>
18176 template<typename, typename> struct same { enum { value = -1 }; };
18177 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18178 int array[same<int64_t, long>::value];
18180 main ()
18184 return 0;
18186 _ACEOF
18187 if ac_fn_cxx_try_compile "$LINENO"; then :
18188 glibcxx_cv_int64_t_long=yes
18189 else
18190 glibcxx_cv_int64_t_long=no
18192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18197 if test $glibcxx_cv_int64_t_long = yes; then
18199 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18202 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18206 $as_echo_n "checking for int64_t as long long... " >&6; }
18207 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18208 $as_echo_n "(cached) " >&6
18209 else
18211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18212 /* end confdefs.h. */
18213 #include <stdint.h>
18214 template<typename, typename> struct same { enum { value = -1 }; };
18215 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18216 int array[same<int64_t, long long>::value];
18218 main ()
18222 return 0;
18224 _ACEOF
18225 if ac_fn_cxx_try_compile "$LINENO"; then :
18226 glibcxx_cv_int64_t_long_long=yes
18227 else
18228 glibcxx_cv_int64_t_long_long=no
18230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18235 if test $glibcxx_cv_int64_t_long_long = yes; then
18237 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18240 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18244 ac_ext=c
18245 ac_cpp='$CPP $CPPFLAGS'
18246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18252 # For LFS support.
18255 ac_ext=cpp
18256 ac_cpp='$CXXCPP $CPPFLAGS'
18257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18261 ac_save_CXXFLAGS="$CXXFLAGS"
18262 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18264 $as_echo_n "checking for LFS support... " >&6; }
18265 if test "${glibcxx_cv_LFS+set}" = set; then :
18266 $as_echo_n "(cached) " >&6
18267 else
18269 if test x$gcc_no_link = xyes; then
18270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18271 /* end confdefs.h. */
18272 #include <unistd.h>
18273 #include <stdio.h>
18274 #include <sys/stat.h>
18277 main ()
18279 FILE* fp;
18280 fopen64("t", "w");
18281 fseeko64(fp, 0, SEEK_CUR);
18282 ftello64(fp);
18283 lseek64(1, 0, SEEK_CUR);
18284 struct stat64 buf;
18285 fstat64(1, &buf);
18287 return 0;
18289 _ACEOF
18290 if ac_fn_cxx_try_compile "$LINENO"; then :
18291 glibcxx_cv_LFS=yes
18292 else
18293 glibcxx_cv_LFS=no
18295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18296 else
18297 if test x$gcc_no_link = xyes; then
18298 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18301 /* end confdefs.h. */
18302 #include <unistd.h>
18303 #include <stdio.h>
18304 #include <sys/stat.h>
18307 main ()
18309 FILE* fp;
18310 fopen64("t", "w");
18311 fseeko64(fp, 0, SEEK_CUR);
18312 ftello64(fp);
18313 lseek64(1, 0, SEEK_CUR);
18314 struct stat64 buf;
18315 fstat64(1, &buf);
18317 return 0;
18319 _ACEOF
18320 if ac_fn_cxx_try_link "$LINENO"; then :
18321 glibcxx_cv_LFS=yes
18322 else
18323 glibcxx_cv_LFS=no
18325 rm -f core conftest.err conftest.$ac_objext \
18326 conftest$ac_exeext conftest.$ac_ext
18331 if test $glibcxx_cv_LFS = yes; then
18333 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18337 $as_echo "$glibcxx_cv_LFS" >&6; }
18338 CXXFLAGS="$ac_save_CXXFLAGS"
18339 ac_ext=c
18340 ac_cpp='$CPP $CPPFLAGS'
18341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18347 # For showmanyc_helper().
18348 for ac_header in sys/ioctl.h sys/filio.h
18349 do :
18350 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18351 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18352 eval as_val=\$$as_ac_Header
18353 if test "x$as_val" = x""yes; then :
18354 cat >>confdefs.h <<_ACEOF
18355 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18356 _ACEOF
18360 done
18365 ac_ext=cpp
18366 ac_cpp='$CXXCPP $CPPFLAGS'
18367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18371 ac_save_CXXFLAGS="$CXXFLAGS"
18372 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18375 $as_echo_n "checking for poll... " >&6; }
18376 if test "${glibcxx_cv_POLL+set}" = set; then :
18377 $as_echo_n "(cached) " >&6
18378 else
18380 if test x$gcc_no_link = xyes; then
18381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18382 /* end confdefs.h. */
18383 #include <poll.h>
18385 main ()
18387 struct pollfd pfd[1];
18388 pfd[0].events = POLLIN;
18389 poll(pfd, 1, 0);
18391 return 0;
18393 _ACEOF
18394 if ac_fn_cxx_try_compile "$LINENO"; then :
18395 glibcxx_cv_POLL=yes
18396 else
18397 glibcxx_cv_POLL=no
18399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18400 else
18401 if test x$gcc_no_link = xyes; then
18402 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18405 /* end confdefs.h. */
18406 #include <poll.h>
18408 main ()
18410 struct pollfd pfd[1];
18411 pfd[0].events = POLLIN;
18412 poll(pfd, 1, 0);
18414 return 0;
18416 _ACEOF
18417 if ac_fn_cxx_try_link "$LINENO"; then :
18418 glibcxx_cv_POLL=yes
18419 else
18420 glibcxx_cv_POLL=no
18422 rm -f core conftest.err conftest.$ac_objext \
18423 conftest$ac_exeext conftest.$ac_ext
18428 if test $glibcxx_cv_POLL = yes; then
18430 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18434 $as_echo "$glibcxx_cv_POLL" >&6; }
18436 CXXFLAGS="$ac_save_CXXFLAGS"
18437 ac_ext=c
18438 ac_cpp='$CPP $CPPFLAGS'
18439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18447 ac_ext=cpp
18448 ac_cpp='$CXXCPP $CPPFLAGS'
18449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18453 ac_save_CXXFLAGS="$CXXFLAGS"
18454 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18457 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18458 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18459 $as_echo_n "(cached) " >&6
18460 else
18462 if test x$gcc_no_link = xyes; then
18463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18464 /* end confdefs.h. */
18465 #include <sys/stat.h>
18467 main ()
18469 struct stat buffer;
18470 fstat(0, &buffer);
18471 S_ISREG(buffer.st_mode);
18473 return 0;
18475 _ACEOF
18476 if ac_fn_cxx_try_compile "$LINENO"; then :
18477 glibcxx_cv_S_ISREG=yes
18478 else
18479 glibcxx_cv_S_ISREG=no
18481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18482 else
18483 if test x$gcc_no_link = xyes; then
18484 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18487 /* end confdefs.h. */
18488 #include <sys/stat.h>
18490 main ()
18492 struct stat buffer;
18493 fstat(0, &buffer);
18494 S_ISREG(buffer.st_mode);
18496 return 0;
18498 _ACEOF
18499 if ac_fn_cxx_try_link "$LINENO"; then :
18500 glibcxx_cv_S_ISREG=yes
18501 else
18502 glibcxx_cv_S_ISREG=no
18504 rm -f core conftest.err conftest.$ac_objext \
18505 conftest$ac_exeext conftest.$ac_ext
18510 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18511 $as_echo_n "(cached) " >&6
18512 else
18514 if test x$gcc_no_link = xyes; then
18515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18516 /* end confdefs.h. */
18517 #include <sys/stat.h>
18519 main ()
18521 struct stat buffer;
18522 fstat(0, &buffer);
18523 S_IFREG & buffer.st_mode;
18525 return 0;
18527 _ACEOF
18528 if ac_fn_cxx_try_compile "$LINENO"; then :
18529 glibcxx_cv_S_IFREG=yes
18530 else
18531 glibcxx_cv_S_IFREG=no
18533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18534 else
18535 if test x$gcc_no_link = xyes; then
18536 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18539 /* end confdefs.h. */
18540 #include <sys/stat.h>
18542 main ()
18544 struct stat buffer;
18545 fstat(0, &buffer);
18546 S_IFREG & buffer.st_mode;
18548 return 0;
18550 _ACEOF
18551 if ac_fn_cxx_try_link "$LINENO"; then :
18552 glibcxx_cv_S_IFREG=yes
18553 else
18554 glibcxx_cv_S_IFREG=no
18556 rm -f core conftest.err conftest.$ac_objext \
18557 conftest$ac_exeext conftest.$ac_ext
18562 res=no
18563 if test $glibcxx_cv_S_ISREG = yes; then
18565 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18567 res=S_ISREG
18568 elif test $glibcxx_cv_S_IFREG = yes; then
18570 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18572 res=S_IFREG
18574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18575 $as_echo "$res" >&6; }
18577 CXXFLAGS="$ac_save_CXXFLAGS"
18578 ac_ext=c
18579 ac_cpp='$CPP $CPPFLAGS'
18580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18586 # For xsputn_2().
18587 for ac_header in sys/uio.h
18588 do :
18589 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18590 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18591 cat >>confdefs.h <<_ACEOF
18592 #define HAVE_SYS_UIO_H 1
18593 _ACEOF
18597 done
18602 ac_ext=cpp
18603 ac_cpp='$CXXCPP $CPPFLAGS'
18604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18608 ac_save_CXXFLAGS="$CXXFLAGS"
18609 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18612 $as_echo_n "checking for writev... " >&6; }
18613 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18614 $as_echo_n "(cached) " >&6
18615 else
18617 if test x$gcc_no_link = xyes; then
18618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18619 /* end confdefs.h. */
18620 #include <sys/uio.h>
18622 main ()
18624 struct iovec iov[2];
18625 writev(0, iov, 0);
18627 return 0;
18629 _ACEOF
18630 if ac_fn_cxx_try_compile "$LINENO"; then :
18631 glibcxx_cv_WRITEV=yes
18632 else
18633 glibcxx_cv_WRITEV=no
18635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18636 else
18637 if test x$gcc_no_link = xyes; then
18638 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18641 /* end confdefs.h. */
18642 #include <sys/uio.h>
18644 main ()
18646 struct iovec iov[2];
18647 writev(0, iov, 0);
18649 return 0;
18651 _ACEOF
18652 if ac_fn_cxx_try_link "$LINENO"; then :
18653 glibcxx_cv_WRITEV=yes
18654 else
18655 glibcxx_cv_WRITEV=no
18657 rm -f core conftest.err conftest.$ac_objext \
18658 conftest$ac_exeext conftest.$ac_ext
18663 if test $glibcxx_cv_WRITEV = yes; then
18665 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18669 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18671 CXXFLAGS="$ac_save_CXXFLAGS"
18672 ac_ext=c
18673 ac_cpp='$CPP $CPPFLAGS'
18674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18680 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
18681 # so that the check is done with the C compiler (not C++).
18682 # Checking with C++ can break a canadian cross build if either
18683 # file does not exist in C but does in C++.
18684 for ac_header in fenv.h complex.h
18685 do :
18686 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18687 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18688 eval as_val=\$$as_ac_Header
18689 if test "x$as_val" = x""yes; then :
18690 cat >>confdefs.h <<_ACEOF
18691 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18692 _ACEOF
18696 done
18699 # For C99 support to TR1.
18703 ac_ext=cpp
18704 ac_cpp='$CXXCPP $CPPFLAGS'
18705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18710 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18711 # undefined and fake C99 facilities may be spuriously enabled.
18712 ac_save_CXXFLAGS="$CXXFLAGS"
18713 CXXFLAGS="$CXXFLAGS -std=c++98"
18715 # Check for the existence of <complex.h> complex math functions used
18716 # by tr1/complex.
18717 for ac_header in complex.h
18718 do :
18719 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18720 if test "x$ac_cv_header_complex_h" = x""yes; then :
18721 cat >>confdefs.h <<_ACEOF
18722 #define HAVE_COMPLEX_H 1
18723 _ACEOF
18724 ac_has_complex_h=yes
18725 else
18726 ac_has_complex_h=no
18729 done
18731 ac_c99_complex_tr1=no;
18732 if test x"$ac_has_complex_h" = x"yes"; then
18733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18734 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18736 /* end confdefs.h. */
18737 #include <complex.h>
18739 main ()
18741 typedef __complex__ float float_type; float_type tmpf;
18742 cacosf(tmpf);
18743 casinf(tmpf);
18744 catanf(tmpf);
18745 cacoshf(tmpf);
18746 casinhf(tmpf);
18747 catanhf(tmpf);
18748 typedef __complex__ double double_type; double_type tmpd;
18749 cacos(tmpd);
18750 casin(tmpd);
18751 catan(tmpd);
18752 cacosh(tmpd);
18753 casinh(tmpd);
18754 catanh(tmpd);
18755 typedef __complex__ long double ld_type; ld_type tmpld;
18756 cacosl(tmpld);
18757 casinl(tmpld);
18758 catanl(tmpld);
18759 cacoshl(tmpld);
18760 casinhl(tmpld);
18761 catanhl(tmpld);
18764 return 0;
18766 _ACEOF
18767 if ac_fn_cxx_try_compile "$LINENO"; then :
18768 ac_c99_complex_tr1=yes
18769 else
18770 ac_c99_complex_tr1=no
18772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18775 $as_echo "$ac_c99_complex_tr1" >&6; }
18776 if test x"$ac_c99_complex_tr1" = x"yes"; then
18778 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18782 # Check for the existence of <ctype.h> functions.
18783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18784 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18785 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18786 $as_echo_n "(cached) " >&6
18787 else
18789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18790 /* end confdefs.h. */
18791 #include <ctype.h>
18793 main ()
18795 int ch;
18796 int ret;
18797 ret = isblank(ch);
18800 return 0;
18802 _ACEOF
18803 if ac_fn_cxx_try_compile "$LINENO"; then :
18804 glibcxx_cv_c99_ctype_tr1=yes
18805 else
18806 glibcxx_cv_c99_ctype_tr1=no
18808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18813 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18814 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18816 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18820 # Check for the existence of <fenv.h> functions.
18821 for ac_header in fenv.h
18822 do :
18823 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18824 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18825 cat >>confdefs.h <<_ACEOF
18826 #define HAVE_FENV_H 1
18827 _ACEOF
18828 ac_has_fenv_h=yes
18829 else
18830 ac_has_fenv_h=no
18833 done
18835 ac_c99_fenv_tr1=no;
18836 if test x"$ac_has_fenv_h" = x"yes"; then
18837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18838 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18840 /* end confdefs.h. */
18841 #include <fenv.h>
18843 main ()
18845 int except, mode;
18846 fexcept_t* pflag;
18847 fenv_t* penv;
18848 int ret;
18849 ret = feclearexcept(except);
18850 ret = fegetexceptflag(pflag, except);
18851 ret = feraiseexcept(except);
18852 ret = fesetexceptflag(pflag, except);
18853 ret = fetestexcept(except);
18854 ret = fegetround();
18855 ret = fesetround(mode);
18856 ret = fegetenv(penv);
18857 ret = feholdexcept(penv);
18858 ret = fesetenv(penv);
18859 ret = feupdateenv(penv);
18862 return 0;
18864 _ACEOF
18865 if ac_fn_cxx_try_compile "$LINENO"; then :
18866 ac_c99_fenv_tr1=yes
18867 else
18868 ac_c99_fenv_tr1=no
18870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18873 $as_echo "$ac_c99_fenv_tr1" >&6; }
18874 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18876 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18880 # Check for the existence of <stdint.h> types.
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18882 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18883 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18884 $as_echo_n "(cached) " >&6
18885 else
18887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18888 /* end confdefs.h. */
18889 #define __STDC_LIMIT_MACROS
18890 #define __STDC_CONSTANT_MACROS
18891 #include <stdint.h>
18893 main ()
18895 typedef int8_t my_int8_t;
18896 my_int8_t i8 = INT8_MIN;
18897 i8 = INT8_MAX;
18898 typedef int16_t my_int16_t;
18899 my_int16_t i16 = INT16_MIN;
18900 i16 = INT16_MAX;
18901 typedef int32_t my_int32_t;
18902 my_int32_t i32 = INT32_MIN;
18903 i32 = INT32_MAX;
18904 typedef int64_t my_int64_t;
18905 my_int64_t i64 = INT64_MIN;
18906 i64 = INT64_MAX;
18907 typedef int_fast8_t my_int_fast8_t;
18908 my_int_fast8_t if8 = INT_FAST8_MIN;
18909 if8 = INT_FAST8_MAX;
18910 typedef int_fast16_t my_int_fast16_t;
18911 my_int_fast16_t if16 = INT_FAST16_MIN;
18912 if16 = INT_FAST16_MAX;
18913 typedef int_fast32_t my_int_fast32_t;
18914 my_int_fast32_t if32 = INT_FAST32_MIN;
18915 if32 = INT_FAST32_MAX;
18916 typedef int_fast64_t my_int_fast64_t;
18917 my_int_fast64_t if64 = INT_FAST64_MIN;
18918 if64 = INT_FAST64_MAX;
18919 typedef int_least8_t my_int_least8_t;
18920 my_int_least8_t il8 = INT_LEAST8_MIN;
18921 il8 = INT_LEAST8_MAX;
18922 typedef int_least16_t my_int_least16_t;
18923 my_int_least16_t il16 = INT_LEAST16_MIN;
18924 il16 = INT_LEAST16_MAX;
18925 typedef int_least32_t my_int_least32_t;
18926 my_int_least32_t il32 = INT_LEAST32_MIN;
18927 il32 = INT_LEAST32_MAX;
18928 typedef int_least64_t my_int_least64_t;
18929 my_int_least64_t il64 = INT_LEAST64_MIN;
18930 il64 = INT_LEAST64_MAX;
18931 typedef intmax_t my_intmax_t;
18932 my_intmax_t im = INTMAX_MAX;
18933 im = INTMAX_MIN;
18934 typedef intptr_t my_intptr_t;
18935 my_intptr_t ip = INTPTR_MAX;
18936 ip = INTPTR_MIN;
18937 typedef uint8_t my_uint8_t;
18938 my_uint8_t ui8 = UINT8_MAX;
18939 ui8 = UINT8_MAX;
18940 typedef uint16_t my_uint16_t;
18941 my_uint16_t ui16 = UINT16_MAX;
18942 ui16 = UINT16_MAX;
18943 typedef uint32_t my_uint32_t;
18944 my_uint32_t ui32 = UINT32_MAX;
18945 ui32 = UINT32_MAX;
18946 typedef uint64_t my_uint64_t;
18947 my_uint64_t ui64 = UINT64_MAX;
18948 ui64 = UINT64_MAX;
18949 typedef uint_fast8_t my_uint_fast8_t;
18950 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18951 uif8 = UINT_FAST8_MAX;
18952 typedef uint_fast16_t my_uint_fast16_t;
18953 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18954 uif16 = UINT_FAST16_MAX;
18955 typedef uint_fast32_t my_uint_fast32_t;
18956 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18957 uif32 = UINT_FAST32_MAX;
18958 typedef uint_fast64_t my_uint_fast64_t;
18959 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18960 uif64 = UINT_FAST64_MAX;
18961 typedef uint_least8_t my_uint_least8_t;
18962 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18963 uil8 = UINT_LEAST8_MAX;
18964 typedef uint_least16_t my_uint_least16_t;
18965 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18966 uil16 = UINT_LEAST16_MAX;
18967 typedef uint_least32_t my_uint_least32_t;
18968 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18969 uil32 = UINT_LEAST32_MAX;
18970 typedef uint_least64_t my_uint_least64_t;
18971 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18972 uil64 = UINT_LEAST64_MAX;
18973 typedef uintmax_t my_uintmax_t;
18974 my_uintmax_t uim = UINTMAX_MAX;
18975 uim = UINTMAX_MAX;
18976 typedef uintptr_t my_uintptr_t;
18977 my_uintptr_t uip = UINTPTR_MAX;
18978 uip = UINTPTR_MAX;
18981 return 0;
18983 _ACEOF
18984 if ac_fn_cxx_try_compile "$LINENO"; then :
18985 glibcxx_cv_c99_stdint_tr1=yes
18986 else
18987 glibcxx_cv_c99_stdint_tr1=no
18989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18994 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18995 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18997 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19001 # Check for the existence of <math.h> functions.
19002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19003 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19004 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19005 $as_echo_n "(cached) " >&6
19006 else
19008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19009 /* end confdefs.h. */
19010 #include <math.h>
19012 main ()
19014 typedef double_t my_double_t;
19015 typedef float_t my_float_t;
19016 acosh(0.0);
19017 acoshf(0.0f);
19018 acoshl(0.0l);
19019 asinh(0.0);
19020 asinhf(0.0f);
19021 asinhl(0.0l);
19022 atanh(0.0);
19023 atanhf(0.0f);
19024 atanhl(0.0l);
19025 cbrt(0.0);
19026 cbrtf(0.0f);
19027 cbrtl(0.0l);
19028 copysign(0.0, 0.0);
19029 copysignf(0.0f, 0.0f);
19030 copysignl(0.0l, 0.0l);
19031 erf(0.0);
19032 erff(0.0f);
19033 erfl(0.0l);
19034 erfc(0.0);
19035 erfcf(0.0f);
19036 erfcl(0.0l);
19037 exp2(0.0);
19038 exp2f(0.0f);
19039 exp2l(0.0l);
19040 expm1(0.0);
19041 expm1f(0.0f);
19042 expm1l(0.0l);
19043 fdim(0.0, 0.0);
19044 fdimf(0.0f, 0.0f);
19045 fdiml(0.0l, 0.0l);
19046 fma(0.0, 0.0, 0.0);
19047 fmaf(0.0f, 0.0f, 0.0f);
19048 fmal(0.0l, 0.0l, 0.0l);
19049 fmax(0.0, 0.0);
19050 fmaxf(0.0f, 0.0f);
19051 fmaxl(0.0l, 0.0l);
19052 fmin(0.0, 0.0);
19053 fminf(0.0f, 0.0f);
19054 fminl(0.0l, 0.0l);
19055 hypot(0.0, 0.0);
19056 hypotf(0.0f, 0.0f);
19057 hypotl(0.0l, 0.0l);
19058 ilogb(0.0);
19059 ilogbf(0.0f);
19060 ilogbl(0.0l);
19061 lgamma(0.0);
19062 lgammaf(0.0f);
19063 lgammal(0.0l);
19064 llrint(0.0);
19065 llrintf(0.0f);
19066 llrintl(0.0l);
19067 llround(0.0);
19068 llroundf(0.0f);
19069 llroundl(0.0l);
19070 log1p(0.0);
19071 log1pf(0.0f);
19072 log1pl(0.0l);
19073 log2(0.0);
19074 log2f(0.0f);
19075 log2l(0.0l);
19076 logb(0.0);
19077 logbf(0.0f);
19078 logbl(0.0l);
19079 lrint(0.0);
19080 lrintf(0.0f);
19081 lrintl(0.0l);
19082 lround(0.0);
19083 lroundf(0.0f);
19084 lroundl(0.0l);
19085 nan(0);
19086 nanf(0);
19087 nanl(0);
19088 nearbyint(0.0);
19089 nearbyintf(0.0f);
19090 nearbyintl(0.0l);
19091 nextafter(0.0, 0.0);
19092 nextafterf(0.0f, 0.0f);
19093 nextafterl(0.0l, 0.0l);
19094 nexttoward(0.0, 0.0);
19095 nexttowardf(0.0f, 0.0f);
19096 nexttowardl(0.0l, 0.0l);
19097 remainder(0.0, 0.0);
19098 remainderf(0.0f, 0.0f);
19099 remainderl(0.0l, 0.0l);
19100 remquo(0.0, 0.0, 0);
19101 remquof(0.0f, 0.0f, 0);
19102 remquol(0.0l, 0.0l, 0);
19103 rint(0.0);
19104 rintf(0.0f);
19105 rintl(0.0l);
19106 round(0.0);
19107 roundf(0.0f);
19108 roundl(0.0l);
19109 scalbln(0.0, 0l);
19110 scalblnf(0.0f, 0l);
19111 scalblnl(0.0l, 0l);
19112 scalbn(0.0, 0);
19113 scalbnf(0.0f, 0);
19114 scalbnl(0.0l, 0);
19115 tgamma(0.0);
19116 tgammaf(0.0f);
19117 tgammal(0.0l);
19118 trunc(0.0);
19119 truncf(0.0f);
19120 truncl(0.0l);
19123 return 0;
19125 _ACEOF
19126 if ac_fn_cxx_try_compile "$LINENO"; then :
19127 glibcxx_cv_c99_math_tr1=yes
19128 else
19129 glibcxx_cv_c99_math_tr1=no
19131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19136 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19137 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19139 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19143 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19144 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19145 ac_c99_inttypes_tr1=no;
19146 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19148 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19150 /* end confdefs.h. */
19151 #include <inttypes.h>
19153 main ()
19155 intmax_t i, numer, denom, base;
19156 const char* s;
19157 char** endptr;
19158 intmax_t ret = imaxabs(i);
19159 imaxdiv_t dret = imaxdiv(numer, denom);
19160 ret = strtoimax(s, endptr, base);
19161 uintmax_t uret = strtoumax(s, endptr, base);
19164 return 0;
19166 _ACEOF
19167 if ac_fn_cxx_try_compile "$LINENO"; then :
19168 ac_c99_inttypes_tr1=yes
19169 else
19170 ac_c99_inttypes_tr1=no
19172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19175 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19176 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19178 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19182 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19183 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19184 ac_c99_inttypes_wchar_t_tr1=no;
19185 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19187 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19189 /* end confdefs.h. */
19190 #include <inttypes.h>
19192 main ()
19194 intmax_t base;
19195 const wchar_t* s;
19196 wchar_t** endptr;
19197 intmax_t ret = wcstoimax(s, endptr, base);
19198 uintmax_t uret = wcstoumax(s, endptr, base);
19201 return 0;
19203 _ACEOF
19204 if ac_fn_cxx_try_compile "$LINENO"; then :
19205 ac_c99_inttypes_wchar_t_tr1=yes
19206 else
19207 ac_c99_inttypes_wchar_t_tr1=no
19209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19212 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19213 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19215 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19219 # Check for the existence of the <stdbool.h> header.
19220 for ac_header in stdbool.h
19221 do :
19222 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19223 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19224 cat >>confdefs.h <<_ACEOF
19225 #define HAVE_STDBOOL_H 1
19226 _ACEOF
19230 done
19233 # Check for the existence of the <stdalign.h> header.
19234 for ac_header in stdalign.h
19235 do :
19236 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19237 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19238 cat >>confdefs.h <<_ACEOF
19239 #define HAVE_STDALIGN_H 1
19240 _ACEOF
19244 done
19247 CXXFLAGS="$ac_save_CXXFLAGS"
19248 ac_ext=c
19249 ac_cpp='$CPP $CPPFLAGS'
19250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19256 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19260 $as_echo_n "checking for the value of EOF... " >&6; }
19261 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19262 $as_echo_n "(cached) " >&6
19263 else
19265 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19267 else
19268 as_fn_error "computing EOF failed" "$LINENO" 5
19273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19274 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19276 cat >>confdefs.h <<_ACEOF
19277 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19278 _ACEOF
19281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19282 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19283 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19284 $as_echo_n "(cached) " >&6
19285 else
19287 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19289 else
19290 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19296 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19298 cat >>confdefs.h <<_ACEOF
19299 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19300 _ACEOF
19303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19304 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19305 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19306 $as_echo_n "(cached) " >&6
19307 else
19309 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19311 else
19312 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19318 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19320 cat >>confdefs.h <<_ACEOF
19321 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19322 _ACEOF
19326 # For gettimeofday support.
19329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19330 $as_echo_n "checking for gettimeofday... " >&6; }
19333 ac_ext=cpp
19334 ac_cpp='$CXXCPP $CPPFLAGS'
19335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19339 ac_save_CXXFLAGS="$CXXFLAGS"
19340 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19342 ac_has_gettimeofday=no;
19343 for ac_header in sys/time.h
19344 do :
19345 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19346 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19347 cat >>confdefs.h <<_ACEOF
19348 #define HAVE_SYS_TIME_H 1
19349 _ACEOF
19350 ac_has_sys_time_h=yes
19351 else
19352 ac_has_sys_time_h=no
19355 done
19357 if test x"$ac_has_sys_time_h" = x"yes"; then
19358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19359 $as_echo_n "checking for gettimeofday... " >&6; }
19360 if test x$gcc_no_link = xyes; then
19361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19362 /* end confdefs.h. */
19363 #include <sys/time.h>
19365 main ()
19367 timeval tv; gettimeofday(&tv, 0);
19369 return 0;
19371 _ACEOF
19372 if ac_fn_cxx_try_compile "$LINENO"; then :
19373 ac_has_gettimeofday=yes
19374 else
19375 ac_has_gettimeofday=no
19377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19378 else
19379 if test x$gcc_no_link = xyes; then
19380 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19383 /* end confdefs.h. */
19384 #include <sys/time.h>
19386 main ()
19388 timeval tv; gettimeofday(&tv, 0);
19390 return 0;
19392 _ACEOF
19393 if ac_fn_cxx_try_link "$LINENO"; then :
19394 ac_has_gettimeofday=yes
19395 else
19396 ac_has_gettimeofday=no
19398 rm -f core conftest.err conftest.$ac_objext \
19399 conftest$ac_exeext conftest.$ac_ext
19402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19403 $as_echo "$ac_has_gettimeofday" >&6; }
19406 if test x"$ac_has_gettimeofday" = x"yes"; then
19408 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19412 CXXFLAGS="$ac_save_CXXFLAGS"
19413 ac_ext=c
19414 ac_cpp='$CPP $CPPFLAGS'
19415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19421 # For clock_gettime, nanosleep and sched_yield support.
19424 # Check whether --enable-libstdcxx-time was given.
19425 if test "${enable_libstdcxx_time+set}" = set; then :
19426 enableval=$enable_libstdcxx_time;
19427 case "$enableval" in
19428 yes|no|rt) ;;
19429 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19430 esac
19432 else
19433 enable_libstdcxx_time=auto
19439 ac_ext=cpp
19440 ac_cpp='$CXXCPP $CPPFLAGS'
19441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19445 ac_save_CXXFLAGS="$CXXFLAGS"
19446 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19447 ac_save_LIBS="$LIBS"
19449 ac_has_clock_monotonic=no
19450 ac_has_clock_realtime=no
19451 ac_has_nanosleep=no
19452 ac_has_sched_yield=no
19454 if test x"$enable_libstdcxx_time" = x"auto"; then
19456 case "${target_os}" in
19457 cygwin*)
19458 ac_has_nanosleep=yes
19460 darwin*)
19461 ac_has_nanosleep=yes
19462 ac_has_sched_yield=yes
19464 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19466 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19468 /* end confdefs.h. */
19469 #include <features.h>
19471 main ()
19474 #if ! __GLIBC_PREREQ(2, 17)
19475 #error
19476 #endif
19479 return 0;
19481 _ACEOF
19482 if ac_fn_cxx_try_compile "$LINENO"; then :
19483 glibcxx_glibc217=yes
19484 else
19485 glibcxx_glibc217=no
19487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19489 $as_echo "$glibcxx_glibc217" >&6; }
19491 if test x"$glibcxx_glibc217" = x"yes"; then
19492 ac_has_clock_monotonic=yes
19493 ac_has_clock_realtime=yes
19495 ac_has_nanosleep=yes
19496 ac_has_sched_yield=yes
19498 freebsd*|netbsd*)
19499 ac_has_clock_monotonic=yes
19500 ac_has_clock_realtime=yes
19501 ac_has_nanosleep=yes
19502 ac_has_sched_yield=yes
19504 openbsd*)
19505 ac_has_clock_monotonic=yes
19506 ac_has_clock_realtime=yes
19507 ac_has_nanosleep=yes
19509 solaris*)
19510 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19511 ac_has_clock_monotonic=yes
19512 ac_has_clock_realtime=yes
19513 ac_has_nanosleep=yes
19514 ac_has_sched_yield=yes
19516 esac
19518 elif test x"$enable_libstdcxx_time" != x"no"; then
19520 if test x"$enable_libstdcxx_time" = x"rt"; then
19521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19522 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19523 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19524 $as_echo_n "(cached) " >&6
19525 else
19526 ac_func_search_save_LIBS=$LIBS
19527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19528 /* end confdefs.h. */
19530 /* Override any GCC internal prototype to avoid an error.
19531 Use char because int might match the return type of a GCC
19532 builtin and then its argument prototype would still apply. */
19533 #ifdef __cplusplus
19534 extern "C"
19535 #endif
19536 char clock_gettime ();
19538 main ()
19540 return clock_gettime ();
19542 return 0;
19544 _ACEOF
19545 for ac_lib in '' rt posix4; do
19546 if test -z "$ac_lib"; then
19547 ac_res="none required"
19548 else
19549 ac_res=-l$ac_lib
19550 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19552 if test x$gcc_no_link = xyes; then
19553 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19555 if ac_fn_cxx_try_link "$LINENO"; then :
19556 ac_cv_search_clock_gettime=$ac_res
19558 rm -f core conftest.err conftest.$ac_objext \
19559 conftest$ac_exeext
19560 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19561 break
19563 done
19564 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19566 else
19567 ac_cv_search_clock_gettime=no
19569 rm conftest.$ac_ext
19570 LIBS=$ac_func_search_save_LIBS
19572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19573 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19574 ac_res=$ac_cv_search_clock_gettime
19575 if test "$ac_res" != no; then :
19576 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19581 $as_echo_n "checking for library containing nanosleep... " >&6; }
19582 if test "${ac_cv_search_nanosleep+set}" = set; then :
19583 $as_echo_n "(cached) " >&6
19584 else
19585 ac_func_search_save_LIBS=$LIBS
19586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19587 /* end confdefs.h. */
19589 /* Override any GCC internal prototype to avoid an error.
19590 Use char because int might match the return type of a GCC
19591 builtin and then its argument prototype would still apply. */
19592 #ifdef __cplusplus
19593 extern "C"
19594 #endif
19595 char nanosleep ();
19597 main ()
19599 return nanosleep ();
19601 return 0;
19603 _ACEOF
19604 for ac_lib in '' rt posix4; do
19605 if test -z "$ac_lib"; then
19606 ac_res="none required"
19607 else
19608 ac_res=-l$ac_lib
19609 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19611 if test x$gcc_no_link = xyes; then
19612 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19614 if ac_fn_cxx_try_link "$LINENO"; then :
19615 ac_cv_search_nanosleep=$ac_res
19617 rm -f core conftest.err conftest.$ac_objext \
19618 conftest$ac_exeext
19619 if test "${ac_cv_search_nanosleep+set}" = set; then :
19620 break
19622 done
19623 if test "${ac_cv_search_nanosleep+set}" = set; then :
19625 else
19626 ac_cv_search_nanosleep=no
19628 rm conftest.$ac_ext
19629 LIBS=$ac_func_search_save_LIBS
19631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19632 $as_echo "$ac_cv_search_nanosleep" >&6; }
19633 ac_res=$ac_cv_search_nanosleep
19634 if test "$ac_res" != no; then :
19635 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19639 else
19640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19641 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19642 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19643 $as_echo_n "(cached) " >&6
19644 else
19645 ac_func_search_save_LIBS=$LIBS
19646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19647 /* end confdefs.h. */
19649 /* Override any GCC internal prototype to avoid an error.
19650 Use char because int might match the return type of a GCC
19651 builtin and then its argument prototype would still apply. */
19652 #ifdef __cplusplus
19653 extern "C"
19654 #endif
19655 char clock_gettime ();
19657 main ()
19659 return clock_gettime ();
19661 return 0;
19663 _ACEOF
19664 for ac_lib in '' posix4; do
19665 if test -z "$ac_lib"; then
19666 ac_res="none required"
19667 else
19668 ac_res=-l$ac_lib
19669 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19671 if test x$gcc_no_link = xyes; then
19672 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19674 if ac_fn_cxx_try_link "$LINENO"; then :
19675 ac_cv_search_clock_gettime=$ac_res
19677 rm -f core conftest.err conftest.$ac_objext \
19678 conftest$ac_exeext
19679 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19680 break
19682 done
19683 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19685 else
19686 ac_cv_search_clock_gettime=no
19688 rm conftest.$ac_ext
19689 LIBS=$ac_func_search_save_LIBS
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19692 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19693 ac_res=$ac_cv_search_clock_gettime
19694 if test "$ac_res" != no; then :
19695 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19700 $as_echo_n "checking for library containing nanosleep... " >&6; }
19701 if test "${ac_cv_search_nanosleep+set}" = set; then :
19702 $as_echo_n "(cached) " >&6
19703 else
19704 ac_func_search_save_LIBS=$LIBS
19705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19706 /* end confdefs.h. */
19708 /* Override any GCC internal prototype to avoid an error.
19709 Use char because int might match the return type of a GCC
19710 builtin and then its argument prototype would still apply. */
19711 #ifdef __cplusplus
19712 extern "C"
19713 #endif
19714 char nanosleep ();
19716 main ()
19718 return nanosleep ();
19720 return 0;
19722 _ACEOF
19723 for ac_lib in '' posix4; do
19724 if test -z "$ac_lib"; then
19725 ac_res="none required"
19726 else
19727 ac_res=-l$ac_lib
19728 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19730 if test x$gcc_no_link = xyes; then
19731 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19733 if ac_fn_cxx_try_link "$LINENO"; then :
19734 ac_cv_search_nanosleep=$ac_res
19736 rm -f core conftest.err conftest.$ac_objext \
19737 conftest$ac_exeext
19738 if test "${ac_cv_search_nanosleep+set}" = set; then :
19739 break
19741 done
19742 if test "${ac_cv_search_nanosleep+set}" = set; then :
19744 else
19745 ac_cv_search_nanosleep=no
19747 rm conftest.$ac_ext
19748 LIBS=$ac_func_search_save_LIBS
19750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19751 $as_echo "$ac_cv_search_nanosleep" >&6; }
19752 ac_res=$ac_cv_search_nanosleep
19753 if test "$ac_res" != no; then :
19754 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19760 case "$ac_cv_search_clock_gettime" in
19761 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19763 esac
19764 case "$ac_cv_search_nanosleep" in
19765 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19767 esac
19769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19770 $as_echo_n "checking for library containing sched_yield... " >&6; }
19771 if test "${ac_cv_search_sched_yield+set}" = set; then :
19772 $as_echo_n "(cached) " >&6
19773 else
19774 ac_func_search_save_LIBS=$LIBS
19775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19776 /* end confdefs.h. */
19778 /* Override any GCC internal prototype to avoid an error.
19779 Use char because int might match the return type of a GCC
19780 builtin and then its argument prototype would still apply. */
19781 #ifdef __cplusplus
19782 extern "C"
19783 #endif
19784 char sched_yield ();
19786 main ()
19788 return sched_yield ();
19790 return 0;
19792 _ACEOF
19793 for ac_lib in '' rt posix4; do
19794 if test -z "$ac_lib"; then
19795 ac_res="none required"
19796 else
19797 ac_res=-l$ac_lib
19798 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19800 if test x$gcc_no_link = xyes; then
19801 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19803 if ac_fn_cxx_try_link "$LINENO"; then :
19804 ac_cv_search_sched_yield=$ac_res
19806 rm -f core conftest.err conftest.$ac_objext \
19807 conftest$ac_exeext
19808 if test "${ac_cv_search_sched_yield+set}" = set; then :
19809 break
19811 done
19812 if test "${ac_cv_search_sched_yield+set}" = set; then :
19814 else
19815 ac_cv_search_sched_yield=no
19817 rm conftest.$ac_ext
19818 LIBS=$ac_func_search_save_LIBS
19820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19821 $as_echo "$ac_cv_search_sched_yield" >&6; }
19822 ac_res=$ac_cv_search_sched_yield
19823 if test "$ac_res" != no; then :
19824 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19829 case "$ac_cv_search_sched_yield" in
19830 -lposix4*)
19831 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19832 ac_has_sched_yield=yes
19834 -lrt*)
19835 if test x"$enable_libstdcxx_time" = x"rt"; then
19836 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19837 ac_has_sched_yield=yes
19841 ac_has_sched_yield=yes
19843 esac
19845 for ac_header in unistd.h
19846 do :
19847 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19848 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19849 cat >>confdefs.h <<_ACEOF
19850 #define HAVE_UNISTD_H 1
19851 _ACEOF
19852 ac_has_unistd_h=yes
19853 else
19854 ac_has_unistd_h=no
19857 done
19860 if test x"$ac_has_unistd_h" = x"yes"; then
19861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19862 $as_echo_n "checking for monotonic clock... " >&6; }
19863 if test x$gcc_no_link = xyes; then
19864 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19867 /* end confdefs.h. */
19868 #include <unistd.h>
19869 #include <time.h>
19872 main ()
19874 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19875 timespec tp;
19876 #endif
19877 clock_gettime(CLOCK_MONOTONIC, &tp);
19880 return 0;
19882 _ACEOF
19883 if ac_fn_cxx_try_link "$LINENO"; then :
19884 ac_has_clock_monotonic=yes
19885 else
19886 ac_has_clock_monotonic=no
19888 rm -f core conftest.err conftest.$ac_objext \
19889 conftest$ac_exeext conftest.$ac_ext
19891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19892 $as_echo "$ac_has_clock_monotonic" >&6; }
19894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19895 $as_echo_n "checking for realtime clock... " >&6; }
19896 if test x$gcc_no_link = xyes; then
19897 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19900 /* end confdefs.h. */
19901 #include <unistd.h>
19902 #include <time.h>
19905 main ()
19907 #if _POSIX_TIMERS > 0
19908 timespec tp;
19909 #endif
19910 clock_gettime(CLOCK_REALTIME, &tp);
19913 return 0;
19915 _ACEOF
19916 if ac_fn_cxx_try_link "$LINENO"; then :
19917 ac_has_clock_realtime=yes
19918 else
19919 ac_has_clock_realtime=no
19921 rm -f core conftest.err conftest.$ac_objext \
19922 conftest$ac_exeext conftest.$ac_ext
19924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19925 $as_echo "$ac_has_clock_realtime" >&6; }
19927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19928 $as_echo_n "checking for nanosleep... " >&6; }
19929 if test x$gcc_no_link = xyes; then
19930 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19933 /* end confdefs.h. */
19934 #include <unistd.h>
19935 #include <time.h>
19938 main ()
19940 #if _POSIX_TIMERS > 0
19941 timespec tp;
19942 #endif
19943 nanosleep(&tp, 0);
19946 return 0;
19948 _ACEOF
19949 if ac_fn_cxx_try_link "$LINENO"; then :
19950 ac_has_nanosleep=yes
19951 else
19952 ac_has_nanosleep=no
19954 rm -f core conftest.err conftest.$ac_objext \
19955 conftest$ac_exeext conftest.$ac_ext
19957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19958 $as_echo "$ac_has_nanosleep" >&6; }
19962 if test x"$ac_has_clock_monotonic" != x"yes"; then
19963 case ${target_os} in
19964 linux*)
19965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
19966 $as_echo_n "checking for clock_gettime syscall... " >&6; }
19967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19968 /* end confdefs.h. */
19969 #include <unistd.h>
19970 #include <time.h>
19971 #include <sys/syscall.h>
19974 main ()
19976 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19977 timespec tp;
19978 #endif
19979 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
19980 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
19983 return 0;
19985 _ACEOF
19986 if ac_fn_cxx_try_compile "$LINENO"; then :
19987 ac_has_clock_monotonic_syscall=yes
19988 else
19989 ac_has_clock_monotonic_syscall=no
19991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
19993 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
19994 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
19996 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
19998 ac_has_clock_monotonic=yes
19999 ac_has_clock_realtime=yes
20000 fi;;
20001 esac
20004 if test x"$ac_has_clock_monotonic" = x"yes"; then
20006 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20010 if test x"$ac_has_clock_realtime" = x"yes"; then
20012 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20016 if test x"$ac_has_sched_yield" = x"yes"; then
20018 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20022 if test x"$ac_has_nanosleep" = x"yes"; then
20024 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20026 else
20027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20028 $as_echo_n "checking for sleep... " >&6; }
20029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20030 /* end confdefs.h. */
20031 #include <unistd.h>
20033 main ()
20035 sleep(1)
20037 return 0;
20039 _ACEOF
20040 if ac_fn_cxx_try_compile "$LINENO"; then :
20041 ac_has_sleep=yes
20042 else
20043 ac_has_sleep=no
20045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20046 if test x"$ac_has_sleep" = x"yes"; then
20048 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20052 $as_echo "$ac_has_sleep" >&6; }
20053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20054 $as_echo_n "checking for usleep... " >&6; }
20055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20056 /* end confdefs.h. */
20057 #include <unistd.h>
20059 main ()
20061 sleep(1);
20062 usleep(100);
20064 return 0;
20066 _ACEOF
20067 if ac_fn_cxx_try_compile "$LINENO"; then :
20068 ac_has_usleep=yes
20069 else
20070 ac_has_usleep=no
20072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20073 if test x"$ac_has_usleep" = x"yes"; then
20075 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20079 $as_echo "$ac_has_usleep" >&6; }
20082 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20084 $as_echo_n "checking for Sleep... " >&6; }
20085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20086 /* end confdefs.h. */
20087 #include <windows.h>
20089 main ()
20091 Sleep(1)
20093 return 0;
20095 _ACEOF
20096 if ac_fn_cxx_try_compile "$LINENO"; then :
20097 ac_has_win32_sleep=yes
20098 else
20099 ac_has_win32_sleep=no
20101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20102 if test x"$ac_has_win32_sleep" = x"yes"; then
20104 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20108 $as_echo "$ac_has_win32_sleep" >&6; }
20113 CXXFLAGS="$ac_save_CXXFLAGS"
20114 LIBS="$ac_save_LIBS"
20115 ac_ext=c
20116 ac_cpp='$CPP $CPPFLAGS'
20117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20124 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20125 if test "x$ac_cv_header_locale_h" = x""yes; then :
20127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20128 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20129 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20130 $as_echo_n "(cached) " >&6
20131 else
20132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20133 /* end confdefs.h. */
20134 #include <locale.h>
20136 main ()
20138 return LC_MESSAGES
20140 return 0;
20142 _ACEOF
20143 if ac_fn_c_try_compile "$LINENO"; then :
20144 ac_cv_val_LC_MESSAGES=yes
20145 else
20146 ac_cv_val_LC_MESSAGES=no
20148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20151 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20152 if test $ac_cv_val_LC_MESSAGES = yes; then
20154 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20163 # For hardware_concurrency
20164 for ac_header in sys/sysinfo.h
20165 do :
20166 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20167 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20168 cat >>confdefs.h <<_ACEOF
20169 #define HAVE_SYS_SYSINFO_H 1
20170 _ACEOF
20174 done
20179 ac_ext=cpp
20180 ac_cpp='$CXXCPP $CPPFLAGS'
20181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20185 ac_save_CXXFLAGS="$CXXFLAGS"
20186 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20189 $as_echo_n "checking for get_nprocs... " >&6; }
20190 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20191 $as_echo_n "(cached) " >&6
20192 else
20194 if test x$gcc_no_link = xyes; then
20195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20196 /* end confdefs.h. */
20197 #include <sys/sysinfo.h>
20199 main ()
20201 int n = get_nprocs();
20203 return 0;
20205 _ACEOF
20206 if ac_fn_cxx_try_compile "$LINENO"; then :
20207 glibcxx_cv_GET_NPROCS=yes
20208 else
20209 glibcxx_cv_GET_NPROCS=no
20211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20212 else
20213 if test x$gcc_no_link = xyes; then
20214 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20217 /* end confdefs.h. */
20218 #include <sys/sysinfo.h>
20220 main ()
20222 int n = get_nprocs();
20224 return 0;
20226 _ACEOF
20227 if ac_fn_cxx_try_link "$LINENO"; then :
20228 glibcxx_cv_GET_NPROCS=yes
20229 else
20230 glibcxx_cv_GET_NPROCS=no
20232 rm -f core conftest.err conftest.$ac_objext \
20233 conftest$ac_exeext conftest.$ac_ext
20238 if test $glibcxx_cv_GET_NPROCS = yes; then
20240 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20244 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20246 CXXFLAGS="$ac_save_CXXFLAGS"
20247 ac_ext=c
20248 ac_cpp='$CPP $CPPFLAGS'
20249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20254 for ac_header in unistd.h
20255 do :
20256 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20257 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20258 cat >>confdefs.h <<_ACEOF
20259 #define HAVE_UNISTD_H 1
20260 _ACEOF
20264 done
20269 ac_ext=cpp
20270 ac_cpp='$CXXCPP $CPPFLAGS'
20271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20275 ac_save_CXXFLAGS="$CXXFLAGS"
20276 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20279 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20280 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20281 $as_echo_n "(cached) " >&6
20282 else
20284 if test x$gcc_no_link = xyes; then
20285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20286 /* end confdefs.h. */
20287 #include <unistd.h>
20289 main ()
20291 int n = sysconf(_SC_NPROCESSORS_ONLN);
20293 return 0;
20295 _ACEOF
20296 if ac_fn_cxx_try_compile "$LINENO"; then :
20297 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20298 else
20299 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20302 else
20303 if test x$gcc_no_link = xyes; then
20304 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20307 /* end confdefs.h. */
20308 #include <unistd.h>
20310 main ()
20312 int n = sysconf(_SC_NPROCESSORS_ONLN);
20314 return 0;
20316 _ACEOF
20317 if ac_fn_cxx_try_link "$LINENO"; then :
20318 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20319 else
20320 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20322 rm -f core conftest.err conftest.$ac_objext \
20323 conftest$ac_exeext conftest.$ac_ext
20328 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20330 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20334 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20336 CXXFLAGS="$ac_save_CXXFLAGS"
20337 ac_ext=c
20338 ac_cpp='$CPP $CPPFLAGS'
20339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20347 ac_ext=cpp
20348 ac_cpp='$CXXCPP $CPPFLAGS'
20349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20353 ac_save_CXXFLAGS="$CXXFLAGS"
20354 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20357 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20358 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20359 $as_echo_n "(cached) " >&6
20360 else
20362 if test x$gcc_no_link = xyes; then
20363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20364 /* end confdefs.h. */
20365 #include <unistd.h>
20367 main ()
20369 int n = sysconf(_SC_NPROC_ONLN);
20371 return 0;
20373 _ACEOF
20374 if ac_fn_cxx_try_compile "$LINENO"; then :
20375 glibcxx_cv_SC_NPROC_ONLN=yes
20376 else
20377 glibcxx_cv_SC_NPROC_ONLN=no
20379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20380 else
20381 if test x$gcc_no_link = xyes; then
20382 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20385 /* end confdefs.h. */
20386 #include <unistd.h>
20388 main ()
20390 int n = sysconf(_SC_NPROC_ONLN);
20392 return 0;
20394 _ACEOF
20395 if ac_fn_cxx_try_link "$LINENO"; then :
20396 glibcxx_cv_SC_NPROC_ONLN=yes
20397 else
20398 glibcxx_cv_SC_NPROC_ONLN=no
20400 rm -f core conftest.err conftest.$ac_objext \
20401 conftest$ac_exeext conftest.$ac_ext
20406 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20408 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20412 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20414 CXXFLAGS="$ac_save_CXXFLAGS"
20415 ac_ext=c
20416 ac_cpp='$CPP $CPPFLAGS'
20417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20425 ac_ext=cpp
20426 ac_cpp='$CXXCPP $CPPFLAGS'
20427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20431 ac_save_CXXFLAGS="$CXXFLAGS"
20432 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20435 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20436 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20437 $as_echo_n "(cached) " >&6
20438 else
20440 if test x$gcc_no_link = xyes; then
20441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20442 /* end confdefs.h. */
20443 #include <pthread.h>
20445 main ()
20447 int n = pthread_num_processors_np();
20449 return 0;
20451 _ACEOF
20452 if ac_fn_cxx_try_compile "$LINENO"; then :
20453 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20454 else
20455 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20458 else
20459 if test x$gcc_no_link = xyes; then
20460 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20463 /* end confdefs.h. */
20464 #include <pthread.h>
20466 main ()
20468 int n = pthread_num_processors_np();
20470 return 0;
20472 _ACEOF
20473 if ac_fn_cxx_try_link "$LINENO"; then :
20474 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20475 else
20476 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20478 rm -f core conftest.err conftest.$ac_objext \
20479 conftest$ac_exeext conftest.$ac_ext
20484 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20486 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20490 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20492 CXXFLAGS="$ac_save_CXXFLAGS"
20493 ac_ext=c
20494 ac_cpp='$CPP $CPPFLAGS'
20495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20503 ac_ext=cpp
20504 ac_cpp='$CXXCPP $CPPFLAGS'
20505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20509 ac_save_CXXFLAGS="$CXXFLAGS"
20510 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20513 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20514 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20515 $as_echo_n "(cached) " >&6
20516 else
20518 if test x$gcc_no_link = xyes; then
20519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20520 /* end confdefs.h. */
20522 #include <stddef.h>
20523 #include <sys/sysctl.h>
20526 main ()
20529 int count;
20530 size_t size = sizeof(count);
20531 int mib[] = { CTL_HW, HW_NCPU };
20532 sysctl(mib, 2, &count, &size, NULL, 0);
20535 return 0;
20537 _ACEOF
20538 if ac_fn_cxx_try_compile "$LINENO"; then :
20539 glibcxx_cv_SYSCTL_HW_NCPU=yes
20540 else
20541 glibcxx_cv_SYSCTL_HW_NCPU=no
20543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20544 else
20545 if test x$gcc_no_link = xyes; then
20546 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20549 /* end confdefs.h. */
20551 #include <stddef.h>
20552 #include <sys/sysctl.h>
20555 main ()
20558 int count;
20559 size_t size = sizeof(count);
20560 int mib[] = { CTL_HW, HW_NCPU };
20561 sysctl(mib, 2, &count, &size, NULL, 0);
20564 return 0;
20566 _ACEOF
20567 if ac_fn_cxx_try_link "$LINENO"; then :
20568 glibcxx_cv_SYSCTL_HW_NCPU=yes
20569 else
20570 glibcxx_cv_SYSCTL_HW_NCPU=no
20572 rm -f core conftest.err conftest.$ac_objext \
20573 conftest$ac_exeext conftest.$ac_ext
20578 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20580 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20584 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20586 CXXFLAGS="$ac_save_CXXFLAGS"
20587 ac_ext=c
20588 ac_cpp='$CPP $CPPFLAGS'
20589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: for suitable sys/sdt.h" >&5
20596 $as_echo "for suitable sys/sdt.h" >&6; }
20597 # Note that this test has to be run with the C language.
20598 # Otherwise, sdt.h will try to include some headers from
20599 # libstdc++ itself.
20601 ac_ext=c
20602 ac_cpp='$CPP $CPPFLAGS'
20603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20607 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20608 $as_echo_n "(cached) " >&6
20609 else
20611 # Because we have to run the test in C, we use grep rather
20612 # than the compiler to check for the bug. The bug is that
20613 # were strings without trailing whitespace, causing g++
20614 # to look for operator"". The pattern searches for the fixed
20615 # output.
20616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20617 /* end confdefs.h. */
20619 #include <sys/sdt.h>
20620 int f() { STAP_PROBE(hi, bob); }
20622 _ACEOF
20623 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20624 $EGREP " \",\" " >/dev/null 2>&1; then :
20625 glibcxx_cv_sys_sdt_h=yes
20626 else
20627 glibcxx_cv_sys_sdt_h=no
20629 rm -f conftest*
20634 ac_ext=c
20635 ac_cpp='$CPP $CPPFLAGS'
20636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20640 if test $glibcxx_cv_sys_sdt_h = yes; then
20642 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20646 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20649 # Check for available headers.
20650 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20651 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20652 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20653 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20654 wchar.h wctype.h
20655 do :
20656 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20657 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20658 eval as_val=\$$as_ac_Header
20659 if test "x$as_val" = x""yes; then :
20660 cat >>confdefs.h <<_ACEOF
20661 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20662 _ACEOF
20666 done
20669 # Only do link tests if native. Else, hardcode.
20670 if $GLIBCXX_IS_NATIVE; then
20672 # We can do more elaborate tests that assume a working linker.
20673 CANADIAN=no
20677 # Check whether --with-gnu-ld was given.
20678 if test "${with_gnu_ld+set}" = set; then :
20679 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20680 else
20681 with_gnu_ld=no
20684 ac_prog=ld
20685 if test "$GCC" = yes; then
20686 # Check if gcc -print-prog-name=ld gives a path.
20687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20688 $as_echo_n "checking for ld used by $CC... " >&6; }
20689 case $host in
20690 *-*-mingw*)
20691 # gcc leaves a trailing carriage return which upsets mingw
20692 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20694 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20695 esac
20696 case $ac_prog in
20697 # Accept absolute paths.
20698 [\\/]* | ?:[\\/]*)
20699 re_direlt='/[^/][^/]*/\.\./'
20700 # Canonicalize the pathname of ld
20701 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20702 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20703 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20704 done
20705 test -z "$LD" && LD="$ac_prog"
20708 # If it fails, then pretend we aren't using GCC.
20709 ac_prog=ld
20712 # If it is relative, then search for the first ld in PATH.
20713 with_gnu_ld=unknown
20715 esac
20716 elif test "$with_gnu_ld" = yes; then
20717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20718 $as_echo_n "checking for GNU ld... " >&6; }
20719 else
20720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20721 $as_echo_n "checking for non-GNU ld... " >&6; }
20723 if test "${lt_cv_path_LD+set}" = set; then :
20724 $as_echo_n "(cached) " >&6
20725 else
20726 if test -z "$LD"; then
20727 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20728 for ac_dir in $PATH; do
20729 IFS="$lt_save_ifs"
20730 test -z "$ac_dir" && ac_dir=.
20731 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20732 lt_cv_path_LD="$ac_dir/$ac_prog"
20733 # Check to see if the program is GNU ld. I'd rather use --version,
20734 # but apparently some variants of GNU ld only accept -v.
20735 # Break only if it was the GNU/non-GNU ld that we prefer.
20736 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20737 *GNU* | *'with BFD'*)
20738 test "$with_gnu_ld" != no && break
20741 test "$with_gnu_ld" != yes && break
20743 esac
20745 done
20746 IFS="$lt_save_ifs"
20747 else
20748 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20752 LD="$lt_cv_path_LD"
20753 if test -n "$LD"; then
20754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20755 $as_echo "$LD" >&6; }
20756 else
20757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20758 $as_echo "no" >&6; }
20760 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20762 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20763 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20764 $as_echo_n "(cached) " >&6
20765 else
20766 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20767 case `$LD -v 2>&1 </dev/null` in
20768 *GNU* | *'with BFD'*)
20769 lt_cv_prog_gnu_ld=yes
20772 lt_cv_prog_gnu_ld=no
20774 esac
20776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20777 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20778 with_gnu_ld=$lt_cv_prog_gnu_ld
20786 # If we're not using GNU ld, then there's no point in even trying these
20787 # tests. Check for that first. We should have already tested for gld
20788 # by now (in libtool), but require it now just to be safe...
20789 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20790 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20794 # The name set by libtool depends on the version of libtool. Shame on us
20795 # for depending on an impl detail, but c'est la vie. Older versions used
20796 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20797 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20798 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20799 # set (hence we're using an older libtool), then set it.
20800 if test x${with_gnu_ld+set} != xset; then
20801 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20802 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20803 with_gnu_ld=no
20804 else
20805 with_gnu_ld=$ac_cv_prog_gnu_ld
20809 # Start by getting the version number. I think the libtool test already
20810 # does some of this, but throws away the result.
20811 glibcxx_ld_is_gold=no
20812 if test x"$with_gnu_ld" = x"yes"; then
20813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20814 $as_echo_n "checking for ld version... " >&6; }
20816 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20817 glibcxx_ld_is_gold=yes
20819 ldver=`$LD --version 2>/dev/null |
20820 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'`
20822 glibcxx_gnu_ld_version=`echo $ldver | \
20823 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20825 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20828 # Set --gc-sections.
20829 glibcxx_have_gc_sections=no
20830 if test "$glibcxx_ld_is_gold" = "yes"; then
20831 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20832 glibcxx_have_gc_sections=yes
20834 else
20835 glibcxx_gcsections_min_ld=21602
20836 if test x"$with_gnu_ld" = x"yes" &&
20837 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20838 glibcxx_have_gc_sections=yes
20841 if test "$glibcxx_have_gc_sections" = "yes"; then
20842 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20843 # NB: This flag only works reliably after 2.16.1. Configure tests
20844 # for this are difficult, so hard wire a value that should work.
20846 ac_test_CFLAGS="${CFLAGS+set}"
20847 ac_save_CFLAGS="$CFLAGS"
20848 CFLAGS='-Wl,--gc-sections'
20850 # Check for -Wl,--gc-sections
20851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20852 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20853 if test x$gcc_no_link = xyes; then
20854 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20857 /* end confdefs.h. */
20858 int one(void) { return 1; }
20859 int two(void) { return 2; }
20862 main ()
20864 two();
20866 return 0;
20868 _ACEOF
20869 if ac_fn_c_try_link "$LINENO"; then :
20870 ac_gcsections=yes
20871 else
20872 ac_gcsections=no
20874 rm -f core conftest.err conftest.$ac_objext \
20875 conftest$ac_exeext conftest.$ac_ext
20876 if test "$ac_gcsections" = "yes"; then
20877 rm -f conftest.c
20878 touch conftest.c
20879 if $CC -c conftest.c; then
20880 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20881 grep "Warning: gc-sections option ignored" > /dev/null; then
20882 ac_gcsections=no
20885 rm -f conftest.c conftest.o conftest
20887 if test "$ac_gcsections" = "yes"; then
20888 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20891 $as_echo "$ac_gcsections" >&6; }
20893 if test "$ac_test_CFLAGS" = set; then
20894 CFLAGS="$ac_save_CFLAGS"
20895 else
20896 # this is the suspicious part
20897 CFLAGS=''
20901 # Set -z,relro.
20902 # Note this is only for shared objects.
20903 ac_ld_relro=no
20904 if test x"$with_gnu_ld" = x"yes"; then
20905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20906 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20907 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20908 if test -n "$cxx_z_relo"; then
20909 OPT_LDFLAGS="-Wl,-z,relro"
20910 ac_ld_relro=yes
20912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20913 $as_echo "$ac_ld_relro" >&6; }
20916 # Set linker optimization flags.
20917 if test x"$with_gnu_ld" = x"yes"; then
20918 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20925 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20926 ac_save_CXXFLAGS="$CXXFLAGS"
20927 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20930 $as_echo_n "checking for sin in -lm... " >&6; }
20931 if test "${ac_cv_lib_m_sin+set}" = set; then :
20932 $as_echo_n "(cached) " >&6
20933 else
20934 ac_check_lib_save_LIBS=$LIBS
20935 LIBS="-lm $LIBS"
20936 if test x$gcc_no_link = xyes; then
20937 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20940 /* end confdefs.h. */
20942 /* Override any GCC internal prototype to avoid an error.
20943 Use char because int might match the return type of a GCC
20944 builtin and then its argument prototype would still apply. */
20945 #ifdef __cplusplus
20946 extern "C"
20947 #endif
20948 char sin ();
20950 main ()
20952 return sin ();
20954 return 0;
20956 _ACEOF
20957 if ac_fn_c_try_link "$LINENO"; then :
20958 ac_cv_lib_m_sin=yes
20959 else
20960 ac_cv_lib_m_sin=no
20962 rm -f core conftest.err conftest.$ac_objext \
20963 conftest$ac_exeext conftest.$ac_ext
20964 LIBS=$ac_check_lib_save_LIBS
20966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20967 $as_echo "$ac_cv_lib_m_sin" >&6; }
20968 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20969 libm="-lm"
20972 ac_save_LIBS="$LIBS"
20973 LIBS="$LIBS $libm"
20977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20978 $as_echo_n "checking for isinf declaration... " >&6; }
20979 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20980 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20981 $as_echo_n "(cached) " >&6
20982 else
20985 ac_ext=cpp
20986 ac_cpp='$CXXCPP $CPPFLAGS'
20987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20992 /* end confdefs.h. */
20993 #include <math.h>
20994 #ifdef HAVE_IEEEFP_H
20995 #include <ieeefp.h>
20996 #endif
20999 main ()
21001 isinf(0);
21003 return 0;
21005 _ACEOF
21006 if ac_fn_cxx_try_compile "$LINENO"; then :
21007 glibcxx_cv_func_isinf_use=yes
21008 else
21009 glibcxx_cv_func_isinf_use=no
21011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21012 ac_ext=c
21013 ac_cpp='$CPP $CPPFLAGS'
21014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21023 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21025 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21026 for ac_func in isinf
21027 do :
21028 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21029 if test "x$ac_cv_func_isinf" = x""yes; then :
21030 cat >>confdefs.h <<_ACEOF
21031 #define HAVE_ISINF 1
21032 _ACEOF
21035 done
21037 else
21039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21040 $as_echo_n "checking for _isinf declaration... " >&6; }
21041 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21042 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21043 $as_echo_n "(cached) " >&6
21044 else
21047 ac_ext=cpp
21048 ac_cpp='$CXXCPP $CPPFLAGS'
21049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21054 /* end confdefs.h. */
21055 #include <math.h>
21056 #ifdef HAVE_IEEEFP_H
21057 #include <ieeefp.h>
21058 #endif
21061 main ()
21063 _isinf(0);
21065 return 0;
21067 _ACEOF
21068 if ac_fn_cxx_try_compile "$LINENO"; then :
21069 glibcxx_cv_func__isinf_use=yes
21070 else
21071 glibcxx_cv_func__isinf_use=no
21073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21074 ac_ext=c
21075 ac_cpp='$CPP $CPPFLAGS'
21076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21085 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21087 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21088 for ac_func in _isinf
21089 do :
21090 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21091 if test "x$ac_cv_func__isinf" = x""yes; then :
21092 cat >>confdefs.h <<_ACEOF
21093 #define HAVE__ISINF 1
21094 _ACEOF
21097 done
21106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21107 $as_echo_n "checking for isnan declaration... " >&6; }
21108 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21109 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21110 $as_echo_n "(cached) " >&6
21111 else
21114 ac_ext=cpp
21115 ac_cpp='$CXXCPP $CPPFLAGS'
21116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21121 /* end confdefs.h. */
21122 #include <math.h>
21123 #ifdef HAVE_IEEEFP_H
21124 #include <ieeefp.h>
21125 #endif
21128 main ()
21130 isnan(0);
21132 return 0;
21134 _ACEOF
21135 if ac_fn_cxx_try_compile "$LINENO"; then :
21136 glibcxx_cv_func_isnan_use=yes
21137 else
21138 glibcxx_cv_func_isnan_use=no
21140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21141 ac_ext=c
21142 ac_cpp='$CPP $CPPFLAGS'
21143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21152 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21154 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21155 for ac_func in isnan
21156 do :
21157 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21158 if test "x$ac_cv_func_isnan" = x""yes; then :
21159 cat >>confdefs.h <<_ACEOF
21160 #define HAVE_ISNAN 1
21161 _ACEOF
21164 done
21166 else
21168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21169 $as_echo_n "checking for _isnan declaration... " >&6; }
21170 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21171 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21172 $as_echo_n "(cached) " >&6
21173 else
21176 ac_ext=cpp
21177 ac_cpp='$CXXCPP $CPPFLAGS'
21178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21183 /* end confdefs.h. */
21184 #include <math.h>
21185 #ifdef HAVE_IEEEFP_H
21186 #include <ieeefp.h>
21187 #endif
21190 main ()
21192 _isnan(0);
21194 return 0;
21196 _ACEOF
21197 if ac_fn_cxx_try_compile "$LINENO"; then :
21198 glibcxx_cv_func__isnan_use=yes
21199 else
21200 glibcxx_cv_func__isnan_use=no
21202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21203 ac_ext=c
21204 ac_cpp='$CPP $CPPFLAGS'
21205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21214 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21216 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21217 for ac_func in _isnan
21218 do :
21219 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21220 if test "x$ac_cv_func__isnan" = x""yes; then :
21221 cat >>confdefs.h <<_ACEOF
21222 #define HAVE__ISNAN 1
21223 _ACEOF
21226 done
21235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21236 $as_echo_n "checking for finite declaration... " >&6; }
21237 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21238 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21239 $as_echo_n "(cached) " >&6
21240 else
21243 ac_ext=cpp
21244 ac_cpp='$CXXCPP $CPPFLAGS'
21245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21250 /* end confdefs.h. */
21251 #include <math.h>
21252 #ifdef HAVE_IEEEFP_H
21253 #include <ieeefp.h>
21254 #endif
21257 main ()
21259 finite(0);
21261 return 0;
21263 _ACEOF
21264 if ac_fn_cxx_try_compile "$LINENO"; then :
21265 glibcxx_cv_func_finite_use=yes
21266 else
21267 glibcxx_cv_func_finite_use=no
21269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21270 ac_ext=c
21271 ac_cpp='$CPP $CPPFLAGS'
21272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21281 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21283 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21284 for ac_func in finite
21285 do :
21286 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21287 if test "x$ac_cv_func_finite" = x""yes; then :
21288 cat >>confdefs.h <<_ACEOF
21289 #define HAVE_FINITE 1
21290 _ACEOF
21293 done
21295 else
21297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21298 $as_echo_n "checking for _finite declaration... " >&6; }
21299 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21300 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21301 $as_echo_n "(cached) " >&6
21302 else
21305 ac_ext=cpp
21306 ac_cpp='$CXXCPP $CPPFLAGS'
21307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21312 /* end confdefs.h. */
21313 #include <math.h>
21314 #ifdef HAVE_IEEEFP_H
21315 #include <ieeefp.h>
21316 #endif
21319 main ()
21321 _finite(0);
21323 return 0;
21325 _ACEOF
21326 if ac_fn_cxx_try_compile "$LINENO"; then :
21327 glibcxx_cv_func__finite_use=yes
21328 else
21329 glibcxx_cv_func__finite_use=no
21331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21332 ac_ext=c
21333 ac_cpp='$CPP $CPPFLAGS'
21334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21343 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21345 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21346 for ac_func in _finite
21347 do :
21348 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21349 if test "x$ac_cv_func__finite" = x""yes; then :
21350 cat >>confdefs.h <<_ACEOF
21351 #define HAVE__FINITE 1
21352 _ACEOF
21355 done
21364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21365 $as_echo_n "checking for sincos declaration... " >&6; }
21366 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21367 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21368 $as_echo_n "(cached) " >&6
21369 else
21372 ac_ext=cpp
21373 ac_cpp='$CXXCPP $CPPFLAGS'
21374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21379 /* end confdefs.h. */
21380 #include <math.h>
21382 main ()
21384 sincos(0, 0, 0);
21386 return 0;
21388 _ACEOF
21389 if ac_fn_cxx_try_compile "$LINENO"; then :
21390 glibcxx_cv_func_sincos_use=yes
21391 else
21392 glibcxx_cv_func_sincos_use=no
21394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21395 ac_ext=c
21396 ac_cpp='$CPP $CPPFLAGS'
21397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21406 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21408 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21409 for ac_func in sincos
21410 do :
21411 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21412 if test "x$ac_cv_func_sincos" = x""yes; then :
21413 cat >>confdefs.h <<_ACEOF
21414 #define HAVE_SINCOS 1
21415 _ACEOF
21418 done
21420 else
21422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21423 $as_echo_n "checking for _sincos declaration... " >&6; }
21424 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21425 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21426 $as_echo_n "(cached) " >&6
21427 else
21430 ac_ext=cpp
21431 ac_cpp='$CXXCPP $CPPFLAGS'
21432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21437 /* end confdefs.h. */
21438 #include <math.h>
21440 main ()
21442 _sincos(0, 0, 0);
21444 return 0;
21446 _ACEOF
21447 if ac_fn_cxx_try_compile "$LINENO"; then :
21448 glibcxx_cv_func__sincos_use=yes
21449 else
21450 glibcxx_cv_func__sincos_use=no
21452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21453 ac_ext=c
21454 ac_cpp='$CPP $CPPFLAGS'
21455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21464 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21466 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21467 for ac_func in _sincos
21468 do :
21469 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21470 if test "x$ac_cv_func__sincos" = x""yes; then :
21471 cat >>confdefs.h <<_ACEOF
21472 #define HAVE__SINCOS 1
21473 _ACEOF
21476 done
21485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21486 $as_echo_n "checking for fpclass declaration... " >&6; }
21487 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21488 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21489 $as_echo_n "(cached) " >&6
21490 else
21493 ac_ext=cpp
21494 ac_cpp='$CXXCPP $CPPFLAGS'
21495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21500 /* end confdefs.h. */
21501 #include <math.h>
21502 #ifdef HAVE_IEEEFP_H
21503 #include <ieeefp.h>
21504 #endif
21507 main ()
21509 fpclass(0);
21511 return 0;
21513 _ACEOF
21514 if ac_fn_cxx_try_compile "$LINENO"; then :
21515 glibcxx_cv_func_fpclass_use=yes
21516 else
21517 glibcxx_cv_func_fpclass_use=no
21519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21520 ac_ext=c
21521 ac_cpp='$CPP $CPPFLAGS'
21522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21531 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21533 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21534 for ac_func in fpclass
21535 do :
21536 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21537 if test "x$ac_cv_func_fpclass" = x""yes; then :
21538 cat >>confdefs.h <<_ACEOF
21539 #define HAVE_FPCLASS 1
21540 _ACEOF
21543 done
21545 else
21547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21548 $as_echo_n "checking for _fpclass declaration... " >&6; }
21549 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21550 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21551 $as_echo_n "(cached) " >&6
21552 else
21555 ac_ext=cpp
21556 ac_cpp='$CXXCPP $CPPFLAGS'
21557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21562 /* end confdefs.h. */
21563 #include <math.h>
21564 #ifdef HAVE_IEEEFP_H
21565 #include <ieeefp.h>
21566 #endif
21569 main ()
21571 _fpclass(0);
21573 return 0;
21575 _ACEOF
21576 if ac_fn_cxx_try_compile "$LINENO"; then :
21577 glibcxx_cv_func__fpclass_use=yes
21578 else
21579 glibcxx_cv_func__fpclass_use=no
21581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21582 ac_ext=c
21583 ac_cpp='$CPP $CPPFLAGS'
21584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21593 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21595 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21596 for ac_func in _fpclass
21597 do :
21598 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21599 if test "x$ac_cv_func__fpclass" = x""yes; then :
21600 cat >>confdefs.h <<_ACEOF
21601 #define HAVE__FPCLASS 1
21602 _ACEOF
21605 done
21614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21615 $as_echo_n "checking for qfpclass declaration... " >&6; }
21616 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21617 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21618 $as_echo_n "(cached) " >&6
21619 else
21622 ac_ext=cpp
21623 ac_cpp='$CXXCPP $CPPFLAGS'
21624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21629 /* end confdefs.h. */
21630 #include <math.h>
21631 #ifdef HAVE_IEEEFP_H
21632 #include <ieeefp.h>
21633 #endif
21636 main ()
21638 qfpclass(0);
21640 return 0;
21642 _ACEOF
21643 if ac_fn_cxx_try_compile "$LINENO"; then :
21644 glibcxx_cv_func_qfpclass_use=yes
21645 else
21646 glibcxx_cv_func_qfpclass_use=no
21648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21649 ac_ext=c
21650 ac_cpp='$CPP $CPPFLAGS'
21651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21660 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21662 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21663 for ac_func in qfpclass
21664 do :
21665 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21666 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21667 cat >>confdefs.h <<_ACEOF
21668 #define HAVE_QFPCLASS 1
21669 _ACEOF
21672 done
21674 else
21676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21677 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21678 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21679 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21680 $as_echo_n "(cached) " >&6
21681 else
21684 ac_ext=cpp
21685 ac_cpp='$CXXCPP $CPPFLAGS'
21686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21691 /* end confdefs.h. */
21692 #include <math.h>
21693 #ifdef HAVE_IEEEFP_H
21694 #include <ieeefp.h>
21695 #endif
21698 main ()
21700 _qfpclass(0);
21702 return 0;
21704 _ACEOF
21705 if ac_fn_cxx_try_compile "$LINENO"; then :
21706 glibcxx_cv_func__qfpclass_use=yes
21707 else
21708 glibcxx_cv_func__qfpclass_use=no
21710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21711 ac_ext=c
21712 ac_cpp='$CPP $CPPFLAGS'
21713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21722 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21724 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21725 for ac_func in _qfpclass
21726 do :
21727 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21728 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21729 cat >>confdefs.h <<_ACEOF
21730 #define HAVE__QFPCLASS 1
21731 _ACEOF
21734 done
21743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21744 $as_echo_n "checking for hypot declaration... " >&6; }
21745 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21746 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21747 $as_echo_n "(cached) " >&6
21748 else
21751 ac_ext=cpp
21752 ac_cpp='$CXXCPP $CPPFLAGS'
21753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21758 /* end confdefs.h. */
21759 #include <math.h>
21761 main ()
21763 hypot(0, 0);
21765 return 0;
21767 _ACEOF
21768 if ac_fn_cxx_try_compile "$LINENO"; then :
21769 glibcxx_cv_func_hypot_use=yes
21770 else
21771 glibcxx_cv_func_hypot_use=no
21773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21774 ac_ext=c
21775 ac_cpp='$CPP $CPPFLAGS'
21776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21785 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21787 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21788 for ac_func in hypot
21789 do :
21790 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21791 if test "x$ac_cv_func_hypot" = x""yes; then :
21792 cat >>confdefs.h <<_ACEOF
21793 #define HAVE_HYPOT 1
21794 _ACEOF
21797 done
21799 else
21801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21802 $as_echo_n "checking for _hypot declaration... " >&6; }
21803 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21804 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21805 $as_echo_n "(cached) " >&6
21806 else
21809 ac_ext=cpp
21810 ac_cpp='$CXXCPP $CPPFLAGS'
21811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21816 /* end confdefs.h. */
21817 #include <math.h>
21819 main ()
21821 _hypot(0, 0);
21823 return 0;
21825 _ACEOF
21826 if ac_fn_cxx_try_compile "$LINENO"; then :
21827 glibcxx_cv_func__hypot_use=yes
21828 else
21829 glibcxx_cv_func__hypot_use=no
21831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21832 ac_ext=c
21833 ac_cpp='$CPP $CPPFLAGS'
21834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21843 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21845 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21846 for ac_func in _hypot
21847 do :
21848 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21849 if test "x$ac_cv_func__hypot" = x""yes; then :
21850 cat >>confdefs.h <<_ACEOF
21851 #define HAVE__HYPOT 1
21852 _ACEOF
21855 done
21864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21865 $as_echo_n "checking for float trig functions... " >&6; }
21866 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21867 $as_echo_n "(cached) " >&6
21868 else
21871 ac_ext=cpp
21872 ac_cpp='$CXXCPP $CPPFLAGS'
21873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21878 /* end confdefs.h. */
21879 #include <math.h>
21881 main ()
21883 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21885 return 0;
21887 _ACEOF
21888 if ac_fn_cxx_try_compile "$LINENO"; then :
21889 glibcxx_cv_func_float_trig_use=yes
21890 else
21891 glibcxx_cv_func_float_trig_use=no
21893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21894 ac_ext=c
21895 ac_cpp='$CPP $CPPFLAGS'
21896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21903 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21904 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21905 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21906 do :
21907 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21908 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21909 eval as_val=\$$as_ac_var
21910 if test "x$as_val" = x""yes; then :
21911 cat >>confdefs.h <<_ACEOF
21912 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21913 _ACEOF
21916 done
21918 else
21919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21920 $as_echo_n "checking for _float trig functions... " >&6; }
21921 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21922 $as_echo_n "(cached) " >&6
21923 else
21926 ac_ext=cpp
21927 ac_cpp='$CXXCPP $CPPFLAGS'
21928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21933 /* end confdefs.h. */
21934 #include <math.h>
21936 main ()
21938 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21940 return 0;
21942 _ACEOF
21943 if ac_fn_cxx_try_compile "$LINENO"; then :
21944 glibcxx_cv_func__float_trig_use=yes
21945 else
21946 glibcxx_cv_func__float_trig_use=no
21948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21949 ac_ext=c
21950 ac_cpp='$CPP $CPPFLAGS'
21951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21958 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21959 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21960 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21961 do :
21962 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21963 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21964 eval as_val=\$$as_ac_var
21965 if test "x$as_val" = x""yes; then :
21966 cat >>confdefs.h <<_ACEOF
21967 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21968 _ACEOF
21971 done
21980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21981 $as_echo_n "checking for float round functions... " >&6; }
21982 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21983 $as_echo_n "(cached) " >&6
21984 else
21987 ac_ext=cpp
21988 ac_cpp='$CXXCPP $CPPFLAGS'
21989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21994 /* end confdefs.h. */
21995 #include <math.h>
21997 main ()
21999 ceilf (0); floorf (0);
22001 return 0;
22003 _ACEOF
22004 if ac_fn_cxx_try_compile "$LINENO"; then :
22005 glibcxx_cv_func_float_round_use=yes
22006 else
22007 glibcxx_cv_func_float_round_use=no
22009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22010 ac_ext=c
22011 ac_cpp='$CPP $CPPFLAGS'
22012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22019 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22020 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22021 for ac_func in ceilf floorf
22022 do :
22023 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22024 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22025 eval as_val=\$$as_ac_var
22026 if test "x$as_val" = x""yes; then :
22027 cat >>confdefs.h <<_ACEOF
22028 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22029 _ACEOF
22032 done
22034 else
22035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22036 $as_echo_n "checking for _float round functions... " >&6; }
22037 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22038 $as_echo_n "(cached) " >&6
22039 else
22042 ac_ext=cpp
22043 ac_cpp='$CXXCPP $CPPFLAGS'
22044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22049 /* end confdefs.h. */
22050 #include <math.h>
22052 main ()
22054 _ceilf (0); _floorf (0);
22056 return 0;
22058 _ACEOF
22059 if ac_fn_cxx_try_compile "$LINENO"; then :
22060 glibcxx_cv_func__float_round_use=yes
22061 else
22062 glibcxx_cv_func__float_round_use=no
22064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22065 ac_ext=c
22066 ac_cpp='$CPP $CPPFLAGS'
22067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22074 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22075 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22076 for ac_func in _ceilf _floorf
22077 do :
22078 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22079 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22080 eval as_val=\$$as_ac_var
22081 if test "x$as_val" = x""yes; then :
22082 cat >>confdefs.h <<_ACEOF
22083 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22084 _ACEOF
22087 done
22097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22098 $as_echo_n "checking for expf declaration... " >&6; }
22099 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22100 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22101 $as_echo_n "(cached) " >&6
22102 else
22105 ac_ext=cpp
22106 ac_cpp='$CXXCPP $CPPFLAGS'
22107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22112 /* end confdefs.h. */
22113 #include <math.h>
22114 #ifdef HAVE_IEEEFP_H
22115 #include <ieeefp.h>
22116 #endif
22119 main ()
22121 expf(0);
22123 return 0;
22125 _ACEOF
22126 if ac_fn_cxx_try_compile "$LINENO"; then :
22127 glibcxx_cv_func_expf_use=yes
22128 else
22129 glibcxx_cv_func_expf_use=no
22131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22132 ac_ext=c
22133 ac_cpp='$CPP $CPPFLAGS'
22134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22143 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22145 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22146 for ac_func in expf
22147 do :
22148 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22149 if test "x$ac_cv_func_expf" = x""yes; then :
22150 cat >>confdefs.h <<_ACEOF
22151 #define HAVE_EXPF 1
22152 _ACEOF
22155 done
22157 else
22159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22160 $as_echo_n "checking for _expf declaration... " >&6; }
22161 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22162 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22163 $as_echo_n "(cached) " >&6
22164 else
22167 ac_ext=cpp
22168 ac_cpp='$CXXCPP $CPPFLAGS'
22169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22174 /* end confdefs.h. */
22175 #include <math.h>
22176 #ifdef HAVE_IEEEFP_H
22177 #include <ieeefp.h>
22178 #endif
22181 main ()
22183 _expf(0);
22185 return 0;
22187 _ACEOF
22188 if ac_fn_cxx_try_compile "$LINENO"; then :
22189 glibcxx_cv_func__expf_use=yes
22190 else
22191 glibcxx_cv_func__expf_use=no
22193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22194 ac_ext=c
22195 ac_cpp='$CPP $CPPFLAGS'
22196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22205 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22207 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22208 for ac_func in _expf
22209 do :
22210 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22211 if test "x$ac_cv_func__expf" = x""yes; then :
22212 cat >>confdefs.h <<_ACEOF
22213 #define HAVE__EXPF 1
22214 _ACEOF
22217 done
22226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22227 $as_echo_n "checking for isnanf declaration... " >&6; }
22228 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22229 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22230 $as_echo_n "(cached) " >&6
22231 else
22234 ac_ext=cpp
22235 ac_cpp='$CXXCPP $CPPFLAGS'
22236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22241 /* end confdefs.h. */
22242 #include <math.h>
22243 #ifdef HAVE_IEEEFP_H
22244 #include <ieeefp.h>
22245 #endif
22248 main ()
22250 isnanf(0);
22252 return 0;
22254 _ACEOF
22255 if ac_fn_cxx_try_compile "$LINENO"; then :
22256 glibcxx_cv_func_isnanf_use=yes
22257 else
22258 glibcxx_cv_func_isnanf_use=no
22260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22261 ac_ext=c
22262 ac_cpp='$CPP $CPPFLAGS'
22263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22272 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22274 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22275 for ac_func in isnanf
22276 do :
22277 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22278 if test "x$ac_cv_func_isnanf" = x""yes; then :
22279 cat >>confdefs.h <<_ACEOF
22280 #define HAVE_ISNANF 1
22281 _ACEOF
22284 done
22286 else
22288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22289 $as_echo_n "checking for _isnanf declaration... " >&6; }
22290 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22291 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22292 $as_echo_n "(cached) " >&6
22293 else
22296 ac_ext=cpp
22297 ac_cpp='$CXXCPP $CPPFLAGS'
22298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22303 /* end confdefs.h. */
22304 #include <math.h>
22305 #ifdef HAVE_IEEEFP_H
22306 #include <ieeefp.h>
22307 #endif
22310 main ()
22312 _isnanf(0);
22314 return 0;
22316 _ACEOF
22317 if ac_fn_cxx_try_compile "$LINENO"; then :
22318 glibcxx_cv_func__isnanf_use=yes
22319 else
22320 glibcxx_cv_func__isnanf_use=no
22322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22323 ac_ext=c
22324 ac_cpp='$CPP $CPPFLAGS'
22325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22334 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22336 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22337 for ac_func in _isnanf
22338 do :
22339 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22340 if test "x$ac_cv_func__isnanf" = x""yes; then :
22341 cat >>confdefs.h <<_ACEOF
22342 #define HAVE__ISNANF 1
22343 _ACEOF
22346 done
22355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22356 $as_echo_n "checking for isinff declaration... " >&6; }
22357 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22358 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22359 $as_echo_n "(cached) " >&6
22360 else
22363 ac_ext=cpp
22364 ac_cpp='$CXXCPP $CPPFLAGS'
22365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22370 /* end confdefs.h. */
22371 #include <math.h>
22372 #ifdef HAVE_IEEEFP_H
22373 #include <ieeefp.h>
22374 #endif
22377 main ()
22379 isinff(0);
22381 return 0;
22383 _ACEOF
22384 if ac_fn_cxx_try_compile "$LINENO"; then :
22385 glibcxx_cv_func_isinff_use=yes
22386 else
22387 glibcxx_cv_func_isinff_use=no
22389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22390 ac_ext=c
22391 ac_cpp='$CPP $CPPFLAGS'
22392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22401 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22403 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22404 for ac_func in isinff
22405 do :
22406 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22407 if test "x$ac_cv_func_isinff" = x""yes; then :
22408 cat >>confdefs.h <<_ACEOF
22409 #define HAVE_ISINFF 1
22410 _ACEOF
22413 done
22415 else
22417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22418 $as_echo_n "checking for _isinff declaration... " >&6; }
22419 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22420 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22421 $as_echo_n "(cached) " >&6
22422 else
22425 ac_ext=cpp
22426 ac_cpp='$CXXCPP $CPPFLAGS'
22427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22432 /* end confdefs.h. */
22433 #include <math.h>
22434 #ifdef HAVE_IEEEFP_H
22435 #include <ieeefp.h>
22436 #endif
22439 main ()
22441 _isinff(0);
22443 return 0;
22445 _ACEOF
22446 if ac_fn_cxx_try_compile "$LINENO"; then :
22447 glibcxx_cv_func__isinff_use=yes
22448 else
22449 glibcxx_cv_func__isinff_use=no
22451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22452 ac_ext=c
22453 ac_cpp='$CPP $CPPFLAGS'
22454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22463 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22465 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22466 for ac_func in _isinff
22467 do :
22468 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22469 if test "x$ac_cv_func__isinff" = x""yes; then :
22470 cat >>confdefs.h <<_ACEOF
22471 #define HAVE__ISINFF 1
22472 _ACEOF
22475 done
22484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22485 $as_echo_n "checking for atan2f declaration... " >&6; }
22486 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22487 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22488 $as_echo_n "(cached) " >&6
22489 else
22492 ac_ext=cpp
22493 ac_cpp='$CXXCPP $CPPFLAGS'
22494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22499 /* end confdefs.h. */
22500 #include <math.h>
22502 main ()
22504 atan2f(0, 0);
22506 return 0;
22508 _ACEOF
22509 if ac_fn_cxx_try_compile "$LINENO"; then :
22510 glibcxx_cv_func_atan2f_use=yes
22511 else
22512 glibcxx_cv_func_atan2f_use=no
22514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22515 ac_ext=c
22516 ac_cpp='$CPP $CPPFLAGS'
22517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22526 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22528 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22529 for ac_func in atan2f
22530 do :
22531 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22532 if test "x$ac_cv_func_atan2f" = x""yes; then :
22533 cat >>confdefs.h <<_ACEOF
22534 #define HAVE_ATAN2F 1
22535 _ACEOF
22538 done
22540 else
22542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22543 $as_echo_n "checking for _atan2f declaration... " >&6; }
22544 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22545 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22546 $as_echo_n "(cached) " >&6
22547 else
22550 ac_ext=cpp
22551 ac_cpp='$CXXCPP $CPPFLAGS'
22552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22557 /* end confdefs.h. */
22558 #include <math.h>
22560 main ()
22562 _atan2f(0, 0);
22564 return 0;
22566 _ACEOF
22567 if ac_fn_cxx_try_compile "$LINENO"; then :
22568 glibcxx_cv_func__atan2f_use=yes
22569 else
22570 glibcxx_cv_func__atan2f_use=no
22572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22573 ac_ext=c
22574 ac_cpp='$CPP $CPPFLAGS'
22575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22584 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22586 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22587 for ac_func in _atan2f
22588 do :
22589 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22590 if test "x$ac_cv_func__atan2f" = x""yes; then :
22591 cat >>confdefs.h <<_ACEOF
22592 #define HAVE__ATAN2F 1
22593 _ACEOF
22596 done
22605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22606 $as_echo_n "checking for fabsf declaration... " >&6; }
22607 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22608 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22609 $as_echo_n "(cached) " >&6
22610 else
22613 ac_ext=cpp
22614 ac_cpp='$CXXCPP $CPPFLAGS'
22615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22620 /* end confdefs.h. */
22621 #include <math.h>
22622 #ifdef HAVE_IEEEFP_H
22623 #include <ieeefp.h>
22624 #endif
22627 main ()
22629 fabsf(0);
22631 return 0;
22633 _ACEOF
22634 if ac_fn_cxx_try_compile "$LINENO"; then :
22635 glibcxx_cv_func_fabsf_use=yes
22636 else
22637 glibcxx_cv_func_fabsf_use=no
22639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22640 ac_ext=c
22641 ac_cpp='$CPP $CPPFLAGS'
22642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22651 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22653 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22654 for ac_func in fabsf
22655 do :
22656 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22657 if test "x$ac_cv_func_fabsf" = x""yes; then :
22658 cat >>confdefs.h <<_ACEOF
22659 #define HAVE_FABSF 1
22660 _ACEOF
22663 done
22665 else
22667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22668 $as_echo_n "checking for _fabsf declaration... " >&6; }
22669 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22670 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22671 $as_echo_n "(cached) " >&6
22672 else
22675 ac_ext=cpp
22676 ac_cpp='$CXXCPP $CPPFLAGS'
22677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22682 /* end confdefs.h. */
22683 #include <math.h>
22684 #ifdef HAVE_IEEEFP_H
22685 #include <ieeefp.h>
22686 #endif
22689 main ()
22691 _fabsf(0);
22693 return 0;
22695 _ACEOF
22696 if ac_fn_cxx_try_compile "$LINENO"; then :
22697 glibcxx_cv_func__fabsf_use=yes
22698 else
22699 glibcxx_cv_func__fabsf_use=no
22701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22702 ac_ext=c
22703 ac_cpp='$CPP $CPPFLAGS'
22704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22713 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22715 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22716 for ac_func in _fabsf
22717 do :
22718 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22719 if test "x$ac_cv_func__fabsf" = x""yes; then :
22720 cat >>confdefs.h <<_ACEOF
22721 #define HAVE__FABSF 1
22722 _ACEOF
22725 done
22734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22735 $as_echo_n "checking for fmodf declaration... " >&6; }
22736 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22737 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22738 $as_echo_n "(cached) " >&6
22739 else
22742 ac_ext=cpp
22743 ac_cpp='$CXXCPP $CPPFLAGS'
22744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22749 /* end confdefs.h. */
22750 #include <math.h>
22752 main ()
22754 fmodf(0, 0);
22756 return 0;
22758 _ACEOF
22759 if ac_fn_cxx_try_compile "$LINENO"; then :
22760 glibcxx_cv_func_fmodf_use=yes
22761 else
22762 glibcxx_cv_func_fmodf_use=no
22764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22765 ac_ext=c
22766 ac_cpp='$CPP $CPPFLAGS'
22767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22776 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22778 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22779 for ac_func in fmodf
22780 do :
22781 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22782 if test "x$ac_cv_func_fmodf" = x""yes; then :
22783 cat >>confdefs.h <<_ACEOF
22784 #define HAVE_FMODF 1
22785 _ACEOF
22788 done
22790 else
22792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22793 $as_echo_n "checking for _fmodf declaration... " >&6; }
22794 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22795 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22796 $as_echo_n "(cached) " >&6
22797 else
22800 ac_ext=cpp
22801 ac_cpp='$CXXCPP $CPPFLAGS'
22802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22807 /* end confdefs.h. */
22808 #include <math.h>
22810 main ()
22812 _fmodf(0, 0);
22814 return 0;
22816 _ACEOF
22817 if ac_fn_cxx_try_compile "$LINENO"; then :
22818 glibcxx_cv_func__fmodf_use=yes
22819 else
22820 glibcxx_cv_func__fmodf_use=no
22822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22823 ac_ext=c
22824 ac_cpp='$CPP $CPPFLAGS'
22825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22834 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22836 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22837 for ac_func in _fmodf
22838 do :
22839 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22840 if test "x$ac_cv_func__fmodf" = x""yes; then :
22841 cat >>confdefs.h <<_ACEOF
22842 #define HAVE__FMODF 1
22843 _ACEOF
22846 done
22855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22856 $as_echo_n "checking for frexpf declaration... " >&6; }
22857 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22858 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22859 $as_echo_n "(cached) " >&6
22860 else
22863 ac_ext=cpp
22864 ac_cpp='$CXXCPP $CPPFLAGS'
22865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22870 /* end confdefs.h. */
22871 #include <math.h>
22873 main ()
22875 frexpf(0, 0);
22877 return 0;
22879 _ACEOF
22880 if ac_fn_cxx_try_compile "$LINENO"; then :
22881 glibcxx_cv_func_frexpf_use=yes
22882 else
22883 glibcxx_cv_func_frexpf_use=no
22885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22886 ac_ext=c
22887 ac_cpp='$CPP $CPPFLAGS'
22888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22897 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22899 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22900 for ac_func in frexpf
22901 do :
22902 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22903 if test "x$ac_cv_func_frexpf" = x""yes; then :
22904 cat >>confdefs.h <<_ACEOF
22905 #define HAVE_FREXPF 1
22906 _ACEOF
22909 done
22911 else
22913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22914 $as_echo_n "checking for _frexpf declaration... " >&6; }
22915 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22916 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22917 $as_echo_n "(cached) " >&6
22918 else
22921 ac_ext=cpp
22922 ac_cpp='$CXXCPP $CPPFLAGS'
22923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22928 /* end confdefs.h. */
22929 #include <math.h>
22931 main ()
22933 _frexpf(0, 0);
22935 return 0;
22937 _ACEOF
22938 if ac_fn_cxx_try_compile "$LINENO"; then :
22939 glibcxx_cv_func__frexpf_use=yes
22940 else
22941 glibcxx_cv_func__frexpf_use=no
22943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22944 ac_ext=c
22945 ac_cpp='$CPP $CPPFLAGS'
22946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22955 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22957 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22958 for ac_func in _frexpf
22959 do :
22960 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22961 if test "x$ac_cv_func__frexpf" = x""yes; then :
22962 cat >>confdefs.h <<_ACEOF
22963 #define HAVE__FREXPF 1
22964 _ACEOF
22967 done
22976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22977 $as_echo_n "checking for hypotf declaration... " >&6; }
22978 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22979 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22980 $as_echo_n "(cached) " >&6
22981 else
22984 ac_ext=cpp
22985 ac_cpp='$CXXCPP $CPPFLAGS'
22986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22991 /* end confdefs.h. */
22992 #include <math.h>
22994 main ()
22996 hypotf(0, 0);
22998 return 0;
23000 _ACEOF
23001 if ac_fn_cxx_try_compile "$LINENO"; then :
23002 glibcxx_cv_func_hypotf_use=yes
23003 else
23004 glibcxx_cv_func_hypotf_use=no
23006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23007 ac_ext=c
23008 ac_cpp='$CPP $CPPFLAGS'
23009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23018 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23020 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23021 for ac_func in hypotf
23022 do :
23023 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23024 if test "x$ac_cv_func_hypotf" = x""yes; then :
23025 cat >>confdefs.h <<_ACEOF
23026 #define HAVE_HYPOTF 1
23027 _ACEOF
23030 done
23032 else
23034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23035 $as_echo_n "checking for _hypotf declaration... " >&6; }
23036 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23037 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23038 $as_echo_n "(cached) " >&6
23039 else
23042 ac_ext=cpp
23043 ac_cpp='$CXXCPP $CPPFLAGS'
23044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23049 /* end confdefs.h. */
23050 #include <math.h>
23052 main ()
23054 _hypotf(0, 0);
23056 return 0;
23058 _ACEOF
23059 if ac_fn_cxx_try_compile "$LINENO"; then :
23060 glibcxx_cv_func__hypotf_use=yes
23061 else
23062 glibcxx_cv_func__hypotf_use=no
23064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23065 ac_ext=c
23066 ac_cpp='$CPP $CPPFLAGS'
23067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23076 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23078 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23079 for ac_func in _hypotf
23080 do :
23081 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23082 if test "x$ac_cv_func__hypotf" = x""yes; then :
23083 cat >>confdefs.h <<_ACEOF
23084 #define HAVE__HYPOTF 1
23085 _ACEOF
23088 done
23097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23098 $as_echo_n "checking for ldexpf declaration... " >&6; }
23099 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23100 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23101 $as_echo_n "(cached) " >&6
23102 else
23105 ac_ext=cpp
23106 ac_cpp='$CXXCPP $CPPFLAGS'
23107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23112 /* end confdefs.h. */
23113 #include <math.h>
23115 main ()
23117 ldexpf(0, 0);
23119 return 0;
23121 _ACEOF
23122 if ac_fn_cxx_try_compile "$LINENO"; then :
23123 glibcxx_cv_func_ldexpf_use=yes
23124 else
23125 glibcxx_cv_func_ldexpf_use=no
23127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23128 ac_ext=c
23129 ac_cpp='$CPP $CPPFLAGS'
23130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23139 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23141 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23142 for ac_func in ldexpf
23143 do :
23144 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23145 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23146 cat >>confdefs.h <<_ACEOF
23147 #define HAVE_LDEXPF 1
23148 _ACEOF
23151 done
23153 else
23155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23156 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23157 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23158 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23159 $as_echo_n "(cached) " >&6
23160 else
23163 ac_ext=cpp
23164 ac_cpp='$CXXCPP $CPPFLAGS'
23165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23170 /* end confdefs.h. */
23171 #include <math.h>
23173 main ()
23175 _ldexpf(0, 0);
23177 return 0;
23179 _ACEOF
23180 if ac_fn_cxx_try_compile "$LINENO"; then :
23181 glibcxx_cv_func__ldexpf_use=yes
23182 else
23183 glibcxx_cv_func__ldexpf_use=no
23185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23186 ac_ext=c
23187 ac_cpp='$CPP $CPPFLAGS'
23188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23197 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23199 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23200 for ac_func in _ldexpf
23201 do :
23202 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23203 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23204 cat >>confdefs.h <<_ACEOF
23205 #define HAVE__LDEXPF 1
23206 _ACEOF
23209 done
23218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23219 $as_echo_n "checking for logf declaration... " >&6; }
23220 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23221 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23222 $as_echo_n "(cached) " >&6
23223 else
23226 ac_ext=cpp
23227 ac_cpp='$CXXCPP $CPPFLAGS'
23228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23233 /* end confdefs.h. */
23234 #include <math.h>
23235 #ifdef HAVE_IEEEFP_H
23236 #include <ieeefp.h>
23237 #endif
23240 main ()
23242 logf(0);
23244 return 0;
23246 _ACEOF
23247 if ac_fn_cxx_try_compile "$LINENO"; then :
23248 glibcxx_cv_func_logf_use=yes
23249 else
23250 glibcxx_cv_func_logf_use=no
23252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23253 ac_ext=c
23254 ac_cpp='$CPP $CPPFLAGS'
23255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23264 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23266 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23267 for ac_func in logf
23268 do :
23269 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23270 if test "x$ac_cv_func_logf" = x""yes; then :
23271 cat >>confdefs.h <<_ACEOF
23272 #define HAVE_LOGF 1
23273 _ACEOF
23276 done
23278 else
23280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23281 $as_echo_n "checking for _logf declaration... " >&6; }
23282 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23283 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23284 $as_echo_n "(cached) " >&6
23285 else
23288 ac_ext=cpp
23289 ac_cpp='$CXXCPP $CPPFLAGS'
23290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23295 /* end confdefs.h. */
23296 #include <math.h>
23297 #ifdef HAVE_IEEEFP_H
23298 #include <ieeefp.h>
23299 #endif
23302 main ()
23304 _logf(0);
23306 return 0;
23308 _ACEOF
23309 if ac_fn_cxx_try_compile "$LINENO"; then :
23310 glibcxx_cv_func__logf_use=yes
23311 else
23312 glibcxx_cv_func__logf_use=no
23314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23315 ac_ext=c
23316 ac_cpp='$CPP $CPPFLAGS'
23317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23326 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23328 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23329 for ac_func in _logf
23330 do :
23331 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23332 if test "x$ac_cv_func__logf" = x""yes; then :
23333 cat >>confdefs.h <<_ACEOF
23334 #define HAVE__LOGF 1
23335 _ACEOF
23338 done
23347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23348 $as_echo_n "checking for log10f declaration... " >&6; }
23349 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23350 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23351 $as_echo_n "(cached) " >&6
23352 else
23355 ac_ext=cpp
23356 ac_cpp='$CXXCPP $CPPFLAGS'
23357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23362 /* end confdefs.h. */
23363 #include <math.h>
23364 #ifdef HAVE_IEEEFP_H
23365 #include <ieeefp.h>
23366 #endif
23369 main ()
23371 log10f(0);
23373 return 0;
23375 _ACEOF
23376 if ac_fn_cxx_try_compile "$LINENO"; then :
23377 glibcxx_cv_func_log10f_use=yes
23378 else
23379 glibcxx_cv_func_log10f_use=no
23381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23382 ac_ext=c
23383 ac_cpp='$CPP $CPPFLAGS'
23384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23393 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23395 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23396 for ac_func in log10f
23397 do :
23398 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23399 if test "x$ac_cv_func_log10f" = x""yes; then :
23400 cat >>confdefs.h <<_ACEOF
23401 #define HAVE_LOG10F 1
23402 _ACEOF
23405 done
23407 else
23409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23410 $as_echo_n "checking for _log10f declaration... " >&6; }
23411 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23412 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23413 $as_echo_n "(cached) " >&6
23414 else
23417 ac_ext=cpp
23418 ac_cpp='$CXXCPP $CPPFLAGS'
23419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23424 /* end confdefs.h. */
23425 #include <math.h>
23426 #ifdef HAVE_IEEEFP_H
23427 #include <ieeefp.h>
23428 #endif
23431 main ()
23433 _log10f(0);
23435 return 0;
23437 _ACEOF
23438 if ac_fn_cxx_try_compile "$LINENO"; then :
23439 glibcxx_cv_func__log10f_use=yes
23440 else
23441 glibcxx_cv_func__log10f_use=no
23443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23444 ac_ext=c
23445 ac_cpp='$CPP $CPPFLAGS'
23446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23455 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23457 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23458 for ac_func in _log10f
23459 do :
23460 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23461 if test "x$ac_cv_func__log10f" = x""yes; then :
23462 cat >>confdefs.h <<_ACEOF
23463 #define HAVE__LOG10F 1
23464 _ACEOF
23467 done
23476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23477 $as_echo_n "checking for modff declaration... " >&6; }
23478 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23479 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23480 $as_echo_n "(cached) " >&6
23481 else
23484 ac_ext=cpp
23485 ac_cpp='$CXXCPP $CPPFLAGS'
23486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23491 /* end confdefs.h. */
23492 #include <math.h>
23494 main ()
23496 modff(0, 0);
23498 return 0;
23500 _ACEOF
23501 if ac_fn_cxx_try_compile "$LINENO"; then :
23502 glibcxx_cv_func_modff_use=yes
23503 else
23504 glibcxx_cv_func_modff_use=no
23506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23507 ac_ext=c
23508 ac_cpp='$CPP $CPPFLAGS'
23509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23518 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23520 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23521 for ac_func in modff
23522 do :
23523 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23524 if test "x$ac_cv_func_modff" = x""yes; then :
23525 cat >>confdefs.h <<_ACEOF
23526 #define HAVE_MODFF 1
23527 _ACEOF
23530 done
23532 else
23534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23535 $as_echo_n "checking for _modff declaration... " >&6; }
23536 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23537 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23538 $as_echo_n "(cached) " >&6
23539 else
23542 ac_ext=cpp
23543 ac_cpp='$CXXCPP $CPPFLAGS'
23544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23549 /* end confdefs.h. */
23550 #include <math.h>
23552 main ()
23554 _modff(0, 0);
23556 return 0;
23558 _ACEOF
23559 if ac_fn_cxx_try_compile "$LINENO"; then :
23560 glibcxx_cv_func__modff_use=yes
23561 else
23562 glibcxx_cv_func__modff_use=no
23564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23565 ac_ext=c
23566 ac_cpp='$CPP $CPPFLAGS'
23567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23576 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23578 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23579 for ac_func in _modff
23580 do :
23581 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23582 if test "x$ac_cv_func__modff" = x""yes; then :
23583 cat >>confdefs.h <<_ACEOF
23584 #define HAVE__MODFF 1
23585 _ACEOF
23588 done
23597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23598 $as_echo_n "checking for modf declaration... " >&6; }
23599 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23600 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23601 $as_echo_n "(cached) " >&6
23602 else
23605 ac_ext=cpp
23606 ac_cpp='$CXXCPP $CPPFLAGS'
23607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23612 /* end confdefs.h. */
23613 #include <math.h>
23615 main ()
23617 modf(0, 0);
23619 return 0;
23621 _ACEOF
23622 if ac_fn_cxx_try_compile "$LINENO"; then :
23623 glibcxx_cv_func_modf_use=yes
23624 else
23625 glibcxx_cv_func_modf_use=no
23627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23628 ac_ext=c
23629 ac_cpp='$CPP $CPPFLAGS'
23630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23639 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23641 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23642 for ac_func in modf
23643 do :
23644 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23645 if test "x$ac_cv_func_modf" = x""yes; then :
23646 cat >>confdefs.h <<_ACEOF
23647 #define HAVE_MODF 1
23648 _ACEOF
23651 done
23653 else
23655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23656 $as_echo_n "checking for _modf declaration... " >&6; }
23657 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23658 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23659 $as_echo_n "(cached) " >&6
23660 else
23663 ac_ext=cpp
23664 ac_cpp='$CXXCPP $CPPFLAGS'
23665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23670 /* end confdefs.h. */
23671 #include <math.h>
23673 main ()
23675 _modf(0, 0);
23677 return 0;
23679 _ACEOF
23680 if ac_fn_cxx_try_compile "$LINENO"; then :
23681 glibcxx_cv_func__modf_use=yes
23682 else
23683 glibcxx_cv_func__modf_use=no
23685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23686 ac_ext=c
23687 ac_cpp='$CPP $CPPFLAGS'
23688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23697 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23699 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23700 for ac_func in _modf
23701 do :
23702 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23703 if test "x$ac_cv_func__modf" = x""yes; then :
23704 cat >>confdefs.h <<_ACEOF
23705 #define HAVE__MODF 1
23706 _ACEOF
23709 done
23718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23719 $as_echo_n "checking for powf declaration... " >&6; }
23720 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23721 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23722 $as_echo_n "(cached) " >&6
23723 else
23726 ac_ext=cpp
23727 ac_cpp='$CXXCPP $CPPFLAGS'
23728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23733 /* end confdefs.h. */
23734 #include <math.h>
23736 main ()
23738 powf(0, 0);
23740 return 0;
23742 _ACEOF
23743 if ac_fn_cxx_try_compile "$LINENO"; then :
23744 glibcxx_cv_func_powf_use=yes
23745 else
23746 glibcxx_cv_func_powf_use=no
23748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23749 ac_ext=c
23750 ac_cpp='$CPP $CPPFLAGS'
23751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23760 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23762 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23763 for ac_func in powf
23764 do :
23765 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23766 if test "x$ac_cv_func_powf" = x""yes; then :
23767 cat >>confdefs.h <<_ACEOF
23768 #define HAVE_POWF 1
23769 _ACEOF
23772 done
23774 else
23776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23777 $as_echo_n "checking for _powf declaration... " >&6; }
23778 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23779 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23780 $as_echo_n "(cached) " >&6
23781 else
23784 ac_ext=cpp
23785 ac_cpp='$CXXCPP $CPPFLAGS'
23786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23791 /* end confdefs.h. */
23792 #include <math.h>
23794 main ()
23796 _powf(0, 0);
23798 return 0;
23800 _ACEOF
23801 if ac_fn_cxx_try_compile "$LINENO"; then :
23802 glibcxx_cv_func__powf_use=yes
23803 else
23804 glibcxx_cv_func__powf_use=no
23806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23807 ac_ext=c
23808 ac_cpp='$CPP $CPPFLAGS'
23809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23818 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23820 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23821 for ac_func in _powf
23822 do :
23823 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23824 if test "x$ac_cv_func__powf" = x""yes; then :
23825 cat >>confdefs.h <<_ACEOF
23826 #define HAVE__POWF 1
23827 _ACEOF
23830 done
23839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23840 $as_echo_n "checking for sqrtf declaration... " >&6; }
23841 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23842 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23843 $as_echo_n "(cached) " >&6
23844 else
23847 ac_ext=cpp
23848 ac_cpp='$CXXCPP $CPPFLAGS'
23849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23854 /* end confdefs.h. */
23855 #include <math.h>
23856 #ifdef HAVE_IEEEFP_H
23857 #include <ieeefp.h>
23858 #endif
23861 main ()
23863 sqrtf(0);
23865 return 0;
23867 _ACEOF
23868 if ac_fn_cxx_try_compile "$LINENO"; then :
23869 glibcxx_cv_func_sqrtf_use=yes
23870 else
23871 glibcxx_cv_func_sqrtf_use=no
23873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23874 ac_ext=c
23875 ac_cpp='$CPP $CPPFLAGS'
23876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23885 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23887 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23888 for ac_func in sqrtf
23889 do :
23890 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23891 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23892 cat >>confdefs.h <<_ACEOF
23893 #define HAVE_SQRTF 1
23894 _ACEOF
23897 done
23899 else
23901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23902 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23903 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23904 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23905 $as_echo_n "(cached) " >&6
23906 else
23909 ac_ext=cpp
23910 ac_cpp='$CXXCPP $CPPFLAGS'
23911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23916 /* end confdefs.h. */
23917 #include <math.h>
23918 #ifdef HAVE_IEEEFP_H
23919 #include <ieeefp.h>
23920 #endif
23923 main ()
23925 _sqrtf(0);
23927 return 0;
23929 _ACEOF
23930 if ac_fn_cxx_try_compile "$LINENO"; then :
23931 glibcxx_cv_func__sqrtf_use=yes
23932 else
23933 glibcxx_cv_func__sqrtf_use=no
23935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23936 ac_ext=c
23937 ac_cpp='$CPP $CPPFLAGS'
23938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23947 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23949 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23950 for ac_func in _sqrtf
23951 do :
23952 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23953 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23954 cat >>confdefs.h <<_ACEOF
23955 #define HAVE__SQRTF 1
23956 _ACEOF
23959 done
23968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23969 $as_echo_n "checking for sincosf declaration... " >&6; }
23970 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23971 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23972 $as_echo_n "(cached) " >&6
23973 else
23976 ac_ext=cpp
23977 ac_cpp='$CXXCPP $CPPFLAGS'
23978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23983 /* end confdefs.h. */
23984 #include <math.h>
23986 main ()
23988 sincosf(0, 0, 0);
23990 return 0;
23992 _ACEOF
23993 if ac_fn_cxx_try_compile "$LINENO"; then :
23994 glibcxx_cv_func_sincosf_use=yes
23995 else
23996 glibcxx_cv_func_sincosf_use=no
23998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23999 ac_ext=c
24000 ac_cpp='$CPP $CPPFLAGS'
24001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24010 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24012 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24013 for ac_func in sincosf
24014 do :
24015 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24016 if test "x$ac_cv_func_sincosf" = x""yes; then :
24017 cat >>confdefs.h <<_ACEOF
24018 #define HAVE_SINCOSF 1
24019 _ACEOF
24022 done
24024 else
24026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24027 $as_echo_n "checking for _sincosf declaration... " >&6; }
24028 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24029 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24030 $as_echo_n "(cached) " >&6
24031 else
24034 ac_ext=cpp
24035 ac_cpp='$CXXCPP $CPPFLAGS'
24036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24041 /* end confdefs.h. */
24042 #include <math.h>
24044 main ()
24046 _sincosf(0, 0, 0);
24048 return 0;
24050 _ACEOF
24051 if ac_fn_cxx_try_compile "$LINENO"; then :
24052 glibcxx_cv_func__sincosf_use=yes
24053 else
24054 glibcxx_cv_func__sincosf_use=no
24056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24057 ac_ext=c
24058 ac_cpp='$CPP $CPPFLAGS'
24059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24068 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24070 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24071 for ac_func in _sincosf
24072 do :
24073 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24074 if test "x$ac_cv_func__sincosf" = x""yes; then :
24075 cat >>confdefs.h <<_ACEOF
24076 #define HAVE__SINCOSF 1
24077 _ACEOF
24080 done
24089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24090 $as_echo_n "checking for finitef declaration... " >&6; }
24091 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24092 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24093 $as_echo_n "(cached) " >&6
24094 else
24097 ac_ext=cpp
24098 ac_cpp='$CXXCPP $CPPFLAGS'
24099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24104 /* end confdefs.h. */
24105 #include <math.h>
24106 #ifdef HAVE_IEEEFP_H
24107 #include <ieeefp.h>
24108 #endif
24111 main ()
24113 finitef(0);
24115 return 0;
24117 _ACEOF
24118 if ac_fn_cxx_try_compile "$LINENO"; then :
24119 glibcxx_cv_func_finitef_use=yes
24120 else
24121 glibcxx_cv_func_finitef_use=no
24123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24124 ac_ext=c
24125 ac_cpp='$CPP $CPPFLAGS'
24126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24135 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24137 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24138 for ac_func in finitef
24139 do :
24140 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24141 if test "x$ac_cv_func_finitef" = x""yes; then :
24142 cat >>confdefs.h <<_ACEOF
24143 #define HAVE_FINITEF 1
24144 _ACEOF
24147 done
24149 else
24151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24152 $as_echo_n "checking for _finitef declaration... " >&6; }
24153 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24154 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24155 $as_echo_n "(cached) " >&6
24156 else
24159 ac_ext=cpp
24160 ac_cpp='$CXXCPP $CPPFLAGS'
24161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24166 /* end confdefs.h. */
24167 #include <math.h>
24168 #ifdef HAVE_IEEEFP_H
24169 #include <ieeefp.h>
24170 #endif
24173 main ()
24175 _finitef(0);
24177 return 0;
24179 _ACEOF
24180 if ac_fn_cxx_try_compile "$LINENO"; then :
24181 glibcxx_cv_func__finitef_use=yes
24182 else
24183 glibcxx_cv_func__finitef_use=no
24185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24186 ac_ext=c
24187 ac_cpp='$CPP $CPPFLAGS'
24188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24197 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24199 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24200 for ac_func in _finitef
24201 do :
24202 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24203 if test "x$ac_cv_func__finitef" = x""yes; then :
24204 cat >>confdefs.h <<_ACEOF
24205 #define HAVE__FINITEF 1
24206 _ACEOF
24209 done
24218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24219 $as_echo_n "checking for long double trig functions... " >&6; }
24220 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24221 $as_echo_n "(cached) " >&6
24222 else
24225 ac_ext=cpp
24226 ac_cpp='$CXXCPP $CPPFLAGS'
24227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24232 /* end confdefs.h. */
24233 #include <math.h>
24235 main ()
24237 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24239 return 0;
24241 _ACEOF
24242 if ac_fn_cxx_try_compile "$LINENO"; then :
24243 glibcxx_cv_func_long_double_trig_use=yes
24244 else
24245 glibcxx_cv_func_long_double_trig_use=no
24247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24248 ac_ext=c
24249 ac_cpp='$CPP $CPPFLAGS'
24250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24257 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24258 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24259 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24260 do :
24261 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24262 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24263 eval as_val=\$$as_ac_var
24264 if test "x$as_val" = x""yes; then :
24265 cat >>confdefs.h <<_ACEOF
24266 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24267 _ACEOF
24270 done
24272 else
24273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24274 $as_echo_n "checking for _long double trig functions... " >&6; }
24275 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24276 $as_echo_n "(cached) " >&6
24277 else
24280 ac_ext=cpp
24281 ac_cpp='$CXXCPP $CPPFLAGS'
24282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24287 /* end confdefs.h. */
24288 #include <math.h>
24290 main ()
24292 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24294 return 0;
24296 _ACEOF
24297 if ac_fn_cxx_try_compile "$LINENO"; then :
24298 glibcxx_cv_func__long_double_trig_use=yes
24299 else
24300 glibcxx_cv_func__long_double_trig_use=no
24302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24303 ac_ext=c
24304 ac_cpp='$CPP $CPPFLAGS'
24305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24312 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24313 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24314 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24315 do :
24316 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24317 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24318 eval as_val=\$$as_ac_var
24319 if test "x$as_val" = x""yes; then :
24320 cat >>confdefs.h <<_ACEOF
24321 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24322 _ACEOF
24325 done
24334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24335 $as_echo_n "checking for long double round functions... " >&6; }
24336 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24337 $as_echo_n "(cached) " >&6
24338 else
24341 ac_ext=cpp
24342 ac_cpp='$CXXCPP $CPPFLAGS'
24343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24348 /* end confdefs.h. */
24349 #include <math.h>
24351 main ()
24353 ceill (0); floorl (0);
24355 return 0;
24357 _ACEOF
24358 if ac_fn_cxx_try_compile "$LINENO"; then :
24359 glibcxx_cv_func_long_double_round_use=yes
24360 else
24361 glibcxx_cv_func_long_double_round_use=no
24363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24364 ac_ext=c
24365 ac_cpp='$CPP $CPPFLAGS'
24366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24373 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24374 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24375 for ac_func in ceill floorl
24376 do :
24377 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24378 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24379 eval as_val=\$$as_ac_var
24380 if test "x$as_val" = x""yes; then :
24381 cat >>confdefs.h <<_ACEOF
24382 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24383 _ACEOF
24386 done
24388 else
24389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24390 $as_echo_n "checking for _long double round functions... " >&6; }
24391 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24392 $as_echo_n "(cached) " >&6
24393 else
24396 ac_ext=cpp
24397 ac_cpp='$CXXCPP $CPPFLAGS'
24398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24403 /* end confdefs.h. */
24404 #include <math.h>
24406 main ()
24408 _ceill (0); _floorl (0);
24410 return 0;
24412 _ACEOF
24413 if ac_fn_cxx_try_compile "$LINENO"; then :
24414 glibcxx_cv_func__long_double_round_use=yes
24415 else
24416 glibcxx_cv_func__long_double_round_use=no
24418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24419 ac_ext=c
24420 ac_cpp='$CPP $CPPFLAGS'
24421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24428 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24429 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24430 for ac_func in _ceill _floorl
24431 do :
24432 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24433 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24434 eval as_val=\$$as_ac_var
24435 if test "x$as_val" = x""yes; then :
24436 cat >>confdefs.h <<_ACEOF
24437 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24438 _ACEOF
24441 done
24451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24452 $as_echo_n "checking for isnanl declaration... " >&6; }
24453 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24454 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24455 $as_echo_n "(cached) " >&6
24456 else
24459 ac_ext=cpp
24460 ac_cpp='$CXXCPP $CPPFLAGS'
24461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24466 /* end confdefs.h. */
24467 #include <math.h>
24468 #ifdef HAVE_IEEEFP_H
24469 #include <ieeefp.h>
24470 #endif
24473 main ()
24475 isnanl(0);
24477 return 0;
24479 _ACEOF
24480 if ac_fn_cxx_try_compile "$LINENO"; then :
24481 glibcxx_cv_func_isnanl_use=yes
24482 else
24483 glibcxx_cv_func_isnanl_use=no
24485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24486 ac_ext=c
24487 ac_cpp='$CPP $CPPFLAGS'
24488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24497 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24499 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24500 for ac_func in isnanl
24501 do :
24502 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24503 if test "x$ac_cv_func_isnanl" = x""yes; then :
24504 cat >>confdefs.h <<_ACEOF
24505 #define HAVE_ISNANL 1
24506 _ACEOF
24509 done
24511 else
24513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24514 $as_echo_n "checking for _isnanl declaration... " >&6; }
24515 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24516 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24517 $as_echo_n "(cached) " >&6
24518 else
24521 ac_ext=cpp
24522 ac_cpp='$CXXCPP $CPPFLAGS'
24523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24528 /* end confdefs.h. */
24529 #include <math.h>
24530 #ifdef HAVE_IEEEFP_H
24531 #include <ieeefp.h>
24532 #endif
24535 main ()
24537 _isnanl(0);
24539 return 0;
24541 _ACEOF
24542 if ac_fn_cxx_try_compile "$LINENO"; then :
24543 glibcxx_cv_func__isnanl_use=yes
24544 else
24545 glibcxx_cv_func__isnanl_use=no
24547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24548 ac_ext=c
24549 ac_cpp='$CPP $CPPFLAGS'
24550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24559 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24561 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24562 for ac_func in _isnanl
24563 do :
24564 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24565 if test "x$ac_cv_func__isnanl" = x""yes; then :
24566 cat >>confdefs.h <<_ACEOF
24567 #define HAVE__ISNANL 1
24568 _ACEOF
24571 done
24580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24581 $as_echo_n "checking for isinfl declaration... " >&6; }
24582 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24583 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24584 $as_echo_n "(cached) " >&6
24585 else
24588 ac_ext=cpp
24589 ac_cpp='$CXXCPP $CPPFLAGS'
24590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24595 /* end confdefs.h. */
24596 #include <math.h>
24597 #ifdef HAVE_IEEEFP_H
24598 #include <ieeefp.h>
24599 #endif
24602 main ()
24604 isinfl(0);
24606 return 0;
24608 _ACEOF
24609 if ac_fn_cxx_try_compile "$LINENO"; then :
24610 glibcxx_cv_func_isinfl_use=yes
24611 else
24612 glibcxx_cv_func_isinfl_use=no
24614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24615 ac_ext=c
24616 ac_cpp='$CPP $CPPFLAGS'
24617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24626 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24628 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24629 for ac_func in isinfl
24630 do :
24631 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24632 if test "x$ac_cv_func_isinfl" = x""yes; then :
24633 cat >>confdefs.h <<_ACEOF
24634 #define HAVE_ISINFL 1
24635 _ACEOF
24638 done
24640 else
24642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24643 $as_echo_n "checking for _isinfl declaration... " >&6; }
24644 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24645 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24646 $as_echo_n "(cached) " >&6
24647 else
24650 ac_ext=cpp
24651 ac_cpp='$CXXCPP $CPPFLAGS'
24652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24657 /* end confdefs.h. */
24658 #include <math.h>
24659 #ifdef HAVE_IEEEFP_H
24660 #include <ieeefp.h>
24661 #endif
24664 main ()
24666 _isinfl(0);
24668 return 0;
24670 _ACEOF
24671 if ac_fn_cxx_try_compile "$LINENO"; then :
24672 glibcxx_cv_func__isinfl_use=yes
24673 else
24674 glibcxx_cv_func__isinfl_use=no
24676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24677 ac_ext=c
24678 ac_cpp='$CPP $CPPFLAGS'
24679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24688 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24690 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24691 for ac_func in _isinfl
24692 do :
24693 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24694 if test "x$ac_cv_func__isinfl" = x""yes; then :
24695 cat >>confdefs.h <<_ACEOF
24696 #define HAVE__ISINFL 1
24697 _ACEOF
24700 done
24709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24710 $as_echo_n "checking for atan2l declaration... " >&6; }
24711 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24712 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24713 $as_echo_n "(cached) " >&6
24714 else
24717 ac_ext=cpp
24718 ac_cpp='$CXXCPP $CPPFLAGS'
24719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24724 /* end confdefs.h. */
24725 #include <math.h>
24727 main ()
24729 atan2l(0, 0);
24731 return 0;
24733 _ACEOF
24734 if ac_fn_cxx_try_compile "$LINENO"; then :
24735 glibcxx_cv_func_atan2l_use=yes
24736 else
24737 glibcxx_cv_func_atan2l_use=no
24739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24740 ac_ext=c
24741 ac_cpp='$CPP $CPPFLAGS'
24742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24751 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24753 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24754 for ac_func in atan2l
24755 do :
24756 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24757 if test "x$ac_cv_func_atan2l" = x""yes; then :
24758 cat >>confdefs.h <<_ACEOF
24759 #define HAVE_ATAN2L 1
24760 _ACEOF
24763 done
24765 else
24767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24768 $as_echo_n "checking for _atan2l declaration... " >&6; }
24769 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24770 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24771 $as_echo_n "(cached) " >&6
24772 else
24775 ac_ext=cpp
24776 ac_cpp='$CXXCPP $CPPFLAGS'
24777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24782 /* end confdefs.h. */
24783 #include <math.h>
24785 main ()
24787 _atan2l(0, 0);
24789 return 0;
24791 _ACEOF
24792 if ac_fn_cxx_try_compile "$LINENO"; then :
24793 glibcxx_cv_func__atan2l_use=yes
24794 else
24795 glibcxx_cv_func__atan2l_use=no
24797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24798 ac_ext=c
24799 ac_cpp='$CPP $CPPFLAGS'
24800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24809 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24811 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24812 for ac_func in _atan2l
24813 do :
24814 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24815 if test "x$ac_cv_func__atan2l" = x""yes; then :
24816 cat >>confdefs.h <<_ACEOF
24817 #define HAVE__ATAN2L 1
24818 _ACEOF
24821 done
24830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24831 $as_echo_n "checking for expl declaration... " >&6; }
24832 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24833 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24834 $as_echo_n "(cached) " >&6
24835 else
24838 ac_ext=cpp
24839 ac_cpp='$CXXCPP $CPPFLAGS'
24840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24845 /* end confdefs.h. */
24846 #include <math.h>
24847 #ifdef HAVE_IEEEFP_H
24848 #include <ieeefp.h>
24849 #endif
24852 main ()
24854 expl(0);
24856 return 0;
24858 _ACEOF
24859 if ac_fn_cxx_try_compile "$LINENO"; then :
24860 glibcxx_cv_func_expl_use=yes
24861 else
24862 glibcxx_cv_func_expl_use=no
24864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24865 ac_ext=c
24866 ac_cpp='$CPP $CPPFLAGS'
24867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24876 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24878 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24879 for ac_func in expl
24880 do :
24881 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24882 if test "x$ac_cv_func_expl" = x""yes; then :
24883 cat >>confdefs.h <<_ACEOF
24884 #define HAVE_EXPL 1
24885 _ACEOF
24888 done
24890 else
24892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24893 $as_echo_n "checking for _expl declaration... " >&6; }
24894 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24895 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24896 $as_echo_n "(cached) " >&6
24897 else
24900 ac_ext=cpp
24901 ac_cpp='$CXXCPP $CPPFLAGS'
24902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24907 /* end confdefs.h. */
24908 #include <math.h>
24909 #ifdef HAVE_IEEEFP_H
24910 #include <ieeefp.h>
24911 #endif
24914 main ()
24916 _expl(0);
24918 return 0;
24920 _ACEOF
24921 if ac_fn_cxx_try_compile "$LINENO"; then :
24922 glibcxx_cv_func__expl_use=yes
24923 else
24924 glibcxx_cv_func__expl_use=no
24926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24927 ac_ext=c
24928 ac_cpp='$CPP $CPPFLAGS'
24929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24938 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24940 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24941 for ac_func in _expl
24942 do :
24943 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24944 if test "x$ac_cv_func__expl" = x""yes; then :
24945 cat >>confdefs.h <<_ACEOF
24946 #define HAVE__EXPL 1
24947 _ACEOF
24950 done
24959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24960 $as_echo_n "checking for fabsl declaration... " >&6; }
24961 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24962 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24963 $as_echo_n "(cached) " >&6
24964 else
24967 ac_ext=cpp
24968 ac_cpp='$CXXCPP $CPPFLAGS'
24969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24974 /* end confdefs.h. */
24975 #include <math.h>
24976 #ifdef HAVE_IEEEFP_H
24977 #include <ieeefp.h>
24978 #endif
24981 main ()
24983 fabsl(0);
24985 return 0;
24987 _ACEOF
24988 if ac_fn_cxx_try_compile "$LINENO"; then :
24989 glibcxx_cv_func_fabsl_use=yes
24990 else
24991 glibcxx_cv_func_fabsl_use=no
24993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24994 ac_ext=c
24995 ac_cpp='$CPP $CPPFLAGS'
24996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25005 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25007 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25008 for ac_func in fabsl
25009 do :
25010 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25011 if test "x$ac_cv_func_fabsl" = x""yes; then :
25012 cat >>confdefs.h <<_ACEOF
25013 #define HAVE_FABSL 1
25014 _ACEOF
25017 done
25019 else
25021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25022 $as_echo_n "checking for _fabsl declaration... " >&6; }
25023 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25024 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25025 $as_echo_n "(cached) " >&6
25026 else
25029 ac_ext=cpp
25030 ac_cpp='$CXXCPP $CPPFLAGS'
25031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25036 /* end confdefs.h. */
25037 #include <math.h>
25038 #ifdef HAVE_IEEEFP_H
25039 #include <ieeefp.h>
25040 #endif
25043 main ()
25045 _fabsl(0);
25047 return 0;
25049 _ACEOF
25050 if ac_fn_cxx_try_compile "$LINENO"; then :
25051 glibcxx_cv_func__fabsl_use=yes
25052 else
25053 glibcxx_cv_func__fabsl_use=no
25055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25056 ac_ext=c
25057 ac_cpp='$CPP $CPPFLAGS'
25058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25067 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25069 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25070 for ac_func in _fabsl
25071 do :
25072 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25073 if test "x$ac_cv_func__fabsl" = x""yes; then :
25074 cat >>confdefs.h <<_ACEOF
25075 #define HAVE__FABSL 1
25076 _ACEOF
25079 done
25088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25089 $as_echo_n "checking for fmodl declaration... " >&6; }
25090 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25091 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25092 $as_echo_n "(cached) " >&6
25093 else
25096 ac_ext=cpp
25097 ac_cpp='$CXXCPP $CPPFLAGS'
25098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25103 /* end confdefs.h. */
25104 #include <math.h>
25106 main ()
25108 fmodl(0, 0);
25110 return 0;
25112 _ACEOF
25113 if ac_fn_cxx_try_compile "$LINENO"; then :
25114 glibcxx_cv_func_fmodl_use=yes
25115 else
25116 glibcxx_cv_func_fmodl_use=no
25118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25119 ac_ext=c
25120 ac_cpp='$CPP $CPPFLAGS'
25121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25130 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25132 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25133 for ac_func in fmodl
25134 do :
25135 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25136 if test "x$ac_cv_func_fmodl" = x""yes; then :
25137 cat >>confdefs.h <<_ACEOF
25138 #define HAVE_FMODL 1
25139 _ACEOF
25142 done
25144 else
25146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25147 $as_echo_n "checking for _fmodl declaration... " >&6; }
25148 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25149 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25150 $as_echo_n "(cached) " >&6
25151 else
25154 ac_ext=cpp
25155 ac_cpp='$CXXCPP $CPPFLAGS'
25156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25161 /* end confdefs.h. */
25162 #include <math.h>
25164 main ()
25166 _fmodl(0, 0);
25168 return 0;
25170 _ACEOF
25171 if ac_fn_cxx_try_compile "$LINENO"; then :
25172 glibcxx_cv_func__fmodl_use=yes
25173 else
25174 glibcxx_cv_func__fmodl_use=no
25176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25177 ac_ext=c
25178 ac_cpp='$CPP $CPPFLAGS'
25179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25188 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25190 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25191 for ac_func in _fmodl
25192 do :
25193 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25194 if test "x$ac_cv_func__fmodl" = x""yes; then :
25195 cat >>confdefs.h <<_ACEOF
25196 #define HAVE__FMODL 1
25197 _ACEOF
25200 done
25209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25210 $as_echo_n "checking for frexpl declaration... " >&6; }
25211 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25212 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25213 $as_echo_n "(cached) " >&6
25214 else
25217 ac_ext=cpp
25218 ac_cpp='$CXXCPP $CPPFLAGS'
25219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25224 /* end confdefs.h. */
25225 #include <math.h>
25227 main ()
25229 frexpl(0, 0);
25231 return 0;
25233 _ACEOF
25234 if ac_fn_cxx_try_compile "$LINENO"; then :
25235 glibcxx_cv_func_frexpl_use=yes
25236 else
25237 glibcxx_cv_func_frexpl_use=no
25239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25240 ac_ext=c
25241 ac_cpp='$CPP $CPPFLAGS'
25242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25251 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25253 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25254 for ac_func in frexpl
25255 do :
25256 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25257 if test "x$ac_cv_func_frexpl" = x""yes; then :
25258 cat >>confdefs.h <<_ACEOF
25259 #define HAVE_FREXPL 1
25260 _ACEOF
25263 done
25265 else
25267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25268 $as_echo_n "checking for _frexpl declaration... " >&6; }
25269 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25270 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25271 $as_echo_n "(cached) " >&6
25272 else
25275 ac_ext=cpp
25276 ac_cpp='$CXXCPP $CPPFLAGS'
25277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25282 /* end confdefs.h. */
25283 #include <math.h>
25285 main ()
25287 _frexpl(0, 0);
25289 return 0;
25291 _ACEOF
25292 if ac_fn_cxx_try_compile "$LINENO"; then :
25293 glibcxx_cv_func__frexpl_use=yes
25294 else
25295 glibcxx_cv_func__frexpl_use=no
25297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25298 ac_ext=c
25299 ac_cpp='$CPP $CPPFLAGS'
25300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25309 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25311 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25312 for ac_func in _frexpl
25313 do :
25314 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25315 if test "x$ac_cv_func__frexpl" = x""yes; then :
25316 cat >>confdefs.h <<_ACEOF
25317 #define HAVE__FREXPL 1
25318 _ACEOF
25321 done
25330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25331 $as_echo_n "checking for hypotl declaration... " >&6; }
25332 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25333 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25334 $as_echo_n "(cached) " >&6
25335 else
25338 ac_ext=cpp
25339 ac_cpp='$CXXCPP $CPPFLAGS'
25340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25345 /* end confdefs.h. */
25346 #include <math.h>
25348 main ()
25350 hypotl(0, 0);
25352 return 0;
25354 _ACEOF
25355 if ac_fn_cxx_try_compile "$LINENO"; then :
25356 glibcxx_cv_func_hypotl_use=yes
25357 else
25358 glibcxx_cv_func_hypotl_use=no
25360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25361 ac_ext=c
25362 ac_cpp='$CPP $CPPFLAGS'
25363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25372 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25374 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25375 for ac_func in hypotl
25376 do :
25377 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25378 if test "x$ac_cv_func_hypotl" = x""yes; then :
25379 cat >>confdefs.h <<_ACEOF
25380 #define HAVE_HYPOTL 1
25381 _ACEOF
25384 done
25386 else
25388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25389 $as_echo_n "checking for _hypotl declaration... " >&6; }
25390 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25391 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25392 $as_echo_n "(cached) " >&6
25393 else
25396 ac_ext=cpp
25397 ac_cpp='$CXXCPP $CPPFLAGS'
25398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25403 /* end confdefs.h. */
25404 #include <math.h>
25406 main ()
25408 _hypotl(0, 0);
25410 return 0;
25412 _ACEOF
25413 if ac_fn_cxx_try_compile "$LINENO"; then :
25414 glibcxx_cv_func__hypotl_use=yes
25415 else
25416 glibcxx_cv_func__hypotl_use=no
25418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25419 ac_ext=c
25420 ac_cpp='$CPP $CPPFLAGS'
25421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25430 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25432 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25433 for ac_func in _hypotl
25434 do :
25435 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25436 if test "x$ac_cv_func__hypotl" = x""yes; then :
25437 cat >>confdefs.h <<_ACEOF
25438 #define HAVE__HYPOTL 1
25439 _ACEOF
25442 done
25451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25452 $as_echo_n "checking for ldexpl declaration... " >&6; }
25453 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25454 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25455 $as_echo_n "(cached) " >&6
25456 else
25459 ac_ext=cpp
25460 ac_cpp='$CXXCPP $CPPFLAGS'
25461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25466 /* end confdefs.h. */
25467 #include <math.h>
25469 main ()
25471 ldexpl(0, 0);
25473 return 0;
25475 _ACEOF
25476 if ac_fn_cxx_try_compile "$LINENO"; then :
25477 glibcxx_cv_func_ldexpl_use=yes
25478 else
25479 glibcxx_cv_func_ldexpl_use=no
25481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25482 ac_ext=c
25483 ac_cpp='$CPP $CPPFLAGS'
25484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25493 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25495 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25496 for ac_func in ldexpl
25497 do :
25498 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25499 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25500 cat >>confdefs.h <<_ACEOF
25501 #define HAVE_LDEXPL 1
25502 _ACEOF
25505 done
25507 else
25509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25510 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25511 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25512 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25513 $as_echo_n "(cached) " >&6
25514 else
25517 ac_ext=cpp
25518 ac_cpp='$CXXCPP $CPPFLAGS'
25519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25524 /* end confdefs.h. */
25525 #include <math.h>
25527 main ()
25529 _ldexpl(0, 0);
25531 return 0;
25533 _ACEOF
25534 if ac_fn_cxx_try_compile "$LINENO"; then :
25535 glibcxx_cv_func__ldexpl_use=yes
25536 else
25537 glibcxx_cv_func__ldexpl_use=no
25539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25540 ac_ext=c
25541 ac_cpp='$CPP $CPPFLAGS'
25542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25551 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25553 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25554 for ac_func in _ldexpl
25555 do :
25556 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25557 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25558 cat >>confdefs.h <<_ACEOF
25559 #define HAVE__LDEXPL 1
25560 _ACEOF
25563 done
25572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25573 $as_echo_n "checking for logl declaration... " >&6; }
25574 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25575 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25576 $as_echo_n "(cached) " >&6
25577 else
25580 ac_ext=cpp
25581 ac_cpp='$CXXCPP $CPPFLAGS'
25582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25587 /* end confdefs.h. */
25588 #include <math.h>
25589 #ifdef HAVE_IEEEFP_H
25590 #include <ieeefp.h>
25591 #endif
25594 main ()
25596 logl(0);
25598 return 0;
25600 _ACEOF
25601 if ac_fn_cxx_try_compile "$LINENO"; then :
25602 glibcxx_cv_func_logl_use=yes
25603 else
25604 glibcxx_cv_func_logl_use=no
25606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25607 ac_ext=c
25608 ac_cpp='$CPP $CPPFLAGS'
25609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25618 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25620 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25621 for ac_func in logl
25622 do :
25623 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25624 if test "x$ac_cv_func_logl" = x""yes; then :
25625 cat >>confdefs.h <<_ACEOF
25626 #define HAVE_LOGL 1
25627 _ACEOF
25630 done
25632 else
25634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25635 $as_echo_n "checking for _logl declaration... " >&6; }
25636 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25637 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25638 $as_echo_n "(cached) " >&6
25639 else
25642 ac_ext=cpp
25643 ac_cpp='$CXXCPP $CPPFLAGS'
25644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25649 /* end confdefs.h. */
25650 #include <math.h>
25651 #ifdef HAVE_IEEEFP_H
25652 #include <ieeefp.h>
25653 #endif
25656 main ()
25658 _logl(0);
25660 return 0;
25662 _ACEOF
25663 if ac_fn_cxx_try_compile "$LINENO"; then :
25664 glibcxx_cv_func__logl_use=yes
25665 else
25666 glibcxx_cv_func__logl_use=no
25668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25669 ac_ext=c
25670 ac_cpp='$CPP $CPPFLAGS'
25671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25680 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25682 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25683 for ac_func in _logl
25684 do :
25685 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25686 if test "x$ac_cv_func__logl" = x""yes; then :
25687 cat >>confdefs.h <<_ACEOF
25688 #define HAVE__LOGL 1
25689 _ACEOF
25692 done
25701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25702 $as_echo_n "checking for log10l declaration... " >&6; }
25703 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25704 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25705 $as_echo_n "(cached) " >&6
25706 else
25709 ac_ext=cpp
25710 ac_cpp='$CXXCPP $CPPFLAGS'
25711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25716 /* end confdefs.h. */
25717 #include <math.h>
25718 #ifdef HAVE_IEEEFP_H
25719 #include <ieeefp.h>
25720 #endif
25723 main ()
25725 log10l(0);
25727 return 0;
25729 _ACEOF
25730 if ac_fn_cxx_try_compile "$LINENO"; then :
25731 glibcxx_cv_func_log10l_use=yes
25732 else
25733 glibcxx_cv_func_log10l_use=no
25735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25736 ac_ext=c
25737 ac_cpp='$CPP $CPPFLAGS'
25738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25747 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25749 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25750 for ac_func in log10l
25751 do :
25752 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25753 if test "x$ac_cv_func_log10l" = x""yes; then :
25754 cat >>confdefs.h <<_ACEOF
25755 #define HAVE_LOG10L 1
25756 _ACEOF
25759 done
25761 else
25763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25764 $as_echo_n "checking for _log10l declaration... " >&6; }
25765 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25766 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25767 $as_echo_n "(cached) " >&6
25768 else
25771 ac_ext=cpp
25772 ac_cpp='$CXXCPP $CPPFLAGS'
25773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25778 /* end confdefs.h. */
25779 #include <math.h>
25780 #ifdef HAVE_IEEEFP_H
25781 #include <ieeefp.h>
25782 #endif
25785 main ()
25787 _log10l(0);
25789 return 0;
25791 _ACEOF
25792 if ac_fn_cxx_try_compile "$LINENO"; then :
25793 glibcxx_cv_func__log10l_use=yes
25794 else
25795 glibcxx_cv_func__log10l_use=no
25797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25798 ac_ext=c
25799 ac_cpp='$CPP $CPPFLAGS'
25800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25809 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25811 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25812 for ac_func in _log10l
25813 do :
25814 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25815 if test "x$ac_cv_func__log10l" = x""yes; then :
25816 cat >>confdefs.h <<_ACEOF
25817 #define HAVE__LOG10L 1
25818 _ACEOF
25821 done
25830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25831 $as_echo_n "checking for modfl declaration... " >&6; }
25832 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25833 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25834 $as_echo_n "(cached) " >&6
25835 else
25838 ac_ext=cpp
25839 ac_cpp='$CXXCPP $CPPFLAGS'
25840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25845 /* end confdefs.h. */
25846 #include <math.h>
25848 main ()
25850 modfl(0, 0);
25852 return 0;
25854 _ACEOF
25855 if ac_fn_cxx_try_compile "$LINENO"; then :
25856 glibcxx_cv_func_modfl_use=yes
25857 else
25858 glibcxx_cv_func_modfl_use=no
25860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25861 ac_ext=c
25862 ac_cpp='$CPP $CPPFLAGS'
25863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25872 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25874 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25875 for ac_func in modfl
25876 do :
25877 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25878 if test "x$ac_cv_func_modfl" = x""yes; then :
25879 cat >>confdefs.h <<_ACEOF
25880 #define HAVE_MODFL 1
25881 _ACEOF
25884 done
25886 else
25888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25889 $as_echo_n "checking for _modfl declaration... " >&6; }
25890 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25891 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25892 $as_echo_n "(cached) " >&6
25893 else
25896 ac_ext=cpp
25897 ac_cpp='$CXXCPP $CPPFLAGS'
25898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25903 /* end confdefs.h. */
25904 #include <math.h>
25906 main ()
25908 _modfl(0, 0);
25910 return 0;
25912 _ACEOF
25913 if ac_fn_cxx_try_compile "$LINENO"; then :
25914 glibcxx_cv_func__modfl_use=yes
25915 else
25916 glibcxx_cv_func__modfl_use=no
25918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25919 ac_ext=c
25920 ac_cpp='$CPP $CPPFLAGS'
25921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25930 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25932 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25933 for ac_func in _modfl
25934 do :
25935 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25936 if test "x$ac_cv_func__modfl" = x""yes; then :
25937 cat >>confdefs.h <<_ACEOF
25938 #define HAVE__MODFL 1
25939 _ACEOF
25942 done
25951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25952 $as_echo_n "checking for powl declaration... " >&6; }
25953 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25954 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25955 $as_echo_n "(cached) " >&6
25956 else
25959 ac_ext=cpp
25960 ac_cpp='$CXXCPP $CPPFLAGS'
25961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25966 /* end confdefs.h. */
25967 #include <math.h>
25969 main ()
25971 powl(0, 0);
25973 return 0;
25975 _ACEOF
25976 if ac_fn_cxx_try_compile "$LINENO"; then :
25977 glibcxx_cv_func_powl_use=yes
25978 else
25979 glibcxx_cv_func_powl_use=no
25981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25982 ac_ext=c
25983 ac_cpp='$CPP $CPPFLAGS'
25984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25993 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25995 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25996 for ac_func in powl
25997 do :
25998 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25999 if test "x$ac_cv_func_powl" = x""yes; then :
26000 cat >>confdefs.h <<_ACEOF
26001 #define HAVE_POWL 1
26002 _ACEOF
26005 done
26007 else
26009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26010 $as_echo_n "checking for _powl declaration... " >&6; }
26011 if test x${glibcxx_cv_func__powl_use+set} != xset; then
26012 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26013 $as_echo_n "(cached) " >&6
26014 else
26017 ac_ext=cpp
26018 ac_cpp='$CXXCPP $CPPFLAGS'
26019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26024 /* end confdefs.h. */
26025 #include <math.h>
26027 main ()
26029 _powl(0, 0);
26031 return 0;
26033 _ACEOF
26034 if ac_fn_cxx_try_compile "$LINENO"; then :
26035 glibcxx_cv_func__powl_use=yes
26036 else
26037 glibcxx_cv_func__powl_use=no
26039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26040 ac_ext=c
26041 ac_cpp='$CPP $CPPFLAGS'
26042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26051 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26053 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26054 for ac_func in _powl
26055 do :
26056 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26057 if test "x$ac_cv_func__powl" = x""yes; then :
26058 cat >>confdefs.h <<_ACEOF
26059 #define HAVE__POWL 1
26060 _ACEOF
26063 done
26072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26073 $as_echo_n "checking for sqrtl declaration... " >&6; }
26074 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26075 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26076 $as_echo_n "(cached) " >&6
26077 else
26080 ac_ext=cpp
26081 ac_cpp='$CXXCPP $CPPFLAGS'
26082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26087 /* end confdefs.h. */
26088 #include <math.h>
26089 #ifdef HAVE_IEEEFP_H
26090 #include <ieeefp.h>
26091 #endif
26094 main ()
26096 sqrtl(0);
26098 return 0;
26100 _ACEOF
26101 if ac_fn_cxx_try_compile "$LINENO"; then :
26102 glibcxx_cv_func_sqrtl_use=yes
26103 else
26104 glibcxx_cv_func_sqrtl_use=no
26106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26107 ac_ext=c
26108 ac_cpp='$CPP $CPPFLAGS'
26109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26118 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26120 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26121 for ac_func in sqrtl
26122 do :
26123 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26124 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26125 cat >>confdefs.h <<_ACEOF
26126 #define HAVE_SQRTL 1
26127 _ACEOF
26130 done
26132 else
26134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26135 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26136 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26137 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26138 $as_echo_n "(cached) " >&6
26139 else
26142 ac_ext=cpp
26143 ac_cpp='$CXXCPP $CPPFLAGS'
26144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26149 /* end confdefs.h. */
26150 #include <math.h>
26151 #ifdef HAVE_IEEEFP_H
26152 #include <ieeefp.h>
26153 #endif
26156 main ()
26158 _sqrtl(0);
26160 return 0;
26162 _ACEOF
26163 if ac_fn_cxx_try_compile "$LINENO"; then :
26164 glibcxx_cv_func__sqrtl_use=yes
26165 else
26166 glibcxx_cv_func__sqrtl_use=no
26168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26169 ac_ext=c
26170 ac_cpp='$CPP $CPPFLAGS'
26171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26180 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26182 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26183 for ac_func in _sqrtl
26184 do :
26185 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26186 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26187 cat >>confdefs.h <<_ACEOF
26188 #define HAVE__SQRTL 1
26189 _ACEOF
26192 done
26201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26202 $as_echo_n "checking for sincosl declaration... " >&6; }
26203 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26204 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26205 $as_echo_n "(cached) " >&6
26206 else
26209 ac_ext=cpp
26210 ac_cpp='$CXXCPP $CPPFLAGS'
26211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26216 /* end confdefs.h. */
26217 #include <math.h>
26219 main ()
26221 sincosl(0, 0, 0);
26223 return 0;
26225 _ACEOF
26226 if ac_fn_cxx_try_compile "$LINENO"; then :
26227 glibcxx_cv_func_sincosl_use=yes
26228 else
26229 glibcxx_cv_func_sincosl_use=no
26231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26232 ac_ext=c
26233 ac_cpp='$CPP $CPPFLAGS'
26234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26243 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26245 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26246 for ac_func in sincosl
26247 do :
26248 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26249 if test "x$ac_cv_func_sincosl" = x""yes; then :
26250 cat >>confdefs.h <<_ACEOF
26251 #define HAVE_SINCOSL 1
26252 _ACEOF
26255 done
26257 else
26259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26260 $as_echo_n "checking for _sincosl declaration... " >&6; }
26261 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26262 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26263 $as_echo_n "(cached) " >&6
26264 else
26267 ac_ext=cpp
26268 ac_cpp='$CXXCPP $CPPFLAGS'
26269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26274 /* end confdefs.h. */
26275 #include <math.h>
26277 main ()
26279 _sincosl(0, 0, 0);
26281 return 0;
26283 _ACEOF
26284 if ac_fn_cxx_try_compile "$LINENO"; then :
26285 glibcxx_cv_func__sincosl_use=yes
26286 else
26287 glibcxx_cv_func__sincosl_use=no
26289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26290 ac_ext=c
26291 ac_cpp='$CPP $CPPFLAGS'
26292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26301 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26303 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26304 for ac_func in _sincosl
26305 do :
26306 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26307 if test "x$ac_cv_func__sincosl" = x""yes; then :
26308 cat >>confdefs.h <<_ACEOF
26309 #define HAVE__SINCOSL 1
26310 _ACEOF
26313 done
26322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26323 $as_echo_n "checking for finitel declaration... " >&6; }
26324 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26325 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26326 $as_echo_n "(cached) " >&6
26327 else
26330 ac_ext=cpp
26331 ac_cpp='$CXXCPP $CPPFLAGS'
26332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26337 /* end confdefs.h. */
26338 #include <math.h>
26339 #ifdef HAVE_IEEEFP_H
26340 #include <ieeefp.h>
26341 #endif
26344 main ()
26346 finitel(0);
26348 return 0;
26350 _ACEOF
26351 if ac_fn_cxx_try_compile "$LINENO"; then :
26352 glibcxx_cv_func_finitel_use=yes
26353 else
26354 glibcxx_cv_func_finitel_use=no
26356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26357 ac_ext=c
26358 ac_cpp='$CPP $CPPFLAGS'
26359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26368 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26370 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26371 for ac_func in finitel
26372 do :
26373 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26374 if test "x$ac_cv_func_finitel" = x""yes; then :
26375 cat >>confdefs.h <<_ACEOF
26376 #define HAVE_FINITEL 1
26377 _ACEOF
26380 done
26382 else
26384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26385 $as_echo_n "checking for _finitel declaration... " >&6; }
26386 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26387 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26388 $as_echo_n "(cached) " >&6
26389 else
26392 ac_ext=cpp
26393 ac_cpp='$CXXCPP $CPPFLAGS'
26394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26399 /* end confdefs.h. */
26400 #include <math.h>
26401 #ifdef HAVE_IEEEFP_H
26402 #include <ieeefp.h>
26403 #endif
26406 main ()
26408 _finitel(0);
26410 return 0;
26412 _ACEOF
26413 if ac_fn_cxx_try_compile "$LINENO"; then :
26414 glibcxx_cv_func__finitel_use=yes
26415 else
26416 glibcxx_cv_func__finitel_use=no
26418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26419 ac_ext=c
26420 ac_cpp='$CPP $CPPFLAGS'
26421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26430 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26432 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26433 for ac_func in _finitel
26434 do :
26435 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26436 if test "x$ac_cv_func__finitel" = x""yes; then :
26437 cat >>confdefs.h <<_ACEOF
26438 #define HAVE__FINITEL 1
26439 _ACEOF
26442 done
26450 LIBS="$ac_save_LIBS"
26451 CXXFLAGS="$ac_save_CXXFLAGS"
26454 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26455 ac_save_CXXFLAGS="$CXXFLAGS"
26456 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26460 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26461 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26462 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26463 $as_echo_n "(cached) " >&6
26464 else
26467 ac_ext=cpp
26468 ac_cpp='$CXXCPP $CPPFLAGS'
26469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26474 /* end confdefs.h. */
26475 #include <stdlib.h>
26477 main ()
26479 at_quick_exit(0);
26481 return 0;
26483 _ACEOF
26484 if ac_fn_cxx_try_compile "$LINENO"; then :
26485 glibcxx_cv_func_at_quick_exit_use=yes
26486 else
26487 glibcxx_cv_func_at_quick_exit_use=no
26489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26490 ac_ext=c
26491 ac_cpp='$CPP $CPPFLAGS'
26492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26501 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26502 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26503 for ac_func in at_quick_exit
26504 do :
26505 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26506 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26507 cat >>confdefs.h <<_ACEOF
26508 #define HAVE_AT_QUICK_EXIT 1
26509 _ACEOF
26512 done
26517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26518 $as_echo_n "checking for quick_exit declaration... " >&6; }
26519 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26520 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26521 $as_echo_n "(cached) " >&6
26522 else
26525 ac_ext=cpp
26526 ac_cpp='$CXXCPP $CPPFLAGS'
26527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26532 /* end confdefs.h. */
26533 #include <stdlib.h>
26535 main ()
26537 quick_exit(0);
26539 return 0;
26541 _ACEOF
26542 if ac_fn_cxx_try_compile "$LINENO"; then :
26543 glibcxx_cv_func_quick_exit_use=yes
26544 else
26545 glibcxx_cv_func_quick_exit_use=no
26547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26548 ac_ext=c
26549 ac_cpp='$CPP $CPPFLAGS'
26550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26559 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26560 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26561 for ac_func in quick_exit
26562 do :
26563 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26564 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26565 cat >>confdefs.h <<_ACEOF
26566 #define HAVE_QUICK_EXIT 1
26567 _ACEOF
26570 done
26575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26576 $as_echo_n "checking for strtold declaration... " >&6; }
26577 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26578 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26579 $as_echo_n "(cached) " >&6
26580 else
26583 ac_ext=cpp
26584 ac_cpp='$CXXCPP $CPPFLAGS'
26585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26590 /* end confdefs.h. */
26591 #include <stdlib.h>
26593 main ()
26595 strtold(0, 0);
26597 return 0;
26599 _ACEOF
26600 if ac_fn_cxx_try_compile "$LINENO"; then :
26601 glibcxx_cv_func_strtold_use=yes
26602 else
26603 glibcxx_cv_func_strtold_use=no
26605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26606 ac_ext=c
26607 ac_cpp='$CPP $CPPFLAGS'
26608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26617 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26618 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26619 for ac_func in strtold
26620 do :
26621 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26622 if test "x$ac_cv_func_strtold" = x""yes; then :
26623 cat >>confdefs.h <<_ACEOF
26624 #define HAVE_STRTOLD 1
26625 _ACEOF
26628 done
26635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26636 $as_echo_n "checking for strtof declaration... " >&6; }
26637 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26638 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26639 $as_echo_n "(cached) " >&6
26640 else
26643 ac_ext=cpp
26644 ac_cpp='$CXXCPP $CPPFLAGS'
26645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26650 /* end confdefs.h. */
26651 #include <stdlib.h>
26653 main ()
26655 strtof(0, 0);
26657 return 0;
26659 _ACEOF
26660 if ac_fn_cxx_try_compile "$LINENO"; then :
26661 glibcxx_cv_func_strtof_use=yes
26662 else
26663 glibcxx_cv_func_strtof_use=no
26665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26666 ac_ext=c
26667 ac_cpp='$CPP $CPPFLAGS'
26668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26677 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26678 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26679 for ac_func in strtof
26680 do :
26681 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26682 if test "x$ac_cv_func_strtof" = x""yes; then :
26683 cat >>confdefs.h <<_ACEOF
26684 #define HAVE_STRTOF 1
26685 _ACEOF
26688 done
26695 CXXFLAGS="$ac_save_CXXFLAGS"
26698 # For /dev/random and /dev/urandom for TR1.
26701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26702 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26703 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26704 $as_echo_n "(cached) " >&6
26705 else
26707 if test -r /dev/random && test -r /dev/urandom; then
26708 ## For MSys environment the test above is detect as false-positive
26709 ## on mingw-targets. So disable it explicit for them.
26710 case ${target_os} in
26711 *mingw*) glibcxx_cv_random_tr1=no ;;
26712 *) glibcxx_cv_random_tr1=yes ;;
26713 esac
26714 else
26715 glibcxx_cv_random_tr1=no;
26720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26721 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26723 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26725 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26731 # For TLS support.
26734 # Check whether --enable-tls was given.
26735 if test "${enable_tls+set}" = set; then :
26736 enableval=$enable_tls;
26737 case "$enableval" in
26738 yes|no) ;;
26739 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26740 esac
26742 else
26743 enable_tls=yes
26747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26748 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26749 if test "${gcc_cv_have_tls+set}" = set; then :
26750 $as_echo_n "(cached) " >&6
26751 else
26753 if test "$cross_compiling" = yes; then :
26754 if test x$gcc_no_link = xyes; then
26755 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26758 /* end confdefs.h. */
26759 __thread int a; int b; int main() { return a = b; }
26760 _ACEOF
26761 if ac_fn_c_try_link "$LINENO"; then :
26762 chktls_save_LDFLAGS="$LDFLAGS"
26763 case $host in
26764 *-*-linux*)
26765 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26767 esac
26768 chktls_save_CFLAGS="$CFLAGS"
26769 CFLAGS="-fPIC $CFLAGS"
26770 if test x$gcc_no_link = xyes; then
26771 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26774 /* end confdefs.h. */
26775 int f() { return 0; }
26776 _ACEOF
26777 if ac_fn_c_try_link "$LINENO"; then :
26778 if test x$gcc_no_link = xyes; then
26779 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26782 /* end confdefs.h. */
26783 __thread int a; int b; int f() { return a = b; }
26784 _ACEOF
26785 if ac_fn_c_try_link "$LINENO"; then :
26786 gcc_cv_have_tls=yes
26787 else
26788 gcc_cv_have_tls=no
26790 rm -f core conftest.err conftest.$ac_objext \
26791 conftest$ac_exeext conftest.$ac_ext
26792 else
26793 gcc_cv_have_tls=yes
26795 rm -f core conftest.err conftest.$ac_objext \
26796 conftest$ac_exeext conftest.$ac_ext
26797 CFLAGS="$chktls_save_CFLAGS"
26798 LDFLAGS="$chktls_save_LDFLAGS"
26799 else
26800 gcc_cv_have_tls=no
26802 rm -f core conftest.err conftest.$ac_objext \
26803 conftest$ac_exeext conftest.$ac_ext
26806 else
26807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26808 /* end confdefs.h. */
26809 __thread int a; int b; int main() { return a = b; }
26810 _ACEOF
26811 if ac_fn_c_try_run "$LINENO"; then :
26812 chktls_save_LDFLAGS="$LDFLAGS"
26813 LDFLAGS="-static $LDFLAGS"
26814 if test x$gcc_no_link = xyes; then
26815 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26818 /* end confdefs.h. */
26819 int main() { return 0; }
26820 _ACEOF
26821 if ac_fn_c_try_link "$LINENO"; then :
26822 if test "$cross_compiling" = yes; then :
26823 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26824 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26825 as_fn_error "cannot run test program while cross compiling
26826 See \`config.log' for more details." "$LINENO" 5; }
26827 else
26828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26829 /* end confdefs.h. */
26830 __thread int a; int b; int main() { return a = b; }
26831 _ACEOF
26832 if ac_fn_c_try_run "$LINENO"; then :
26833 gcc_cv_have_tls=yes
26834 else
26835 gcc_cv_have_tls=no
26837 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26838 conftest.$ac_objext conftest.beam conftest.$ac_ext
26841 else
26842 gcc_cv_have_tls=yes
26844 rm -f core conftest.err conftest.$ac_objext \
26845 conftest$ac_exeext conftest.$ac_ext
26846 LDFLAGS="$chktls_save_LDFLAGS"
26847 if test $gcc_cv_have_tls = yes; then
26848 chktls_save_CFLAGS="$CFLAGS"
26849 thread_CFLAGS=failed
26850 for flag in '' '-pthread' '-lpthread'; do
26851 CFLAGS="$flag $chktls_save_CFLAGS"
26852 if test x$gcc_no_link = xyes; then
26853 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26856 /* end confdefs.h. */
26857 #include <pthread.h>
26858 void *g(void *d) { return NULL; }
26860 main ()
26862 pthread_t t; pthread_create(&t,NULL,g,NULL);
26864 return 0;
26866 _ACEOF
26867 if ac_fn_c_try_link "$LINENO"; then :
26868 thread_CFLAGS="$flag"
26870 rm -f core conftest.err conftest.$ac_objext \
26871 conftest$ac_exeext conftest.$ac_ext
26872 if test "X$thread_CFLAGS" != Xfailed; then
26873 break
26875 done
26876 CFLAGS="$chktls_save_CFLAGS"
26877 if test "X$thread_CFLAGS" != Xfailed; then
26878 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26879 if test "$cross_compiling" = yes; then :
26880 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26882 as_fn_error "cannot run test program while cross compiling
26883 See \`config.log' for more details." "$LINENO" 5; }
26884 else
26885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26886 /* end confdefs.h. */
26887 #include <pthread.h>
26888 __thread int a;
26889 static int *volatile a_in_other_thread;
26890 static void *
26891 thread_func (void *arg)
26893 a_in_other_thread = &a;
26894 return (void *)0;
26897 main ()
26899 pthread_t thread;
26900 void *thread_retval;
26901 int *volatile a_in_main_thread;
26902 a_in_main_thread = &a;
26903 if (pthread_create (&thread, (pthread_attr_t *)0,
26904 thread_func, (void *)0))
26905 return 0;
26906 if (pthread_join (thread, &thread_retval))
26907 return 0;
26908 return (a_in_other_thread == a_in_main_thread);
26910 return 0;
26912 _ACEOF
26913 if ac_fn_c_try_run "$LINENO"; then :
26914 gcc_cv_have_tls=yes
26915 else
26916 gcc_cv_have_tls=no
26918 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26919 conftest.$ac_objext conftest.beam conftest.$ac_ext
26922 CFLAGS="$chktls_save_CFLAGS"
26925 else
26926 gcc_cv_have_tls=no
26928 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26929 conftest.$ac_objext conftest.beam conftest.$ac_ext
26933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26934 $as_echo "$gcc_cv_have_tls" >&6; }
26935 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26937 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26941 for ac_func in __cxa_thread_atexit_impl
26942 do :
26943 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
26944 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
26945 cat >>confdefs.h <<_ACEOF
26946 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
26947 _ACEOF
26950 done
26953 # For iconv support.
26955 if test "X$prefix" = "XNONE"; then
26956 acl_final_prefix="$ac_default_prefix"
26957 else
26958 acl_final_prefix="$prefix"
26960 if test "X$exec_prefix" = "XNONE"; then
26961 acl_final_exec_prefix='${prefix}'
26962 else
26963 acl_final_exec_prefix="$exec_prefix"
26965 acl_save_prefix="$prefix"
26966 prefix="$acl_final_prefix"
26967 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26968 prefix="$acl_save_prefix"
26971 # Check whether --with-gnu-ld was given.
26972 if test "${with_gnu_ld+set}" = set; then :
26973 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26974 else
26975 with_gnu_ld=no
26978 # Prepare PATH_SEPARATOR.
26979 # The user is always right.
26980 if test "${PATH_SEPARATOR+set}" != set; then
26981 echo "#! /bin/sh" >conf$$.sh
26982 echo "exit 0" >>conf$$.sh
26983 chmod +x conf$$.sh
26984 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26985 PATH_SEPARATOR=';'
26986 else
26987 PATH_SEPARATOR=:
26989 rm -f conf$$.sh
26991 ac_prog=ld
26992 if test "$GCC" = yes; then
26993 # Check if gcc -print-prog-name=ld gives a path.
26994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26995 $as_echo_n "checking for ld used by GCC... " >&6; }
26996 case $host in
26997 *-*-mingw*)
26998 # gcc leaves a trailing carriage return which upsets mingw
26999 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27001 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27002 esac
27003 case $ac_prog in
27004 # Accept absolute paths.
27005 [\\/]* | [A-Za-z]:[\\/]*)
27006 re_direlt='/[^/][^/]*/\.\./'
27007 # Canonicalize the path of ld
27008 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27009 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27010 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27011 done
27012 test -z "$LD" && LD="$ac_prog"
27015 # If it fails, then pretend we aren't using GCC.
27016 ac_prog=ld
27019 # If it is relative, then search for the first ld in PATH.
27020 with_gnu_ld=unknown
27022 esac
27023 elif test "$with_gnu_ld" = yes; then
27024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27025 $as_echo_n "checking for GNU ld... " >&6; }
27026 else
27027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27028 $as_echo_n "checking for non-GNU ld... " >&6; }
27030 if test "${acl_cv_path_LD+set}" = set; then :
27031 $as_echo_n "(cached) " >&6
27032 else
27033 if test -z "$LD"; then
27034 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27035 for ac_dir in $PATH; do
27036 test -z "$ac_dir" && ac_dir=.
27037 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27038 acl_cv_path_LD="$ac_dir/$ac_prog"
27039 # Check to see if the program is GNU ld. I'd rather use --version,
27040 # but apparently some GNU ld's only accept -v.
27041 # Break only if it was the GNU/non-GNU ld that we prefer.
27042 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27043 test "$with_gnu_ld" != no && break
27044 else
27045 test "$with_gnu_ld" != yes && break
27048 done
27049 IFS="$ac_save_ifs"
27050 else
27051 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27055 LD="$acl_cv_path_LD"
27056 if test -n "$LD"; then
27057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27058 $as_echo "$LD" >&6; }
27059 else
27060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27061 $as_echo "no" >&6; }
27063 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27065 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27066 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27067 $as_echo_n "(cached) " >&6
27068 else
27069 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27070 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27071 acl_cv_prog_gnu_ld=yes
27072 else
27073 acl_cv_prog_gnu_ld=no
27076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27077 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27078 with_gnu_ld=$acl_cv_prog_gnu_ld
27082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27083 $as_echo_n "checking for shared library run path origin... " >&6; }
27084 if test "${acl_cv_rpath+set}" = set; then :
27085 $as_echo_n "(cached) " >&6
27086 else
27088 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27089 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27090 . ./conftest.sh
27091 rm -f ./conftest.sh
27092 acl_cv_rpath=done
27095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27096 $as_echo "$acl_cv_rpath" >&6; }
27097 wl="$acl_cv_wl"
27098 libext="$acl_cv_libext"
27099 shlibext="$acl_cv_shlibext"
27100 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27101 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27102 hardcode_direct="$acl_cv_hardcode_direct"
27103 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27104 # Check whether --enable-rpath was given.
27105 if test "${enable_rpath+set}" = set; then :
27106 enableval=$enable_rpath; :
27107 else
27108 enable_rpath=yes
27118 use_additional=yes
27120 acl_save_prefix="$prefix"
27121 prefix="$acl_final_prefix"
27122 acl_save_exec_prefix="$exec_prefix"
27123 exec_prefix="$acl_final_exec_prefix"
27125 eval additional_includedir=\"$includedir\"
27126 eval additional_libdir=\"$libdir\"
27128 exec_prefix="$acl_save_exec_prefix"
27129 prefix="$acl_save_prefix"
27132 # Check whether --with-libiconv-prefix was given.
27133 if test "${with_libiconv_prefix+set}" = set; then :
27134 withval=$with_libiconv_prefix;
27135 if test "X$withval" = "Xno"; then
27136 use_additional=no
27137 else
27138 if test "X$withval" = "X"; then
27140 acl_save_prefix="$prefix"
27141 prefix="$acl_final_prefix"
27142 acl_save_exec_prefix="$exec_prefix"
27143 exec_prefix="$acl_final_exec_prefix"
27145 eval additional_includedir=\"$includedir\"
27146 eval additional_libdir=\"$libdir\"
27148 exec_prefix="$acl_save_exec_prefix"
27149 prefix="$acl_save_prefix"
27151 else
27152 additional_includedir="$withval/include"
27153 additional_libdir="$withval/lib"
27159 LIBICONV=
27160 LTLIBICONV=
27161 INCICONV=
27162 rpathdirs=
27163 ltrpathdirs=
27164 names_already_handled=
27165 names_next_round='iconv '
27166 while test -n "$names_next_round"; do
27167 names_this_round="$names_next_round"
27168 names_next_round=
27169 for name in $names_this_round; do
27170 already_handled=
27171 for n in $names_already_handled; do
27172 if test "$n" = "$name"; then
27173 already_handled=yes
27174 break
27176 done
27177 if test -z "$already_handled"; then
27178 names_already_handled="$names_already_handled $name"
27179 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27180 eval value=\"\$HAVE_LIB$uppername\"
27181 if test -n "$value"; then
27182 if test "$value" = yes; then
27183 eval value=\"\$LIB$uppername\"
27184 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27185 eval value=\"\$LTLIB$uppername\"
27186 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27187 else
27190 else
27191 found_dir=
27192 found_la=
27193 found_so=
27194 found_a=
27195 if test $use_additional = yes; then
27196 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27197 found_dir="$additional_libdir"
27198 found_so="$additional_libdir/lib$name.$shlibext"
27199 if test -f "$additional_libdir/lib$name.la"; then
27200 found_la="$additional_libdir/lib$name.la"
27202 else
27203 if test -f "$additional_libdir/lib$name.$libext"; then
27204 found_dir="$additional_libdir"
27205 found_a="$additional_libdir/lib$name.$libext"
27206 if test -f "$additional_libdir/lib$name.la"; then
27207 found_la="$additional_libdir/lib$name.la"
27212 if test "X$found_dir" = "X"; then
27213 for x in $LDFLAGS $LTLIBICONV; do
27215 acl_save_prefix="$prefix"
27216 prefix="$acl_final_prefix"
27217 acl_save_exec_prefix="$exec_prefix"
27218 exec_prefix="$acl_final_exec_prefix"
27219 eval x=\"$x\"
27220 exec_prefix="$acl_save_exec_prefix"
27221 prefix="$acl_save_prefix"
27223 case "$x" in
27224 -L*)
27225 dir=`echo "X$x" | sed -e 's/^X-L//'`
27226 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27227 found_dir="$dir"
27228 found_so="$dir/lib$name.$shlibext"
27229 if test -f "$dir/lib$name.la"; then
27230 found_la="$dir/lib$name.la"
27232 else
27233 if test -f "$dir/lib$name.$libext"; then
27234 found_dir="$dir"
27235 found_a="$dir/lib$name.$libext"
27236 if test -f "$dir/lib$name.la"; then
27237 found_la="$dir/lib$name.la"
27242 esac
27243 if test "X$found_dir" != "X"; then
27244 break
27246 done
27248 if test "X$found_dir" != "X"; then
27249 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27250 if test "X$found_so" != "X"; then
27251 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27252 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27253 else
27254 haveit=
27255 for x in $ltrpathdirs; do
27256 if test "X$x" = "X$found_dir"; then
27257 haveit=yes
27258 break
27260 done
27261 if test -z "$haveit"; then
27262 ltrpathdirs="$ltrpathdirs $found_dir"
27264 if test "$hardcode_direct" = yes; then
27265 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27266 else
27267 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27268 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27269 haveit=
27270 for x in $rpathdirs; do
27271 if test "X$x" = "X$found_dir"; then
27272 haveit=yes
27273 break
27275 done
27276 if test -z "$haveit"; then
27277 rpathdirs="$rpathdirs $found_dir"
27279 else
27280 haveit=
27281 for x in $LDFLAGS $LIBICONV; do
27283 acl_save_prefix="$prefix"
27284 prefix="$acl_final_prefix"
27285 acl_save_exec_prefix="$exec_prefix"
27286 exec_prefix="$acl_final_exec_prefix"
27287 eval x=\"$x\"
27288 exec_prefix="$acl_save_exec_prefix"
27289 prefix="$acl_save_prefix"
27291 if test "X$x" = "X-L$found_dir"; then
27292 haveit=yes
27293 break
27295 done
27296 if test -z "$haveit"; then
27297 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27299 if test "$hardcode_minus_L" != no; then
27300 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27301 else
27302 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27307 else
27308 if test "X$found_a" != "X"; then
27309 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27310 else
27311 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27314 additional_includedir=
27315 case "$found_dir" in
27316 */lib | */lib/)
27317 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27318 additional_includedir="$basedir/include"
27320 esac
27321 if test "X$additional_includedir" != "X"; then
27322 if test "X$additional_includedir" != "X/usr/include"; then
27323 haveit=
27324 if test "X$additional_includedir" = "X/usr/local/include"; then
27325 if test -n "$GCC"; then
27326 case $host_os in
27327 linux*) haveit=yes;;
27328 esac
27331 if test -z "$haveit"; then
27332 for x in $CPPFLAGS $INCICONV; do
27334 acl_save_prefix="$prefix"
27335 prefix="$acl_final_prefix"
27336 acl_save_exec_prefix="$exec_prefix"
27337 exec_prefix="$acl_final_exec_prefix"
27338 eval x=\"$x\"
27339 exec_prefix="$acl_save_exec_prefix"
27340 prefix="$acl_save_prefix"
27342 if test "X$x" = "X-I$additional_includedir"; then
27343 haveit=yes
27344 break
27346 done
27347 if test -z "$haveit"; then
27348 if test -d "$additional_includedir"; then
27349 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27355 if test -n "$found_la"; then
27356 save_libdir="$libdir"
27357 case "$found_la" in
27358 */* | *\\*) . "$found_la" ;;
27359 *) . "./$found_la" ;;
27360 esac
27361 libdir="$save_libdir"
27362 for dep in $dependency_libs; do
27363 case "$dep" in
27364 -L*)
27365 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27366 if test "X$additional_libdir" != "X/usr/lib"; then
27367 haveit=
27368 if test "X$additional_libdir" = "X/usr/local/lib"; then
27369 if test -n "$GCC"; then
27370 case $host_os in
27371 linux*) haveit=yes;;
27372 esac
27375 if test -z "$haveit"; then
27376 haveit=
27377 for x in $LDFLAGS $LIBICONV; do
27379 acl_save_prefix="$prefix"
27380 prefix="$acl_final_prefix"
27381 acl_save_exec_prefix="$exec_prefix"
27382 exec_prefix="$acl_final_exec_prefix"
27383 eval x=\"$x\"
27384 exec_prefix="$acl_save_exec_prefix"
27385 prefix="$acl_save_prefix"
27387 if test "X$x" = "X-L$additional_libdir"; then
27388 haveit=yes
27389 break
27391 done
27392 if test -z "$haveit"; then
27393 if test -d "$additional_libdir"; then
27394 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27397 haveit=
27398 for x in $LDFLAGS $LTLIBICONV; do
27400 acl_save_prefix="$prefix"
27401 prefix="$acl_final_prefix"
27402 acl_save_exec_prefix="$exec_prefix"
27403 exec_prefix="$acl_final_exec_prefix"
27404 eval x=\"$x\"
27405 exec_prefix="$acl_save_exec_prefix"
27406 prefix="$acl_save_prefix"
27408 if test "X$x" = "X-L$additional_libdir"; then
27409 haveit=yes
27410 break
27412 done
27413 if test -z "$haveit"; then
27414 if test -d "$additional_libdir"; then
27415 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27421 -R*)
27422 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27423 if test "$enable_rpath" != no; then
27424 haveit=
27425 for x in $rpathdirs; do
27426 if test "X$x" = "X$dir"; then
27427 haveit=yes
27428 break
27430 done
27431 if test -z "$haveit"; then
27432 rpathdirs="$rpathdirs $dir"
27434 haveit=
27435 for x in $ltrpathdirs; do
27436 if test "X$x" = "X$dir"; then
27437 haveit=yes
27438 break
27440 done
27441 if test -z "$haveit"; then
27442 ltrpathdirs="$ltrpathdirs $dir"
27446 -l*)
27447 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27449 *.la)
27450 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27453 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27454 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27456 esac
27457 done
27459 else
27460 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27461 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27465 done
27466 done
27467 if test "X$rpathdirs" != "X"; then
27468 if test -n "$hardcode_libdir_separator"; then
27469 alldirs=
27470 for found_dir in $rpathdirs; do
27471 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27472 done
27473 acl_save_libdir="$libdir"
27474 libdir="$alldirs"
27475 eval flag=\"$hardcode_libdir_flag_spec\"
27476 libdir="$acl_save_libdir"
27477 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27478 else
27479 for found_dir in $rpathdirs; do
27480 acl_save_libdir="$libdir"
27481 libdir="$found_dir"
27482 eval flag=\"$hardcode_libdir_flag_spec\"
27483 libdir="$acl_save_libdir"
27484 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27485 done
27488 if test "X$ltrpathdirs" != "X"; then
27489 for found_dir in $ltrpathdirs; do
27490 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27491 done
27500 am_save_CPPFLAGS="$CPPFLAGS"
27502 for element in $INCICONV; do
27503 haveit=
27504 for x in $CPPFLAGS; do
27506 acl_save_prefix="$prefix"
27507 prefix="$acl_final_prefix"
27508 acl_save_exec_prefix="$exec_prefix"
27509 exec_prefix="$acl_final_exec_prefix"
27510 eval x=\"$x\"
27511 exec_prefix="$acl_save_exec_prefix"
27512 prefix="$acl_save_prefix"
27514 if test "X$x" = "X$element"; then
27515 haveit=yes
27516 break
27518 done
27519 if test -z "$haveit"; then
27520 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27522 done
27525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27526 $as_echo_n "checking for iconv... " >&6; }
27527 if test "${am_cv_func_iconv+set}" = set; then :
27528 $as_echo_n "(cached) " >&6
27529 else
27531 am_cv_func_iconv="no, consider installing GNU libiconv"
27532 am_cv_lib_iconv=no
27533 if test x$gcc_no_link = xyes; then
27534 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27537 /* end confdefs.h. */
27538 #include <stdlib.h>
27539 #include <iconv.h>
27541 main ()
27543 iconv_t cd = iconv_open("","");
27544 iconv(cd,NULL,NULL,NULL,NULL);
27545 iconv_close(cd);
27547 return 0;
27549 _ACEOF
27550 if ac_fn_c_try_link "$LINENO"; then :
27551 am_cv_func_iconv=yes
27553 rm -f core conftest.err conftest.$ac_objext \
27554 conftest$ac_exeext conftest.$ac_ext
27555 if test "$am_cv_func_iconv" != yes; then
27556 am_save_LIBS="$LIBS"
27557 LIBS="$LIBS $LIBICONV"
27558 if test x$gcc_no_link = xyes; then
27559 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27562 /* end confdefs.h. */
27563 #include <stdlib.h>
27564 #include <iconv.h>
27566 main ()
27568 iconv_t cd = iconv_open("","");
27569 iconv(cd,NULL,NULL,NULL,NULL);
27570 iconv_close(cd);
27572 return 0;
27574 _ACEOF
27575 if ac_fn_c_try_link "$LINENO"; then :
27576 am_cv_lib_iconv=yes
27577 am_cv_func_iconv=yes
27579 rm -f core conftest.err conftest.$ac_objext \
27580 conftest$ac_exeext conftest.$ac_ext
27581 LIBS="$am_save_LIBS"
27585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27586 $as_echo "$am_cv_func_iconv" >&6; }
27587 if test "$am_cv_func_iconv" = yes; then
27589 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27592 if test "$am_cv_lib_iconv" = yes; then
27593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27594 $as_echo_n "checking how to link with libiconv... " >&6; }
27595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27596 $as_echo "$LIBICONV" >&6; }
27597 else
27598 CPPFLAGS="$am_save_CPPFLAGS"
27599 LIBICONV=
27600 LTLIBICONV=
27605 if test "$am_cv_func_iconv" = yes; then
27606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27607 $as_echo_n "checking for iconv declaration... " >&6; }
27608 if test "${am_cv_proto_iconv+set}" = set; then :
27609 $as_echo_n "(cached) " >&6
27610 else
27612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27613 /* end confdefs.h. */
27615 #include <stdlib.h>
27616 #include <iconv.h>
27617 extern
27618 #ifdef __cplusplus
27620 #endif
27621 #if defined(__STDC__) || defined(__cplusplus)
27622 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27623 #else
27624 size_t iconv();
27625 #endif
27628 main ()
27632 return 0;
27634 _ACEOF
27635 if ac_fn_c_try_compile "$LINENO"; then :
27636 am_cv_proto_iconv_arg1=""
27637 else
27638 am_cv_proto_iconv_arg1="const"
27640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27641 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);"
27644 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27646 }$am_cv_proto_iconv" >&5
27647 $as_echo "${ac_t:-
27648 }$am_cv_proto_iconv" >&6; }
27650 cat >>confdefs.h <<_ACEOF
27651 #define ICONV_CONST $am_cv_proto_iconv_arg1
27652 _ACEOF
27657 else
27659 # This lets us hard-code the functionality we know we'll have in the cross
27660 # target environment. "Let" is a sugar-coated word placed on an especially
27661 # dull and tedious hack, actually.
27663 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27664 # that involve linking, can't be used:
27665 # "cannot open sim-crt0.o"
27666 # "cannot open crt0.o"
27667 # etc. All this is because there currently exists no unified, consistent
27668 # way for top level CC information to be passed down to target directories:
27669 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27670 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27671 # crosses can be removed.
27673 # If Canadian cross, then don't pick up tools from the build directory.
27674 # Used only in GLIBCXX_EXPORT_INCLUDES.
27675 if test -n "$with_cross_host" &&
27676 test x"$build_alias" != x"$with_cross_host" &&
27677 test x"$build" != x"$target";
27678 then
27679 CANADIAN=yes
27680 else
27681 CANADIAN=no
27684 # Construct crosses by hand, eliminating bits that need ld...
27685 # GLIBCXX_CHECK_MATH_SUPPORT
27687 # First, test for "known" system libraries. We may be using newlib even
27688 # on a hosted environment.
27689 if test "x${with_newlib}" = "xyes"; then
27690 os_include_dir="os/newlib"
27691 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27694 # GLIBCXX_CHECK_STDLIB_SUPPORT
27695 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27698 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27700 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27702 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27704 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27706 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27708 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27710 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27712 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27714 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27716 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27718 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27720 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27722 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27724 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27726 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27728 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27730 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27732 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27734 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27736 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27738 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27740 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27743 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27745 else
27747 # Base decisions on target environment.
27748 case "${host}" in
27749 arm*-*-symbianelf*)
27750 # This is a freestanding configuration; there is nothing to do here.
27753 mips*-sde-elf*)
27754 # These definitions are for the SDE C library rather than newlib.
27755 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27758 # All these tests are for C++; save the language and the compiler flags.
27759 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27760 # found in GLIBCXX_CONFIGURE.
27762 ac_ext=cpp
27763 ac_cpp='$CXXCPP $CPPFLAGS'
27764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27768 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27769 ac_save_CXXFLAGS="$CXXFLAGS"
27771 # Check for maintainer-mode bits.
27772 if test x"$USE_MAINTAINER_MODE" = xno; then
27773 WERROR=''
27774 else
27775 WERROR='-Werror'
27778 # Check for -ffunction-sections -fdata-sections
27779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27780 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27781 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27783 /* end confdefs.h. */
27784 int foo; void bar() { };
27786 main ()
27790 return 0;
27792 _ACEOF
27793 if ac_fn_cxx_try_compile "$LINENO"; then :
27794 ac_fdsections=yes
27795 else
27796 ac_fdsections=no
27798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27799 if test "$ac_test_CXXFLAGS" = set; then
27800 CXXFLAGS="$ac_save_CXXFLAGS"
27801 else
27802 # this is the suspicious part
27803 CXXFLAGS=''
27805 if test x"$ac_fdsections" = x"yes"; then
27806 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27809 $as_echo "$ac_fdsections" >&6; }
27811 ac_ext=c
27812 ac_cpp='$CPP $CPPFLAGS'
27813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27821 # If we're not using GNU ld, then there's no point in even trying these
27822 # tests. Check for that first. We should have already tested for gld
27823 # by now (in libtool), but require it now just to be safe...
27824 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27825 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27829 # The name set by libtool depends on the version of libtool. Shame on us
27830 # for depending on an impl detail, but c'est la vie. Older versions used
27831 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27832 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27833 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27834 # set (hence we're using an older libtool), then set it.
27835 if test x${with_gnu_ld+set} != xset; then
27836 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27837 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27838 with_gnu_ld=no
27839 else
27840 with_gnu_ld=$ac_cv_prog_gnu_ld
27844 # Start by getting the version number. I think the libtool test already
27845 # does some of this, but throws away the result.
27846 glibcxx_ld_is_gold=no
27847 if test x"$with_gnu_ld" = x"yes"; then
27848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27849 $as_echo_n "checking for ld version... " >&6; }
27851 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27852 glibcxx_ld_is_gold=yes
27854 ldver=`$LD --version 2>/dev/null |
27855 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'`
27857 glibcxx_gnu_ld_version=`echo $ldver | \
27858 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27860 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27863 # Set --gc-sections.
27864 glibcxx_have_gc_sections=no
27865 if test "$glibcxx_ld_is_gold" = "yes"; then
27866 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27867 glibcxx_have_gc_sections=yes
27869 else
27870 glibcxx_gcsections_min_ld=21602
27871 if test x"$with_gnu_ld" = x"yes" &&
27872 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27873 glibcxx_have_gc_sections=yes
27876 if test "$glibcxx_have_gc_sections" = "yes"; then
27877 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27878 # NB: This flag only works reliably after 2.16.1. Configure tests
27879 # for this are difficult, so hard wire a value that should work.
27881 ac_test_CFLAGS="${CFLAGS+set}"
27882 ac_save_CFLAGS="$CFLAGS"
27883 CFLAGS='-Wl,--gc-sections'
27885 # Check for -Wl,--gc-sections
27886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27887 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27888 if test x$gcc_no_link = xyes; then
27889 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27892 /* end confdefs.h. */
27893 int one(void) { return 1; }
27894 int two(void) { return 2; }
27897 main ()
27899 two();
27901 return 0;
27903 _ACEOF
27904 if ac_fn_c_try_link "$LINENO"; then :
27905 ac_gcsections=yes
27906 else
27907 ac_gcsections=no
27909 rm -f core conftest.err conftest.$ac_objext \
27910 conftest$ac_exeext conftest.$ac_ext
27911 if test "$ac_gcsections" = "yes"; then
27912 rm -f conftest.c
27913 touch conftest.c
27914 if $CC -c conftest.c; then
27915 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27916 grep "Warning: gc-sections option ignored" > /dev/null; then
27917 ac_gcsections=no
27920 rm -f conftest.c conftest.o conftest
27922 if test "$ac_gcsections" = "yes"; then
27923 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27926 $as_echo "$ac_gcsections" >&6; }
27928 if test "$ac_test_CFLAGS" = set; then
27929 CFLAGS="$ac_save_CFLAGS"
27930 else
27931 # this is the suspicious part
27932 CFLAGS=''
27936 # Set -z,relro.
27937 # Note this is only for shared objects.
27938 ac_ld_relro=no
27939 if test x"$with_gnu_ld" = x"yes"; then
27940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27941 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27942 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27943 if test -n "$cxx_z_relo"; then
27944 OPT_LDFLAGS="-Wl,-z,relro"
27945 ac_ld_relro=yes
27947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27948 $as_echo "$ac_ld_relro" >&6; }
27951 # Set linker optimization flags.
27952 if test x"$with_gnu_ld" = x"yes"; then
27953 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27960 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27961 ac_save_CXXFLAGS="$CXXFLAGS"
27962 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27965 $as_echo_n "checking for sin in -lm... " >&6; }
27966 if test "${ac_cv_lib_m_sin+set}" = set; then :
27967 $as_echo_n "(cached) " >&6
27968 else
27969 ac_check_lib_save_LIBS=$LIBS
27970 LIBS="-lm $LIBS"
27971 if test x$gcc_no_link = xyes; then
27972 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27975 /* end confdefs.h. */
27977 /* Override any GCC internal prototype to avoid an error.
27978 Use char because int might match the return type of a GCC
27979 builtin and then its argument prototype would still apply. */
27980 #ifdef __cplusplus
27981 extern "C"
27982 #endif
27983 char sin ();
27985 main ()
27987 return sin ();
27989 return 0;
27991 _ACEOF
27992 if ac_fn_c_try_link "$LINENO"; then :
27993 ac_cv_lib_m_sin=yes
27994 else
27995 ac_cv_lib_m_sin=no
27997 rm -f core conftest.err conftest.$ac_objext \
27998 conftest$ac_exeext conftest.$ac_ext
27999 LIBS=$ac_check_lib_save_LIBS
28001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28002 $as_echo "$ac_cv_lib_m_sin" >&6; }
28003 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28004 libm="-lm"
28007 ac_save_LIBS="$LIBS"
28008 LIBS="$LIBS $libm"
28012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28013 $as_echo_n "checking for isinf declaration... " >&6; }
28014 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28015 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
28016 $as_echo_n "(cached) " >&6
28017 else
28020 ac_ext=cpp
28021 ac_cpp='$CXXCPP $CPPFLAGS'
28022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28027 /* end confdefs.h. */
28028 #include <math.h>
28029 #ifdef HAVE_IEEEFP_H
28030 #include <ieeefp.h>
28031 #endif
28034 main ()
28036 isinf(0);
28038 return 0;
28040 _ACEOF
28041 if ac_fn_cxx_try_compile "$LINENO"; then :
28042 glibcxx_cv_func_isinf_use=yes
28043 else
28044 glibcxx_cv_func_isinf_use=no
28046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28047 ac_ext=c
28048 ac_cpp='$CPP $CPPFLAGS'
28049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28058 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28060 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28061 for ac_func in isinf
28062 do :
28063 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28064 if test "x$ac_cv_func_isinf" = x""yes; then :
28065 cat >>confdefs.h <<_ACEOF
28066 #define HAVE_ISINF 1
28067 _ACEOF
28070 done
28072 else
28074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28075 $as_echo_n "checking for _isinf declaration... " >&6; }
28076 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28077 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28078 $as_echo_n "(cached) " >&6
28079 else
28082 ac_ext=cpp
28083 ac_cpp='$CXXCPP $CPPFLAGS'
28084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28089 /* end confdefs.h. */
28090 #include <math.h>
28091 #ifdef HAVE_IEEEFP_H
28092 #include <ieeefp.h>
28093 #endif
28096 main ()
28098 _isinf(0);
28100 return 0;
28102 _ACEOF
28103 if ac_fn_cxx_try_compile "$LINENO"; then :
28104 glibcxx_cv_func__isinf_use=yes
28105 else
28106 glibcxx_cv_func__isinf_use=no
28108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28109 ac_ext=c
28110 ac_cpp='$CPP $CPPFLAGS'
28111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28120 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28122 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28123 for ac_func in _isinf
28124 do :
28125 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28126 if test "x$ac_cv_func__isinf" = x""yes; then :
28127 cat >>confdefs.h <<_ACEOF
28128 #define HAVE__ISINF 1
28129 _ACEOF
28132 done
28141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28142 $as_echo_n "checking for isnan declaration... " >&6; }
28143 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28144 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28145 $as_echo_n "(cached) " >&6
28146 else
28149 ac_ext=cpp
28150 ac_cpp='$CXXCPP $CPPFLAGS'
28151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28156 /* end confdefs.h. */
28157 #include <math.h>
28158 #ifdef HAVE_IEEEFP_H
28159 #include <ieeefp.h>
28160 #endif
28163 main ()
28165 isnan(0);
28167 return 0;
28169 _ACEOF
28170 if ac_fn_cxx_try_compile "$LINENO"; then :
28171 glibcxx_cv_func_isnan_use=yes
28172 else
28173 glibcxx_cv_func_isnan_use=no
28175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28176 ac_ext=c
28177 ac_cpp='$CPP $CPPFLAGS'
28178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28187 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28189 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28190 for ac_func in isnan
28191 do :
28192 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28193 if test "x$ac_cv_func_isnan" = x""yes; then :
28194 cat >>confdefs.h <<_ACEOF
28195 #define HAVE_ISNAN 1
28196 _ACEOF
28199 done
28201 else
28203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28204 $as_echo_n "checking for _isnan declaration... " >&6; }
28205 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28206 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28207 $as_echo_n "(cached) " >&6
28208 else
28211 ac_ext=cpp
28212 ac_cpp='$CXXCPP $CPPFLAGS'
28213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28218 /* end confdefs.h. */
28219 #include <math.h>
28220 #ifdef HAVE_IEEEFP_H
28221 #include <ieeefp.h>
28222 #endif
28225 main ()
28227 _isnan(0);
28229 return 0;
28231 _ACEOF
28232 if ac_fn_cxx_try_compile "$LINENO"; then :
28233 glibcxx_cv_func__isnan_use=yes
28234 else
28235 glibcxx_cv_func__isnan_use=no
28237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28238 ac_ext=c
28239 ac_cpp='$CPP $CPPFLAGS'
28240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28249 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28251 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28252 for ac_func in _isnan
28253 do :
28254 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28255 if test "x$ac_cv_func__isnan" = x""yes; then :
28256 cat >>confdefs.h <<_ACEOF
28257 #define HAVE__ISNAN 1
28258 _ACEOF
28261 done
28270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28271 $as_echo_n "checking for finite declaration... " >&6; }
28272 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28273 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28274 $as_echo_n "(cached) " >&6
28275 else
28278 ac_ext=cpp
28279 ac_cpp='$CXXCPP $CPPFLAGS'
28280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28285 /* end confdefs.h. */
28286 #include <math.h>
28287 #ifdef HAVE_IEEEFP_H
28288 #include <ieeefp.h>
28289 #endif
28292 main ()
28294 finite(0);
28296 return 0;
28298 _ACEOF
28299 if ac_fn_cxx_try_compile "$LINENO"; then :
28300 glibcxx_cv_func_finite_use=yes
28301 else
28302 glibcxx_cv_func_finite_use=no
28304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28305 ac_ext=c
28306 ac_cpp='$CPP $CPPFLAGS'
28307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28316 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28318 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28319 for ac_func in finite
28320 do :
28321 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28322 if test "x$ac_cv_func_finite" = x""yes; then :
28323 cat >>confdefs.h <<_ACEOF
28324 #define HAVE_FINITE 1
28325 _ACEOF
28328 done
28330 else
28332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28333 $as_echo_n "checking for _finite declaration... " >&6; }
28334 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28335 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28336 $as_echo_n "(cached) " >&6
28337 else
28340 ac_ext=cpp
28341 ac_cpp='$CXXCPP $CPPFLAGS'
28342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28347 /* end confdefs.h. */
28348 #include <math.h>
28349 #ifdef HAVE_IEEEFP_H
28350 #include <ieeefp.h>
28351 #endif
28354 main ()
28356 _finite(0);
28358 return 0;
28360 _ACEOF
28361 if ac_fn_cxx_try_compile "$LINENO"; then :
28362 glibcxx_cv_func__finite_use=yes
28363 else
28364 glibcxx_cv_func__finite_use=no
28366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28367 ac_ext=c
28368 ac_cpp='$CPP $CPPFLAGS'
28369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28378 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28380 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28381 for ac_func in _finite
28382 do :
28383 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28384 if test "x$ac_cv_func__finite" = x""yes; then :
28385 cat >>confdefs.h <<_ACEOF
28386 #define HAVE__FINITE 1
28387 _ACEOF
28390 done
28399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28400 $as_echo_n "checking for sincos declaration... " >&6; }
28401 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28402 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28403 $as_echo_n "(cached) " >&6
28404 else
28407 ac_ext=cpp
28408 ac_cpp='$CXXCPP $CPPFLAGS'
28409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28414 /* end confdefs.h. */
28415 #include <math.h>
28417 main ()
28419 sincos(0, 0, 0);
28421 return 0;
28423 _ACEOF
28424 if ac_fn_cxx_try_compile "$LINENO"; then :
28425 glibcxx_cv_func_sincos_use=yes
28426 else
28427 glibcxx_cv_func_sincos_use=no
28429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28430 ac_ext=c
28431 ac_cpp='$CPP $CPPFLAGS'
28432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28441 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28443 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28444 for ac_func in sincos
28445 do :
28446 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28447 if test "x$ac_cv_func_sincos" = x""yes; then :
28448 cat >>confdefs.h <<_ACEOF
28449 #define HAVE_SINCOS 1
28450 _ACEOF
28453 done
28455 else
28457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28458 $as_echo_n "checking for _sincos declaration... " >&6; }
28459 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28460 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28461 $as_echo_n "(cached) " >&6
28462 else
28465 ac_ext=cpp
28466 ac_cpp='$CXXCPP $CPPFLAGS'
28467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28472 /* end confdefs.h. */
28473 #include <math.h>
28475 main ()
28477 _sincos(0, 0, 0);
28479 return 0;
28481 _ACEOF
28482 if ac_fn_cxx_try_compile "$LINENO"; then :
28483 glibcxx_cv_func__sincos_use=yes
28484 else
28485 glibcxx_cv_func__sincos_use=no
28487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28488 ac_ext=c
28489 ac_cpp='$CPP $CPPFLAGS'
28490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28499 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28501 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28502 for ac_func in _sincos
28503 do :
28504 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28505 if test "x$ac_cv_func__sincos" = x""yes; then :
28506 cat >>confdefs.h <<_ACEOF
28507 #define HAVE__SINCOS 1
28508 _ACEOF
28511 done
28520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28521 $as_echo_n "checking for fpclass declaration... " >&6; }
28522 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28523 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28524 $as_echo_n "(cached) " >&6
28525 else
28528 ac_ext=cpp
28529 ac_cpp='$CXXCPP $CPPFLAGS'
28530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28535 /* end confdefs.h. */
28536 #include <math.h>
28537 #ifdef HAVE_IEEEFP_H
28538 #include <ieeefp.h>
28539 #endif
28542 main ()
28544 fpclass(0);
28546 return 0;
28548 _ACEOF
28549 if ac_fn_cxx_try_compile "$LINENO"; then :
28550 glibcxx_cv_func_fpclass_use=yes
28551 else
28552 glibcxx_cv_func_fpclass_use=no
28554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28555 ac_ext=c
28556 ac_cpp='$CPP $CPPFLAGS'
28557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28566 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28568 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28569 for ac_func in fpclass
28570 do :
28571 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28572 if test "x$ac_cv_func_fpclass" = x""yes; then :
28573 cat >>confdefs.h <<_ACEOF
28574 #define HAVE_FPCLASS 1
28575 _ACEOF
28578 done
28580 else
28582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28583 $as_echo_n "checking for _fpclass declaration... " >&6; }
28584 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28585 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28586 $as_echo_n "(cached) " >&6
28587 else
28590 ac_ext=cpp
28591 ac_cpp='$CXXCPP $CPPFLAGS'
28592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28597 /* end confdefs.h. */
28598 #include <math.h>
28599 #ifdef HAVE_IEEEFP_H
28600 #include <ieeefp.h>
28601 #endif
28604 main ()
28606 _fpclass(0);
28608 return 0;
28610 _ACEOF
28611 if ac_fn_cxx_try_compile "$LINENO"; then :
28612 glibcxx_cv_func__fpclass_use=yes
28613 else
28614 glibcxx_cv_func__fpclass_use=no
28616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28617 ac_ext=c
28618 ac_cpp='$CPP $CPPFLAGS'
28619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28628 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28630 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28631 for ac_func in _fpclass
28632 do :
28633 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28634 if test "x$ac_cv_func__fpclass" = x""yes; then :
28635 cat >>confdefs.h <<_ACEOF
28636 #define HAVE__FPCLASS 1
28637 _ACEOF
28640 done
28649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28650 $as_echo_n "checking for qfpclass declaration... " >&6; }
28651 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28652 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28653 $as_echo_n "(cached) " >&6
28654 else
28657 ac_ext=cpp
28658 ac_cpp='$CXXCPP $CPPFLAGS'
28659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28664 /* end confdefs.h. */
28665 #include <math.h>
28666 #ifdef HAVE_IEEEFP_H
28667 #include <ieeefp.h>
28668 #endif
28671 main ()
28673 qfpclass(0);
28675 return 0;
28677 _ACEOF
28678 if ac_fn_cxx_try_compile "$LINENO"; then :
28679 glibcxx_cv_func_qfpclass_use=yes
28680 else
28681 glibcxx_cv_func_qfpclass_use=no
28683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28684 ac_ext=c
28685 ac_cpp='$CPP $CPPFLAGS'
28686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28695 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28697 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28698 for ac_func in qfpclass
28699 do :
28700 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28701 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28702 cat >>confdefs.h <<_ACEOF
28703 #define HAVE_QFPCLASS 1
28704 _ACEOF
28707 done
28709 else
28711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28712 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28713 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28714 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28715 $as_echo_n "(cached) " >&6
28716 else
28719 ac_ext=cpp
28720 ac_cpp='$CXXCPP $CPPFLAGS'
28721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28726 /* end confdefs.h. */
28727 #include <math.h>
28728 #ifdef HAVE_IEEEFP_H
28729 #include <ieeefp.h>
28730 #endif
28733 main ()
28735 _qfpclass(0);
28737 return 0;
28739 _ACEOF
28740 if ac_fn_cxx_try_compile "$LINENO"; then :
28741 glibcxx_cv_func__qfpclass_use=yes
28742 else
28743 glibcxx_cv_func__qfpclass_use=no
28745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28746 ac_ext=c
28747 ac_cpp='$CPP $CPPFLAGS'
28748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28757 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28759 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28760 for ac_func in _qfpclass
28761 do :
28762 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28763 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28764 cat >>confdefs.h <<_ACEOF
28765 #define HAVE__QFPCLASS 1
28766 _ACEOF
28769 done
28778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28779 $as_echo_n "checking for hypot declaration... " >&6; }
28780 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28781 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28782 $as_echo_n "(cached) " >&6
28783 else
28786 ac_ext=cpp
28787 ac_cpp='$CXXCPP $CPPFLAGS'
28788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28793 /* end confdefs.h. */
28794 #include <math.h>
28796 main ()
28798 hypot(0, 0);
28800 return 0;
28802 _ACEOF
28803 if ac_fn_cxx_try_compile "$LINENO"; then :
28804 glibcxx_cv_func_hypot_use=yes
28805 else
28806 glibcxx_cv_func_hypot_use=no
28808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28809 ac_ext=c
28810 ac_cpp='$CPP $CPPFLAGS'
28811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28820 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28822 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28823 for ac_func in hypot
28824 do :
28825 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28826 if test "x$ac_cv_func_hypot" = x""yes; then :
28827 cat >>confdefs.h <<_ACEOF
28828 #define HAVE_HYPOT 1
28829 _ACEOF
28832 done
28834 else
28836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28837 $as_echo_n "checking for _hypot declaration... " >&6; }
28838 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28839 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28840 $as_echo_n "(cached) " >&6
28841 else
28844 ac_ext=cpp
28845 ac_cpp='$CXXCPP $CPPFLAGS'
28846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28851 /* end confdefs.h. */
28852 #include <math.h>
28854 main ()
28856 _hypot(0, 0);
28858 return 0;
28860 _ACEOF
28861 if ac_fn_cxx_try_compile "$LINENO"; then :
28862 glibcxx_cv_func__hypot_use=yes
28863 else
28864 glibcxx_cv_func__hypot_use=no
28866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28867 ac_ext=c
28868 ac_cpp='$CPP $CPPFLAGS'
28869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28878 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28880 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28881 for ac_func in _hypot
28882 do :
28883 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28884 if test "x$ac_cv_func__hypot" = x""yes; then :
28885 cat >>confdefs.h <<_ACEOF
28886 #define HAVE__HYPOT 1
28887 _ACEOF
28890 done
28899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28900 $as_echo_n "checking for float trig functions... " >&6; }
28901 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28902 $as_echo_n "(cached) " >&6
28903 else
28906 ac_ext=cpp
28907 ac_cpp='$CXXCPP $CPPFLAGS'
28908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28913 /* end confdefs.h. */
28914 #include <math.h>
28916 main ()
28918 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28920 return 0;
28922 _ACEOF
28923 if ac_fn_cxx_try_compile "$LINENO"; then :
28924 glibcxx_cv_func_float_trig_use=yes
28925 else
28926 glibcxx_cv_func_float_trig_use=no
28928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28929 ac_ext=c
28930 ac_cpp='$CPP $CPPFLAGS'
28931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28938 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28939 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28940 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28941 do :
28942 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28943 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28944 eval as_val=\$$as_ac_var
28945 if test "x$as_val" = x""yes; then :
28946 cat >>confdefs.h <<_ACEOF
28947 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28948 _ACEOF
28951 done
28953 else
28954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28955 $as_echo_n "checking for _float trig functions... " >&6; }
28956 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28957 $as_echo_n "(cached) " >&6
28958 else
28961 ac_ext=cpp
28962 ac_cpp='$CXXCPP $CPPFLAGS'
28963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28968 /* end confdefs.h. */
28969 #include <math.h>
28971 main ()
28973 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28975 return 0;
28977 _ACEOF
28978 if ac_fn_cxx_try_compile "$LINENO"; then :
28979 glibcxx_cv_func__float_trig_use=yes
28980 else
28981 glibcxx_cv_func__float_trig_use=no
28983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28984 ac_ext=c
28985 ac_cpp='$CPP $CPPFLAGS'
28986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28993 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28994 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28995 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28996 do :
28997 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28998 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28999 eval as_val=\$$as_ac_var
29000 if test "x$as_val" = x""yes; then :
29001 cat >>confdefs.h <<_ACEOF
29002 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29003 _ACEOF
29006 done
29015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29016 $as_echo_n "checking for float round functions... " >&6; }
29017 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
29018 $as_echo_n "(cached) " >&6
29019 else
29022 ac_ext=cpp
29023 ac_cpp='$CXXCPP $CPPFLAGS'
29024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29029 /* end confdefs.h. */
29030 #include <math.h>
29032 main ()
29034 ceilf (0); floorf (0);
29036 return 0;
29038 _ACEOF
29039 if ac_fn_cxx_try_compile "$LINENO"; then :
29040 glibcxx_cv_func_float_round_use=yes
29041 else
29042 glibcxx_cv_func_float_round_use=no
29044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29045 ac_ext=c
29046 ac_cpp='$CPP $CPPFLAGS'
29047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29054 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29055 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29056 for ac_func in ceilf floorf
29057 do :
29058 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29059 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29060 eval as_val=\$$as_ac_var
29061 if test "x$as_val" = x""yes; then :
29062 cat >>confdefs.h <<_ACEOF
29063 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29064 _ACEOF
29067 done
29069 else
29070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29071 $as_echo_n "checking for _float round functions... " >&6; }
29072 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29073 $as_echo_n "(cached) " >&6
29074 else
29077 ac_ext=cpp
29078 ac_cpp='$CXXCPP $CPPFLAGS'
29079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29084 /* end confdefs.h. */
29085 #include <math.h>
29087 main ()
29089 _ceilf (0); _floorf (0);
29091 return 0;
29093 _ACEOF
29094 if ac_fn_cxx_try_compile "$LINENO"; then :
29095 glibcxx_cv_func__float_round_use=yes
29096 else
29097 glibcxx_cv_func__float_round_use=no
29099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29100 ac_ext=c
29101 ac_cpp='$CPP $CPPFLAGS'
29102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29109 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29110 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29111 for ac_func in _ceilf _floorf
29112 do :
29113 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29114 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29115 eval as_val=\$$as_ac_var
29116 if test "x$as_val" = x""yes; then :
29117 cat >>confdefs.h <<_ACEOF
29118 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29119 _ACEOF
29122 done
29132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29133 $as_echo_n "checking for expf declaration... " >&6; }
29134 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29135 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29136 $as_echo_n "(cached) " >&6
29137 else
29140 ac_ext=cpp
29141 ac_cpp='$CXXCPP $CPPFLAGS'
29142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29147 /* end confdefs.h. */
29148 #include <math.h>
29149 #ifdef HAVE_IEEEFP_H
29150 #include <ieeefp.h>
29151 #endif
29154 main ()
29156 expf(0);
29158 return 0;
29160 _ACEOF
29161 if ac_fn_cxx_try_compile "$LINENO"; then :
29162 glibcxx_cv_func_expf_use=yes
29163 else
29164 glibcxx_cv_func_expf_use=no
29166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29167 ac_ext=c
29168 ac_cpp='$CPP $CPPFLAGS'
29169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29178 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29180 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29181 for ac_func in expf
29182 do :
29183 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29184 if test "x$ac_cv_func_expf" = x""yes; then :
29185 cat >>confdefs.h <<_ACEOF
29186 #define HAVE_EXPF 1
29187 _ACEOF
29190 done
29192 else
29194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29195 $as_echo_n "checking for _expf declaration... " >&6; }
29196 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29197 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29198 $as_echo_n "(cached) " >&6
29199 else
29202 ac_ext=cpp
29203 ac_cpp='$CXXCPP $CPPFLAGS'
29204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29209 /* end confdefs.h. */
29210 #include <math.h>
29211 #ifdef HAVE_IEEEFP_H
29212 #include <ieeefp.h>
29213 #endif
29216 main ()
29218 _expf(0);
29220 return 0;
29222 _ACEOF
29223 if ac_fn_cxx_try_compile "$LINENO"; then :
29224 glibcxx_cv_func__expf_use=yes
29225 else
29226 glibcxx_cv_func__expf_use=no
29228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29229 ac_ext=c
29230 ac_cpp='$CPP $CPPFLAGS'
29231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29240 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29242 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29243 for ac_func in _expf
29244 do :
29245 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29246 if test "x$ac_cv_func__expf" = x""yes; then :
29247 cat >>confdefs.h <<_ACEOF
29248 #define HAVE__EXPF 1
29249 _ACEOF
29252 done
29261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29262 $as_echo_n "checking for isnanf declaration... " >&6; }
29263 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29264 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29265 $as_echo_n "(cached) " >&6
29266 else
29269 ac_ext=cpp
29270 ac_cpp='$CXXCPP $CPPFLAGS'
29271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29276 /* end confdefs.h. */
29277 #include <math.h>
29278 #ifdef HAVE_IEEEFP_H
29279 #include <ieeefp.h>
29280 #endif
29283 main ()
29285 isnanf(0);
29287 return 0;
29289 _ACEOF
29290 if ac_fn_cxx_try_compile "$LINENO"; then :
29291 glibcxx_cv_func_isnanf_use=yes
29292 else
29293 glibcxx_cv_func_isnanf_use=no
29295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29296 ac_ext=c
29297 ac_cpp='$CPP $CPPFLAGS'
29298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29307 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29309 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29310 for ac_func in isnanf
29311 do :
29312 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29313 if test "x$ac_cv_func_isnanf" = x""yes; then :
29314 cat >>confdefs.h <<_ACEOF
29315 #define HAVE_ISNANF 1
29316 _ACEOF
29319 done
29321 else
29323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29324 $as_echo_n "checking for _isnanf declaration... " >&6; }
29325 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29326 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29327 $as_echo_n "(cached) " >&6
29328 else
29331 ac_ext=cpp
29332 ac_cpp='$CXXCPP $CPPFLAGS'
29333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29338 /* end confdefs.h. */
29339 #include <math.h>
29340 #ifdef HAVE_IEEEFP_H
29341 #include <ieeefp.h>
29342 #endif
29345 main ()
29347 _isnanf(0);
29349 return 0;
29351 _ACEOF
29352 if ac_fn_cxx_try_compile "$LINENO"; then :
29353 glibcxx_cv_func__isnanf_use=yes
29354 else
29355 glibcxx_cv_func__isnanf_use=no
29357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29358 ac_ext=c
29359 ac_cpp='$CPP $CPPFLAGS'
29360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29369 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29371 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29372 for ac_func in _isnanf
29373 do :
29374 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29375 if test "x$ac_cv_func__isnanf" = x""yes; then :
29376 cat >>confdefs.h <<_ACEOF
29377 #define HAVE__ISNANF 1
29378 _ACEOF
29381 done
29390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29391 $as_echo_n "checking for isinff declaration... " >&6; }
29392 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29393 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29394 $as_echo_n "(cached) " >&6
29395 else
29398 ac_ext=cpp
29399 ac_cpp='$CXXCPP $CPPFLAGS'
29400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29405 /* end confdefs.h. */
29406 #include <math.h>
29407 #ifdef HAVE_IEEEFP_H
29408 #include <ieeefp.h>
29409 #endif
29412 main ()
29414 isinff(0);
29416 return 0;
29418 _ACEOF
29419 if ac_fn_cxx_try_compile "$LINENO"; then :
29420 glibcxx_cv_func_isinff_use=yes
29421 else
29422 glibcxx_cv_func_isinff_use=no
29424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29425 ac_ext=c
29426 ac_cpp='$CPP $CPPFLAGS'
29427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29436 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29438 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29439 for ac_func in isinff
29440 do :
29441 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29442 if test "x$ac_cv_func_isinff" = x""yes; then :
29443 cat >>confdefs.h <<_ACEOF
29444 #define HAVE_ISINFF 1
29445 _ACEOF
29448 done
29450 else
29452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29453 $as_echo_n "checking for _isinff declaration... " >&6; }
29454 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29455 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29456 $as_echo_n "(cached) " >&6
29457 else
29460 ac_ext=cpp
29461 ac_cpp='$CXXCPP $CPPFLAGS'
29462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29467 /* end confdefs.h. */
29468 #include <math.h>
29469 #ifdef HAVE_IEEEFP_H
29470 #include <ieeefp.h>
29471 #endif
29474 main ()
29476 _isinff(0);
29478 return 0;
29480 _ACEOF
29481 if ac_fn_cxx_try_compile "$LINENO"; then :
29482 glibcxx_cv_func__isinff_use=yes
29483 else
29484 glibcxx_cv_func__isinff_use=no
29486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29487 ac_ext=c
29488 ac_cpp='$CPP $CPPFLAGS'
29489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29498 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29500 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29501 for ac_func in _isinff
29502 do :
29503 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29504 if test "x$ac_cv_func__isinff" = x""yes; then :
29505 cat >>confdefs.h <<_ACEOF
29506 #define HAVE__ISINFF 1
29507 _ACEOF
29510 done
29519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29520 $as_echo_n "checking for atan2f declaration... " >&6; }
29521 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29522 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29523 $as_echo_n "(cached) " >&6
29524 else
29527 ac_ext=cpp
29528 ac_cpp='$CXXCPP $CPPFLAGS'
29529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29534 /* end confdefs.h. */
29535 #include <math.h>
29537 main ()
29539 atan2f(0, 0);
29541 return 0;
29543 _ACEOF
29544 if ac_fn_cxx_try_compile "$LINENO"; then :
29545 glibcxx_cv_func_atan2f_use=yes
29546 else
29547 glibcxx_cv_func_atan2f_use=no
29549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29550 ac_ext=c
29551 ac_cpp='$CPP $CPPFLAGS'
29552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29561 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29563 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29564 for ac_func in atan2f
29565 do :
29566 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29567 if test "x$ac_cv_func_atan2f" = x""yes; then :
29568 cat >>confdefs.h <<_ACEOF
29569 #define HAVE_ATAN2F 1
29570 _ACEOF
29573 done
29575 else
29577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29578 $as_echo_n "checking for _atan2f declaration... " >&6; }
29579 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29580 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29581 $as_echo_n "(cached) " >&6
29582 else
29585 ac_ext=cpp
29586 ac_cpp='$CXXCPP $CPPFLAGS'
29587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29592 /* end confdefs.h. */
29593 #include <math.h>
29595 main ()
29597 _atan2f(0, 0);
29599 return 0;
29601 _ACEOF
29602 if ac_fn_cxx_try_compile "$LINENO"; then :
29603 glibcxx_cv_func__atan2f_use=yes
29604 else
29605 glibcxx_cv_func__atan2f_use=no
29607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29608 ac_ext=c
29609 ac_cpp='$CPP $CPPFLAGS'
29610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29619 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29621 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29622 for ac_func in _atan2f
29623 do :
29624 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29625 if test "x$ac_cv_func__atan2f" = x""yes; then :
29626 cat >>confdefs.h <<_ACEOF
29627 #define HAVE__ATAN2F 1
29628 _ACEOF
29631 done
29640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29641 $as_echo_n "checking for fabsf declaration... " >&6; }
29642 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29643 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29644 $as_echo_n "(cached) " >&6
29645 else
29648 ac_ext=cpp
29649 ac_cpp='$CXXCPP $CPPFLAGS'
29650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29655 /* end confdefs.h. */
29656 #include <math.h>
29657 #ifdef HAVE_IEEEFP_H
29658 #include <ieeefp.h>
29659 #endif
29662 main ()
29664 fabsf(0);
29666 return 0;
29668 _ACEOF
29669 if ac_fn_cxx_try_compile "$LINENO"; then :
29670 glibcxx_cv_func_fabsf_use=yes
29671 else
29672 glibcxx_cv_func_fabsf_use=no
29674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29675 ac_ext=c
29676 ac_cpp='$CPP $CPPFLAGS'
29677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29686 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29688 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29689 for ac_func in fabsf
29690 do :
29691 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29692 if test "x$ac_cv_func_fabsf" = x""yes; then :
29693 cat >>confdefs.h <<_ACEOF
29694 #define HAVE_FABSF 1
29695 _ACEOF
29698 done
29700 else
29702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29703 $as_echo_n "checking for _fabsf declaration... " >&6; }
29704 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29705 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29706 $as_echo_n "(cached) " >&6
29707 else
29710 ac_ext=cpp
29711 ac_cpp='$CXXCPP $CPPFLAGS'
29712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29717 /* end confdefs.h. */
29718 #include <math.h>
29719 #ifdef HAVE_IEEEFP_H
29720 #include <ieeefp.h>
29721 #endif
29724 main ()
29726 _fabsf(0);
29728 return 0;
29730 _ACEOF
29731 if ac_fn_cxx_try_compile "$LINENO"; then :
29732 glibcxx_cv_func__fabsf_use=yes
29733 else
29734 glibcxx_cv_func__fabsf_use=no
29736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29737 ac_ext=c
29738 ac_cpp='$CPP $CPPFLAGS'
29739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29748 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29750 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29751 for ac_func in _fabsf
29752 do :
29753 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29754 if test "x$ac_cv_func__fabsf" = x""yes; then :
29755 cat >>confdefs.h <<_ACEOF
29756 #define HAVE__FABSF 1
29757 _ACEOF
29760 done
29769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29770 $as_echo_n "checking for fmodf declaration... " >&6; }
29771 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29772 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29773 $as_echo_n "(cached) " >&6
29774 else
29777 ac_ext=cpp
29778 ac_cpp='$CXXCPP $CPPFLAGS'
29779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29784 /* end confdefs.h. */
29785 #include <math.h>
29787 main ()
29789 fmodf(0, 0);
29791 return 0;
29793 _ACEOF
29794 if ac_fn_cxx_try_compile "$LINENO"; then :
29795 glibcxx_cv_func_fmodf_use=yes
29796 else
29797 glibcxx_cv_func_fmodf_use=no
29799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29800 ac_ext=c
29801 ac_cpp='$CPP $CPPFLAGS'
29802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29811 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29813 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29814 for ac_func in fmodf
29815 do :
29816 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29817 if test "x$ac_cv_func_fmodf" = x""yes; then :
29818 cat >>confdefs.h <<_ACEOF
29819 #define HAVE_FMODF 1
29820 _ACEOF
29823 done
29825 else
29827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29828 $as_echo_n "checking for _fmodf declaration... " >&6; }
29829 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29830 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29831 $as_echo_n "(cached) " >&6
29832 else
29835 ac_ext=cpp
29836 ac_cpp='$CXXCPP $CPPFLAGS'
29837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29842 /* end confdefs.h. */
29843 #include <math.h>
29845 main ()
29847 _fmodf(0, 0);
29849 return 0;
29851 _ACEOF
29852 if ac_fn_cxx_try_compile "$LINENO"; then :
29853 glibcxx_cv_func__fmodf_use=yes
29854 else
29855 glibcxx_cv_func__fmodf_use=no
29857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29858 ac_ext=c
29859 ac_cpp='$CPP $CPPFLAGS'
29860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29869 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29871 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29872 for ac_func in _fmodf
29873 do :
29874 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29875 if test "x$ac_cv_func__fmodf" = x""yes; then :
29876 cat >>confdefs.h <<_ACEOF
29877 #define HAVE__FMODF 1
29878 _ACEOF
29881 done
29890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29891 $as_echo_n "checking for frexpf declaration... " >&6; }
29892 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29893 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29894 $as_echo_n "(cached) " >&6
29895 else
29898 ac_ext=cpp
29899 ac_cpp='$CXXCPP $CPPFLAGS'
29900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29905 /* end confdefs.h. */
29906 #include <math.h>
29908 main ()
29910 frexpf(0, 0);
29912 return 0;
29914 _ACEOF
29915 if ac_fn_cxx_try_compile "$LINENO"; then :
29916 glibcxx_cv_func_frexpf_use=yes
29917 else
29918 glibcxx_cv_func_frexpf_use=no
29920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29921 ac_ext=c
29922 ac_cpp='$CPP $CPPFLAGS'
29923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29932 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29934 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29935 for ac_func in frexpf
29936 do :
29937 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29938 if test "x$ac_cv_func_frexpf" = x""yes; then :
29939 cat >>confdefs.h <<_ACEOF
29940 #define HAVE_FREXPF 1
29941 _ACEOF
29944 done
29946 else
29948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29949 $as_echo_n "checking for _frexpf declaration... " >&6; }
29950 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29951 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29952 $as_echo_n "(cached) " >&6
29953 else
29956 ac_ext=cpp
29957 ac_cpp='$CXXCPP $CPPFLAGS'
29958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29963 /* end confdefs.h. */
29964 #include <math.h>
29966 main ()
29968 _frexpf(0, 0);
29970 return 0;
29972 _ACEOF
29973 if ac_fn_cxx_try_compile "$LINENO"; then :
29974 glibcxx_cv_func__frexpf_use=yes
29975 else
29976 glibcxx_cv_func__frexpf_use=no
29978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29979 ac_ext=c
29980 ac_cpp='$CPP $CPPFLAGS'
29981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29990 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29992 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29993 for ac_func in _frexpf
29994 do :
29995 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29996 if test "x$ac_cv_func__frexpf" = x""yes; then :
29997 cat >>confdefs.h <<_ACEOF
29998 #define HAVE__FREXPF 1
29999 _ACEOF
30002 done
30011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30012 $as_echo_n "checking for hypotf declaration... " >&6; }
30013 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30014 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30015 $as_echo_n "(cached) " >&6
30016 else
30019 ac_ext=cpp
30020 ac_cpp='$CXXCPP $CPPFLAGS'
30021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30026 /* end confdefs.h. */
30027 #include <math.h>
30029 main ()
30031 hypotf(0, 0);
30033 return 0;
30035 _ACEOF
30036 if ac_fn_cxx_try_compile "$LINENO"; then :
30037 glibcxx_cv_func_hypotf_use=yes
30038 else
30039 glibcxx_cv_func_hypotf_use=no
30041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30042 ac_ext=c
30043 ac_cpp='$CPP $CPPFLAGS'
30044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30053 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30055 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30056 for ac_func in hypotf
30057 do :
30058 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30059 if test "x$ac_cv_func_hypotf" = x""yes; then :
30060 cat >>confdefs.h <<_ACEOF
30061 #define HAVE_HYPOTF 1
30062 _ACEOF
30065 done
30067 else
30069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30070 $as_echo_n "checking for _hypotf declaration... " >&6; }
30071 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30072 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
30073 $as_echo_n "(cached) " >&6
30074 else
30077 ac_ext=cpp
30078 ac_cpp='$CXXCPP $CPPFLAGS'
30079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30084 /* end confdefs.h. */
30085 #include <math.h>
30087 main ()
30089 _hypotf(0, 0);
30091 return 0;
30093 _ACEOF
30094 if ac_fn_cxx_try_compile "$LINENO"; then :
30095 glibcxx_cv_func__hypotf_use=yes
30096 else
30097 glibcxx_cv_func__hypotf_use=no
30099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30100 ac_ext=c
30101 ac_cpp='$CPP $CPPFLAGS'
30102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30111 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30113 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30114 for ac_func in _hypotf
30115 do :
30116 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30117 if test "x$ac_cv_func__hypotf" = x""yes; then :
30118 cat >>confdefs.h <<_ACEOF
30119 #define HAVE__HYPOTF 1
30120 _ACEOF
30123 done
30132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30133 $as_echo_n "checking for ldexpf declaration... " >&6; }
30134 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30135 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30136 $as_echo_n "(cached) " >&6
30137 else
30140 ac_ext=cpp
30141 ac_cpp='$CXXCPP $CPPFLAGS'
30142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30147 /* end confdefs.h. */
30148 #include <math.h>
30150 main ()
30152 ldexpf(0, 0);
30154 return 0;
30156 _ACEOF
30157 if ac_fn_cxx_try_compile "$LINENO"; then :
30158 glibcxx_cv_func_ldexpf_use=yes
30159 else
30160 glibcxx_cv_func_ldexpf_use=no
30162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30163 ac_ext=c
30164 ac_cpp='$CPP $CPPFLAGS'
30165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30174 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30176 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30177 for ac_func in ldexpf
30178 do :
30179 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30180 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30181 cat >>confdefs.h <<_ACEOF
30182 #define HAVE_LDEXPF 1
30183 _ACEOF
30186 done
30188 else
30190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30191 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30192 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30193 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30194 $as_echo_n "(cached) " >&6
30195 else
30198 ac_ext=cpp
30199 ac_cpp='$CXXCPP $CPPFLAGS'
30200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30205 /* end confdefs.h. */
30206 #include <math.h>
30208 main ()
30210 _ldexpf(0, 0);
30212 return 0;
30214 _ACEOF
30215 if ac_fn_cxx_try_compile "$LINENO"; then :
30216 glibcxx_cv_func__ldexpf_use=yes
30217 else
30218 glibcxx_cv_func__ldexpf_use=no
30220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30221 ac_ext=c
30222 ac_cpp='$CPP $CPPFLAGS'
30223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30232 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30234 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30235 for ac_func in _ldexpf
30236 do :
30237 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30238 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30239 cat >>confdefs.h <<_ACEOF
30240 #define HAVE__LDEXPF 1
30241 _ACEOF
30244 done
30253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30254 $as_echo_n "checking for logf declaration... " >&6; }
30255 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30256 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30257 $as_echo_n "(cached) " >&6
30258 else
30261 ac_ext=cpp
30262 ac_cpp='$CXXCPP $CPPFLAGS'
30263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30268 /* end confdefs.h. */
30269 #include <math.h>
30270 #ifdef HAVE_IEEEFP_H
30271 #include <ieeefp.h>
30272 #endif
30275 main ()
30277 logf(0);
30279 return 0;
30281 _ACEOF
30282 if ac_fn_cxx_try_compile "$LINENO"; then :
30283 glibcxx_cv_func_logf_use=yes
30284 else
30285 glibcxx_cv_func_logf_use=no
30287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30288 ac_ext=c
30289 ac_cpp='$CPP $CPPFLAGS'
30290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30299 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30301 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30302 for ac_func in logf
30303 do :
30304 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30305 if test "x$ac_cv_func_logf" = x""yes; then :
30306 cat >>confdefs.h <<_ACEOF
30307 #define HAVE_LOGF 1
30308 _ACEOF
30311 done
30313 else
30315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30316 $as_echo_n "checking for _logf declaration... " >&6; }
30317 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30318 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30319 $as_echo_n "(cached) " >&6
30320 else
30323 ac_ext=cpp
30324 ac_cpp='$CXXCPP $CPPFLAGS'
30325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30330 /* end confdefs.h. */
30331 #include <math.h>
30332 #ifdef HAVE_IEEEFP_H
30333 #include <ieeefp.h>
30334 #endif
30337 main ()
30339 _logf(0);
30341 return 0;
30343 _ACEOF
30344 if ac_fn_cxx_try_compile "$LINENO"; then :
30345 glibcxx_cv_func__logf_use=yes
30346 else
30347 glibcxx_cv_func__logf_use=no
30349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30350 ac_ext=c
30351 ac_cpp='$CPP $CPPFLAGS'
30352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30361 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30363 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30364 for ac_func in _logf
30365 do :
30366 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30367 if test "x$ac_cv_func__logf" = x""yes; then :
30368 cat >>confdefs.h <<_ACEOF
30369 #define HAVE__LOGF 1
30370 _ACEOF
30373 done
30382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30383 $as_echo_n "checking for log10f declaration... " >&6; }
30384 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30385 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30386 $as_echo_n "(cached) " >&6
30387 else
30390 ac_ext=cpp
30391 ac_cpp='$CXXCPP $CPPFLAGS'
30392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30397 /* end confdefs.h. */
30398 #include <math.h>
30399 #ifdef HAVE_IEEEFP_H
30400 #include <ieeefp.h>
30401 #endif
30404 main ()
30406 log10f(0);
30408 return 0;
30410 _ACEOF
30411 if ac_fn_cxx_try_compile "$LINENO"; then :
30412 glibcxx_cv_func_log10f_use=yes
30413 else
30414 glibcxx_cv_func_log10f_use=no
30416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30417 ac_ext=c
30418 ac_cpp='$CPP $CPPFLAGS'
30419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30428 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30430 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30431 for ac_func in log10f
30432 do :
30433 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30434 if test "x$ac_cv_func_log10f" = x""yes; then :
30435 cat >>confdefs.h <<_ACEOF
30436 #define HAVE_LOG10F 1
30437 _ACEOF
30440 done
30442 else
30444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30445 $as_echo_n "checking for _log10f declaration... " >&6; }
30446 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30447 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30448 $as_echo_n "(cached) " >&6
30449 else
30452 ac_ext=cpp
30453 ac_cpp='$CXXCPP $CPPFLAGS'
30454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30459 /* end confdefs.h. */
30460 #include <math.h>
30461 #ifdef HAVE_IEEEFP_H
30462 #include <ieeefp.h>
30463 #endif
30466 main ()
30468 _log10f(0);
30470 return 0;
30472 _ACEOF
30473 if ac_fn_cxx_try_compile "$LINENO"; then :
30474 glibcxx_cv_func__log10f_use=yes
30475 else
30476 glibcxx_cv_func__log10f_use=no
30478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30479 ac_ext=c
30480 ac_cpp='$CPP $CPPFLAGS'
30481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30490 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30492 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30493 for ac_func in _log10f
30494 do :
30495 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30496 if test "x$ac_cv_func__log10f" = x""yes; then :
30497 cat >>confdefs.h <<_ACEOF
30498 #define HAVE__LOG10F 1
30499 _ACEOF
30502 done
30511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30512 $as_echo_n "checking for modff declaration... " >&6; }
30513 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30514 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30515 $as_echo_n "(cached) " >&6
30516 else
30519 ac_ext=cpp
30520 ac_cpp='$CXXCPP $CPPFLAGS'
30521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30526 /* end confdefs.h. */
30527 #include <math.h>
30529 main ()
30531 modff(0, 0);
30533 return 0;
30535 _ACEOF
30536 if ac_fn_cxx_try_compile "$LINENO"; then :
30537 glibcxx_cv_func_modff_use=yes
30538 else
30539 glibcxx_cv_func_modff_use=no
30541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30542 ac_ext=c
30543 ac_cpp='$CPP $CPPFLAGS'
30544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30553 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30555 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30556 for ac_func in modff
30557 do :
30558 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30559 if test "x$ac_cv_func_modff" = x""yes; then :
30560 cat >>confdefs.h <<_ACEOF
30561 #define HAVE_MODFF 1
30562 _ACEOF
30565 done
30567 else
30569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30570 $as_echo_n "checking for _modff declaration... " >&6; }
30571 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30572 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30573 $as_echo_n "(cached) " >&6
30574 else
30577 ac_ext=cpp
30578 ac_cpp='$CXXCPP $CPPFLAGS'
30579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30584 /* end confdefs.h. */
30585 #include <math.h>
30587 main ()
30589 _modff(0, 0);
30591 return 0;
30593 _ACEOF
30594 if ac_fn_cxx_try_compile "$LINENO"; then :
30595 glibcxx_cv_func__modff_use=yes
30596 else
30597 glibcxx_cv_func__modff_use=no
30599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30600 ac_ext=c
30601 ac_cpp='$CPP $CPPFLAGS'
30602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30611 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30613 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30614 for ac_func in _modff
30615 do :
30616 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30617 if test "x$ac_cv_func__modff" = x""yes; then :
30618 cat >>confdefs.h <<_ACEOF
30619 #define HAVE__MODFF 1
30620 _ACEOF
30623 done
30632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30633 $as_echo_n "checking for modf declaration... " >&6; }
30634 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30635 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30636 $as_echo_n "(cached) " >&6
30637 else
30640 ac_ext=cpp
30641 ac_cpp='$CXXCPP $CPPFLAGS'
30642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30647 /* end confdefs.h. */
30648 #include <math.h>
30650 main ()
30652 modf(0, 0);
30654 return 0;
30656 _ACEOF
30657 if ac_fn_cxx_try_compile "$LINENO"; then :
30658 glibcxx_cv_func_modf_use=yes
30659 else
30660 glibcxx_cv_func_modf_use=no
30662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30663 ac_ext=c
30664 ac_cpp='$CPP $CPPFLAGS'
30665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30674 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30676 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30677 for ac_func in modf
30678 do :
30679 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30680 if test "x$ac_cv_func_modf" = x""yes; then :
30681 cat >>confdefs.h <<_ACEOF
30682 #define HAVE_MODF 1
30683 _ACEOF
30686 done
30688 else
30690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30691 $as_echo_n "checking for _modf declaration... " >&6; }
30692 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30693 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30694 $as_echo_n "(cached) " >&6
30695 else
30698 ac_ext=cpp
30699 ac_cpp='$CXXCPP $CPPFLAGS'
30700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30705 /* end confdefs.h. */
30706 #include <math.h>
30708 main ()
30710 _modf(0, 0);
30712 return 0;
30714 _ACEOF
30715 if ac_fn_cxx_try_compile "$LINENO"; then :
30716 glibcxx_cv_func__modf_use=yes
30717 else
30718 glibcxx_cv_func__modf_use=no
30720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30721 ac_ext=c
30722 ac_cpp='$CPP $CPPFLAGS'
30723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30732 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30734 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30735 for ac_func in _modf
30736 do :
30737 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30738 if test "x$ac_cv_func__modf" = x""yes; then :
30739 cat >>confdefs.h <<_ACEOF
30740 #define HAVE__MODF 1
30741 _ACEOF
30744 done
30753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30754 $as_echo_n "checking for powf declaration... " >&6; }
30755 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30756 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30757 $as_echo_n "(cached) " >&6
30758 else
30761 ac_ext=cpp
30762 ac_cpp='$CXXCPP $CPPFLAGS'
30763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30768 /* end confdefs.h. */
30769 #include <math.h>
30771 main ()
30773 powf(0, 0);
30775 return 0;
30777 _ACEOF
30778 if ac_fn_cxx_try_compile "$LINENO"; then :
30779 glibcxx_cv_func_powf_use=yes
30780 else
30781 glibcxx_cv_func_powf_use=no
30783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30784 ac_ext=c
30785 ac_cpp='$CPP $CPPFLAGS'
30786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30795 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30797 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30798 for ac_func in powf
30799 do :
30800 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30801 if test "x$ac_cv_func_powf" = x""yes; then :
30802 cat >>confdefs.h <<_ACEOF
30803 #define HAVE_POWF 1
30804 _ACEOF
30807 done
30809 else
30811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30812 $as_echo_n "checking for _powf declaration... " >&6; }
30813 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30814 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30815 $as_echo_n "(cached) " >&6
30816 else
30819 ac_ext=cpp
30820 ac_cpp='$CXXCPP $CPPFLAGS'
30821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30826 /* end confdefs.h. */
30827 #include <math.h>
30829 main ()
30831 _powf(0, 0);
30833 return 0;
30835 _ACEOF
30836 if ac_fn_cxx_try_compile "$LINENO"; then :
30837 glibcxx_cv_func__powf_use=yes
30838 else
30839 glibcxx_cv_func__powf_use=no
30841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30842 ac_ext=c
30843 ac_cpp='$CPP $CPPFLAGS'
30844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30853 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30855 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30856 for ac_func in _powf
30857 do :
30858 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30859 if test "x$ac_cv_func__powf" = x""yes; then :
30860 cat >>confdefs.h <<_ACEOF
30861 #define HAVE__POWF 1
30862 _ACEOF
30865 done
30874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30875 $as_echo_n "checking for sqrtf declaration... " >&6; }
30876 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30877 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30878 $as_echo_n "(cached) " >&6
30879 else
30882 ac_ext=cpp
30883 ac_cpp='$CXXCPP $CPPFLAGS'
30884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30889 /* end confdefs.h. */
30890 #include <math.h>
30891 #ifdef HAVE_IEEEFP_H
30892 #include <ieeefp.h>
30893 #endif
30896 main ()
30898 sqrtf(0);
30900 return 0;
30902 _ACEOF
30903 if ac_fn_cxx_try_compile "$LINENO"; then :
30904 glibcxx_cv_func_sqrtf_use=yes
30905 else
30906 glibcxx_cv_func_sqrtf_use=no
30908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30909 ac_ext=c
30910 ac_cpp='$CPP $CPPFLAGS'
30911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30920 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30922 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30923 for ac_func in sqrtf
30924 do :
30925 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30926 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30927 cat >>confdefs.h <<_ACEOF
30928 #define HAVE_SQRTF 1
30929 _ACEOF
30932 done
30934 else
30936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30937 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30938 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30939 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30940 $as_echo_n "(cached) " >&6
30941 else
30944 ac_ext=cpp
30945 ac_cpp='$CXXCPP $CPPFLAGS'
30946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30951 /* end confdefs.h. */
30952 #include <math.h>
30953 #ifdef HAVE_IEEEFP_H
30954 #include <ieeefp.h>
30955 #endif
30958 main ()
30960 _sqrtf(0);
30962 return 0;
30964 _ACEOF
30965 if ac_fn_cxx_try_compile "$LINENO"; then :
30966 glibcxx_cv_func__sqrtf_use=yes
30967 else
30968 glibcxx_cv_func__sqrtf_use=no
30970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30971 ac_ext=c
30972 ac_cpp='$CPP $CPPFLAGS'
30973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30982 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30984 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30985 for ac_func in _sqrtf
30986 do :
30987 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30988 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30989 cat >>confdefs.h <<_ACEOF
30990 #define HAVE__SQRTF 1
30991 _ACEOF
30994 done
31003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31004 $as_echo_n "checking for sincosf declaration... " >&6; }
31005 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31006 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31007 $as_echo_n "(cached) " >&6
31008 else
31011 ac_ext=cpp
31012 ac_cpp='$CXXCPP $CPPFLAGS'
31013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31018 /* end confdefs.h. */
31019 #include <math.h>
31021 main ()
31023 sincosf(0, 0, 0);
31025 return 0;
31027 _ACEOF
31028 if ac_fn_cxx_try_compile "$LINENO"; then :
31029 glibcxx_cv_func_sincosf_use=yes
31030 else
31031 glibcxx_cv_func_sincosf_use=no
31033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31034 ac_ext=c
31035 ac_cpp='$CPP $CPPFLAGS'
31036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31045 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31047 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31048 for ac_func in sincosf
31049 do :
31050 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31051 if test "x$ac_cv_func_sincosf" = x""yes; then :
31052 cat >>confdefs.h <<_ACEOF
31053 #define HAVE_SINCOSF 1
31054 _ACEOF
31057 done
31059 else
31061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31062 $as_echo_n "checking for _sincosf declaration... " >&6; }
31063 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31064 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31065 $as_echo_n "(cached) " >&6
31066 else
31069 ac_ext=cpp
31070 ac_cpp='$CXXCPP $CPPFLAGS'
31071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31076 /* end confdefs.h. */
31077 #include <math.h>
31079 main ()
31081 _sincosf(0, 0, 0);
31083 return 0;
31085 _ACEOF
31086 if ac_fn_cxx_try_compile "$LINENO"; then :
31087 glibcxx_cv_func__sincosf_use=yes
31088 else
31089 glibcxx_cv_func__sincosf_use=no
31091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31092 ac_ext=c
31093 ac_cpp='$CPP $CPPFLAGS'
31094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31103 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31105 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31106 for ac_func in _sincosf
31107 do :
31108 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31109 if test "x$ac_cv_func__sincosf" = x""yes; then :
31110 cat >>confdefs.h <<_ACEOF
31111 #define HAVE__SINCOSF 1
31112 _ACEOF
31115 done
31124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31125 $as_echo_n "checking for finitef declaration... " >&6; }
31126 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31127 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31128 $as_echo_n "(cached) " >&6
31129 else
31132 ac_ext=cpp
31133 ac_cpp='$CXXCPP $CPPFLAGS'
31134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31139 /* end confdefs.h. */
31140 #include <math.h>
31141 #ifdef HAVE_IEEEFP_H
31142 #include <ieeefp.h>
31143 #endif
31146 main ()
31148 finitef(0);
31150 return 0;
31152 _ACEOF
31153 if ac_fn_cxx_try_compile "$LINENO"; then :
31154 glibcxx_cv_func_finitef_use=yes
31155 else
31156 glibcxx_cv_func_finitef_use=no
31158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31159 ac_ext=c
31160 ac_cpp='$CPP $CPPFLAGS'
31161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31170 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31172 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31173 for ac_func in finitef
31174 do :
31175 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31176 if test "x$ac_cv_func_finitef" = x""yes; then :
31177 cat >>confdefs.h <<_ACEOF
31178 #define HAVE_FINITEF 1
31179 _ACEOF
31182 done
31184 else
31186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31187 $as_echo_n "checking for _finitef declaration... " >&6; }
31188 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31189 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31190 $as_echo_n "(cached) " >&6
31191 else
31194 ac_ext=cpp
31195 ac_cpp='$CXXCPP $CPPFLAGS'
31196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31201 /* end confdefs.h. */
31202 #include <math.h>
31203 #ifdef HAVE_IEEEFP_H
31204 #include <ieeefp.h>
31205 #endif
31208 main ()
31210 _finitef(0);
31212 return 0;
31214 _ACEOF
31215 if ac_fn_cxx_try_compile "$LINENO"; then :
31216 glibcxx_cv_func__finitef_use=yes
31217 else
31218 glibcxx_cv_func__finitef_use=no
31220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31221 ac_ext=c
31222 ac_cpp='$CPP $CPPFLAGS'
31223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31232 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31234 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31235 for ac_func in _finitef
31236 do :
31237 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31238 if test "x$ac_cv_func__finitef" = x""yes; then :
31239 cat >>confdefs.h <<_ACEOF
31240 #define HAVE__FINITEF 1
31241 _ACEOF
31244 done
31253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31254 $as_echo_n "checking for long double trig functions... " >&6; }
31255 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31256 $as_echo_n "(cached) " >&6
31257 else
31260 ac_ext=cpp
31261 ac_cpp='$CXXCPP $CPPFLAGS'
31262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31267 /* end confdefs.h. */
31268 #include <math.h>
31270 main ()
31272 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31274 return 0;
31276 _ACEOF
31277 if ac_fn_cxx_try_compile "$LINENO"; then :
31278 glibcxx_cv_func_long_double_trig_use=yes
31279 else
31280 glibcxx_cv_func_long_double_trig_use=no
31282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31283 ac_ext=c
31284 ac_cpp='$CPP $CPPFLAGS'
31285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31292 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31293 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31294 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31295 do :
31296 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31297 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31298 eval as_val=\$$as_ac_var
31299 if test "x$as_val" = x""yes; then :
31300 cat >>confdefs.h <<_ACEOF
31301 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31302 _ACEOF
31305 done
31307 else
31308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31309 $as_echo_n "checking for _long double trig functions... " >&6; }
31310 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31311 $as_echo_n "(cached) " >&6
31312 else
31315 ac_ext=cpp
31316 ac_cpp='$CXXCPP $CPPFLAGS'
31317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31322 /* end confdefs.h. */
31323 #include <math.h>
31325 main ()
31327 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31329 return 0;
31331 _ACEOF
31332 if ac_fn_cxx_try_compile "$LINENO"; then :
31333 glibcxx_cv_func__long_double_trig_use=yes
31334 else
31335 glibcxx_cv_func__long_double_trig_use=no
31337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31338 ac_ext=c
31339 ac_cpp='$CPP $CPPFLAGS'
31340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31347 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31348 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31349 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31350 do :
31351 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31352 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31353 eval as_val=\$$as_ac_var
31354 if test "x$as_val" = x""yes; then :
31355 cat >>confdefs.h <<_ACEOF
31356 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31357 _ACEOF
31360 done
31369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31370 $as_echo_n "checking for long double round functions... " >&6; }
31371 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31372 $as_echo_n "(cached) " >&6
31373 else
31376 ac_ext=cpp
31377 ac_cpp='$CXXCPP $CPPFLAGS'
31378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31383 /* end confdefs.h. */
31384 #include <math.h>
31386 main ()
31388 ceill (0); floorl (0);
31390 return 0;
31392 _ACEOF
31393 if ac_fn_cxx_try_compile "$LINENO"; then :
31394 glibcxx_cv_func_long_double_round_use=yes
31395 else
31396 glibcxx_cv_func_long_double_round_use=no
31398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31399 ac_ext=c
31400 ac_cpp='$CPP $CPPFLAGS'
31401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31408 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31409 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31410 for ac_func in ceill floorl
31411 do :
31412 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31413 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31414 eval as_val=\$$as_ac_var
31415 if test "x$as_val" = x""yes; then :
31416 cat >>confdefs.h <<_ACEOF
31417 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31418 _ACEOF
31421 done
31423 else
31424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31425 $as_echo_n "checking for _long double round functions... " >&6; }
31426 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31427 $as_echo_n "(cached) " >&6
31428 else
31431 ac_ext=cpp
31432 ac_cpp='$CXXCPP $CPPFLAGS'
31433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31438 /* end confdefs.h. */
31439 #include <math.h>
31441 main ()
31443 _ceill (0); _floorl (0);
31445 return 0;
31447 _ACEOF
31448 if ac_fn_cxx_try_compile "$LINENO"; then :
31449 glibcxx_cv_func__long_double_round_use=yes
31450 else
31451 glibcxx_cv_func__long_double_round_use=no
31453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31454 ac_ext=c
31455 ac_cpp='$CPP $CPPFLAGS'
31456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31463 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31464 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31465 for ac_func in _ceill _floorl
31466 do :
31467 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31468 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31469 eval as_val=\$$as_ac_var
31470 if test "x$as_val" = x""yes; then :
31471 cat >>confdefs.h <<_ACEOF
31472 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31473 _ACEOF
31476 done
31486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31487 $as_echo_n "checking for isnanl declaration... " >&6; }
31488 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31489 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31490 $as_echo_n "(cached) " >&6
31491 else
31494 ac_ext=cpp
31495 ac_cpp='$CXXCPP $CPPFLAGS'
31496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31501 /* end confdefs.h. */
31502 #include <math.h>
31503 #ifdef HAVE_IEEEFP_H
31504 #include <ieeefp.h>
31505 #endif
31508 main ()
31510 isnanl(0);
31512 return 0;
31514 _ACEOF
31515 if ac_fn_cxx_try_compile "$LINENO"; then :
31516 glibcxx_cv_func_isnanl_use=yes
31517 else
31518 glibcxx_cv_func_isnanl_use=no
31520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31521 ac_ext=c
31522 ac_cpp='$CPP $CPPFLAGS'
31523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31532 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31534 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31535 for ac_func in isnanl
31536 do :
31537 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31538 if test "x$ac_cv_func_isnanl" = x""yes; then :
31539 cat >>confdefs.h <<_ACEOF
31540 #define HAVE_ISNANL 1
31541 _ACEOF
31544 done
31546 else
31548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31549 $as_echo_n "checking for _isnanl declaration... " >&6; }
31550 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31551 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31552 $as_echo_n "(cached) " >&6
31553 else
31556 ac_ext=cpp
31557 ac_cpp='$CXXCPP $CPPFLAGS'
31558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31563 /* end confdefs.h. */
31564 #include <math.h>
31565 #ifdef HAVE_IEEEFP_H
31566 #include <ieeefp.h>
31567 #endif
31570 main ()
31572 _isnanl(0);
31574 return 0;
31576 _ACEOF
31577 if ac_fn_cxx_try_compile "$LINENO"; then :
31578 glibcxx_cv_func__isnanl_use=yes
31579 else
31580 glibcxx_cv_func__isnanl_use=no
31582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31583 ac_ext=c
31584 ac_cpp='$CPP $CPPFLAGS'
31585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31594 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31596 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31597 for ac_func in _isnanl
31598 do :
31599 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31600 if test "x$ac_cv_func__isnanl" = x""yes; then :
31601 cat >>confdefs.h <<_ACEOF
31602 #define HAVE__ISNANL 1
31603 _ACEOF
31606 done
31615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31616 $as_echo_n "checking for isinfl declaration... " >&6; }
31617 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31618 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31619 $as_echo_n "(cached) " >&6
31620 else
31623 ac_ext=cpp
31624 ac_cpp='$CXXCPP $CPPFLAGS'
31625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31630 /* end confdefs.h. */
31631 #include <math.h>
31632 #ifdef HAVE_IEEEFP_H
31633 #include <ieeefp.h>
31634 #endif
31637 main ()
31639 isinfl(0);
31641 return 0;
31643 _ACEOF
31644 if ac_fn_cxx_try_compile "$LINENO"; then :
31645 glibcxx_cv_func_isinfl_use=yes
31646 else
31647 glibcxx_cv_func_isinfl_use=no
31649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31650 ac_ext=c
31651 ac_cpp='$CPP $CPPFLAGS'
31652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31661 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31663 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31664 for ac_func in isinfl
31665 do :
31666 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31667 if test "x$ac_cv_func_isinfl" = x""yes; then :
31668 cat >>confdefs.h <<_ACEOF
31669 #define HAVE_ISINFL 1
31670 _ACEOF
31673 done
31675 else
31677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31678 $as_echo_n "checking for _isinfl declaration... " >&6; }
31679 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31680 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31681 $as_echo_n "(cached) " >&6
31682 else
31685 ac_ext=cpp
31686 ac_cpp='$CXXCPP $CPPFLAGS'
31687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31692 /* end confdefs.h. */
31693 #include <math.h>
31694 #ifdef HAVE_IEEEFP_H
31695 #include <ieeefp.h>
31696 #endif
31699 main ()
31701 _isinfl(0);
31703 return 0;
31705 _ACEOF
31706 if ac_fn_cxx_try_compile "$LINENO"; then :
31707 glibcxx_cv_func__isinfl_use=yes
31708 else
31709 glibcxx_cv_func__isinfl_use=no
31711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31712 ac_ext=c
31713 ac_cpp='$CPP $CPPFLAGS'
31714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31723 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31725 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31726 for ac_func in _isinfl
31727 do :
31728 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31729 if test "x$ac_cv_func__isinfl" = x""yes; then :
31730 cat >>confdefs.h <<_ACEOF
31731 #define HAVE__ISINFL 1
31732 _ACEOF
31735 done
31744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31745 $as_echo_n "checking for atan2l declaration... " >&6; }
31746 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31747 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31748 $as_echo_n "(cached) " >&6
31749 else
31752 ac_ext=cpp
31753 ac_cpp='$CXXCPP $CPPFLAGS'
31754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31759 /* end confdefs.h. */
31760 #include <math.h>
31762 main ()
31764 atan2l(0, 0);
31766 return 0;
31768 _ACEOF
31769 if ac_fn_cxx_try_compile "$LINENO"; then :
31770 glibcxx_cv_func_atan2l_use=yes
31771 else
31772 glibcxx_cv_func_atan2l_use=no
31774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31775 ac_ext=c
31776 ac_cpp='$CPP $CPPFLAGS'
31777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31786 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31788 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31789 for ac_func in atan2l
31790 do :
31791 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31792 if test "x$ac_cv_func_atan2l" = x""yes; then :
31793 cat >>confdefs.h <<_ACEOF
31794 #define HAVE_ATAN2L 1
31795 _ACEOF
31798 done
31800 else
31802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31803 $as_echo_n "checking for _atan2l declaration... " >&6; }
31804 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31805 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31806 $as_echo_n "(cached) " >&6
31807 else
31810 ac_ext=cpp
31811 ac_cpp='$CXXCPP $CPPFLAGS'
31812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31817 /* end confdefs.h. */
31818 #include <math.h>
31820 main ()
31822 _atan2l(0, 0);
31824 return 0;
31826 _ACEOF
31827 if ac_fn_cxx_try_compile "$LINENO"; then :
31828 glibcxx_cv_func__atan2l_use=yes
31829 else
31830 glibcxx_cv_func__atan2l_use=no
31832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31833 ac_ext=c
31834 ac_cpp='$CPP $CPPFLAGS'
31835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31844 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31846 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31847 for ac_func in _atan2l
31848 do :
31849 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31850 if test "x$ac_cv_func__atan2l" = x""yes; then :
31851 cat >>confdefs.h <<_ACEOF
31852 #define HAVE__ATAN2L 1
31853 _ACEOF
31856 done
31865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31866 $as_echo_n "checking for expl declaration... " >&6; }
31867 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31868 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31869 $as_echo_n "(cached) " >&6
31870 else
31873 ac_ext=cpp
31874 ac_cpp='$CXXCPP $CPPFLAGS'
31875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31880 /* end confdefs.h. */
31881 #include <math.h>
31882 #ifdef HAVE_IEEEFP_H
31883 #include <ieeefp.h>
31884 #endif
31887 main ()
31889 expl(0);
31891 return 0;
31893 _ACEOF
31894 if ac_fn_cxx_try_compile "$LINENO"; then :
31895 glibcxx_cv_func_expl_use=yes
31896 else
31897 glibcxx_cv_func_expl_use=no
31899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31900 ac_ext=c
31901 ac_cpp='$CPP $CPPFLAGS'
31902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31911 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31913 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31914 for ac_func in expl
31915 do :
31916 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31917 if test "x$ac_cv_func_expl" = x""yes; then :
31918 cat >>confdefs.h <<_ACEOF
31919 #define HAVE_EXPL 1
31920 _ACEOF
31923 done
31925 else
31927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31928 $as_echo_n "checking for _expl declaration... " >&6; }
31929 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31930 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31931 $as_echo_n "(cached) " >&6
31932 else
31935 ac_ext=cpp
31936 ac_cpp='$CXXCPP $CPPFLAGS'
31937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31942 /* end confdefs.h. */
31943 #include <math.h>
31944 #ifdef HAVE_IEEEFP_H
31945 #include <ieeefp.h>
31946 #endif
31949 main ()
31951 _expl(0);
31953 return 0;
31955 _ACEOF
31956 if ac_fn_cxx_try_compile "$LINENO"; then :
31957 glibcxx_cv_func__expl_use=yes
31958 else
31959 glibcxx_cv_func__expl_use=no
31961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31962 ac_ext=c
31963 ac_cpp='$CPP $CPPFLAGS'
31964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31973 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31975 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31976 for ac_func in _expl
31977 do :
31978 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31979 if test "x$ac_cv_func__expl" = x""yes; then :
31980 cat >>confdefs.h <<_ACEOF
31981 #define HAVE__EXPL 1
31982 _ACEOF
31985 done
31994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31995 $as_echo_n "checking for fabsl declaration... " >&6; }
31996 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31997 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31998 $as_echo_n "(cached) " >&6
31999 else
32002 ac_ext=cpp
32003 ac_cpp='$CXXCPP $CPPFLAGS'
32004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32009 /* end confdefs.h. */
32010 #include <math.h>
32011 #ifdef HAVE_IEEEFP_H
32012 #include <ieeefp.h>
32013 #endif
32016 main ()
32018 fabsl(0);
32020 return 0;
32022 _ACEOF
32023 if ac_fn_cxx_try_compile "$LINENO"; then :
32024 glibcxx_cv_func_fabsl_use=yes
32025 else
32026 glibcxx_cv_func_fabsl_use=no
32028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32029 ac_ext=c
32030 ac_cpp='$CPP $CPPFLAGS'
32031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32040 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32042 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32043 for ac_func in fabsl
32044 do :
32045 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32046 if test "x$ac_cv_func_fabsl" = x""yes; then :
32047 cat >>confdefs.h <<_ACEOF
32048 #define HAVE_FABSL 1
32049 _ACEOF
32052 done
32054 else
32056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32057 $as_echo_n "checking for _fabsl declaration... " >&6; }
32058 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32059 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32060 $as_echo_n "(cached) " >&6
32061 else
32064 ac_ext=cpp
32065 ac_cpp='$CXXCPP $CPPFLAGS'
32066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32071 /* end confdefs.h. */
32072 #include <math.h>
32073 #ifdef HAVE_IEEEFP_H
32074 #include <ieeefp.h>
32075 #endif
32078 main ()
32080 _fabsl(0);
32082 return 0;
32084 _ACEOF
32085 if ac_fn_cxx_try_compile "$LINENO"; then :
32086 glibcxx_cv_func__fabsl_use=yes
32087 else
32088 glibcxx_cv_func__fabsl_use=no
32090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32091 ac_ext=c
32092 ac_cpp='$CPP $CPPFLAGS'
32093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32102 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32104 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32105 for ac_func in _fabsl
32106 do :
32107 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32108 if test "x$ac_cv_func__fabsl" = x""yes; then :
32109 cat >>confdefs.h <<_ACEOF
32110 #define HAVE__FABSL 1
32111 _ACEOF
32114 done
32123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32124 $as_echo_n "checking for fmodl declaration... " >&6; }
32125 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32126 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32127 $as_echo_n "(cached) " >&6
32128 else
32131 ac_ext=cpp
32132 ac_cpp='$CXXCPP $CPPFLAGS'
32133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32138 /* end confdefs.h. */
32139 #include <math.h>
32141 main ()
32143 fmodl(0, 0);
32145 return 0;
32147 _ACEOF
32148 if ac_fn_cxx_try_compile "$LINENO"; then :
32149 glibcxx_cv_func_fmodl_use=yes
32150 else
32151 glibcxx_cv_func_fmodl_use=no
32153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32154 ac_ext=c
32155 ac_cpp='$CPP $CPPFLAGS'
32156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32165 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32167 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32168 for ac_func in fmodl
32169 do :
32170 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32171 if test "x$ac_cv_func_fmodl" = x""yes; then :
32172 cat >>confdefs.h <<_ACEOF
32173 #define HAVE_FMODL 1
32174 _ACEOF
32177 done
32179 else
32181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32182 $as_echo_n "checking for _fmodl declaration... " >&6; }
32183 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32184 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32185 $as_echo_n "(cached) " >&6
32186 else
32189 ac_ext=cpp
32190 ac_cpp='$CXXCPP $CPPFLAGS'
32191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32196 /* end confdefs.h. */
32197 #include <math.h>
32199 main ()
32201 _fmodl(0, 0);
32203 return 0;
32205 _ACEOF
32206 if ac_fn_cxx_try_compile "$LINENO"; then :
32207 glibcxx_cv_func__fmodl_use=yes
32208 else
32209 glibcxx_cv_func__fmodl_use=no
32211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32212 ac_ext=c
32213 ac_cpp='$CPP $CPPFLAGS'
32214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32223 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32225 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32226 for ac_func in _fmodl
32227 do :
32228 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32229 if test "x$ac_cv_func__fmodl" = x""yes; then :
32230 cat >>confdefs.h <<_ACEOF
32231 #define HAVE__FMODL 1
32232 _ACEOF
32235 done
32244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32245 $as_echo_n "checking for frexpl declaration... " >&6; }
32246 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32247 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32248 $as_echo_n "(cached) " >&6
32249 else
32252 ac_ext=cpp
32253 ac_cpp='$CXXCPP $CPPFLAGS'
32254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32259 /* end confdefs.h. */
32260 #include <math.h>
32262 main ()
32264 frexpl(0, 0);
32266 return 0;
32268 _ACEOF
32269 if ac_fn_cxx_try_compile "$LINENO"; then :
32270 glibcxx_cv_func_frexpl_use=yes
32271 else
32272 glibcxx_cv_func_frexpl_use=no
32274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32275 ac_ext=c
32276 ac_cpp='$CPP $CPPFLAGS'
32277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32286 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32288 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32289 for ac_func in frexpl
32290 do :
32291 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32292 if test "x$ac_cv_func_frexpl" = x""yes; then :
32293 cat >>confdefs.h <<_ACEOF
32294 #define HAVE_FREXPL 1
32295 _ACEOF
32298 done
32300 else
32302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32303 $as_echo_n "checking for _frexpl declaration... " >&6; }
32304 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32305 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32306 $as_echo_n "(cached) " >&6
32307 else
32310 ac_ext=cpp
32311 ac_cpp='$CXXCPP $CPPFLAGS'
32312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32317 /* end confdefs.h. */
32318 #include <math.h>
32320 main ()
32322 _frexpl(0, 0);
32324 return 0;
32326 _ACEOF
32327 if ac_fn_cxx_try_compile "$LINENO"; then :
32328 glibcxx_cv_func__frexpl_use=yes
32329 else
32330 glibcxx_cv_func__frexpl_use=no
32332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32333 ac_ext=c
32334 ac_cpp='$CPP $CPPFLAGS'
32335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32344 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32346 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32347 for ac_func in _frexpl
32348 do :
32349 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32350 if test "x$ac_cv_func__frexpl" = x""yes; then :
32351 cat >>confdefs.h <<_ACEOF
32352 #define HAVE__FREXPL 1
32353 _ACEOF
32356 done
32365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32366 $as_echo_n "checking for hypotl declaration... " >&6; }
32367 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32368 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32369 $as_echo_n "(cached) " >&6
32370 else
32373 ac_ext=cpp
32374 ac_cpp='$CXXCPP $CPPFLAGS'
32375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32380 /* end confdefs.h. */
32381 #include <math.h>
32383 main ()
32385 hypotl(0, 0);
32387 return 0;
32389 _ACEOF
32390 if ac_fn_cxx_try_compile "$LINENO"; then :
32391 glibcxx_cv_func_hypotl_use=yes
32392 else
32393 glibcxx_cv_func_hypotl_use=no
32395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32396 ac_ext=c
32397 ac_cpp='$CPP $CPPFLAGS'
32398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32407 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32409 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32410 for ac_func in hypotl
32411 do :
32412 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32413 if test "x$ac_cv_func_hypotl" = x""yes; then :
32414 cat >>confdefs.h <<_ACEOF
32415 #define HAVE_HYPOTL 1
32416 _ACEOF
32419 done
32421 else
32423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32424 $as_echo_n "checking for _hypotl declaration... " >&6; }
32425 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32426 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32427 $as_echo_n "(cached) " >&6
32428 else
32431 ac_ext=cpp
32432 ac_cpp='$CXXCPP $CPPFLAGS'
32433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32438 /* end confdefs.h. */
32439 #include <math.h>
32441 main ()
32443 _hypotl(0, 0);
32445 return 0;
32447 _ACEOF
32448 if ac_fn_cxx_try_compile "$LINENO"; then :
32449 glibcxx_cv_func__hypotl_use=yes
32450 else
32451 glibcxx_cv_func__hypotl_use=no
32453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32454 ac_ext=c
32455 ac_cpp='$CPP $CPPFLAGS'
32456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32465 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32467 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32468 for ac_func in _hypotl
32469 do :
32470 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32471 if test "x$ac_cv_func__hypotl" = x""yes; then :
32472 cat >>confdefs.h <<_ACEOF
32473 #define HAVE__HYPOTL 1
32474 _ACEOF
32477 done
32486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32487 $as_echo_n "checking for ldexpl declaration... " >&6; }
32488 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32489 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32490 $as_echo_n "(cached) " >&6
32491 else
32494 ac_ext=cpp
32495 ac_cpp='$CXXCPP $CPPFLAGS'
32496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32501 /* end confdefs.h. */
32502 #include <math.h>
32504 main ()
32506 ldexpl(0, 0);
32508 return 0;
32510 _ACEOF
32511 if ac_fn_cxx_try_compile "$LINENO"; then :
32512 glibcxx_cv_func_ldexpl_use=yes
32513 else
32514 glibcxx_cv_func_ldexpl_use=no
32516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32517 ac_ext=c
32518 ac_cpp='$CPP $CPPFLAGS'
32519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32528 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32530 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32531 for ac_func in ldexpl
32532 do :
32533 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32534 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32535 cat >>confdefs.h <<_ACEOF
32536 #define HAVE_LDEXPL 1
32537 _ACEOF
32540 done
32542 else
32544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32545 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32546 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32547 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32548 $as_echo_n "(cached) " >&6
32549 else
32552 ac_ext=cpp
32553 ac_cpp='$CXXCPP $CPPFLAGS'
32554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32559 /* end confdefs.h. */
32560 #include <math.h>
32562 main ()
32564 _ldexpl(0, 0);
32566 return 0;
32568 _ACEOF
32569 if ac_fn_cxx_try_compile "$LINENO"; then :
32570 glibcxx_cv_func__ldexpl_use=yes
32571 else
32572 glibcxx_cv_func__ldexpl_use=no
32574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32575 ac_ext=c
32576 ac_cpp='$CPP $CPPFLAGS'
32577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32586 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32588 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32589 for ac_func in _ldexpl
32590 do :
32591 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32592 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32593 cat >>confdefs.h <<_ACEOF
32594 #define HAVE__LDEXPL 1
32595 _ACEOF
32598 done
32607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32608 $as_echo_n "checking for logl declaration... " >&6; }
32609 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32610 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32611 $as_echo_n "(cached) " >&6
32612 else
32615 ac_ext=cpp
32616 ac_cpp='$CXXCPP $CPPFLAGS'
32617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32622 /* end confdefs.h. */
32623 #include <math.h>
32624 #ifdef HAVE_IEEEFP_H
32625 #include <ieeefp.h>
32626 #endif
32629 main ()
32631 logl(0);
32633 return 0;
32635 _ACEOF
32636 if ac_fn_cxx_try_compile "$LINENO"; then :
32637 glibcxx_cv_func_logl_use=yes
32638 else
32639 glibcxx_cv_func_logl_use=no
32641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32642 ac_ext=c
32643 ac_cpp='$CPP $CPPFLAGS'
32644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32653 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32655 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32656 for ac_func in logl
32657 do :
32658 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32659 if test "x$ac_cv_func_logl" = x""yes; then :
32660 cat >>confdefs.h <<_ACEOF
32661 #define HAVE_LOGL 1
32662 _ACEOF
32665 done
32667 else
32669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32670 $as_echo_n "checking for _logl declaration... " >&6; }
32671 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32672 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32673 $as_echo_n "(cached) " >&6
32674 else
32677 ac_ext=cpp
32678 ac_cpp='$CXXCPP $CPPFLAGS'
32679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32684 /* end confdefs.h. */
32685 #include <math.h>
32686 #ifdef HAVE_IEEEFP_H
32687 #include <ieeefp.h>
32688 #endif
32691 main ()
32693 _logl(0);
32695 return 0;
32697 _ACEOF
32698 if ac_fn_cxx_try_compile "$LINENO"; then :
32699 glibcxx_cv_func__logl_use=yes
32700 else
32701 glibcxx_cv_func__logl_use=no
32703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32704 ac_ext=c
32705 ac_cpp='$CPP $CPPFLAGS'
32706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32715 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32717 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32718 for ac_func in _logl
32719 do :
32720 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32721 if test "x$ac_cv_func__logl" = x""yes; then :
32722 cat >>confdefs.h <<_ACEOF
32723 #define HAVE__LOGL 1
32724 _ACEOF
32727 done
32736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32737 $as_echo_n "checking for log10l declaration... " >&6; }
32738 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32739 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32740 $as_echo_n "(cached) " >&6
32741 else
32744 ac_ext=cpp
32745 ac_cpp='$CXXCPP $CPPFLAGS'
32746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32751 /* end confdefs.h. */
32752 #include <math.h>
32753 #ifdef HAVE_IEEEFP_H
32754 #include <ieeefp.h>
32755 #endif
32758 main ()
32760 log10l(0);
32762 return 0;
32764 _ACEOF
32765 if ac_fn_cxx_try_compile "$LINENO"; then :
32766 glibcxx_cv_func_log10l_use=yes
32767 else
32768 glibcxx_cv_func_log10l_use=no
32770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32771 ac_ext=c
32772 ac_cpp='$CPP $CPPFLAGS'
32773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32782 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32784 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32785 for ac_func in log10l
32786 do :
32787 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32788 if test "x$ac_cv_func_log10l" = x""yes; then :
32789 cat >>confdefs.h <<_ACEOF
32790 #define HAVE_LOG10L 1
32791 _ACEOF
32794 done
32796 else
32798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32799 $as_echo_n "checking for _log10l declaration... " >&6; }
32800 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32801 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32802 $as_echo_n "(cached) " >&6
32803 else
32806 ac_ext=cpp
32807 ac_cpp='$CXXCPP $CPPFLAGS'
32808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32813 /* end confdefs.h. */
32814 #include <math.h>
32815 #ifdef HAVE_IEEEFP_H
32816 #include <ieeefp.h>
32817 #endif
32820 main ()
32822 _log10l(0);
32824 return 0;
32826 _ACEOF
32827 if ac_fn_cxx_try_compile "$LINENO"; then :
32828 glibcxx_cv_func__log10l_use=yes
32829 else
32830 glibcxx_cv_func__log10l_use=no
32832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32833 ac_ext=c
32834 ac_cpp='$CPP $CPPFLAGS'
32835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32844 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32846 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32847 for ac_func in _log10l
32848 do :
32849 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32850 if test "x$ac_cv_func__log10l" = x""yes; then :
32851 cat >>confdefs.h <<_ACEOF
32852 #define HAVE__LOG10L 1
32853 _ACEOF
32856 done
32865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32866 $as_echo_n "checking for modfl declaration... " >&6; }
32867 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32868 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32869 $as_echo_n "(cached) " >&6
32870 else
32873 ac_ext=cpp
32874 ac_cpp='$CXXCPP $CPPFLAGS'
32875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32880 /* end confdefs.h. */
32881 #include <math.h>
32883 main ()
32885 modfl(0, 0);
32887 return 0;
32889 _ACEOF
32890 if ac_fn_cxx_try_compile "$LINENO"; then :
32891 glibcxx_cv_func_modfl_use=yes
32892 else
32893 glibcxx_cv_func_modfl_use=no
32895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32896 ac_ext=c
32897 ac_cpp='$CPP $CPPFLAGS'
32898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32907 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32909 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32910 for ac_func in modfl
32911 do :
32912 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32913 if test "x$ac_cv_func_modfl" = x""yes; then :
32914 cat >>confdefs.h <<_ACEOF
32915 #define HAVE_MODFL 1
32916 _ACEOF
32919 done
32921 else
32923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32924 $as_echo_n "checking for _modfl declaration... " >&6; }
32925 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32926 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32927 $as_echo_n "(cached) " >&6
32928 else
32931 ac_ext=cpp
32932 ac_cpp='$CXXCPP $CPPFLAGS'
32933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32938 /* end confdefs.h. */
32939 #include <math.h>
32941 main ()
32943 _modfl(0, 0);
32945 return 0;
32947 _ACEOF
32948 if ac_fn_cxx_try_compile "$LINENO"; then :
32949 glibcxx_cv_func__modfl_use=yes
32950 else
32951 glibcxx_cv_func__modfl_use=no
32953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32954 ac_ext=c
32955 ac_cpp='$CPP $CPPFLAGS'
32956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32965 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32967 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32968 for ac_func in _modfl
32969 do :
32970 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32971 if test "x$ac_cv_func__modfl" = x""yes; then :
32972 cat >>confdefs.h <<_ACEOF
32973 #define HAVE__MODFL 1
32974 _ACEOF
32977 done
32986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32987 $as_echo_n "checking for powl declaration... " >&6; }
32988 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32989 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32990 $as_echo_n "(cached) " >&6
32991 else
32994 ac_ext=cpp
32995 ac_cpp='$CXXCPP $CPPFLAGS'
32996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33001 /* end confdefs.h. */
33002 #include <math.h>
33004 main ()
33006 powl(0, 0);
33008 return 0;
33010 _ACEOF
33011 if ac_fn_cxx_try_compile "$LINENO"; then :
33012 glibcxx_cv_func_powl_use=yes
33013 else
33014 glibcxx_cv_func_powl_use=no
33016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33017 ac_ext=c
33018 ac_cpp='$CPP $CPPFLAGS'
33019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33028 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33030 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33031 for ac_func in powl
33032 do :
33033 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33034 if test "x$ac_cv_func_powl" = x""yes; then :
33035 cat >>confdefs.h <<_ACEOF
33036 #define HAVE_POWL 1
33037 _ACEOF
33040 done
33042 else
33044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33045 $as_echo_n "checking for _powl declaration... " >&6; }
33046 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33047 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33048 $as_echo_n "(cached) " >&6
33049 else
33052 ac_ext=cpp
33053 ac_cpp='$CXXCPP $CPPFLAGS'
33054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33059 /* end confdefs.h. */
33060 #include <math.h>
33062 main ()
33064 _powl(0, 0);
33066 return 0;
33068 _ACEOF
33069 if ac_fn_cxx_try_compile "$LINENO"; then :
33070 glibcxx_cv_func__powl_use=yes
33071 else
33072 glibcxx_cv_func__powl_use=no
33074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33075 ac_ext=c
33076 ac_cpp='$CPP $CPPFLAGS'
33077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33086 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33088 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33089 for ac_func in _powl
33090 do :
33091 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33092 if test "x$ac_cv_func__powl" = x""yes; then :
33093 cat >>confdefs.h <<_ACEOF
33094 #define HAVE__POWL 1
33095 _ACEOF
33098 done
33107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33108 $as_echo_n "checking for sqrtl declaration... " >&6; }
33109 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33110 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33111 $as_echo_n "(cached) " >&6
33112 else
33115 ac_ext=cpp
33116 ac_cpp='$CXXCPP $CPPFLAGS'
33117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33122 /* end confdefs.h. */
33123 #include <math.h>
33124 #ifdef HAVE_IEEEFP_H
33125 #include <ieeefp.h>
33126 #endif
33129 main ()
33131 sqrtl(0);
33133 return 0;
33135 _ACEOF
33136 if ac_fn_cxx_try_compile "$LINENO"; then :
33137 glibcxx_cv_func_sqrtl_use=yes
33138 else
33139 glibcxx_cv_func_sqrtl_use=no
33141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33142 ac_ext=c
33143 ac_cpp='$CPP $CPPFLAGS'
33144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33153 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33155 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33156 for ac_func in sqrtl
33157 do :
33158 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33159 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33160 cat >>confdefs.h <<_ACEOF
33161 #define HAVE_SQRTL 1
33162 _ACEOF
33165 done
33167 else
33169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33170 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33171 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33172 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33173 $as_echo_n "(cached) " >&6
33174 else
33177 ac_ext=cpp
33178 ac_cpp='$CXXCPP $CPPFLAGS'
33179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33184 /* end confdefs.h. */
33185 #include <math.h>
33186 #ifdef HAVE_IEEEFP_H
33187 #include <ieeefp.h>
33188 #endif
33191 main ()
33193 _sqrtl(0);
33195 return 0;
33197 _ACEOF
33198 if ac_fn_cxx_try_compile "$LINENO"; then :
33199 glibcxx_cv_func__sqrtl_use=yes
33200 else
33201 glibcxx_cv_func__sqrtl_use=no
33203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33204 ac_ext=c
33205 ac_cpp='$CPP $CPPFLAGS'
33206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33215 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33217 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33218 for ac_func in _sqrtl
33219 do :
33220 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33221 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33222 cat >>confdefs.h <<_ACEOF
33223 #define HAVE__SQRTL 1
33224 _ACEOF
33227 done
33236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33237 $as_echo_n "checking for sincosl declaration... " >&6; }
33238 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33239 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33240 $as_echo_n "(cached) " >&6
33241 else
33244 ac_ext=cpp
33245 ac_cpp='$CXXCPP $CPPFLAGS'
33246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33251 /* end confdefs.h. */
33252 #include <math.h>
33254 main ()
33256 sincosl(0, 0, 0);
33258 return 0;
33260 _ACEOF
33261 if ac_fn_cxx_try_compile "$LINENO"; then :
33262 glibcxx_cv_func_sincosl_use=yes
33263 else
33264 glibcxx_cv_func_sincosl_use=no
33266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33267 ac_ext=c
33268 ac_cpp='$CPP $CPPFLAGS'
33269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33278 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33280 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33281 for ac_func in sincosl
33282 do :
33283 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33284 if test "x$ac_cv_func_sincosl" = x""yes; then :
33285 cat >>confdefs.h <<_ACEOF
33286 #define HAVE_SINCOSL 1
33287 _ACEOF
33290 done
33292 else
33294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33295 $as_echo_n "checking for _sincosl declaration... " >&6; }
33296 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33297 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33298 $as_echo_n "(cached) " >&6
33299 else
33302 ac_ext=cpp
33303 ac_cpp='$CXXCPP $CPPFLAGS'
33304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33309 /* end confdefs.h. */
33310 #include <math.h>
33312 main ()
33314 _sincosl(0, 0, 0);
33316 return 0;
33318 _ACEOF
33319 if ac_fn_cxx_try_compile "$LINENO"; then :
33320 glibcxx_cv_func__sincosl_use=yes
33321 else
33322 glibcxx_cv_func__sincosl_use=no
33324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33325 ac_ext=c
33326 ac_cpp='$CPP $CPPFLAGS'
33327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33336 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33338 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33339 for ac_func in _sincosl
33340 do :
33341 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33342 if test "x$ac_cv_func__sincosl" = x""yes; then :
33343 cat >>confdefs.h <<_ACEOF
33344 #define HAVE__SINCOSL 1
33345 _ACEOF
33348 done
33357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33358 $as_echo_n "checking for finitel declaration... " >&6; }
33359 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33360 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33361 $as_echo_n "(cached) " >&6
33362 else
33365 ac_ext=cpp
33366 ac_cpp='$CXXCPP $CPPFLAGS'
33367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33372 /* end confdefs.h. */
33373 #include <math.h>
33374 #ifdef HAVE_IEEEFP_H
33375 #include <ieeefp.h>
33376 #endif
33379 main ()
33381 finitel(0);
33383 return 0;
33385 _ACEOF
33386 if ac_fn_cxx_try_compile "$LINENO"; then :
33387 glibcxx_cv_func_finitel_use=yes
33388 else
33389 glibcxx_cv_func_finitel_use=no
33391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33392 ac_ext=c
33393 ac_cpp='$CPP $CPPFLAGS'
33394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33403 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33405 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33406 for ac_func in finitel
33407 do :
33408 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33409 if test "x$ac_cv_func_finitel" = x""yes; then :
33410 cat >>confdefs.h <<_ACEOF
33411 #define HAVE_FINITEL 1
33412 _ACEOF
33415 done
33417 else
33419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33420 $as_echo_n "checking for _finitel declaration... " >&6; }
33421 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33422 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33423 $as_echo_n "(cached) " >&6
33424 else
33427 ac_ext=cpp
33428 ac_cpp='$CXXCPP $CPPFLAGS'
33429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33434 /* end confdefs.h. */
33435 #include <math.h>
33436 #ifdef HAVE_IEEEFP_H
33437 #include <ieeefp.h>
33438 #endif
33441 main ()
33443 _finitel(0);
33445 return 0;
33447 _ACEOF
33448 if ac_fn_cxx_try_compile "$LINENO"; then :
33449 glibcxx_cv_func__finitel_use=yes
33450 else
33451 glibcxx_cv_func__finitel_use=no
33453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33454 ac_ext=c
33455 ac_cpp='$CPP $CPPFLAGS'
33456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33465 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33467 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33468 for ac_func in _finitel
33469 do :
33470 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33471 if test "x$ac_cv_func__finitel" = x""yes; then :
33472 cat >>confdefs.h <<_ACEOF
33473 #define HAVE__FINITEL 1
33474 _ACEOF
33477 done
33485 LIBS="$ac_save_LIBS"
33486 CXXFLAGS="$ac_save_CXXFLAGS"
33489 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33490 ac_save_CXXFLAGS="$CXXFLAGS"
33491 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33495 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33496 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33497 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33498 $as_echo_n "(cached) " >&6
33499 else
33502 ac_ext=cpp
33503 ac_cpp='$CXXCPP $CPPFLAGS'
33504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33509 /* end confdefs.h. */
33510 #include <stdlib.h>
33512 main ()
33514 at_quick_exit(0);
33516 return 0;
33518 _ACEOF
33519 if ac_fn_cxx_try_compile "$LINENO"; then :
33520 glibcxx_cv_func_at_quick_exit_use=yes
33521 else
33522 glibcxx_cv_func_at_quick_exit_use=no
33524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33525 ac_ext=c
33526 ac_cpp='$CPP $CPPFLAGS'
33527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33536 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33537 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33538 for ac_func in at_quick_exit
33539 do :
33540 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33541 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33542 cat >>confdefs.h <<_ACEOF
33543 #define HAVE_AT_QUICK_EXIT 1
33544 _ACEOF
33547 done
33552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33553 $as_echo_n "checking for quick_exit declaration... " >&6; }
33554 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33555 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33556 $as_echo_n "(cached) " >&6
33557 else
33560 ac_ext=cpp
33561 ac_cpp='$CXXCPP $CPPFLAGS'
33562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33567 /* end confdefs.h. */
33568 #include <stdlib.h>
33570 main ()
33572 quick_exit(0);
33574 return 0;
33576 _ACEOF
33577 if ac_fn_cxx_try_compile "$LINENO"; then :
33578 glibcxx_cv_func_quick_exit_use=yes
33579 else
33580 glibcxx_cv_func_quick_exit_use=no
33582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33583 ac_ext=c
33584 ac_cpp='$CPP $CPPFLAGS'
33585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33594 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33595 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33596 for ac_func in quick_exit
33597 do :
33598 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33599 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33600 cat >>confdefs.h <<_ACEOF
33601 #define HAVE_QUICK_EXIT 1
33602 _ACEOF
33605 done
33610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33611 $as_echo_n "checking for strtold declaration... " >&6; }
33612 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33613 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33614 $as_echo_n "(cached) " >&6
33615 else
33618 ac_ext=cpp
33619 ac_cpp='$CXXCPP $CPPFLAGS'
33620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33625 /* end confdefs.h. */
33626 #include <stdlib.h>
33628 main ()
33630 strtold(0, 0);
33632 return 0;
33634 _ACEOF
33635 if ac_fn_cxx_try_compile "$LINENO"; then :
33636 glibcxx_cv_func_strtold_use=yes
33637 else
33638 glibcxx_cv_func_strtold_use=no
33640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33641 ac_ext=c
33642 ac_cpp='$CPP $CPPFLAGS'
33643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33652 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33653 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33654 for ac_func in strtold
33655 do :
33656 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33657 if test "x$ac_cv_func_strtold" = x""yes; then :
33658 cat >>confdefs.h <<_ACEOF
33659 #define HAVE_STRTOLD 1
33660 _ACEOF
33663 done
33670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33671 $as_echo_n "checking for strtof declaration... " >&6; }
33672 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33673 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33674 $as_echo_n "(cached) " >&6
33675 else
33678 ac_ext=cpp
33679 ac_cpp='$CXXCPP $CPPFLAGS'
33680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33685 /* end confdefs.h. */
33686 #include <stdlib.h>
33688 main ()
33690 strtof(0, 0);
33692 return 0;
33694 _ACEOF
33695 if ac_fn_cxx_try_compile "$LINENO"; then :
33696 glibcxx_cv_func_strtof_use=yes
33697 else
33698 glibcxx_cv_func_strtof_use=no
33700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33701 ac_ext=c
33702 ac_cpp='$CPP $CPPFLAGS'
33703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33712 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33713 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33714 for ac_func in strtof
33715 do :
33716 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33717 if test "x$ac_cv_func_strtof" = x""yes; then :
33718 cat >>confdefs.h <<_ACEOF
33719 #define HAVE_STRTOF 1
33720 _ACEOF
33723 done
33730 CXXFLAGS="$ac_save_CXXFLAGS"
33733 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33735 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33737 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33739 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33742 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33744 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33746 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33750 *-aix*)
33752 # If we're not using GNU ld, then there's no point in even trying these
33753 # tests. Check for that first. We should have already tested for gld
33754 # by now (in libtool), but require it now just to be safe...
33755 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33756 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33760 # The name set by libtool depends on the version of libtool. Shame on us
33761 # for depending on an impl detail, but c'est la vie. Older versions used
33762 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33763 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33764 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33765 # set (hence we're using an older libtool), then set it.
33766 if test x${with_gnu_ld+set} != xset; then
33767 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33768 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33769 with_gnu_ld=no
33770 else
33771 with_gnu_ld=$ac_cv_prog_gnu_ld
33775 # Start by getting the version number. I think the libtool test already
33776 # does some of this, but throws away the result.
33777 glibcxx_ld_is_gold=no
33778 if test x"$with_gnu_ld" = x"yes"; then
33779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33780 $as_echo_n "checking for ld version... " >&6; }
33782 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33783 glibcxx_ld_is_gold=yes
33785 ldver=`$LD --version 2>/dev/null |
33786 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'`
33788 glibcxx_gnu_ld_version=`echo $ldver | \
33789 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33791 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33794 # Set --gc-sections.
33795 glibcxx_have_gc_sections=no
33796 if test "$glibcxx_ld_is_gold" = "yes"; then
33797 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33798 glibcxx_have_gc_sections=yes
33800 else
33801 glibcxx_gcsections_min_ld=21602
33802 if test x"$with_gnu_ld" = x"yes" &&
33803 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33804 glibcxx_have_gc_sections=yes
33807 if test "$glibcxx_have_gc_sections" = "yes"; then
33808 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33809 # NB: This flag only works reliably after 2.16.1. Configure tests
33810 # for this are difficult, so hard wire a value that should work.
33812 ac_test_CFLAGS="${CFLAGS+set}"
33813 ac_save_CFLAGS="$CFLAGS"
33814 CFLAGS='-Wl,--gc-sections'
33816 # Check for -Wl,--gc-sections
33817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33818 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33819 if test x$gcc_no_link = xyes; then
33820 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33823 /* end confdefs.h. */
33824 int one(void) { return 1; }
33825 int two(void) { return 2; }
33828 main ()
33830 two();
33832 return 0;
33834 _ACEOF
33835 if ac_fn_c_try_link "$LINENO"; then :
33836 ac_gcsections=yes
33837 else
33838 ac_gcsections=no
33840 rm -f core conftest.err conftest.$ac_objext \
33841 conftest$ac_exeext conftest.$ac_ext
33842 if test "$ac_gcsections" = "yes"; then
33843 rm -f conftest.c
33844 touch conftest.c
33845 if $CC -c conftest.c; then
33846 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33847 grep "Warning: gc-sections option ignored" > /dev/null; then
33848 ac_gcsections=no
33851 rm -f conftest.c conftest.o conftest
33853 if test "$ac_gcsections" = "yes"; then
33854 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33857 $as_echo "$ac_gcsections" >&6; }
33859 if test "$ac_test_CFLAGS" = set; then
33860 CFLAGS="$ac_save_CFLAGS"
33861 else
33862 # this is the suspicious part
33863 CFLAGS=''
33867 # Set -z,relro.
33868 # Note this is only for shared objects.
33869 ac_ld_relro=no
33870 if test x"$with_gnu_ld" = x"yes"; then
33871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33872 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33873 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33874 if test -n "$cxx_z_relo"; then
33875 OPT_LDFLAGS="-Wl,-z,relro"
33876 ac_ld_relro=yes
33878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33879 $as_echo "$ac_ld_relro" >&6; }
33882 # Set linker optimization flags.
33883 if test x"$with_gnu_ld" = x"yes"; then
33884 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33891 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33892 ac_save_CXXFLAGS="$CXXFLAGS"
33893 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33896 $as_echo_n "checking for sin in -lm... " >&6; }
33897 if test "${ac_cv_lib_m_sin+set}" = set; then :
33898 $as_echo_n "(cached) " >&6
33899 else
33900 ac_check_lib_save_LIBS=$LIBS
33901 LIBS="-lm $LIBS"
33902 if test x$gcc_no_link = xyes; then
33903 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33906 /* end confdefs.h. */
33908 /* Override any GCC internal prototype to avoid an error.
33909 Use char because int might match the return type of a GCC
33910 builtin and then its argument prototype would still apply. */
33911 #ifdef __cplusplus
33912 extern "C"
33913 #endif
33914 char sin ();
33916 main ()
33918 return sin ();
33920 return 0;
33922 _ACEOF
33923 if ac_fn_c_try_link "$LINENO"; then :
33924 ac_cv_lib_m_sin=yes
33925 else
33926 ac_cv_lib_m_sin=no
33928 rm -f core conftest.err conftest.$ac_objext \
33929 conftest$ac_exeext conftest.$ac_ext
33930 LIBS=$ac_check_lib_save_LIBS
33932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33933 $as_echo "$ac_cv_lib_m_sin" >&6; }
33934 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33935 libm="-lm"
33938 ac_save_LIBS="$LIBS"
33939 LIBS="$LIBS $libm"
33943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33944 $as_echo_n "checking for isinf declaration... " >&6; }
33945 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33946 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33947 $as_echo_n "(cached) " >&6
33948 else
33951 ac_ext=cpp
33952 ac_cpp='$CXXCPP $CPPFLAGS'
33953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33958 /* end confdefs.h. */
33959 #include <math.h>
33960 #ifdef HAVE_IEEEFP_H
33961 #include <ieeefp.h>
33962 #endif
33965 main ()
33967 isinf(0);
33969 return 0;
33971 _ACEOF
33972 if ac_fn_cxx_try_compile "$LINENO"; then :
33973 glibcxx_cv_func_isinf_use=yes
33974 else
33975 glibcxx_cv_func_isinf_use=no
33977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33978 ac_ext=c
33979 ac_cpp='$CPP $CPPFLAGS'
33980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33989 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33991 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33992 for ac_func in isinf
33993 do :
33994 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33995 if test "x$ac_cv_func_isinf" = x""yes; then :
33996 cat >>confdefs.h <<_ACEOF
33997 #define HAVE_ISINF 1
33998 _ACEOF
34001 done
34003 else
34005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
34006 $as_echo_n "checking for _isinf declaration... " >&6; }
34007 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
34008 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
34009 $as_echo_n "(cached) " >&6
34010 else
34013 ac_ext=cpp
34014 ac_cpp='$CXXCPP $CPPFLAGS'
34015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34020 /* end confdefs.h. */
34021 #include <math.h>
34022 #ifdef HAVE_IEEEFP_H
34023 #include <ieeefp.h>
34024 #endif
34027 main ()
34029 _isinf(0);
34031 return 0;
34033 _ACEOF
34034 if ac_fn_cxx_try_compile "$LINENO"; then :
34035 glibcxx_cv_func__isinf_use=yes
34036 else
34037 glibcxx_cv_func__isinf_use=no
34039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34040 ac_ext=c
34041 ac_cpp='$CPP $CPPFLAGS'
34042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
34051 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34053 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34054 for ac_func in _isinf
34055 do :
34056 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34057 if test "x$ac_cv_func__isinf" = x""yes; then :
34058 cat >>confdefs.h <<_ACEOF
34059 #define HAVE__ISINF 1
34060 _ACEOF
34063 done
34072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34073 $as_echo_n "checking for isnan declaration... " >&6; }
34074 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34075 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34076 $as_echo_n "(cached) " >&6
34077 else
34080 ac_ext=cpp
34081 ac_cpp='$CXXCPP $CPPFLAGS'
34082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34087 /* end confdefs.h. */
34088 #include <math.h>
34089 #ifdef HAVE_IEEEFP_H
34090 #include <ieeefp.h>
34091 #endif
34094 main ()
34096 isnan(0);
34098 return 0;
34100 _ACEOF
34101 if ac_fn_cxx_try_compile "$LINENO"; then :
34102 glibcxx_cv_func_isnan_use=yes
34103 else
34104 glibcxx_cv_func_isnan_use=no
34106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34107 ac_ext=c
34108 ac_cpp='$CPP $CPPFLAGS'
34109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34118 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34120 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34121 for ac_func in isnan
34122 do :
34123 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34124 if test "x$ac_cv_func_isnan" = x""yes; then :
34125 cat >>confdefs.h <<_ACEOF
34126 #define HAVE_ISNAN 1
34127 _ACEOF
34130 done
34132 else
34134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34135 $as_echo_n "checking for _isnan declaration... " >&6; }
34136 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34137 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34138 $as_echo_n "(cached) " >&6
34139 else
34142 ac_ext=cpp
34143 ac_cpp='$CXXCPP $CPPFLAGS'
34144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34149 /* end confdefs.h. */
34150 #include <math.h>
34151 #ifdef HAVE_IEEEFP_H
34152 #include <ieeefp.h>
34153 #endif
34156 main ()
34158 _isnan(0);
34160 return 0;
34162 _ACEOF
34163 if ac_fn_cxx_try_compile "$LINENO"; then :
34164 glibcxx_cv_func__isnan_use=yes
34165 else
34166 glibcxx_cv_func__isnan_use=no
34168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34169 ac_ext=c
34170 ac_cpp='$CPP $CPPFLAGS'
34171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34180 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34182 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34183 for ac_func in _isnan
34184 do :
34185 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34186 if test "x$ac_cv_func__isnan" = x""yes; then :
34187 cat >>confdefs.h <<_ACEOF
34188 #define HAVE__ISNAN 1
34189 _ACEOF
34192 done
34201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34202 $as_echo_n "checking for finite declaration... " >&6; }
34203 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34204 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34205 $as_echo_n "(cached) " >&6
34206 else
34209 ac_ext=cpp
34210 ac_cpp='$CXXCPP $CPPFLAGS'
34211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34216 /* end confdefs.h. */
34217 #include <math.h>
34218 #ifdef HAVE_IEEEFP_H
34219 #include <ieeefp.h>
34220 #endif
34223 main ()
34225 finite(0);
34227 return 0;
34229 _ACEOF
34230 if ac_fn_cxx_try_compile "$LINENO"; then :
34231 glibcxx_cv_func_finite_use=yes
34232 else
34233 glibcxx_cv_func_finite_use=no
34235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34236 ac_ext=c
34237 ac_cpp='$CPP $CPPFLAGS'
34238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34247 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34249 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34250 for ac_func in finite
34251 do :
34252 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34253 if test "x$ac_cv_func_finite" = x""yes; then :
34254 cat >>confdefs.h <<_ACEOF
34255 #define HAVE_FINITE 1
34256 _ACEOF
34259 done
34261 else
34263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34264 $as_echo_n "checking for _finite declaration... " >&6; }
34265 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34266 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34267 $as_echo_n "(cached) " >&6
34268 else
34271 ac_ext=cpp
34272 ac_cpp='$CXXCPP $CPPFLAGS'
34273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34278 /* end confdefs.h. */
34279 #include <math.h>
34280 #ifdef HAVE_IEEEFP_H
34281 #include <ieeefp.h>
34282 #endif
34285 main ()
34287 _finite(0);
34289 return 0;
34291 _ACEOF
34292 if ac_fn_cxx_try_compile "$LINENO"; then :
34293 glibcxx_cv_func__finite_use=yes
34294 else
34295 glibcxx_cv_func__finite_use=no
34297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34298 ac_ext=c
34299 ac_cpp='$CPP $CPPFLAGS'
34300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34309 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34311 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34312 for ac_func in _finite
34313 do :
34314 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34315 if test "x$ac_cv_func__finite" = x""yes; then :
34316 cat >>confdefs.h <<_ACEOF
34317 #define HAVE__FINITE 1
34318 _ACEOF
34321 done
34330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34331 $as_echo_n "checking for sincos declaration... " >&6; }
34332 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34333 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34334 $as_echo_n "(cached) " >&6
34335 else
34338 ac_ext=cpp
34339 ac_cpp='$CXXCPP $CPPFLAGS'
34340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34345 /* end confdefs.h. */
34346 #include <math.h>
34348 main ()
34350 sincos(0, 0, 0);
34352 return 0;
34354 _ACEOF
34355 if ac_fn_cxx_try_compile "$LINENO"; then :
34356 glibcxx_cv_func_sincos_use=yes
34357 else
34358 glibcxx_cv_func_sincos_use=no
34360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34361 ac_ext=c
34362 ac_cpp='$CPP $CPPFLAGS'
34363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34372 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34374 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34375 for ac_func in sincos
34376 do :
34377 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34378 if test "x$ac_cv_func_sincos" = x""yes; then :
34379 cat >>confdefs.h <<_ACEOF
34380 #define HAVE_SINCOS 1
34381 _ACEOF
34384 done
34386 else
34388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34389 $as_echo_n "checking for _sincos declaration... " >&6; }
34390 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34391 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34392 $as_echo_n "(cached) " >&6
34393 else
34396 ac_ext=cpp
34397 ac_cpp='$CXXCPP $CPPFLAGS'
34398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34403 /* end confdefs.h. */
34404 #include <math.h>
34406 main ()
34408 _sincos(0, 0, 0);
34410 return 0;
34412 _ACEOF
34413 if ac_fn_cxx_try_compile "$LINENO"; then :
34414 glibcxx_cv_func__sincos_use=yes
34415 else
34416 glibcxx_cv_func__sincos_use=no
34418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34419 ac_ext=c
34420 ac_cpp='$CPP $CPPFLAGS'
34421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34430 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34432 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34433 for ac_func in _sincos
34434 do :
34435 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34436 if test "x$ac_cv_func__sincos" = x""yes; then :
34437 cat >>confdefs.h <<_ACEOF
34438 #define HAVE__SINCOS 1
34439 _ACEOF
34442 done
34451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34452 $as_echo_n "checking for fpclass declaration... " >&6; }
34453 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34454 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34455 $as_echo_n "(cached) " >&6
34456 else
34459 ac_ext=cpp
34460 ac_cpp='$CXXCPP $CPPFLAGS'
34461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34466 /* end confdefs.h. */
34467 #include <math.h>
34468 #ifdef HAVE_IEEEFP_H
34469 #include <ieeefp.h>
34470 #endif
34473 main ()
34475 fpclass(0);
34477 return 0;
34479 _ACEOF
34480 if ac_fn_cxx_try_compile "$LINENO"; then :
34481 glibcxx_cv_func_fpclass_use=yes
34482 else
34483 glibcxx_cv_func_fpclass_use=no
34485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34486 ac_ext=c
34487 ac_cpp='$CPP $CPPFLAGS'
34488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34497 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34499 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34500 for ac_func in fpclass
34501 do :
34502 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34503 if test "x$ac_cv_func_fpclass" = x""yes; then :
34504 cat >>confdefs.h <<_ACEOF
34505 #define HAVE_FPCLASS 1
34506 _ACEOF
34509 done
34511 else
34513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34514 $as_echo_n "checking for _fpclass declaration... " >&6; }
34515 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34516 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34517 $as_echo_n "(cached) " >&6
34518 else
34521 ac_ext=cpp
34522 ac_cpp='$CXXCPP $CPPFLAGS'
34523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34528 /* end confdefs.h. */
34529 #include <math.h>
34530 #ifdef HAVE_IEEEFP_H
34531 #include <ieeefp.h>
34532 #endif
34535 main ()
34537 _fpclass(0);
34539 return 0;
34541 _ACEOF
34542 if ac_fn_cxx_try_compile "$LINENO"; then :
34543 glibcxx_cv_func__fpclass_use=yes
34544 else
34545 glibcxx_cv_func__fpclass_use=no
34547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34548 ac_ext=c
34549 ac_cpp='$CPP $CPPFLAGS'
34550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34559 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34561 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34562 for ac_func in _fpclass
34563 do :
34564 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34565 if test "x$ac_cv_func__fpclass" = x""yes; then :
34566 cat >>confdefs.h <<_ACEOF
34567 #define HAVE__FPCLASS 1
34568 _ACEOF
34571 done
34580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34581 $as_echo_n "checking for qfpclass declaration... " >&6; }
34582 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34583 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34584 $as_echo_n "(cached) " >&6
34585 else
34588 ac_ext=cpp
34589 ac_cpp='$CXXCPP $CPPFLAGS'
34590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34595 /* end confdefs.h. */
34596 #include <math.h>
34597 #ifdef HAVE_IEEEFP_H
34598 #include <ieeefp.h>
34599 #endif
34602 main ()
34604 qfpclass(0);
34606 return 0;
34608 _ACEOF
34609 if ac_fn_cxx_try_compile "$LINENO"; then :
34610 glibcxx_cv_func_qfpclass_use=yes
34611 else
34612 glibcxx_cv_func_qfpclass_use=no
34614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34615 ac_ext=c
34616 ac_cpp='$CPP $CPPFLAGS'
34617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34626 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34628 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34629 for ac_func in qfpclass
34630 do :
34631 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34632 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34633 cat >>confdefs.h <<_ACEOF
34634 #define HAVE_QFPCLASS 1
34635 _ACEOF
34638 done
34640 else
34642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34643 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34644 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34645 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34646 $as_echo_n "(cached) " >&6
34647 else
34650 ac_ext=cpp
34651 ac_cpp='$CXXCPP $CPPFLAGS'
34652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34657 /* end confdefs.h. */
34658 #include <math.h>
34659 #ifdef HAVE_IEEEFP_H
34660 #include <ieeefp.h>
34661 #endif
34664 main ()
34666 _qfpclass(0);
34668 return 0;
34670 _ACEOF
34671 if ac_fn_cxx_try_compile "$LINENO"; then :
34672 glibcxx_cv_func__qfpclass_use=yes
34673 else
34674 glibcxx_cv_func__qfpclass_use=no
34676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34677 ac_ext=c
34678 ac_cpp='$CPP $CPPFLAGS'
34679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34688 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34690 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34691 for ac_func in _qfpclass
34692 do :
34693 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34694 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34695 cat >>confdefs.h <<_ACEOF
34696 #define HAVE__QFPCLASS 1
34697 _ACEOF
34700 done
34709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34710 $as_echo_n "checking for hypot declaration... " >&6; }
34711 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34712 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34713 $as_echo_n "(cached) " >&6
34714 else
34717 ac_ext=cpp
34718 ac_cpp='$CXXCPP $CPPFLAGS'
34719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34724 /* end confdefs.h. */
34725 #include <math.h>
34727 main ()
34729 hypot(0, 0);
34731 return 0;
34733 _ACEOF
34734 if ac_fn_cxx_try_compile "$LINENO"; then :
34735 glibcxx_cv_func_hypot_use=yes
34736 else
34737 glibcxx_cv_func_hypot_use=no
34739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34740 ac_ext=c
34741 ac_cpp='$CPP $CPPFLAGS'
34742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34751 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34753 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34754 for ac_func in hypot
34755 do :
34756 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34757 if test "x$ac_cv_func_hypot" = x""yes; then :
34758 cat >>confdefs.h <<_ACEOF
34759 #define HAVE_HYPOT 1
34760 _ACEOF
34763 done
34765 else
34767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34768 $as_echo_n "checking for _hypot declaration... " >&6; }
34769 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34770 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34771 $as_echo_n "(cached) " >&6
34772 else
34775 ac_ext=cpp
34776 ac_cpp='$CXXCPP $CPPFLAGS'
34777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34782 /* end confdefs.h. */
34783 #include <math.h>
34785 main ()
34787 _hypot(0, 0);
34789 return 0;
34791 _ACEOF
34792 if ac_fn_cxx_try_compile "$LINENO"; then :
34793 glibcxx_cv_func__hypot_use=yes
34794 else
34795 glibcxx_cv_func__hypot_use=no
34797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34798 ac_ext=c
34799 ac_cpp='$CPP $CPPFLAGS'
34800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34809 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34811 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34812 for ac_func in _hypot
34813 do :
34814 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34815 if test "x$ac_cv_func__hypot" = x""yes; then :
34816 cat >>confdefs.h <<_ACEOF
34817 #define HAVE__HYPOT 1
34818 _ACEOF
34821 done
34830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34831 $as_echo_n "checking for float trig functions... " >&6; }
34832 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34833 $as_echo_n "(cached) " >&6
34834 else
34837 ac_ext=cpp
34838 ac_cpp='$CXXCPP $CPPFLAGS'
34839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34844 /* end confdefs.h. */
34845 #include <math.h>
34847 main ()
34849 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34851 return 0;
34853 _ACEOF
34854 if ac_fn_cxx_try_compile "$LINENO"; then :
34855 glibcxx_cv_func_float_trig_use=yes
34856 else
34857 glibcxx_cv_func_float_trig_use=no
34859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34860 ac_ext=c
34861 ac_cpp='$CPP $CPPFLAGS'
34862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34869 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34870 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34871 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34872 do :
34873 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34874 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34875 eval as_val=\$$as_ac_var
34876 if test "x$as_val" = x""yes; then :
34877 cat >>confdefs.h <<_ACEOF
34878 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34879 _ACEOF
34882 done
34884 else
34885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34886 $as_echo_n "checking for _float trig functions... " >&6; }
34887 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34888 $as_echo_n "(cached) " >&6
34889 else
34892 ac_ext=cpp
34893 ac_cpp='$CXXCPP $CPPFLAGS'
34894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34899 /* end confdefs.h. */
34900 #include <math.h>
34902 main ()
34904 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34906 return 0;
34908 _ACEOF
34909 if ac_fn_cxx_try_compile "$LINENO"; then :
34910 glibcxx_cv_func__float_trig_use=yes
34911 else
34912 glibcxx_cv_func__float_trig_use=no
34914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34915 ac_ext=c
34916 ac_cpp='$CPP $CPPFLAGS'
34917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34924 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34925 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34926 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34927 do :
34928 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34929 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34930 eval as_val=\$$as_ac_var
34931 if test "x$as_val" = x""yes; then :
34932 cat >>confdefs.h <<_ACEOF
34933 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34934 _ACEOF
34937 done
34946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34947 $as_echo_n "checking for float round functions... " >&6; }
34948 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34949 $as_echo_n "(cached) " >&6
34950 else
34953 ac_ext=cpp
34954 ac_cpp='$CXXCPP $CPPFLAGS'
34955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34960 /* end confdefs.h. */
34961 #include <math.h>
34963 main ()
34965 ceilf (0); floorf (0);
34967 return 0;
34969 _ACEOF
34970 if ac_fn_cxx_try_compile "$LINENO"; then :
34971 glibcxx_cv_func_float_round_use=yes
34972 else
34973 glibcxx_cv_func_float_round_use=no
34975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34976 ac_ext=c
34977 ac_cpp='$CPP $CPPFLAGS'
34978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34985 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34986 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34987 for ac_func in ceilf floorf
34988 do :
34989 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34990 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34991 eval as_val=\$$as_ac_var
34992 if test "x$as_val" = x""yes; then :
34993 cat >>confdefs.h <<_ACEOF
34994 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34995 _ACEOF
34998 done
35000 else
35001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
35002 $as_echo_n "checking for _float round functions... " >&6; }
35003 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
35004 $as_echo_n "(cached) " >&6
35005 else
35008 ac_ext=cpp
35009 ac_cpp='$CXXCPP $CPPFLAGS'
35010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35015 /* end confdefs.h. */
35016 #include <math.h>
35018 main ()
35020 _ceilf (0); _floorf (0);
35022 return 0;
35024 _ACEOF
35025 if ac_fn_cxx_try_compile "$LINENO"; then :
35026 glibcxx_cv_func__float_round_use=yes
35027 else
35028 glibcxx_cv_func__float_round_use=no
35030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35031 ac_ext=c
35032 ac_cpp='$CPP $CPPFLAGS'
35033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35040 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35041 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35042 for ac_func in _ceilf _floorf
35043 do :
35044 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35045 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35046 eval as_val=\$$as_ac_var
35047 if test "x$as_val" = x""yes; then :
35048 cat >>confdefs.h <<_ACEOF
35049 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35050 _ACEOF
35053 done
35063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35064 $as_echo_n "checking for expf declaration... " >&6; }
35065 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35066 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35067 $as_echo_n "(cached) " >&6
35068 else
35071 ac_ext=cpp
35072 ac_cpp='$CXXCPP $CPPFLAGS'
35073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35078 /* end confdefs.h. */
35079 #include <math.h>
35080 #ifdef HAVE_IEEEFP_H
35081 #include <ieeefp.h>
35082 #endif
35085 main ()
35087 expf(0);
35089 return 0;
35091 _ACEOF
35092 if ac_fn_cxx_try_compile "$LINENO"; then :
35093 glibcxx_cv_func_expf_use=yes
35094 else
35095 glibcxx_cv_func_expf_use=no
35097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35098 ac_ext=c
35099 ac_cpp='$CPP $CPPFLAGS'
35100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35109 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35111 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35112 for ac_func in expf
35113 do :
35114 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35115 if test "x$ac_cv_func_expf" = x""yes; then :
35116 cat >>confdefs.h <<_ACEOF
35117 #define HAVE_EXPF 1
35118 _ACEOF
35121 done
35123 else
35125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35126 $as_echo_n "checking for _expf declaration... " >&6; }
35127 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35128 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35129 $as_echo_n "(cached) " >&6
35130 else
35133 ac_ext=cpp
35134 ac_cpp='$CXXCPP $CPPFLAGS'
35135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35140 /* end confdefs.h. */
35141 #include <math.h>
35142 #ifdef HAVE_IEEEFP_H
35143 #include <ieeefp.h>
35144 #endif
35147 main ()
35149 _expf(0);
35151 return 0;
35153 _ACEOF
35154 if ac_fn_cxx_try_compile "$LINENO"; then :
35155 glibcxx_cv_func__expf_use=yes
35156 else
35157 glibcxx_cv_func__expf_use=no
35159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35160 ac_ext=c
35161 ac_cpp='$CPP $CPPFLAGS'
35162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35171 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35173 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35174 for ac_func in _expf
35175 do :
35176 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35177 if test "x$ac_cv_func__expf" = x""yes; then :
35178 cat >>confdefs.h <<_ACEOF
35179 #define HAVE__EXPF 1
35180 _ACEOF
35183 done
35192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35193 $as_echo_n "checking for isnanf declaration... " >&6; }
35194 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35195 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35196 $as_echo_n "(cached) " >&6
35197 else
35200 ac_ext=cpp
35201 ac_cpp='$CXXCPP $CPPFLAGS'
35202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35207 /* end confdefs.h. */
35208 #include <math.h>
35209 #ifdef HAVE_IEEEFP_H
35210 #include <ieeefp.h>
35211 #endif
35214 main ()
35216 isnanf(0);
35218 return 0;
35220 _ACEOF
35221 if ac_fn_cxx_try_compile "$LINENO"; then :
35222 glibcxx_cv_func_isnanf_use=yes
35223 else
35224 glibcxx_cv_func_isnanf_use=no
35226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35227 ac_ext=c
35228 ac_cpp='$CPP $CPPFLAGS'
35229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35238 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35240 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35241 for ac_func in isnanf
35242 do :
35243 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35244 if test "x$ac_cv_func_isnanf" = x""yes; then :
35245 cat >>confdefs.h <<_ACEOF
35246 #define HAVE_ISNANF 1
35247 _ACEOF
35250 done
35252 else
35254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35255 $as_echo_n "checking for _isnanf declaration... " >&6; }
35256 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35257 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35258 $as_echo_n "(cached) " >&6
35259 else
35262 ac_ext=cpp
35263 ac_cpp='$CXXCPP $CPPFLAGS'
35264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35269 /* end confdefs.h. */
35270 #include <math.h>
35271 #ifdef HAVE_IEEEFP_H
35272 #include <ieeefp.h>
35273 #endif
35276 main ()
35278 _isnanf(0);
35280 return 0;
35282 _ACEOF
35283 if ac_fn_cxx_try_compile "$LINENO"; then :
35284 glibcxx_cv_func__isnanf_use=yes
35285 else
35286 glibcxx_cv_func__isnanf_use=no
35288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35289 ac_ext=c
35290 ac_cpp='$CPP $CPPFLAGS'
35291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35300 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35302 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35303 for ac_func in _isnanf
35304 do :
35305 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35306 if test "x$ac_cv_func__isnanf" = x""yes; then :
35307 cat >>confdefs.h <<_ACEOF
35308 #define HAVE__ISNANF 1
35309 _ACEOF
35312 done
35321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35322 $as_echo_n "checking for isinff declaration... " >&6; }
35323 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35324 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35325 $as_echo_n "(cached) " >&6
35326 else
35329 ac_ext=cpp
35330 ac_cpp='$CXXCPP $CPPFLAGS'
35331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35336 /* end confdefs.h. */
35337 #include <math.h>
35338 #ifdef HAVE_IEEEFP_H
35339 #include <ieeefp.h>
35340 #endif
35343 main ()
35345 isinff(0);
35347 return 0;
35349 _ACEOF
35350 if ac_fn_cxx_try_compile "$LINENO"; then :
35351 glibcxx_cv_func_isinff_use=yes
35352 else
35353 glibcxx_cv_func_isinff_use=no
35355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35356 ac_ext=c
35357 ac_cpp='$CPP $CPPFLAGS'
35358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35367 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35369 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35370 for ac_func in isinff
35371 do :
35372 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35373 if test "x$ac_cv_func_isinff" = x""yes; then :
35374 cat >>confdefs.h <<_ACEOF
35375 #define HAVE_ISINFF 1
35376 _ACEOF
35379 done
35381 else
35383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35384 $as_echo_n "checking for _isinff declaration... " >&6; }
35385 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35386 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35387 $as_echo_n "(cached) " >&6
35388 else
35391 ac_ext=cpp
35392 ac_cpp='$CXXCPP $CPPFLAGS'
35393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35398 /* end confdefs.h. */
35399 #include <math.h>
35400 #ifdef HAVE_IEEEFP_H
35401 #include <ieeefp.h>
35402 #endif
35405 main ()
35407 _isinff(0);
35409 return 0;
35411 _ACEOF
35412 if ac_fn_cxx_try_compile "$LINENO"; then :
35413 glibcxx_cv_func__isinff_use=yes
35414 else
35415 glibcxx_cv_func__isinff_use=no
35417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35418 ac_ext=c
35419 ac_cpp='$CPP $CPPFLAGS'
35420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35429 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35431 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35432 for ac_func in _isinff
35433 do :
35434 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35435 if test "x$ac_cv_func__isinff" = x""yes; then :
35436 cat >>confdefs.h <<_ACEOF
35437 #define HAVE__ISINFF 1
35438 _ACEOF
35441 done
35450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35451 $as_echo_n "checking for atan2f declaration... " >&6; }
35452 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35453 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35454 $as_echo_n "(cached) " >&6
35455 else
35458 ac_ext=cpp
35459 ac_cpp='$CXXCPP $CPPFLAGS'
35460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35465 /* end confdefs.h. */
35466 #include <math.h>
35468 main ()
35470 atan2f(0, 0);
35472 return 0;
35474 _ACEOF
35475 if ac_fn_cxx_try_compile "$LINENO"; then :
35476 glibcxx_cv_func_atan2f_use=yes
35477 else
35478 glibcxx_cv_func_atan2f_use=no
35480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35481 ac_ext=c
35482 ac_cpp='$CPP $CPPFLAGS'
35483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35492 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35494 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35495 for ac_func in atan2f
35496 do :
35497 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35498 if test "x$ac_cv_func_atan2f" = x""yes; then :
35499 cat >>confdefs.h <<_ACEOF
35500 #define HAVE_ATAN2F 1
35501 _ACEOF
35504 done
35506 else
35508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35509 $as_echo_n "checking for _atan2f declaration... " >&6; }
35510 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35511 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35512 $as_echo_n "(cached) " >&6
35513 else
35516 ac_ext=cpp
35517 ac_cpp='$CXXCPP $CPPFLAGS'
35518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35523 /* end confdefs.h. */
35524 #include <math.h>
35526 main ()
35528 _atan2f(0, 0);
35530 return 0;
35532 _ACEOF
35533 if ac_fn_cxx_try_compile "$LINENO"; then :
35534 glibcxx_cv_func__atan2f_use=yes
35535 else
35536 glibcxx_cv_func__atan2f_use=no
35538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35539 ac_ext=c
35540 ac_cpp='$CPP $CPPFLAGS'
35541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35550 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35552 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35553 for ac_func in _atan2f
35554 do :
35555 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35556 if test "x$ac_cv_func__atan2f" = x""yes; then :
35557 cat >>confdefs.h <<_ACEOF
35558 #define HAVE__ATAN2F 1
35559 _ACEOF
35562 done
35571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35572 $as_echo_n "checking for fabsf declaration... " >&6; }
35573 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35574 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35575 $as_echo_n "(cached) " >&6
35576 else
35579 ac_ext=cpp
35580 ac_cpp='$CXXCPP $CPPFLAGS'
35581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35586 /* end confdefs.h. */
35587 #include <math.h>
35588 #ifdef HAVE_IEEEFP_H
35589 #include <ieeefp.h>
35590 #endif
35593 main ()
35595 fabsf(0);
35597 return 0;
35599 _ACEOF
35600 if ac_fn_cxx_try_compile "$LINENO"; then :
35601 glibcxx_cv_func_fabsf_use=yes
35602 else
35603 glibcxx_cv_func_fabsf_use=no
35605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35606 ac_ext=c
35607 ac_cpp='$CPP $CPPFLAGS'
35608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35617 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35619 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35620 for ac_func in fabsf
35621 do :
35622 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35623 if test "x$ac_cv_func_fabsf" = x""yes; then :
35624 cat >>confdefs.h <<_ACEOF
35625 #define HAVE_FABSF 1
35626 _ACEOF
35629 done
35631 else
35633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35634 $as_echo_n "checking for _fabsf declaration... " >&6; }
35635 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35636 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35637 $as_echo_n "(cached) " >&6
35638 else
35641 ac_ext=cpp
35642 ac_cpp='$CXXCPP $CPPFLAGS'
35643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35648 /* end confdefs.h. */
35649 #include <math.h>
35650 #ifdef HAVE_IEEEFP_H
35651 #include <ieeefp.h>
35652 #endif
35655 main ()
35657 _fabsf(0);
35659 return 0;
35661 _ACEOF
35662 if ac_fn_cxx_try_compile "$LINENO"; then :
35663 glibcxx_cv_func__fabsf_use=yes
35664 else
35665 glibcxx_cv_func__fabsf_use=no
35667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35668 ac_ext=c
35669 ac_cpp='$CPP $CPPFLAGS'
35670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35679 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35681 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35682 for ac_func in _fabsf
35683 do :
35684 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35685 if test "x$ac_cv_func__fabsf" = x""yes; then :
35686 cat >>confdefs.h <<_ACEOF
35687 #define HAVE__FABSF 1
35688 _ACEOF
35691 done
35700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35701 $as_echo_n "checking for fmodf declaration... " >&6; }
35702 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35703 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35704 $as_echo_n "(cached) " >&6
35705 else
35708 ac_ext=cpp
35709 ac_cpp='$CXXCPP $CPPFLAGS'
35710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35715 /* end confdefs.h. */
35716 #include <math.h>
35718 main ()
35720 fmodf(0, 0);
35722 return 0;
35724 _ACEOF
35725 if ac_fn_cxx_try_compile "$LINENO"; then :
35726 glibcxx_cv_func_fmodf_use=yes
35727 else
35728 glibcxx_cv_func_fmodf_use=no
35730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35731 ac_ext=c
35732 ac_cpp='$CPP $CPPFLAGS'
35733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35742 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35744 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35745 for ac_func in fmodf
35746 do :
35747 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35748 if test "x$ac_cv_func_fmodf" = x""yes; then :
35749 cat >>confdefs.h <<_ACEOF
35750 #define HAVE_FMODF 1
35751 _ACEOF
35754 done
35756 else
35758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35759 $as_echo_n "checking for _fmodf declaration... " >&6; }
35760 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35761 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35762 $as_echo_n "(cached) " >&6
35763 else
35766 ac_ext=cpp
35767 ac_cpp='$CXXCPP $CPPFLAGS'
35768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35773 /* end confdefs.h. */
35774 #include <math.h>
35776 main ()
35778 _fmodf(0, 0);
35780 return 0;
35782 _ACEOF
35783 if ac_fn_cxx_try_compile "$LINENO"; then :
35784 glibcxx_cv_func__fmodf_use=yes
35785 else
35786 glibcxx_cv_func__fmodf_use=no
35788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35789 ac_ext=c
35790 ac_cpp='$CPP $CPPFLAGS'
35791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35800 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35802 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35803 for ac_func in _fmodf
35804 do :
35805 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35806 if test "x$ac_cv_func__fmodf" = x""yes; then :
35807 cat >>confdefs.h <<_ACEOF
35808 #define HAVE__FMODF 1
35809 _ACEOF
35812 done
35821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35822 $as_echo_n "checking for frexpf declaration... " >&6; }
35823 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35824 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35825 $as_echo_n "(cached) " >&6
35826 else
35829 ac_ext=cpp
35830 ac_cpp='$CXXCPP $CPPFLAGS'
35831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35836 /* end confdefs.h. */
35837 #include <math.h>
35839 main ()
35841 frexpf(0, 0);
35843 return 0;
35845 _ACEOF
35846 if ac_fn_cxx_try_compile "$LINENO"; then :
35847 glibcxx_cv_func_frexpf_use=yes
35848 else
35849 glibcxx_cv_func_frexpf_use=no
35851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35852 ac_ext=c
35853 ac_cpp='$CPP $CPPFLAGS'
35854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35863 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35865 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35866 for ac_func in frexpf
35867 do :
35868 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35869 if test "x$ac_cv_func_frexpf" = x""yes; then :
35870 cat >>confdefs.h <<_ACEOF
35871 #define HAVE_FREXPF 1
35872 _ACEOF
35875 done
35877 else
35879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35880 $as_echo_n "checking for _frexpf declaration... " >&6; }
35881 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35882 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35883 $as_echo_n "(cached) " >&6
35884 else
35887 ac_ext=cpp
35888 ac_cpp='$CXXCPP $CPPFLAGS'
35889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35894 /* end confdefs.h. */
35895 #include <math.h>
35897 main ()
35899 _frexpf(0, 0);
35901 return 0;
35903 _ACEOF
35904 if ac_fn_cxx_try_compile "$LINENO"; then :
35905 glibcxx_cv_func__frexpf_use=yes
35906 else
35907 glibcxx_cv_func__frexpf_use=no
35909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35910 ac_ext=c
35911 ac_cpp='$CPP $CPPFLAGS'
35912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35921 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35923 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35924 for ac_func in _frexpf
35925 do :
35926 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35927 if test "x$ac_cv_func__frexpf" = x""yes; then :
35928 cat >>confdefs.h <<_ACEOF
35929 #define HAVE__FREXPF 1
35930 _ACEOF
35933 done
35942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35943 $as_echo_n "checking for hypotf declaration... " >&6; }
35944 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35945 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35946 $as_echo_n "(cached) " >&6
35947 else
35950 ac_ext=cpp
35951 ac_cpp='$CXXCPP $CPPFLAGS'
35952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35957 /* end confdefs.h. */
35958 #include <math.h>
35960 main ()
35962 hypotf(0, 0);
35964 return 0;
35966 _ACEOF
35967 if ac_fn_cxx_try_compile "$LINENO"; then :
35968 glibcxx_cv_func_hypotf_use=yes
35969 else
35970 glibcxx_cv_func_hypotf_use=no
35972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35973 ac_ext=c
35974 ac_cpp='$CPP $CPPFLAGS'
35975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35984 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35986 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35987 for ac_func in hypotf
35988 do :
35989 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35990 if test "x$ac_cv_func_hypotf" = x""yes; then :
35991 cat >>confdefs.h <<_ACEOF
35992 #define HAVE_HYPOTF 1
35993 _ACEOF
35996 done
35998 else
36000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
36001 $as_echo_n "checking for _hypotf declaration... " >&6; }
36002 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36003 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
36004 $as_echo_n "(cached) " >&6
36005 else
36008 ac_ext=cpp
36009 ac_cpp='$CXXCPP $CPPFLAGS'
36010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36015 /* end confdefs.h. */
36016 #include <math.h>
36018 main ()
36020 _hypotf(0, 0);
36022 return 0;
36024 _ACEOF
36025 if ac_fn_cxx_try_compile "$LINENO"; then :
36026 glibcxx_cv_func__hypotf_use=yes
36027 else
36028 glibcxx_cv_func__hypotf_use=no
36030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36031 ac_ext=c
36032 ac_cpp='$CPP $CPPFLAGS'
36033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
36042 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36044 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36045 for ac_func in _hypotf
36046 do :
36047 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36048 if test "x$ac_cv_func__hypotf" = x""yes; then :
36049 cat >>confdefs.h <<_ACEOF
36050 #define HAVE__HYPOTF 1
36051 _ACEOF
36054 done
36063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36064 $as_echo_n "checking for ldexpf declaration... " >&6; }
36065 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36066 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
36067 $as_echo_n "(cached) " >&6
36068 else
36071 ac_ext=cpp
36072 ac_cpp='$CXXCPP $CPPFLAGS'
36073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36078 /* end confdefs.h. */
36079 #include <math.h>
36081 main ()
36083 ldexpf(0, 0);
36085 return 0;
36087 _ACEOF
36088 if ac_fn_cxx_try_compile "$LINENO"; then :
36089 glibcxx_cv_func_ldexpf_use=yes
36090 else
36091 glibcxx_cv_func_ldexpf_use=no
36093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36094 ac_ext=c
36095 ac_cpp='$CPP $CPPFLAGS'
36096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36105 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36107 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36108 for ac_func in ldexpf
36109 do :
36110 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36111 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36112 cat >>confdefs.h <<_ACEOF
36113 #define HAVE_LDEXPF 1
36114 _ACEOF
36117 done
36119 else
36121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36122 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36123 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36124 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36125 $as_echo_n "(cached) " >&6
36126 else
36129 ac_ext=cpp
36130 ac_cpp='$CXXCPP $CPPFLAGS'
36131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36136 /* end confdefs.h. */
36137 #include <math.h>
36139 main ()
36141 _ldexpf(0, 0);
36143 return 0;
36145 _ACEOF
36146 if ac_fn_cxx_try_compile "$LINENO"; then :
36147 glibcxx_cv_func__ldexpf_use=yes
36148 else
36149 glibcxx_cv_func__ldexpf_use=no
36151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36152 ac_ext=c
36153 ac_cpp='$CPP $CPPFLAGS'
36154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36163 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36165 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36166 for ac_func in _ldexpf
36167 do :
36168 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36169 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36170 cat >>confdefs.h <<_ACEOF
36171 #define HAVE__LDEXPF 1
36172 _ACEOF
36175 done
36184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36185 $as_echo_n "checking for logf declaration... " >&6; }
36186 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36187 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36188 $as_echo_n "(cached) " >&6
36189 else
36192 ac_ext=cpp
36193 ac_cpp='$CXXCPP $CPPFLAGS'
36194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36199 /* end confdefs.h. */
36200 #include <math.h>
36201 #ifdef HAVE_IEEEFP_H
36202 #include <ieeefp.h>
36203 #endif
36206 main ()
36208 logf(0);
36210 return 0;
36212 _ACEOF
36213 if ac_fn_cxx_try_compile "$LINENO"; then :
36214 glibcxx_cv_func_logf_use=yes
36215 else
36216 glibcxx_cv_func_logf_use=no
36218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36219 ac_ext=c
36220 ac_cpp='$CPP $CPPFLAGS'
36221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36230 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36232 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36233 for ac_func in logf
36234 do :
36235 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36236 if test "x$ac_cv_func_logf" = x""yes; then :
36237 cat >>confdefs.h <<_ACEOF
36238 #define HAVE_LOGF 1
36239 _ACEOF
36242 done
36244 else
36246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36247 $as_echo_n "checking for _logf declaration... " >&6; }
36248 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36249 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36250 $as_echo_n "(cached) " >&6
36251 else
36254 ac_ext=cpp
36255 ac_cpp='$CXXCPP $CPPFLAGS'
36256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36261 /* end confdefs.h. */
36262 #include <math.h>
36263 #ifdef HAVE_IEEEFP_H
36264 #include <ieeefp.h>
36265 #endif
36268 main ()
36270 _logf(0);
36272 return 0;
36274 _ACEOF
36275 if ac_fn_cxx_try_compile "$LINENO"; then :
36276 glibcxx_cv_func__logf_use=yes
36277 else
36278 glibcxx_cv_func__logf_use=no
36280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36281 ac_ext=c
36282 ac_cpp='$CPP $CPPFLAGS'
36283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36292 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36294 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36295 for ac_func in _logf
36296 do :
36297 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36298 if test "x$ac_cv_func__logf" = x""yes; then :
36299 cat >>confdefs.h <<_ACEOF
36300 #define HAVE__LOGF 1
36301 _ACEOF
36304 done
36313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36314 $as_echo_n "checking for log10f declaration... " >&6; }
36315 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36316 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36317 $as_echo_n "(cached) " >&6
36318 else
36321 ac_ext=cpp
36322 ac_cpp='$CXXCPP $CPPFLAGS'
36323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36328 /* end confdefs.h. */
36329 #include <math.h>
36330 #ifdef HAVE_IEEEFP_H
36331 #include <ieeefp.h>
36332 #endif
36335 main ()
36337 log10f(0);
36339 return 0;
36341 _ACEOF
36342 if ac_fn_cxx_try_compile "$LINENO"; then :
36343 glibcxx_cv_func_log10f_use=yes
36344 else
36345 glibcxx_cv_func_log10f_use=no
36347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36348 ac_ext=c
36349 ac_cpp='$CPP $CPPFLAGS'
36350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36359 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36361 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36362 for ac_func in log10f
36363 do :
36364 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36365 if test "x$ac_cv_func_log10f" = x""yes; then :
36366 cat >>confdefs.h <<_ACEOF
36367 #define HAVE_LOG10F 1
36368 _ACEOF
36371 done
36373 else
36375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36376 $as_echo_n "checking for _log10f declaration... " >&6; }
36377 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36378 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36379 $as_echo_n "(cached) " >&6
36380 else
36383 ac_ext=cpp
36384 ac_cpp='$CXXCPP $CPPFLAGS'
36385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36390 /* end confdefs.h. */
36391 #include <math.h>
36392 #ifdef HAVE_IEEEFP_H
36393 #include <ieeefp.h>
36394 #endif
36397 main ()
36399 _log10f(0);
36401 return 0;
36403 _ACEOF
36404 if ac_fn_cxx_try_compile "$LINENO"; then :
36405 glibcxx_cv_func__log10f_use=yes
36406 else
36407 glibcxx_cv_func__log10f_use=no
36409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36410 ac_ext=c
36411 ac_cpp='$CPP $CPPFLAGS'
36412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36421 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36423 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36424 for ac_func in _log10f
36425 do :
36426 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36427 if test "x$ac_cv_func__log10f" = x""yes; then :
36428 cat >>confdefs.h <<_ACEOF
36429 #define HAVE__LOG10F 1
36430 _ACEOF
36433 done
36442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36443 $as_echo_n "checking for modff declaration... " >&6; }
36444 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36445 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36446 $as_echo_n "(cached) " >&6
36447 else
36450 ac_ext=cpp
36451 ac_cpp='$CXXCPP $CPPFLAGS'
36452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36457 /* end confdefs.h. */
36458 #include <math.h>
36460 main ()
36462 modff(0, 0);
36464 return 0;
36466 _ACEOF
36467 if ac_fn_cxx_try_compile "$LINENO"; then :
36468 glibcxx_cv_func_modff_use=yes
36469 else
36470 glibcxx_cv_func_modff_use=no
36472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36473 ac_ext=c
36474 ac_cpp='$CPP $CPPFLAGS'
36475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36484 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36486 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36487 for ac_func in modff
36488 do :
36489 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36490 if test "x$ac_cv_func_modff" = x""yes; then :
36491 cat >>confdefs.h <<_ACEOF
36492 #define HAVE_MODFF 1
36493 _ACEOF
36496 done
36498 else
36500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36501 $as_echo_n "checking for _modff declaration... " >&6; }
36502 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36503 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36504 $as_echo_n "(cached) " >&6
36505 else
36508 ac_ext=cpp
36509 ac_cpp='$CXXCPP $CPPFLAGS'
36510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36515 /* end confdefs.h. */
36516 #include <math.h>
36518 main ()
36520 _modff(0, 0);
36522 return 0;
36524 _ACEOF
36525 if ac_fn_cxx_try_compile "$LINENO"; then :
36526 glibcxx_cv_func__modff_use=yes
36527 else
36528 glibcxx_cv_func__modff_use=no
36530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36531 ac_ext=c
36532 ac_cpp='$CPP $CPPFLAGS'
36533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36542 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36544 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36545 for ac_func in _modff
36546 do :
36547 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36548 if test "x$ac_cv_func__modff" = x""yes; then :
36549 cat >>confdefs.h <<_ACEOF
36550 #define HAVE__MODFF 1
36551 _ACEOF
36554 done
36563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36564 $as_echo_n "checking for modf declaration... " >&6; }
36565 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36566 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36567 $as_echo_n "(cached) " >&6
36568 else
36571 ac_ext=cpp
36572 ac_cpp='$CXXCPP $CPPFLAGS'
36573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36578 /* end confdefs.h. */
36579 #include <math.h>
36581 main ()
36583 modf(0, 0);
36585 return 0;
36587 _ACEOF
36588 if ac_fn_cxx_try_compile "$LINENO"; then :
36589 glibcxx_cv_func_modf_use=yes
36590 else
36591 glibcxx_cv_func_modf_use=no
36593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36594 ac_ext=c
36595 ac_cpp='$CPP $CPPFLAGS'
36596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36605 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36607 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36608 for ac_func in modf
36609 do :
36610 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36611 if test "x$ac_cv_func_modf" = x""yes; then :
36612 cat >>confdefs.h <<_ACEOF
36613 #define HAVE_MODF 1
36614 _ACEOF
36617 done
36619 else
36621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36622 $as_echo_n "checking for _modf declaration... " >&6; }
36623 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36624 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36625 $as_echo_n "(cached) " >&6
36626 else
36629 ac_ext=cpp
36630 ac_cpp='$CXXCPP $CPPFLAGS'
36631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36636 /* end confdefs.h. */
36637 #include <math.h>
36639 main ()
36641 _modf(0, 0);
36643 return 0;
36645 _ACEOF
36646 if ac_fn_cxx_try_compile "$LINENO"; then :
36647 glibcxx_cv_func__modf_use=yes
36648 else
36649 glibcxx_cv_func__modf_use=no
36651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36652 ac_ext=c
36653 ac_cpp='$CPP $CPPFLAGS'
36654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36663 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36665 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36666 for ac_func in _modf
36667 do :
36668 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36669 if test "x$ac_cv_func__modf" = x""yes; then :
36670 cat >>confdefs.h <<_ACEOF
36671 #define HAVE__MODF 1
36672 _ACEOF
36675 done
36684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36685 $as_echo_n "checking for powf declaration... " >&6; }
36686 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36687 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36688 $as_echo_n "(cached) " >&6
36689 else
36692 ac_ext=cpp
36693 ac_cpp='$CXXCPP $CPPFLAGS'
36694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36699 /* end confdefs.h. */
36700 #include <math.h>
36702 main ()
36704 powf(0, 0);
36706 return 0;
36708 _ACEOF
36709 if ac_fn_cxx_try_compile "$LINENO"; then :
36710 glibcxx_cv_func_powf_use=yes
36711 else
36712 glibcxx_cv_func_powf_use=no
36714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36715 ac_ext=c
36716 ac_cpp='$CPP $CPPFLAGS'
36717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36726 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36728 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36729 for ac_func in powf
36730 do :
36731 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36732 if test "x$ac_cv_func_powf" = x""yes; then :
36733 cat >>confdefs.h <<_ACEOF
36734 #define HAVE_POWF 1
36735 _ACEOF
36738 done
36740 else
36742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36743 $as_echo_n "checking for _powf declaration... " >&6; }
36744 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36745 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36746 $as_echo_n "(cached) " >&6
36747 else
36750 ac_ext=cpp
36751 ac_cpp='$CXXCPP $CPPFLAGS'
36752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36757 /* end confdefs.h. */
36758 #include <math.h>
36760 main ()
36762 _powf(0, 0);
36764 return 0;
36766 _ACEOF
36767 if ac_fn_cxx_try_compile "$LINENO"; then :
36768 glibcxx_cv_func__powf_use=yes
36769 else
36770 glibcxx_cv_func__powf_use=no
36772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36773 ac_ext=c
36774 ac_cpp='$CPP $CPPFLAGS'
36775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36784 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36786 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36787 for ac_func in _powf
36788 do :
36789 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36790 if test "x$ac_cv_func__powf" = x""yes; then :
36791 cat >>confdefs.h <<_ACEOF
36792 #define HAVE__POWF 1
36793 _ACEOF
36796 done
36805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36806 $as_echo_n "checking for sqrtf declaration... " >&6; }
36807 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36808 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36809 $as_echo_n "(cached) " >&6
36810 else
36813 ac_ext=cpp
36814 ac_cpp='$CXXCPP $CPPFLAGS'
36815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36820 /* end confdefs.h. */
36821 #include <math.h>
36822 #ifdef HAVE_IEEEFP_H
36823 #include <ieeefp.h>
36824 #endif
36827 main ()
36829 sqrtf(0);
36831 return 0;
36833 _ACEOF
36834 if ac_fn_cxx_try_compile "$LINENO"; then :
36835 glibcxx_cv_func_sqrtf_use=yes
36836 else
36837 glibcxx_cv_func_sqrtf_use=no
36839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36840 ac_ext=c
36841 ac_cpp='$CPP $CPPFLAGS'
36842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36851 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36853 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36854 for ac_func in sqrtf
36855 do :
36856 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36857 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36858 cat >>confdefs.h <<_ACEOF
36859 #define HAVE_SQRTF 1
36860 _ACEOF
36863 done
36865 else
36867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36868 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36869 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36870 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36871 $as_echo_n "(cached) " >&6
36872 else
36875 ac_ext=cpp
36876 ac_cpp='$CXXCPP $CPPFLAGS'
36877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36882 /* end confdefs.h. */
36883 #include <math.h>
36884 #ifdef HAVE_IEEEFP_H
36885 #include <ieeefp.h>
36886 #endif
36889 main ()
36891 _sqrtf(0);
36893 return 0;
36895 _ACEOF
36896 if ac_fn_cxx_try_compile "$LINENO"; then :
36897 glibcxx_cv_func__sqrtf_use=yes
36898 else
36899 glibcxx_cv_func__sqrtf_use=no
36901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36902 ac_ext=c
36903 ac_cpp='$CPP $CPPFLAGS'
36904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36913 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36915 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36916 for ac_func in _sqrtf
36917 do :
36918 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36919 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36920 cat >>confdefs.h <<_ACEOF
36921 #define HAVE__SQRTF 1
36922 _ACEOF
36925 done
36934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36935 $as_echo_n "checking for sincosf declaration... " >&6; }
36936 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36937 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36938 $as_echo_n "(cached) " >&6
36939 else
36942 ac_ext=cpp
36943 ac_cpp='$CXXCPP $CPPFLAGS'
36944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36949 /* end confdefs.h. */
36950 #include <math.h>
36952 main ()
36954 sincosf(0, 0, 0);
36956 return 0;
36958 _ACEOF
36959 if ac_fn_cxx_try_compile "$LINENO"; then :
36960 glibcxx_cv_func_sincosf_use=yes
36961 else
36962 glibcxx_cv_func_sincosf_use=no
36964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36965 ac_ext=c
36966 ac_cpp='$CPP $CPPFLAGS'
36967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36976 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36978 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36979 for ac_func in sincosf
36980 do :
36981 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36982 if test "x$ac_cv_func_sincosf" = x""yes; then :
36983 cat >>confdefs.h <<_ACEOF
36984 #define HAVE_SINCOSF 1
36985 _ACEOF
36988 done
36990 else
36992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36993 $as_echo_n "checking for _sincosf declaration... " >&6; }
36994 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36995 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36996 $as_echo_n "(cached) " >&6
36997 else
37000 ac_ext=cpp
37001 ac_cpp='$CXXCPP $CPPFLAGS'
37002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37007 /* end confdefs.h. */
37008 #include <math.h>
37010 main ()
37012 _sincosf(0, 0, 0);
37014 return 0;
37016 _ACEOF
37017 if ac_fn_cxx_try_compile "$LINENO"; then :
37018 glibcxx_cv_func__sincosf_use=yes
37019 else
37020 glibcxx_cv_func__sincosf_use=no
37022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37023 ac_ext=c
37024 ac_cpp='$CPP $CPPFLAGS'
37025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37034 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37036 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37037 for ac_func in _sincosf
37038 do :
37039 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37040 if test "x$ac_cv_func__sincosf" = x""yes; then :
37041 cat >>confdefs.h <<_ACEOF
37042 #define HAVE__SINCOSF 1
37043 _ACEOF
37046 done
37055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37056 $as_echo_n "checking for finitef declaration... " >&6; }
37057 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37058 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37059 $as_echo_n "(cached) " >&6
37060 else
37063 ac_ext=cpp
37064 ac_cpp='$CXXCPP $CPPFLAGS'
37065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37070 /* end confdefs.h. */
37071 #include <math.h>
37072 #ifdef HAVE_IEEEFP_H
37073 #include <ieeefp.h>
37074 #endif
37077 main ()
37079 finitef(0);
37081 return 0;
37083 _ACEOF
37084 if ac_fn_cxx_try_compile "$LINENO"; then :
37085 glibcxx_cv_func_finitef_use=yes
37086 else
37087 glibcxx_cv_func_finitef_use=no
37089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37090 ac_ext=c
37091 ac_cpp='$CPP $CPPFLAGS'
37092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37101 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37103 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37104 for ac_func in finitef
37105 do :
37106 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37107 if test "x$ac_cv_func_finitef" = x""yes; then :
37108 cat >>confdefs.h <<_ACEOF
37109 #define HAVE_FINITEF 1
37110 _ACEOF
37113 done
37115 else
37117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37118 $as_echo_n "checking for _finitef declaration... " >&6; }
37119 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37120 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37121 $as_echo_n "(cached) " >&6
37122 else
37125 ac_ext=cpp
37126 ac_cpp='$CXXCPP $CPPFLAGS'
37127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37132 /* end confdefs.h. */
37133 #include <math.h>
37134 #ifdef HAVE_IEEEFP_H
37135 #include <ieeefp.h>
37136 #endif
37139 main ()
37141 _finitef(0);
37143 return 0;
37145 _ACEOF
37146 if ac_fn_cxx_try_compile "$LINENO"; then :
37147 glibcxx_cv_func__finitef_use=yes
37148 else
37149 glibcxx_cv_func__finitef_use=no
37151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37152 ac_ext=c
37153 ac_cpp='$CPP $CPPFLAGS'
37154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37163 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37165 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37166 for ac_func in _finitef
37167 do :
37168 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37169 if test "x$ac_cv_func__finitef" = x""yes; then :
37170 cat >>confdefs.h <<_ACEOF
37171 #define HAVE__FINITEF 1
37172 _ACEOF
37175 done
37184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37185 $as_echo_n "checking for long double trig functions... " >&6; }
37186 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37187 $as_echo_n "(cached) " >&6
37188 else
37191 ac_ext=cpp
37192 ac_cpp='$CXXCPP $CPPFLAGS'
37193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37198 /* end confdefs.h. */
37199 #include <math.h>
37201 main ()
37203 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37205 return 0;
37207 _ACEOF
37208 if ac_fn_cxx_try_compile "$LINENO"; then :
37209 glibcxx_cv_func_long_double_trig_use=yes
37210 else
37211 glibcxx_cv_func_long_double_trig_use=no
37213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37214 ac_ext=c
37215 ac_cpp='$CPP $CPPFLAGS'
37216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37223 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37224 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37225 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37226 do :
37227 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37228 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37229 eval as_val=\$$as_ac_var
37230 if test "x$as_val" = x""yes; then :
37231 cat >>confdefs.h <<_ACEOF
37232 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37233 _ACEOF
37236 done
37238 else
37239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37240 $as_echo_n "checking for _long double trig functions... " >&6; }
37241 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37242 $as_echo_n "(cached) " >&6
37243 else
37246 ac_ext=cpp
37247 ac_cpp='$CXXCPP $CPPFLAGS'
37248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37253 /* end confdefs.h. */
37254 #include <math.h>
37256 main ()
37258 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37260 return 0;
37262 _ACEOF
37263 if ac_fn_cxx_try_compile "$LINENO"; then :
37264 glibcxx_cv_func__long_double_trig_use=yes
37265 else
37266 glibcxx_cv_func__long_double_trig_use=no
37268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37269 ac_ext=c
37270 ac_cpp='$CPP $CPPFLAGS'
37271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37278 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37279 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37280 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37281 do :
37282 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37283 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37284 eval as_val=\$$as_ac_var
37285 if test "x$as_val" = x""yes; then :
37286 cat >>confdefs.h <<_ACEOF
37287 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37288 _ACEOF
37291 done
37300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37301 $as_echo_n "checking for long double round functions... " >&6; }
37302 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37303 $as_echo_n "(cached) " >&6
37304 else
37307 ac_ext=cpp
37308 ac_cpp='$CXXCPP $CPPFLAGS'
37309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37314 /* end confdefs.h. */
37315 #include <math.h>
37317 main ()
37319 ceill (0); floorl (0);
37321 return 0;
37323 _ACEOF
37324 if ac_fn_cxx_try_compile "$LINENO"; then :
37325 glibcxx_cv_func_long_double_round_use=yes
37326 else
37327 glibcxx_cv_func_long_double_round_use=no
37329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37330 ac_ext=c
37331 ac_cpp='$CPP $CPPFLAGS'
37332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37339 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37340 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37341 for ac_func in ceill floorl
37342 do :
37343 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37344 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37345 eval as_val=\$$as_ac_var
37346 if test "x$as_val" = x""yes; then :
37347 cat >>confdefs.h <<_ACEOF
37348 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37349 _ACEOF
37352 done
37354 else
37355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37356 $as_echo_n "checking for _long double round functions... " >&6; }
37357 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37358 $as_echo_n "(cached) " >&6
37359 else
37362 ac_ext=cpp
37363 ac_cpp='$CXXCPP $CPPFLAGS'
37364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37369 /* end confdefs.h. */
37370 #include <math.h>
37372 main ()
37374 _ceill (0); _floorl (0);
37376 return 0;
37378 _ACEOF
37379 if ac_fn_cxx_try_compile "$LINENO"; then :
37380 glibcxx_cv_func__long_double_round_use=yes
37381 else
37382 glibcxx_cv_func__long_double_round_use=no
37384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37385 ac_ext=c
37386 ac_cpp='$CPP $CPPFLAGS'
37387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37394 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37395 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37396 for ac_func in _ceill _floorl
37397 do :
37398 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37399 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37400 eval as_val=\$$as_ac_var
37401 if test "x$as_val" = x""yes; then :
37402 cat >>confdefs.h <<_ACEOF
37403 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37404 _ACEOF
37407 done
37417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37418 $as_echo_n "checking for isnanl declaration... " >&6; }
37419 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37420 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37421 $as_echo_n "(cached) " >&6
37422 else
37425 ac_ext=cpp
37426 ac_cpp='$CXXCPP $CPPFLAGS'
37427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37432 /* end confdefs.h. */
37433 #include <math.h>
37434 #ifdef HAVE_IEEEFP_H
37435 #include <ieeefp.h>
37436 #endif
37439 main ()
37441 isnanl(0);
37443 return 0;
37445 _ACEOF
37446 if ac_fn_cxx_try_compile "$LINENO"; then :
37447 glibcxx_cv_func_isnanl_use=yes
37448 else
37449 glibcxx_cv_func_isnanl_use=no
37451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37452 ac_ext=c
37453 ac_cpp='$CPP $CPPFLAGS'
37454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37463 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37465 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37466 for ac_func in isnanl
37467 do :
37468 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37469 if test "x$ac_cv_func_isnanl" = x""yes; then :
37470 cat >>confdefs.h <<_ACEOF
37471 #define HAVE_ISNANL 1
37472 _ACEOF
37475 done
37477 else
37479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37480 $as_echo_n "checking for _isnanl declaration... " >&6; }
37481 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37482 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37483 $as_echo_n "(cached) " >&6
37484 else
37487 ac_ext=cpp
37488 ac_cpp='$CXXCPP $CPPFLAGS'
37489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37494 /* end confdefs.h. */
37495 #include <math.h>
37496 #ifdef HAVE_IEEEFP_H
37497 #include <ieeefp.h>
37498 #endif
37501 main ()
37503 _isnanl(0);
37505 return 0;
37507 _ACEOF
37508 if ac_fn_cxx_try_compile "$LINENO"; then :
37509 glibcxx_cv_func__isnanl_use=yes
37510 else
37511 glibcxx_cv_func__isnanl_use=no
37513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37514 ac_ext=c
37515 ac_cpp='$CPP $CPPFLAGS'
37516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37525 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37527 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37528 for ac_func in _isnanl
37529 do :
37530 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37531 if test "x$ac_cv_func__isnanl" = x""yes; then :
37532 cat >>confdefs.h <<_ACEOF
37533 #define HAVE__ISNANL 1
37534 _ACEOF
37537 done
37546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37547 $as_echo_n "checking for isinfl declaration... " >&6; }
37548 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37549 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37550 $as_echo_n "(cached) " >&6
37551 else
37554 ac_ext=cpp
37555 ac_cpp='$CXXCPP $CPPFLAGS'
37556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37561 /* end confdefs.h. */
37562 #include <math.h>
37563 #ifdef HAVE_IEEEFP_H
37564 #include <ieeefp.h>
37565 #endif
37568 main ()
37570 isinfl(0);
37572 return 0;
37574 _ACEOF
37575 if ac_fn_cxx_try_compile "$LINENO"; then :
37576 glibcxx_cv_func_isinfl_use=yes
37577 else
37578 glibcxx_cv_func_isinfl_use=no
37580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37581 ac_ext=c
37582 ac_cpp='$CPP $CPPFLAGS'
37583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37592 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37594 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37595 for ac_func in isinfl
37596 do :
37597 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37598 if test "x$ac_cv_func_isinfl" = x""yes; then :
37599 cat >>confdefs.h <<_ACEOF
37600 #define HAVE_ISINFL 1
37601 _ACEOF
37604 done
37606 else
37608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37609 $as_echo_n "checking for _isinfl declaration... " >&6; }
37610 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37611 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37612 $as_echo_n "(cached) " >&6
37613 else
37616 ac_ext=cpp
37617 ac_cpp='$CXXCPP $CPPFLAGS'
37618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37623 /* end confdefs.h. */
37624 #include <math.h>
37625 #ifdef HAVE_IEEEFP_H
37626 #include <ieeefp.h>
37627 #endif
37630 main ()
37632 _isinfl(0);
37634 return 0;
37636 _ACEOF
37637 if ac_fn_cxx_try_compile "$LINENO"; then :
37638 glibcxx_cv_func__isinfl_use=yes
37639 else
37640 glibcxx_cv_func__isinfl_use=no
37642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37643 ac_ext=c
37644 ac_cpp='$CPP $CPPFLAGS'
37645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37654 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37656 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37657 for ac_func in _isinfl
37658 do :
37659 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37660 if test "x$ac_cv_func__isinfl" = x""yes; then :
37661 cat >>confdefs.h <<_ACEOF
37662 #define HAVE__ISINFL 1
37663 _ACEOF
37666 done
37675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37676 $as_echo_n "checking for atan2l declaration... " >&6; }
37677 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37678 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37679 $as_echo_n "(cached) " >&6
37680 else
37683 ac_ext=cpp
37684 ac_cpp='$CXXCPP $CPPFLAGS'
37685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37690 /* end confdefs.h. */
37691 #include <math.h>
37693 main ()
37695 atan2l(0, 0);
37697 return 0;
37699 _ACEOF
37700 if ac_fn_cxx_try_compile "$LINENO"; then :
37701 glibcxx_cv_func_atan2l_use=yes
37702 else
37703 glibcxx_cv_func_atan2l_use=no
37705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37706 ac_ext=c
37707 ac_cpp='$CPP $CPPFLAGS'
37708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37717 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37719 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37720 for ac_func in atan2l
37721 do :
37722 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37723 if test "x$ac_cv_func_atan2l" = x""yes; then :
37724 cat >>confdefs.h <<_ACEOF
37725 #define HAVE_ATAN2L 1
37726 _ACEOF
37729 done
37731 else
37733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37734 $as_echo_n "checking for _atan2l declaration... " >&6; }
37735 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37736 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37737 $as_echo_n "(cached) " >&6
37738 else
37741 ac_ext=cpp
37742 ac_cpp='$CXXCPP $CPPFLAGS'
37743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37748 /* end confdefs.h. */
37749 #include <math.h>
37751 main ()
37753 _atan2l(0, 0);
37755 return 0;
37757 _ACEOF
37758 if ac_fn_cxx_try_compile "$LINENO"; then :
37759 glibcxx_cv_func__atan2l_use=yes
37760 else
37761 glibcxx_cv_func__atan2l_use=no
37763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37764 ac_ext=c
37765 ac_cpp='$CPP $CPPFLAGS'
37766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37775 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37777 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37778 for ac_func in _atan2l
37779 do :
37780 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37781 if test "x$ac_cv_func__atan2l" = x""yes; then :
37782 cat >>confdefs.h <<_ACEOF
37783 #define HAVE__ATAN2L 1
37784 _ACEOF
37787 done
37796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37797 $as_echo_n "checking for expl declaration... " >&6; }
37798 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37799 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37800 $as_echo_n "(cached) " >&6
37801 else
37804 ac_ext=cpp
37805 ac_cpp='$CXXCPP $CPPFLAGS'
37806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37811 /* end confdefs.h. */
37812 #include <math.h>
37813 #ifdef HAVE_IEEEFP_H
37814 #include <ieeefp.h>
37815 #endif
37818 main ()
37820 expl(0);
37822 return 0;
37824 _ACEOF
37825 if ac_fn_cxx_try_compile "$LINENO"; then :
37826 glibcxx_cv_func_expl_use=yes
37827 else
37828 glibcxx_cv_func_expl_use=no
37830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37831 ac_ext=c
37832 ac_cpp='$CPP $CPPFLAGS'
37833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37842 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37844 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37845 for ac_func in expl
37846 do :
37847 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37848 if test "x$ac_cv_func_expl" = x""yes; then :
37849 cat >>confdefs.h <<_ACEOF
37850 #define HAVE_EXPL 1
37851 _ACEOF
37854 done
37856 else
37858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37859 $as_echo_n "checking for _expl declaration... " >&6; }
37860 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37861 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37862 $as_echo_n "(cached) " >&6
37863 else
37866 ac_ext=cpp
37867 ac_cpp='$CXXCPP $CPPFLAGS'
37868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37873 /* end confdefs.h. */
37874 #include <math.h>
37875 #ifdef HAVE_IEEEFP_H
37876 #include <ieeefp.h>
37877 #endif
37880 main ()
37882 _expl(0);
37884 return 0;
37886 _ACEOF
37887 if ac_fn_cxx_try_compile "$LINENO"; then :
37888 glibcxx_cv_func__expl_use=yes
37889 else
37890 glibcxx_cv_func__expl_use=no
37892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37893 ac_ext=c
37894 ac_cpp='$CPP $CPPFLAGS'
37895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37904 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37906 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37907 for ac_func in _expl
37908 do :
37909 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37910 if test "x$ac_cv_func__expl" = x""yes; then :
37911 cat >>confdefs.h <<_ACEOF
37912 #define HAVE__EXPL 1
37913 _ACEOF
37916 done
37925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37926 $as_echo_n "checking for fabsl declaration... " >&6; }
37927 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37928 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37929 $as_echo_n "(cached) " >&6
37930 else
37933 ac_ext=cpp
37934 ac_cpp='$CXXCPP $CPPFLAGS'
37935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37940 /* end confdefs.h. */
37941 #include <math.h>
37942 #ifdef HAVE_IEEEFP_H
37943 #include <ieeefp.h>
37944 #endif
37947 main ()
37949 fabsl(0);
37951 return 0;
37953 _ACEOF
37954 if ac_fn_cxx_try_compile "$LINENO"; then :
37955 glibcxx_cv_func_fabsl_use=yes
37956 else
37957 glibcxx_cv_func_fabsl_use=no
37959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37960 ac_ext=c
37961 ac_cpp='$CPP $CPPFLAGS'
37962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37971 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37973 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37974 for ac_func in fabsl
37975 do :
37976 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37977 if test "x$ac_cv_func_fabsl" = x""yes; then :
37978 cat >>confdefs.h <<_ACEOF
37979 #define HAVE_FABSL 1
37980 _ACEOF
37983 done
37985 else
37987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37988 $as_echo_n "checking for _fabsl declaration... " >&6; }
37989 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37990 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37991 $as_echo_n "(cached) " >&6
37992 else
37995 ac_ext=cpp
37996 ac_cpp='$CXXCPP $CPPFLAGS'
37997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38002 /* end confdefs.h. */
38003 #include <math.h>
38004 #ifdef HAVE_IEEEFP_H
38005 #include <ieeefp.h>
38006 #endif
38009 main ()
38011 _fabsl(0);
38013 return 0;
38015 _ACEOF
38016 if ac_fn_cxx_try_compile "$LINENO"; then :
38017 glibcxx_cv_func__fabsl_use=yes
38018 else
38019 glibcxx_cv_func__fabsl_use=no
38021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38022 ac_ext=c
38023 ac_cpp='$CPP $CPPFLAGS'
38024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38033 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38035 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38036 for ac_func in _fabsl
38037 do :
38038 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38039 if test "x$ac_cv_func__fabsl" = x""yes; then :
38040 cat >>confdefs.h <<_ACEOF
38041 #define HAVE__FABSL 1
38042 _ACEOF
38045 done
38054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
38055 $as_echo_n "checking for fmodl declaration... " >&6; }
38056 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38057 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
38058 $as_echo_n "(cached) " >&6
38059 else
38062 ac_ext=cpp
38063 ac_cpp='$CXXCPP $CPPFLAGS'
38064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38069 /* end confdefs.h. */
38070 #include <math.h>
38072 main ()
38074 fmodl(0, 0);
38076 return 0;
38078 _ACEOF
38079 if ac_fn_cxx_try_compile "$LINENO"; then :
38080 glibcxx_cv_func_fmodl_use=yes
38081 else
38082 glibcxx_cv_func_fmodl_use=no
38084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38085 ac_ext=c
38086 ac_cpp='$CPP $CPPFLAGS'
38087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38096 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38098 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38099 for ac_func in fmodl
38100 do :
38101 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38102 if test "x$ac_cv_func_fmodl" = x""yes; then :
38103 cat >>confdefs.h <<_ACEOF
38104 #define HAVE_FMODL 1
38105 _ACEOF
38108 done
38110 else
38112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38113 $as_echo_n "checking for _fmodl declaration... " >&6; }
38114 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38115 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38116 $as_echo_n "(cached) " >&6
38117 else
38120 ac_ext=cpp
38121 ac_cpp='$CXXCPP $CPPFLAGS'
38122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38127 /* end confdefs.h. */
38128 #include <math.h>
38130 main ()
38132 _fmodl(0, 0);
38134 return 0;
38136 _ACEOF
38137 if ac_fn_cxx_try_compile "$LINENO"; then :
38138 glibcxx_cv_func__fmodl_use=yes
38139 else
38140 glibcxx_cv_func__fmodl_use=no
38142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38143 ac_ext=c
38144 ac_cpp='$CPP $CPPFLAGS'
38145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38154 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38156 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38157 for ac_func in _fmodl
38158 do :
38159 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38160 if test "x$ac_cv_func__fmodl" = x""yes; then :
38161 cat >>confdefs.h <<_ACEOF
38162 #define HAVE__FMODL 1
38163 _ACEOF
38166 done
38175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38176 $as_echo_n "checking for frexpl declaration... " >&6; }
38177 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38178 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38179 $as_echo_n "(cached) " >&6
38180 else
38183 ac_ext=cpp
38184 ac_cpp='$CXXCPP $CPPFLAGS'
38185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38190 /* end confdefs.h. */
38191 #include <math.h>
38193 main ()
38195 frexpl(0, 0);
38197 return 0;
38199 _ACEOF
38200 if ac_fn_cxx_try_compile "$LINENO"; then :
38201 glibcxx_cv_func_frexpl_use=yes
38202 else
38203 glibcxx_cv_func_frexpl_use=no
38205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38206 ac_ext=c
38207 ac_cpp='$CPP $CPPFLAGS'
38208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38217 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38219 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38220 for ac_func in frexpl
38221 do :
38222 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38223 if test "x$ac_cv_func_frexpl" = x""yes; then :
38224 cat >>confdefs.h <<_ACEOF
38225 #define HAVE_FREXPL 1
38226 _ACEOF
38229 done
38231 else
38233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38234 $as_echo_n "checking for _frexpl declaration... " >&6; }
38235 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38236 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38237 $as_echo_n "(cached) " >&6
38238 else
38241 ac_ext=cpp
38242 ac_cpp='$CXXCPP $CPPFLAGS'
38243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38248 /* end confdefs.h. */
38249 #include <math.h>
38251 main ()
38253 _frexpl(0, 0);
38255 return 0;
38257 _ACEOF
38258 if ac_fn_cxx_try_compile "$LINENO"; then :
38259 glibcxx_cv_func__frexpl_use=yes
38260 else
38261 glibcxx_cv_func__frexpl_use=no
38263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38264 ac_ext=c
38265 ac_cpp='$CPP $CPPFLAGS'
38266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38275 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38277 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38278 for ac_func in _frexpl
38279 do :
38280 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38281 if test "x$ac_cv_func__frexpl" = x""yes; then :
38282 cat >>confdefs.h <<_ACEOF
38283 #define HAVE__FREXPL 1
38284 _ACEOF
38287 done
38296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38297 $as_echo_n "checking for hypotl declaration... " >&6; }
38298 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38299 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38300 $as_echo_n "(cached) " >&6
38301 else
38304 ac_ext=cpp
38305 ac_cpp='$CXXCPP $CPPFLAGS'
38306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38311 /* end confdefs.h. */
38312 #include <math.h>
38314 main ()
38316 hypotl(0, 0);
38318 return 0;
38320 _ACEOF
38321 if ac_fn_cxx_try_compile "$LINENO"; then :
38322 glibcxx_cv_func_hypotl_use=yes
38323 else
38324 glibcxx_cv_func_hypotl_use=no
38326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38327 ac_ext=c
38328 ac_cpp='$CPP $CPPFLAGS'
38329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38338 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38340 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38341 for ac_func in hypotl
38342 do :
38343 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38344 if test "x$ac_cv_func_hypotl" = x""yes; then :
38345 cat >>confdefs.h <<_ACEOF
38346 #define HAVE_HYPOTL 1
38347 _ACEOF
38350 done
38352 else
38354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38355 $as_echo_n "checking for _hypotl declaration... " >&6; }
38356 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38357 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38358 $as_echo_n "(cached) " >&6
38359 else
38362 ac_ext=cpp
38363 ac_cpp='$CXXCPP $CPPFLAGS'
38364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38369 /* end confdefs.h. */
38370 #include <math.h>
38372 main ()
38374 _hypotl(0, 0);
38376 return 0;
38378 _ACEOF
38379 if ac_fn_cxx_try_compile "$LINENO"; then :
38380 glibcxx_cv_func__hypotl_use=yes
38381 else
38382 glibcxx_cv_func__hypotl_use=no
38384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38385 ac_ext=c
38386 ac_cpp='$CPP $CPPFLAGS'
38387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38396 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38398 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38399 for ac_func in _hypotl
38400 do :
38401 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38402 if test "x$ac_cv_func__hypotl" = x""yes; then :
38403 cat >>confdefs.h <<_ACEOF
38404 #define HAVE__HYPOTL 1
38405 _ACEOF
38408 done
38417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38418 $as_echo_n "checking for ldexpl declaration... " >&6; }
38419 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38420 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38421 $as_echo_n "(cached) " >&6
38422 else
38425 ac_ext=cpp
38426 ac_cpp='$CXXCPP $CPPFLAGS'
38427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38432 /* end confdefs.h. */
38433 #include <math.h>
38435 main ()
38437 ldexpl(0, 0);
38439 return 0;
38441 _ACEOF
38442 if ac_fn_cxx_try_compile "$LINENO"; then :
38443 glibcxx_cv_func_ldexpl_use=yes
38444 else
38445 glibcxx_cv_func_ldexpl_use=no
38447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38448 ac_ext=c
38449 ac_cpp='$CPP $CPPFLAGS'
38450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38459 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38461 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38462 for ac_func in ldexpl
38463 do :
38464 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38465 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38466 cat >>confdefs.h <<_ACEOF
38467 #define HAVE_LDEXPL 1
38468 _ACEOF
38471 done
38473 else
38475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38476 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38477 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38478 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38479 $as_echo_n "(cached) " >&6
38480 else
38483 ac_ext=cpp
38484 ac_cpp='$CXXCPP $CPPFLAGS'
38485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38490 /* end confdefs.h. */
38491 #include <math.h>
38493 main ()
38495 _ldexpl(0, 0);
38497 return 0;
38499 _ACEOF
38500 if ac_fn_cxx_try_compile "$LINENO"; then :
38501 glibcxx_cv_func__ldexpl_use=yes
38502 else
38503 glibcxx_cv_func__ldexpl_use=no
38505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38506 ac_ext=c
38507 ac_cpp='$CPP $CPPFLAGS'
38508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38517 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38519 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38520 for ac_func in _ldexpl
38521 do :
38522 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38523 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38524 cat >>confdefs.h <<_ACEOF
38525 #define HAVE__LDEXPL 1
38526 _ACEOF
38529 done
38538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38539 $as_echo_n "checking for logl declaration... " >&6; }
38540 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38541 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38542 $as_echo_n "(cached) " >&6
38543 else
38546 ac_ext=cpp
38547 ac_cpp='$CXXCPP $CPPFLAGS'
38548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38553 /* end confdefs.h. */
38554 #include <math.h>
38555 #ifdef HAVE_IEEEFP_H
38556 #include <ieeefp.h>
38557 #endif
38560 main ()
38562 logl(0);
38564 return 0;
38566 _ACEOF
38567 if ac_fn_cxx_try_compile "$LINENO"; then :
38568 glibcxx_cv_func_logl_use=yes
38569 else
38570 glibcxx_cv_func_logl_use=no
38572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38573 ac_ext=c
38574 ac_cpp='$CPP $CPPFLAGS'
38575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38584 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38586 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38587 for ac_func in logl
38588 do :
38589 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38590 if test "x$ac_cv_func_logl" = x""yes; then :
38591 cat >>confdefs.h <<_ACEOF
38592 #define HAVE_LOGL 1
38593 _ACEOF
38596 done
38598 else
38600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38601 $as_echo_n "checking for _logl declaration... " >&6; }
38602 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38603 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38604 $as_echo_n "(cached) " >&6
38605 else
38608 ac_ext=cpp
38609 ac_cpp='$CXXCPP $CPPFLAGS'
38610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38615 /* end confdefs.h. */
38616 #include <math.h>
38617 #ifdef HAVE_IEEEFP_H
38618 #include <ieeefp.h>
38619 #endif
38622 main ()
38624 _logl(0);
38626 return 0;
38628 _ACEOF
38629 if ac_fn_cxx_try_compile "$LINENO"; then :
38630 glibcxx_cv_func__logl_use=yes
38631 else
38632 glibcxx_cv_func__logl_use=no
38634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38635 ac_ext=c
38636 ac_cpp='$CPP $CPPFLAGS'
38637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38646 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38648 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38649 for ac_func in _logl
38650 do :
38651 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38652 if test "x$ac_cv_func__logl" = x""yes; then :
38653 cat >>confdefs.h <<_ACEOF
38654 #define HAVE__LOGL 1
38655 _ACEOF
38658 done
38667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38668 $as_echo_n "checking for log10l declaration... " >&6; }
38669 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38670 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38671 $as_echo_n "(cached) " >&6
38672 else
38675 ac_ext=cpp
38676 ac_cpp='$CXXCPP $CPPFLAGS'
38677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38682 /* end confdefs.h. */
38683 #include <math.h>
38684 #ifdef HAVE_IEEEFP_H
38685 #include <ieeefp.h>
38686 #endif
38689 main ()
38691 log10l(0);
38693 return 0;
38695 _ACEOF
38696 if ac_fn_cxx_try_compile "$LINENO"; then :
38697 glibcxx_cv_func_log10l_use=yes
38698 else
38699 glibcxx_cv_func_log10l_use=no
38701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38702 ac_ext=c
38703 ac_cpp='$CPP $CPPFLAGS'
38704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38713 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38715 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38716 for ac_func in log10l
38717 do :
38718 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38719 if test "x$ac_cv_func_log10l" = x""yes; then :
38720 cat >>confdefs.h <<_ACEOF
38721 #define HAVE_LOG10L 1
38722 _ACEOF
38725 done
38727 else
38729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38730 $as_echo_n "checking for _log10l declaration... " >&6; }
38731 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38732 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38733 $as_echo_n "(cached) " >&6
38734 else
38737 ac_ext=cpp
38738 ac_cpp='$CXXCPP $CPPFLAGS'
38739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38744 /* end confdefs.h. */
38745 #include <math.h>
38746 #ifdef HAVE_IEEEFP_H
38747 #include <ieeefp.h>
38748 #endif
38751 main ()
38753 _log10l(0);
38755 return 0;
38757 _ACEOF
38758 if ac_fn_cxx_try_compile "$LINENO"; then :
38759 glibcxx_cv_func__log10l_use=yes
38760 else
38761 glibcxx_cv_func__log10l_use=no
38763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38764 ac_ext=c
38765 ac_cpp='$CPP $CPPFLAGS'
38766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38775 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38777 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38778 for ac_func in _log10l
38779 do :
38780 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38781 if test "x$ac_cv_func__log10l" = x""yes; then :
38782 cat >>confdefs.h <<_ACEOF
38783 #define HAVE__LOG10L 1
38784 _ACEOF
38787 done
38796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38797 $as_echo_n "checking for modfl declaration... " >&6; }
38798 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38799 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38800 $as_echo_n "(cached) " >&6
38801 else
38804 ac_ext=cpp
38805 ac_cpp='$CXXCPP $CPPFLAGS'
38806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38811 /* end confdefs.h. */
38812 #include <math.h>
38814 main ()
38816 modfl(0, 0);
38818 return 0;
38820 _ACEOF
38821 if ac_fn_cxx_try_compile "$LINENO"; then :
38822 glibcxx_cv_func_modfl_use=yes
38823 else
38824 glibcxx_cv_func_modfl_use=no
38826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38827 ac_ext=c
38828 ac_cpp='$CPP $CPPFLAGS'
38829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38838 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38840 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38841 for ac_func in modfl
38842 do :
38843 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38844 if test "x$ac_cv_func_modfl" = x""yes; then :
38845 cat >>confdefs.h <<_ACEOF
38846 #define HAVE_MODFL 1
38847 _ACEOF
38850 done
38852 else
38854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38855 $as_echo_n "checking for _modfl declaration... " >&6; }
38856 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38857 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38858 $as_echo_n "(cached) " >&6
38859 else
38862 ac_ext=cpp
38863 ac_cpp='$CXXCPP $CPPFLAGS'
38864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38869 /* end confdefs.h. */
38870 #include <math.h>
38872 main ()
38874 _modfl(0, 0);
38876 return 0;
38878 _ACEOF
38879 if ac_fn_cxx_try_compile "$LINENO"; then :
38880 glibcxx_cv_func__modfl_use=yes
38881 else
38882 glibcxx_cv_func__modfl_use=no
38884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38885 ac_ext=c
38886 ac_cpp='$CPP $CPPFLAGS'
38887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38896 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38898 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38899 for ac_func in _modfl
38900 do :
38901 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38902 if test "x$ac_cv_func__modfl" = x""yes; then :
38903 cat >>confdefs.h <<_ACEOF
38904 #define HAVE__MODFL 1
38905 _ACEOF
38908 done
38917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38918 $as_echo_n "checking for powl declaration... " >&6; }
38919 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38920 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38921 $as_echo_n "(cached) " >&6
38922 else
38925 ac_ext=cpp
38926 ac_cpp='$CXXCPP $CPPFLAGS'
38927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38932 /* end confdefs.h. */
38933 #include <math.h>
38935 main ()
38937 powl(0, 0);
38939 return 0;
38941 _ACEOF
38942 if ac_fn_cxx_try_compile "$LINENO"; then :
38943 glibcxx_cv_func_powl_use=yes
38944 else
38945 glibcxx_cv_func_powl_use=no
38947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38948 ac_ext=c
38949 ac_cpp='$CPP $CPPFLAGS'
38950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38959 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38961 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38962 for ac_func in powl
38963 do :
38964 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38965 if test "x$ac_cv_func_powl" = x""yes; then :
38966 cat >>confdefs.h <<_ACEOF
38967 #define HAVE_POWL 1
38968 _ACEOF
38971 done
38973 else
38975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38976 $as_echo_n "checking for _powl declaration... " >&6; }
38977 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38978 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38979 $as_echo_n "(cached) " >&6
38980 else
38983 ac_ext=cpp
38984 ac_cpp='$CXXCPP $CPPFLAGS'
38985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38990 /* end confdefs.h. */
38991 #include <math.h>
38993 main ()
38995 _powl(0, 0);
38997 return 0;
38999 _ACEOF
39000 if ac_fn_cxx_try_compile "$LINENO"; then :
39001 glibcxx_cv_func__powl_use=yes
39002 else
39003 glibcxx_cv_func__powl_use=no
39005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39006 ac_ext=c
39007 ac_cpp='$CPP $CPPFLAGS'
39008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
39017 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
39019 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39020 for ac_func in _powl
39021 do :
39022 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
39023 if test "x$ac_cv_func__powl" = x""yes; then :
39024 cat >>confdefs.h <<_ACEOF
39025 #define HAVE__POWL 1
39026 _ACEOF
39029 done
39038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39039 $as_echo_n "checking for sqrtl declaration... " >&6; }
39040 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39041 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39042 $as_echo_n "(cached) " >&6
39043 else
39046 ac_ext=cpp
39047 ac_cpp='$CXXCPP $CPPFLAGS'
39048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39053 /* end confdefs.h. */
39054 #include <math.h>
39055 #ifdef HAVE_IEEEFP_H
39056 #include <ieeefp.h>
39057 #endif
39060 main ()
39062 sqrtl(0);
39064 return 0;
39066 _ACEOF
39067 if ac_fn_cxx_try_compile "$LINENO"; then :
39068 glibcxx_cv_func_sqrtl_use=yes
39069 else
39070 glibcxx_cv_func_sqrtl_use=no
39072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39073 ac_ext=c
39074 ac_cpp='$CPP $CPPFLAGS'
39075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39084 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39086 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39087 for ac_func in sqrtl
39088 do :
39089 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39090 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39091 cat >>confdefs.h <<_ACEOF
39092 #define HAVE_SQRTL 1
39093 _ACEOF
39096 done
39098 else
39100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39101 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39102 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39103 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39104 $as_echo_n "(cached) " >&6
39105 else
39108 ac_ext=cpp
39109 ac_cpp='$CXXCPP $CPPFLAGS'
39110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39115 /* end confdefs.h. */
39116 #include <math.h>
39117 #ifdef HAVE_IEEEFP_H
39118 #include <ieeefp.h>
39119 #endif
39122 main ()
39124 _sqrtl(0);
39126 return 0;
39128 _ACEOF
39129 if ac_fn_cxx_try_compile "$LINENO"; then :
39130 glibcxx_cv_func__sqrtl_use=yes
39131 else
39132 glibcxx_cv_func__sqrtl_use=no
39134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39135 ac_ext=c
39136 ac_cpp='$CPP $CPPFLAGS'
39137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39146 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39148 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39149 for ac_func in _sqrtl
39150 do :
39151 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39152 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39153 cat >>confdefs.h <<_ACEOF
39154 #define HAVE__SQRTL 1
39155 _ACEOF
39158 done
39167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39168 $as_echo_n "checking for sincosl declaration... " >&6; }
39169 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39170 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39171 $as_echo_n "(cached) " >&6
39172 else
39175 ac_ext=cpp
39176 ac_cpp='$CXXCPP $CPPFLAGS'
39177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39182 /* end confdefs.h. */
39183 #include <math.h>
39185 main ()
39187 sincosl(0, 0, 0);
39189 return 0;
39191 _ACEOF
39192 if ac_fn_cxx_try_compile "$LINENO"; then :
39193 glibcxx_cv_func_sincosl_use=yes
39194 else
39195 glibcxx_cv_func_sincosl_use=no
39197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39198 ac_ext=c
39199 ac_cpp='$CPP $CPPFLAGS'
39200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39209 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39211 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39212 for ac_func in sincosl
39213 do :
39214 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39215 if test "x$ac_cv_func_sincosl" = x""yes; then :
39216 cat >>confdefs.h <<_ACEOF
39217 #define HAVE_SINCOSL 1
39218 _ACEOF
39221 done
39223 else
39225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39226 $as_echo_n "checking for _sincosl declaration... " >&6; }
39227 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39228 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39229 $as_echo_n "(cached) " >&6
39230 else
39233 ac_ext=cpp
39234 ac_cpp='$CXXCPP $CPPFLAGS'
39235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39240 /* end confdefs.h. */
39241 #include <math.h>
39243 main ()
39245 _sincosl(0, 0, 0);
39247 return 0;
39249 _ACEOF
39250 if ac_fn_cxx_try_compile "$LINENO"; then :
39251 glibcxx_cv_func__sincosl_use=yes
39252 else
39253 glibcxx_cv_func__sincosl_use=no
39255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39256 ac_ext=c
39257 ac_cpp='$CPP $CPPFLAGS'
39258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39267 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39269 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39270 for ac_func in _sincosl
39271 do :
39272 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39273 if test "x$ac_cv_func__sincosl" = x""yes; then :
39274 cat >>confdefs.h <<_ACEOF
39275 #define HAVE__SINCOSL 1
39276 _ACEOF
39279 done
39288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39289 $as_echo_n "checking for finitel declaration... " >&6; }
39290 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39291 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39292 $as_echo_n "(cached) " >&6
39293 else
39296 ac_ext=cpp
39297 ac_cpp='$CXXCPP $CPPFLAGS'
39298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39303 /* end confdefs.h. */
39304 #include <math.h>
39305 #ifdef HAVE_IEEEFP_H
39306 #include <ieeefp.h>
39307 #endif
39310 main ()
39312 finitel(0);
39314 return 0;
39316 _ACEOF
39317 if ac_fn_cxx_try_compile "$LINENO"; then :
39318 glibcxx_cv_func_finitel_use=yes
39319 else
39320 glibcxx_cv_func_finitel_use=no
39322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39323 ac_ext=c
39324 ac_cpp='$CPP $CPPFLAGS'
39325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39334 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39336 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39337 for ac_func in finitel
39338 do :
39339 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39340 if test "x$ac_cv_func_finitel" = x""yes; then :
39341 cat >>confdefs.h <<_ACEOF
39342 #define HAVE_FINITEL 1
39343 _ACEOF
39346 done
39348 else
39350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39351 $as_echo_n "checking for _finitel declaration... " >&6; }
39352 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39353 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39354 $as_echo_n "(cached) " >&6
39355 else
39358 ac_ext=cpp
39359 ac_cpp='$CXXCPP $CPPFLAGS'
39360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39365 /* end confdefs.h. */
39366 #include <math.h>
39367 #ifdef HAVE_IEEEFP_H
39368 #include <ieeefp.h>
39369 #endif
39372 main ()
39374 _finitel(0);
39376 return 0;
39378 _ACEOF
39379 if ac_fn_cxx_try_compile "$LINENO"; then :
39380 glibcxx_cv_func__finitel_use=yes
39381 else
39382 glibcxx_cv_func__finitel_use=no
39384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39385 ac_ext=c
39386 ac_cpp='$CPP $CPPFLAGS'
39387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39396 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39398 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39399 for ac_func in _finitel
39400 do :
39401 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39402 if test "x$ac_cv_func__finitel" = x""yes; then :
39403 cat >>confdefs.h <<_ACEOF
39404 #define HAVE__FINITEL 1
39405 _ACEOF
39408 done
39416 LIBS="$ac_save_LIBS"
39417 CXXFLAGS="$ac_save_CXXFLAGS"
39420 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39421 ac_save_CXXFLAGS="$CXXFLAGS"
39422 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39426 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39427 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39428 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39429 $as_echo_n "(cached) " >&6
39430 else
39433 ac_ext=cpp
39434 ac_cpp='$CXXCPP $CPPFLAGS'
39435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39440 /* end confdefs.h. */
39441 #include <stdlib.h>
39443 main ()
39445 at_quick_exit(0);
39447 return 0;
39449 _ACEOF
39450 if ac_fn_cxx_try_compile "$LINENO"; then :
39451 glibcxx_cv_func_at_quick_exit_use=yes
39452 else
39453 glibcxx_cv_func_at_quick_exit_use=no
39455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39456 ac_ext=c
39457 ac_cpp='$CPP $CPPFLAGS'
39458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39467 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39468 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39469 for ac_func in at_quick_exit
39470 do :
39471 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39472 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39473 cat >>confdefs.h <<_ACEOF
39474 #define HAVE_AT_QUICK_EXIT 1
39475 _ACEOF
39478 done
39483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39484 $as_echo_n "checking for quick_exit declaration... " >&6; }
39485 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39486 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39487 $as_echo_n "(cached) " >&6
39488 else
39491 ac_ext=cpp
39492 ac_cpp='$CXXCPP $CPPFLAGS'
39493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39498 /* end confdefs.h. */
39499 #include <stdlib.h>
39501 main ()
39503 quick_exit(0);
39505 return 0;
39507 _ACEOF
39508 if ac_fn_cxx_try_compile "$LINENO"; then :
39509 glibcxx_cv_func_quick_exit_use=yes
39510 else
39511 glibcxx_cv_func_quick_exit_use=no
39513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39514 ac_ext=c
39515 ac_cpp='$CPP $CPPFLAGS'
39516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39525 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39526 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39527 for ac_func in quick_exit
39528 do :
39529 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39530 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39531 cat >>confdefs.h <<_ACEOF
39532 #define HAVE_QUICK_EXIT 1
39533 _ACEOF
39536 done
39541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39542 $as_echo_n "checking for strtold declaration... " >&6; }
39543 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39544 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39545 $as_echo_n "(cached) " >&6
39546 else
39549 ac_ext=cpp
39550 ac_cpp='$CXXCPP $CPPFLAGS'
39551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39556 /* end confdefs.h. */
39557 #include <stdlib.h>
39559 main ()
39561 strtold(0, 0);
39563 return 0;
39565 _ACEOF
39566 if ac_fn_cxx_try_compile "$LINENO"; then :
39567 glibcxx_cv_func_strtold_use=yes
39568 else
39569 glibcxx_cv_func_strtold_use=no
39571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39572 ac_ext=c
39573 ac_cpp='$CPP $CPPFLAGS'
39574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39583 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39584 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39585 for ac_func in strtold
39586 do :
39587 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39588 if test "x$ac_cv_func_strtold" = x""yes; then :
39589 cat >>confdefs.h <<_ACEOF
39590 #define HAVE_STRTOLD 1
39591 _ACEOF
39594 done
39601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39602 $as_echo_n "checking for strtof declaration... " >&6; }
39603 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39604 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39605 $as_echo_n "(cached) " >&6
39606 else
39609 ac_ext=cpp
39610 ac_cpp='$CXXCPP $CPPFLAGS'
39611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39616 /* end confdefs.h. */
39617 #include <stdlib.h>
39619 main ()
39621 strtof(0, 0);
39623 return 0;
39625 _ACEOF
39626 if ac_fn_cxx_try_compile "$LINENO"; then :
39627 glibcxx_cv_func_strtof_use=yes
39628 else
39629 glibcxx_cv_func_strtof_use=no
39631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39632 ac_ext=c
39633 ac_cpp='$CPP $CPPFLAGS'
39634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39643 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39644 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39645 for ac_func in strtof
39646 do :
39647 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39648 if test "x$ac_cv_func_strtof" = x""yes; then :
39649 cat >>confdefs.h <<_ACEOF
39650 #define HAVE_STRTOF 1
39651 _ACEOF
39654 done
39661 CXXFLAGS="$ac_save_CXXFLAGS"
39663 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
39665 # We don't yet support AIX's TLS ABI.
39666 #GCC_CHECK_TLS
39672 am_save_CPPFLAGS="$CPPFLAGS"
39674 for element in $INCICONV; do
39675 haveit=
39676 for x in $CPPFLAGS; do
39678 acl_save_prefix="$prefix"
39679 prefix="$acl_final_prefix"
39680 acl_save_exec_prefix="$exec_prefix"
39681 exec_prefix="$acl_final_exec_prefix"
39682 eval x=\"$x\"
39683 exec_prefix="$acl_save_exec_prefix"
39684 prefix="$acl_save_prefix"
39686 if test "X$x" = "X$element"; then
39687 haveit=yes
39688 break
39690 done
39691 if test -z "$haveit"; then
39692 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39694 done
39697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39698 $as_echo_n "checking for iconv... " >&6; }
39699 if test "${am_cv_func_iconv+set}" = set; then :
39700 $as_echo_n "(cached) " >&6
39701 else
39703 am_cv_func_iconv="no, consider installing GNU libiconv"
39704 am_cv_lib_iconv=no
39705 if test x$gcc_no_link = xyes; then
39706 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39709 /* end confdefs.h. */
39710 #include <stdlib.h>
39711 #include <iconv.h>
39713 main ()
39715 iconv_t cd = iconv_open("","");
39716 iconv(cd,NULL,NULL,NULL,NULL);
39717 iconv_close(cd);
39719 return 0;
39721 _ACEOF
39722 if ac_fn_c_try_link "$LINENO"; then :
39723 am_cv_func_iconv=yes
39725 rm -f core conftest.err conftest.$ac_objext \
39726 conftest$ac_exeext conftest.$ac_ext
39727 if test "$am_cv_func_iconv" != yes; then
39728 am_save_LIBS="$LIBS"
39729 LIBS="$LIBS $LIBICONV"
39730 if test x$gcc_no_link = xyes; then
39731 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39734 /* end confdefs.h. */
39735 #include <stdlib.h>
39736 #include <iconv.h>
39738 main ()
39740 iconv_t cd = iconv_open("","");
39741 iconv(cd,NULL,NULL,NULL,NULL);
39742 iconv_close(cd);
39744 return 0;
39746 _ACEOF
39747 if ac_fn_c_try_link "$LINENO"; then :
39748 am_cv_lib_iconv=yes
39749 am_cv_func_iconv=yes
39751 rm -f core conftest.err conftest.$ac_objext \
39752 conftest$ac_exeext conftest.$ac_ext
39753 LIBS="$am_save_LIBS"
39757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39758 $as_echo "$am_cv_func_iconv" >&6; }
39759 if test "$am_cv_func_iconv" = yes; then
39761 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39764 if test "$am_cv_lib_iconv" = yes; then
39765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39766 $as_echo_n "checking how to link with libiconv... " >&6; }
39767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39768 $as_echo "$LIBICONV" >&6; }
39769 else
39770 CPPFLAGS="$am_save_CPPFLAGS"
39771 LIBICONV=
39772 LTLIBICONV=
39777 if test "$am_cv_func_iconv" = yes; then
39778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39779 $as_echo_n "checking for iconv declaration... " >&6; }
39780 if test "${am_cv_proto_iconv+set}" = set; then :
39781 $as_echo_n "(cached) " >&6
39782 else
39784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39785 /* end confdefs.h. */
39787 #include <stdlib.h>
39788 #include <iconv.h>
39789 extern
39790 #ifdef __cplusplus
39792 #endif
39793 #if defined(__STDC__) || defined(__cplusplus)
39794 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39795 #else
39796 size_t iconv();
39797 #endif
39800 main ()
39804 return 0;
39806 _ACEOF
39807 if ac_fn_c_try_compile "$LINENO"; then :
39808 am_cv_proto_iconv_arg1=""
39809 else
39810 am_cv_proto_iconv_arg1="const"
39812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39813 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);"
39816 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39818 }$am_cv_proto_iconv" >&5
39819 $as_echo "${ac_t:-
39820 }$am_cv_proto_iconv" >&6; }
39822 cat >>confdefs.h <<_ACEOF
39823 #define ICONV_CONST $am_cv_proto_iconv_arg1
39824 _ACEOF
39830 *-darwin*)
39831 # Darwin versions vary, but the linker should work in a cross environment,
39832 # so we just check for all the features here.
39833 # Check for available headers.
39835 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39837 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39838 ac_save_CXXFLAGS="$CXXFLAGS"
39839 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39842 $as_echo_n "checking for sin in -lm... " >&6; }
39843 if test "${ac_cv_lib_m_sin+set}" = set; then :
39844 $as_echo_n "(cached) " >&6
39845 else
39846 ac_check_lib_save_LIBS=$LIBS
39847 LIBS="-lm $LIBS"
39848 if test x$gcc_no_link = xyes; then
39849 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39852 /* end confdefs.h. */
39854 /* Override any GCC internal prototype to avoid an error.
39855 Use char because int might match the return type of a GCC
39856 builtin and then its argument prototype would still apply. */
39857 #ifdef __cplusplus
39858 extern "C"
39859 #endif
39860 char sin ();
39862 main ()
39864 return sin ();
39866 return 0;
39868 _ACEOF
39869 if ac_fn_c_try_link "$LINENO"; then :
39870 ac_cv_lib_m_sin=yes
39871 else
39872 ac_cv_lib_m_sin=no
39874 rm -f core conftest.err conftest.$ac_objext \
39875 conftest$ac_exeext conftest.$ac_ext
39876 LIBS=$ac_check_lib_save_LIBS
39878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39879 $as_echo "$ac_cv_lib_m_sin" >&6; }
39880 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39881 libm="-lm"
39884 ac_save_LIBS="$LIBS"
39885 LIBS="$LIBS $libm"
39889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39890 $as_echo_n "checking for isinf declaration... " >&6; }
39891 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39892 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39893 $as_echo_n "(cached) " >&6
39894 else
39897 ac_ext=cpp
39898 ac_cpp='$CXXCPP $CPPFLAGS'
39899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39904 /* end confdefs.h. */
39905 #include <math.h>
39906 #ifdef HAVE_IEEEFP_H
39907 #include <ieeefp.h>
39908 #endif
39911 main ()
39913 isinf(0);
39915 return 0;
39917 _ACEOF
39918 if ac_fn_cxx_try_compile "$LINENO"; then :
39919 glibcxx_cv_func_isinf_use=yes
39920 else
39921 glibcxx_cv_func_isinf_use=no
39923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39924 ac_ext=c
39925 ac_cpp='$CPP $CPPFLAGS'
39926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39935 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39937 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39938 for ac_func in isinf
39939 do :
39940 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39941 if test "x$ac_cv_func_isinf" = x""yes; then :
39942 cat >>confdefs.h <<_ACEOF
39943 #define HAVE_ISINF 1
39944 _ACEOF
39947 done
39949 else
39951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39952 $as_echo_n "checking for _isinf declaration... " >&6; }
39953 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39954 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39955 $as_echo_n "(cached) " >&6
39956 else
39959 ac_ext=cpp
39960 ac_cpp='$CXXCPP $CPPFLAGS'
39961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39966 /* end confdefs.h. */
39967 #include <math.h>
39968 #ifdef HAVE_IEEEFP_H
39969 #include <ieeefp.h>
39970 #endif
39973 main ()
39975 _isinf(0);
39977 return 0;
39979 _ACEOF
39980 if ac_fn_cxx_try_compile "$LINENO"; then :
39981 glibcxx_cv_func__isinf_use=yes
39982 else
39983 glibcxx_cv_func__isinf_use=no
39985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39986 ac_ext=c
39987 ac_cpp='$CPP $CPPFLAGS'
39988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39997 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39999 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
40000 for ac_func in _isinf
40001 do :
40002 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
40003 if test "x$ac_cv_func__isinf" = x""yes; then :
40004 cat >>confdefs.h <<_ACEOF
40005 #define HAVE__ISINF 1
40006 _ACEOF
40009 done
40018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
40019 $as_echo_n "checking for isnan declaration... " >&6; }
40020 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
40021 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
40022 $as_echo_n "(cached) " >&6
40023 else
40026 ac_ext=cpp
40027 ac_cpp='$CXXCPP $CPPFLAGS'
40028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40033 /* end confdefs.h. */
40034 #include <math.h>
40035 #ifdef HAVE_IEEEFP_H
40036 #include <ieeefp.h>
40037 #endif
40040 main ()
40042 isnan(0);
40044 return 0;
40046 _ACEOF
40047 if ac_fn_cxx_try_compile "$LINENO"; then :
40048 glibcxx_cv_func_isnan_use=yes
40049 else
40050 glibcxx_cv_func_isnan_use=no
40052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40053 ac_ext=c
40054 ac_cpp='$CPP $CPPFLAGS'
40055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
40064 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40066 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40067 for ac_func in isnan
40068 do :
40069 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40070 if test "x$ac_cv_func_isnan" = x""yes; then :
40071 cat >>confdefs.h <<_ACEOF
40072 #define HAVE_ISNAN 1
40073 _ACEOF
40076 done
40078 else
40080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40081 $as_echo_n "checking for _isnan declaration... " >&6; }
40082 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40083 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40084 $as_echo_n "(cached) " >&6
40085 else
40088 ac_ext=cpp
40089 ac_cpp='$CXXCPP $CPPFLAGS'
40090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40095 /* end confdefs.h. */
40096 #include <math.h>
40097 #ifdef HAVE_IEEEFP_H
40098 #include <ieeefp.h>
40099 #endif
40102 main ()
40104 _isnan(0);
40106 return 0;
40108 _ACEOF
40109 if ac_fn_cxx_try_compile "$LINENO"; then :
40110 glibcxx_cv_func__isnan_use=yes
40111 else
40112 glibcxx_cv_func__isnan_use=no
40114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40115 ac_ext=c
40116 ac_cpp='$CPP $CPPFLAGS'
40117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40126 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40128 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40129 for ac_func in _isnan
40130 do :
40131 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40132 if test "x$ac_cv_func__isnan" = x""yes; then :
40133 cat >>confdefs.h <<_ACEOF
40134 #define HAVE__ISNAN 1
40135 _ACEOF
40138 done
40147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40148 $as_echo_n "checking for finite declaration... " >&6; }
40149 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40150 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40151 $as_echo_n "(cached) " >&6
40152 else
40155 ac_ext=cpp
40156 ac_cpp='$CXXCPP $CPPFLAGS'
40157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40162 /* end confdefs.h. */
40163 #include <math.h>
40164 #ifdef HAVE_IEEEFP_H
40165 #include <ieeefp.h>
40166 #endif
40169 main ()
40171 finite(0);
40173 return 0;
40175 _ACEOF
40176 if ac_fn_cxx_try_compile "$LINENO"; then :
40177 glibcxx_cv_func_finite_use=yes
40178 else
40179 glibcxx_cv_func_finite_use=no
40181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40182 ac_ext=c
40183 ac_cpp='$CPP $CPPFLAGS'
40184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40193 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40195 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40196 for ac_func in finite
40197 do :
40198 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40199 if test "x$ac_cv_func_finite" = x""yes; then :
40200 cat >>confdefs.h <<_ACEOF
40201 #define HAVE_FINITE 1
40202 _ACEOF
40205 done
40207 else
40209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40210 $as_echo_n "checking for _finite declaration... " >&6; }
40211 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40212 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40213 $as_echo_n "(cached) " >&6
40214 else
40217 ac_ext=cpp
40218 ac_cpp='$CXXCPP $CPPFLAGS'
40219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40224 /* end confdefs.h. */
40225 #include <math.h>
40226 #ifdef HAVE_IEEEFP_H
40227 #include <ieeefp.h>
40228 #endif
40231 main ()
40233 _finite(0);
40235 return 0;
40237 _ACEOF
40238 if ac_fn_cxx_try_compile "$LINENO"; then :
40239 glibcxx_cv_func__finite_use=yes
40240 else
40241 glibcxx_cv_func__finite_use=no
40243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40244 ac_ext=c
40245 ac_cpp='$CPP $CPPFLAGS'
40246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40255 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40257 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40258 for ac_func in _finite
40259 do :
40260 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40261 if test "x$ac_cv_func__finite" = x""yes; then :
40262 cat >>confdefs.h <<_ACEOF
40263 #define HAVE__FINITE 1
40264 _ACEOF
40267 done
40276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40277 $as_echo_n "checking for sincos declaration... " >&6; }
40278 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40279 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40280 $as_echo_n "(cached) " >&6
40281 else
40284 ac_ext=cpp
40285 ac_cpp='$CXXCPP $CPPFLAGS'
40286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40291 /* end confdefs.h. */
40292 #include <math.h>
40294 main ()
40296 sincos(0, 0, 0);
40298 return 0;
40300 _ACEOF
40301 if ac_fn_cxx_try_compile "$LINENO"; then :
40302 glibcxx_cv_func_sincos_use=yes
40303 else
40304 glibcxx_cv_func_sincos_use=no
40306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40307 ac_ext=c
40308 ac_cpp='$CPP $CPPFLAGS'
40309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40318 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40320 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40321 for ac_func in sincos
40322 do :
40323 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40324 if test "x$ac_cv_func_sincos" = x""yes; then :
40325 cat >>confdefs.h <<_ACEOF
40326 #define HAVE_SINCOS 1
40327 _ACEOF
40330 done
40332 else
40334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40335 $as_echo_n "checking for _sincos declaration... " >&6; }
40336 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40337 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40338 $as_echo_n "(cached) " >&6
40339 else
40342 ac_ext=cpp
40343 ac_cpp='$CXXCPP $CPPFLAGS'
40344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40349 /* end confdefs.h. */
40350 #include <math.h>
40352 main ()
40354 _sincos(0, 0, 0);
40356 return 0;
40358 _ACEOF
40359 if ac_fn_cxx_try_compile "$LINENO"; then :
40360 glibcxx_cv_func__sincos_use=yes
40361 else
40362 glibcxx_cv_func__sincos_use=no
40364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40365 ac_ext=c
40366 ac_cpp='$CPP $CPPFLAGS'
40367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40376 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40378 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40379 for ac_func in _sincos
40380 do :
40381 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40382 if test "x$ac_cv_func__sincos" = x""yes; then :
40383 cat >>confdefs.h <<_ACEOF
40384 #define HAVE__SINCOS 1
40385 _ACEOF
40388 done
40397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40398 $as_echo_n "checking for fpclass declaration... " >&6; }
40399 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40400 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40401 $as_echo_n "(cached) " >&6
40402 else
40405 ac_ext=cpp
40406 ac_cpp='$CXXCPP $CPPFLAGS'
40407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40412 /* end confdefs.h. */
40413 #include <math.h>
40414 #ifdef HAVE_IEEEFP_H
40415 #include <ieeefp.h>
40416 #endif
40419 main ()
40421 fpclass(0);
40423 return 0;
40425 _ACEOF
40426 if ac_fn_cxx_try_compile "$LINENO"; then :
40427 glibcxx_cv_func_fpclass_use=yes
40428 else
40429 glibcxx_cv_func_fpclass_use=no
40431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40432 ac_ext=c
40433 ac_cpp='$CPP $CPPFLAGS'
40434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40443 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40445 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40446 for ac_func in fpclass
40447 do :
40448 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40449 if test "x$ac_cv_func_fpclass" = x""yes; then :
40450 cat >>confdefs.h <<_ACEOF
40451 #define HAVE_FPCLASS 1
40452 _ACEOF
40455 done
40457 else
40459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40460 $as_echo_n "checking for _fpclass declaration... " >&6; }
40461 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40462 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40463 $as_echo_n "(cached) " >&6
40464 else
40467 ac_ext=cpp
40468 ac_cpp='$CXXCPP $CPPFLAGS'
40469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40474 /* end confdefs.h. */
40475 #include <math.h>
40476 #ifdef HAVE_IEEEFP_H
40477 #include <ieeefp.h>
40478 #endif
40481 main ()
40483 _fpclass(0);
40485 return 0;
40487 _ACEOF
40488 if ac_fn_cxx_try_compile "$LINENO"; then :
40489 glibcxx_cv_func__fpclass_use=yes
40490 else
40491 glibcxx_cv_func__fpclass_use=no
40493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40494 ac_ext=c
40495 ac_cpp='$CPP $CPPFLAGS'
40496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40505 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40507 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40508 for ac_func in _fpclass
40509 do :
40510 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40511 if test "x$ac_cv_func__fpclass" = x""yes; then :
40512 cat >>confdefs.h <<_ACEOF
40513 #define HAVE__FPCLASS 1
40514 _ACEOF
40517 done
40526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40527 $as_echo_n "checking for qfpclass declaration... " >&6; }
40528 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40529 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40530 $as_echo_n "(cached) " >&6
40531 else
40534 ac_ext=cpp
40535 ac_cpp='$CXXCPP $CPPFLAGS'
40536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40541 /* end confdefs.h. */
40542 #include <math.h>
40543 #ifdef HAVE_IEEEFP_H
40544 #include <ieeefp.h>
40545 #endif
40548 main ()
40550 qfpclass(0);
40552 return 0;
40554 _ACEOF
40555 if ac_fn_cxx_try_compile "$LINENO"; then :
40556 glibcxx_cv_func_qfpclass_use=yes
40557 else
40558 glibcxx_cv_func_qfpclass_use=no
40560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40561 ac_ext=c
40562 ac_cpp='$CPP $CPPFLAGS'
40563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40572 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40574 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40575 for ac_func in qfpclass
40576 do :
40577 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40578 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40579 cat >>confdefs.h <<_ACEOF
40580 #define HAVE_QFPCLASS 1
40581 _ACEOF
40584 done
40586 else
40588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40589 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40590 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40591 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40592 $as_echo_n "(cached) " >&6
40593 else
40596 ac_ext=cpp
40597 ac_cpp='$CXXCPP $CPPFLAGS'
40598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40603 /* end confdefs.h. */
40604 #include <math.h>
40605 #ifdef HAVE_IEEEFP_H
40606 #include <ieeefp.h>
40607 #endif
40610 main ()
40612 _qfpclass(0);
40614 return 0;
40616 _ACEOF
40617 if ac_fn_cxx_try_compile "$LINENO"; then :
40618 glibcxx_cv_func__qfpclass_use=yes
40619 else
40620 glibcxx_cv_func__qfpclass_use=no
40622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40623 ac_ext=c
40624 ac_cpp='$CPP $CPPFLAGS'
40625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40634 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40636 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40637 for ac_func in _qfpclass
40638 do :
40639 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40640 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40641 cat >>confdefs.h <<_ACEOF
40642 #define HAVE__QFPCLASS 1
40643 _ACEOF
40646 done
40655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40656 $as_echo_n "checking for hypot declaration... " >&6; }
40657 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40658 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40659 $as_echo_n "(cached) " >&6
40660 else
40663 ac_ext=cpp
40664 ac_cpp='$CXXCPP $CPPFLAGS'
40665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40670 /* end confdefs.h. */
40671 #include <math.h>
40673 main ()
40675 hypot(0, 0);
40677 return 0;
40679 _ACEOF
40680 if ac_fn_cxx_try_compile "$LINENO"; then :
40681 glibcxx_cv_func_hypot_use=yes
40682 else
40683 glibcxx_cv_func_hypot_use=no
40685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40686 ac_ext=c
40687 ac_cpp='$CPP $CPPFLAGS'
40688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40697 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40699 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40700 for ac_func in hypot
40701 do :
40702 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40703 if test "x$ac_cv_func_hypot" = x""yes; then :
40704 cat >>confdefs.h <<_ACEOF
40705 #define HAVE_HYPOT 1
40706 _ACEOF
40709 done
40711 else
40713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40714 $as_echo_n "checking for _hypot declaration... " >&6; }
40715 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40716 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40717 $as_echo_n "(cached) " >&6
40718 else
40721 ac_ext=cpp
40722 ac_cpp='$CXXCPP $CPPFLAGS'
40723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40728 /* end confdefs.h. */
40729 #include <math.h>
40731 main ()
40733 _hypot(0, 0);
40735 return 0;
40737 _ACEOF
40738 if ac_fn_cxx_try_compile "$LINENO"; then :
40739 glibcxx_cv_func__hypot_use=yes
40740 else
40741 glibcxx_cv_func__hypot_use=no
40743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40744 ac_ext=c
40745 ac_cpp='$CPP $CPPFLAGS'
40746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40755 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40757 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40758 for ac_func in _hypot
40759 do :
40760 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40761 if test "x$ac_cv_func__hypot" = x""yes; then :
40762 cat >>confdefs.h <<_ACEOF
40763 #define HAVE__HYPOT 1
40764 _ACEOF
40767 done
40776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40777 $as_echo_n "checking for float trig functions... " >&6; }
40778 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40779 $as_echo_n "(cached) " >&6
40780 else
40783 ac_ext=cpp
40784 ac_cpp='$CXXCPP $CPPFLAGS'
40785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40790 /* end confdefs.h. */
40791 #include <math.h>
40793 main ()
40795 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40797 return 0;
40799 _ACEOF
40800 if ac_fn_cxx_try_compile "$LINENO"; then :
40801 glibcxx_cv_func_float_trig_use=yes
40802 else
40803 glibcxx_cv_func_float_trig_use=no
40805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40806 ac_ext=c
40807 ac_cpp='$CPP $CPPFLAGS'
40808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40815 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40816 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40817 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40818 do :
40819 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40820 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40821 eval as_val=\$$as_ac_var
40822 if test "x$as_val" = x""yes; then :
40823 cat >>confdefs.h <<_ACEOF
40824 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40825 _ACEOF
40828 done
40830 else
40831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40832 $as_echo_n "checking for _float trig functions... " >&6; }
40833 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40834 $as_echo_n "(cached) " >&6
40835 else
40838 ac_ext=cpp
40839 ac_cpp='$CXXCPP $CPPFLAGS'
40840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40845 /* end confdefs.h. */
40846 #include <math.h>
40848 main ()
40850 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40852 return 0;
40854 _ACEOF
40855 if ac_fn_cxx_try_compile "$LINENO"; then :
40856 glibcxx_cv_func__float_trig_use=yes
40857 else
40858 glibcxx_cv_func__float_trig_use=no
40860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40861 ac_ext=c
40862 ac_cpp='$CPP $CPPFLAGS'
40863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40870 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40871 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40872 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40873 do :
40874 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40875 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40876 eval as_val=\$$as_ac_var
40877 if test "x$as_val" = x""yes; then :
40878 cat >>confdefs.h <<_ACEOF
40879 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40880 _ACEOF
40883 done
40892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40893 $as_echo_n "checking for float round functions... " >&6; }
40894 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40895 $as_echo_n "(cached) " >&6
40896 else
40899 ac_ext=cpp
40900 ac_cpp='$CXXCPP $CPPFLAGS'
40901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40906 /* end confdefs.h. */
40907 #include <math.h>
40909 main ()
40911 ceilf (0); floorf (0);
40913 return 0;
40915 _ACEOF
40916 if ac_fn_cxx_try_compile "$LINENO"; then :
40917 glibcxx_cv_func_float_round_use=yes
40918 else
40919 glibcxx_cv_func_float_round_use=no
40921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40922 ac_ext=c
40923 ac_cpp='$CPP $CPPFLAGS'
40924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40931 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40932 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40933 for ac_func in ceilf floorf
40934 do :
40935 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40936 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40937 eval as_val=\$$as_ac_var
40938 if test "x$as_val" = x""yes; then :
40939 cat >>confdefs.h <<_ACEOF
40940 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40941 _ACEOF
40944 done
40946 else
40947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40948 $as_echo_n "checking for _float round functions... " >&6; }
40949 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40950 $as_echo_n "(cached) " >&6
40951 else
40954 ac_ext=cpp
40955 ac_cpp='$CXXCPP $CPPFLAGS'
40956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40961 /* end confdefs.h. */
40962 #include <math.h>
40964 main ()
40966 _ceilf (0); _floorf (0);
40968 return 0;
40970 _ACEOF
40971 if ac_fn_cxx_try_compile "$LINENO"; then :
40972 glibcxx_cv_func__float_round_use=yes
40973 else
40974 glibcxx_cv_func__float_round_use=no
40976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40977 ac_ext=c
40978 ac_cpp='$CPP $CPPFLAGS'
40979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40986 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40987 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40988 for ac_func in _ceilf _floorf
40989 do :
40990 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40991 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40992 eval as_val=\$$as_ac_var
40993 if test "x$as_val" = x""yes; then :
40994 cat >>confdefs.h <<_ACEOF
40995 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40996 _ACEOF
40999 done
41009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
41010 $as_echo_n "checking for expf declaration... " >&6; }
41011 if test x${glibcxx_cv_func_expf_use+set} != xset; then
41012 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
41013 $as_echo_n "(cached) " >&6
41014 else
41017 ac_ext=cpp
41018 ac_cpp='$CXXCPP $CPPFLAGS'
41019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41024 /* end confdefs.h. */
41025 #include <math.h>
41026 #ifdef HAVE_IEEEFP_H
41027 #include <ieeefp.h>
41028 #endif
41031 main ()
41033 expf(0);
41035 return 0;
41037 _ACEOF
41038 if ac_fn_cxx_try_compile "$LINENO"; then :
41039 glibcxx_cv_func_expf_use=yes
41040 else
41041 glibcxx_cv_func_expf_use=no
41043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41044 ac_ext=c
41045 ac_cpp='$CPP $CPPFLAGS'
41046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41055 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41057 if test x$glibcxx_cv_func_expf_use = x"yes"; then
41058 for ac_func in expf
41059 do :
41060 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41061 if test "x$ac_cv_func_expf" = x""yes; then :
41062 cat >>confdefs.h <<_ACEOF
41063 #define HAVE_EXPF 1
41064 _ACEOF
41067 done
41069 else
41071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41072 $as_echo_n "checking for _expf declaration... " >&6; }
41073 if test x${glibcxx_cv_func__expf_use+set} != xset; then
41074 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41075 $as_echo_n "(cached) " >&6
41076 else
41079 ac_ext=cpp
41080 ac_cpp='$CXXCPP $CPPFLAGS'
41081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41086 /* end confdefs.h. */
41087 #include <math.h>
41088 #ifdef HAVE_IEEEFP_H
41089 #include <ieeefp.h>
41090 #endif
41093 main ()
41095 _expf(0);
41097 return 0;
41099 _ACEOF
41100 if ac_fn_cxx_try_compile "$LINENO"; then :
41101 glibcxx_cv_func__expf_use=yes
41102 else
41103 glibcxx_cv_func__expf_use=no
41105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41106 ac_ext=c
41107 ac_cpp='$CPP $CPPFLAGS'
41108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41117 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41119 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41120 for ac_func in _expf
41121 do :
41122 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41123 if test "x$ac_cv_func__expf" = x""yes; then :
41124 cat >>confdefs.h <<_ACEOF
41125 #define HAVE__EXPF 1
41126 _ACEOF
41129 done
41138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41139 $as_echo_n "checking for isnanf declaration... " >&6; }
41140 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41141 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41142 $as_echo_n "(cached) " >&6
41143 else
41146 ac_ext=cpp
41147 ac_cpp='$CXXCPP $CPPFLAGS'
41148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41153 /* end confdefs.h. */
41154 #include <math.h>
41155 #ifdef HAVE_IEEEFP_H
41156 #include <ieeefp.h>
41157 #endif
41160 main ()
41162 isnanf(0);
41164 return 0;
41166 _ACEOF
41167 if ac_fn_cxx_try_compile "$LINENO"; then :
41168 glibcxx_cv_func_isnanf_use=yes
41169 else
41170 glibcxx_cv_func_isnanf_use=no
41172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41173 ac_ext=c
41174 ac_cpp='$CPP $CPPFLAGS'
41175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41184 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41186 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41187 for ac_func in isnanf
41188 do :
41189 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41190 if test "x$ac_cv_func_isnanf" = x""yes; then :
41191 cat >>confdefs.h <<_ACEOF
41192 #define HAVE_ISNANF 1
41193 _ACEOF
41196 done
41198 else
41200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41201 $as_echo_n "checking for _isnanf declaration... " >&6; }
41202 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41203 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41204 $as_echo_n "(cached) " >&6
41205 else
41208 ac_ext=cpp
41209 ac_cpp='$CXXCPP $CPPFLAGS'
41210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41215 /* end confdefs.h. */
41216 #include <math.h>
41217 #ifdef HAVE_IEEEFP_H
41218 #include <ieeefp.h>
41219 #endif
41222 main ()
41224 _isnanf(0);
41226 return 0;
41228 _ACEOF
41229 if ac_fn_cxx_try_compile "$LINENO"; then :
41230 glibcxx_cv_func__isnanf_use=yes
41231 else
41232 glibcxx_cv_func__isnanf_use=no
41234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41235 ac_ext=c
41236 ac_cpp='$CPP $CPPFLAGS'
41237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41246 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41248 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41249 for ac_func in _isnanf
41250 do :
41251 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41252 if test "x$ac_cv_func__isnanf" = x""yes; then :
41253 cat >>confdefs.h <<_ACEOF
41254 #define HAVE__ISNANF 1
41255 _ACEOF
41258 done
41267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41268 $as_echo_n "checking for isinff declaration... " >&6; }
41269 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41270 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41271 $as_echo_n "(cached) " >&6
41272 else
41275 ac_ext=cpp
41276 ac_cpp='$CXXCPP $CPPFLAGS'
41277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41282 /* end confdefs.h. */
41283 #include <math.h>
41284 #ifdef HAVE_IEEEFP_H
41285 #include <ieeefp.h>
41286 #endif
41289 main ()
41291 isinff(0);
41293 return 0;
41295 _ACEOF
41296 if ac_fn_cxx_try_compile "$LINENO"; then :
41297 glibcxx_cv_func_isinff_use=yes
41298 else
41299 glibcxx_cv_func_isinff_use=no
41301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41302 ac_ext=c
41303 ac_cpp='$CPP $CPPFLAGS'
41304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41313 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41315 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41316 for ac_func in isinff
41317 do :
41318 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41319 if test "x$ac_cv_func_isinff" = x""yes; then :
41320 cat >>confdefs.h <<_ACEOF
41321 #define HAVE_ISINFF 1
41322 _ACEOF
41325 done
41327 else
41329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41330 $as_echo_n "checking for _isinff declaration... " >&6; }
41331 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41332 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41333 $as_echo_n "(cached) " >&6
41334 else
41337 ac_ext=cpp
41338 ac_cpp='$CXXCPP $CPPFLAGS'
41339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41344 /* end confdefs.h. */
41345 #include <math.h>
41346 #ifdef HAVE_IEEEFP_H
41347 #include <ieeefp.h>
41348 #endif
41351 main ()
41353 _isinff(0);
41355 return 0;
41357 _ACEOF
41358 if ac_fn_cxx_try_compile "$LINENO"; then :
41359 glibcxx_cv_func__isinff_use=yes
41360 else
41361 glibcxx_cv_func__isinff_use=no
41363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41364 ac_ext=c
41365 ac_cpp='$CPP $CPPFLAGS'
41366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41375 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41377 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41378 for ac_func in _isinff
41379 do :
41380 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41381 if test "x$ac_cv_func__isinff" = x""yes; then :
41382 cat >>confdefs.h <<_ACEOF
41383 #define HAVE__ISINFF 1
41384 _ACEOF
41387 done
41396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41397 $as_echo_n "checking for atan2f declaration... " >&6; }
41398 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41399 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41400 $as_echo_n "(cached) " >&6
41401 else
41404 ac_ext=cpp
41405 ac_cpp='$CXXCPP $CPPFLAGS'
41406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41411 /* end confdefs.h. */
41412 #include <math.h>
41414 main ()
41416 atan2f(0, 0);
41418 return 0;
41420 _ACEOF
41421 if ac_fn_cxx_try_compile "$LINENO"; then :
41422 glibcxx_cv_func_atan2f_use=yes
41423 else
41424 glibcxx_cv_func_atan2f_use=no
41426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41427 ac_ext=c
41428 ac_cpp='$CPP $CPPFLAGS'
41429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41438 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41440 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41441 for ac_func in atan2f
41442 do :
41443 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41444 if test "x$ac_cv_func_atan2f" = x""yes; then :
41445 cat >>confdefs.h <<_ACEOF
41446 #define HAVE_ATAN2F 1
41447 _ACEOF
41450 done
41452 else
41454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41455 $as_echo_n "checking for _atan2f declaration... " >&6; }
41456 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41457 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41458 $as_echo_n "(cached) " >&6
41459 else
41462 ac_ext=cpp
41463 ac_cpp='$CXXCPP $CPPFLAGS'
41464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41469 /* end confdefs.h. */
41470 #include <math.h>
41472 main ()
41474 _atan2f(0, 0);
41476 return 0;
41478 _ACEOF
41479 if ac_fn_cxx_try_compile "$LINENO"; then :
41480 glibcxx_cv_func__atan2f_use=yes
41481 else
41482 glibcxx_cv_func__atan2f_use=no
41484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41485 ac_ext=c
41486 ac_cpp='$CPP $CPPFLAGS'
41487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41496 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41498 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41499 for ac_func in _atan2f
41500 do :
41501 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41502 if test "x$ac_cv_func__atan2f" = x""yes; then :
41503 cat >>confdefs.h <<_ACEOF
41504 #define HAVE__ATAN2F 1
41505 _ACEOF
41508 done
41517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41518 $as_echo_n "checking for fabsf declaration... " >&6; }
41519 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41520 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41521 $as_echo_n "(cached) " >&6
41522 else
41525 ac_ext=cpp
41526 ac_cpp='$CXXCPP $CPPFLAGS'
41527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41532 /* end confdefs.h. */
41533 #include <math.h>
41534 #ifdef HAVE_IEEEFP_H
41535 #include <ieeefp.h>
41536 #endif
41539 main ()
41541 fabsf(0);
41543 return 0;
41545 _ACEOF
41546 if ac_fn_cxx_try_compile "$LINENO"; then :
41547 glibcxx_cv_func_fabsf_use=yes
41548 else
41549 glibcxx_cv_func_fabsf_use=no
41551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41552 ac_ext=c
41553 ac_cpp='$CPP $CPPFLAGS'
41554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41563 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41565 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41566 for ac_func in fabsf
41567 do :
41568 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41569 if test "x$ac_cv_func_fabsf" = x""yes; then :
41570 cat >>confdefs.h <<_ACEOF
41571 #define HAVE_FABSF 1
41572 _ACEOF
41575 done
41577 else
41579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41580 $as_echo_n "checking for _fabsf declaration... " >&6; }
41581 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41582 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41583 $as_echo_n "(cached) " >&6
41584 else
41587 ac_ext=cpp
41588 ac_cpp='$CXXCPP $CPPFLAGS'
41589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41594 /* end confdefs.h. */
41595 #include <math.h>
41596 #ifdef HAVE_IEEEFP_H
41597 #include <ieeefp.h>
41598 #endif
41601 main ()
41603 _fabsf(0);
41605 return 0;
41607 _ACEOF
41608 if ac_fn_cxx_try_compile "$LINENO"; then :
41609 glibcxx_cv_func__fabsf_use=yes
41610 else
41611 glibcxx_cv_func__fabsf_use=no
41613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41614 ac_ext=c
41615 ac_cpp='$CPP $CPPFLAGS'
41616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41625 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41627 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41628 for ac_func in _fabsf
41629 do :
41630 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41631 if test "x$ac_cv_func__fabsf" = x""yes; then :
41632 cat >>confdefs.h <<_ACEOF
41633 #define HAVE__FABSF 1
41634 _ACEOF
41637 done
41646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41647 $as_echo_n "checking for fmodf declaration... " >&6; }
41648 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41649 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41650 $as_echo_n "(cached) " >&6
41651 else
41654 ac_ext=cpp
41655 ac_cpp='$CXXCPP $CPPFLAGS'
41656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41661 /* end confdefs.h. */
41662 #include <math.h>
41664 main ()
41666 fmodf(0, 0);
41668 return 0;
41670 _ACEOF
41671 if ac_fn_cxx_try_compile "$LINENO"; then :
41672 glibcxx_cv_func_fmodf_use=yes
41673 else
41674 glibcxx_cv_func_fmodf_use=no
41676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41677 ac_ext=c
41678 ac_cpp='$CPP $CPPFLAGS'
41679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41688 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41690 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41691 for ac_func in fmodf
41692 do :
41693 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41694 if test "x$ac_cv_func_fmodf" = x""yes; then :
41695 cat >>confdefs.h <<_ACEOF
41696 #define HAVE_FMODF 1
41697 _ACEOF
41700 done
41702 else
41704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41705 $as_echo_n "checking for _fmodf declaration... " >&6; }
41706 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41707 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41708 $as_echo_n "(cached) " >&6
41709 else
41712 ac_ext=cpp
41713 ac_cpp='$CXXCPP $CPPFLAGS'
41714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41719 /* end confdefs.h. */
41720 #include <math.h>
41722 main ()
41724 _fmodf(0, 0);
41726 return 0;
41728 _ACEOF
41729 if ac_fn_cxx_try_compile "$LINENO"; then :
41730 glibcxx_cv_func__fmodf_use=yes
41731 else
41732 glibcxx_cv_func__fmodf_use=no
41734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41735 ac_ext=c
41736 ac_cpp='$CPP $CPPFLAGS'
41737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41746 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41748 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41749 for ac_func in _fmodf
41750 do :
41751 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41752 if test "x$ac_cv_func__fmodf" = x""yes; then :
41753 cat >>confdefs.h <<_ACEOF
41754 #define HAVE__FMODF 1
41755 _ACEOF
41758 done
41767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41768 $as_echo_n "checking for frexpf declaration... " >&6; }
41769 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41770 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41771 $as_echo_n "(cached) " >&6
41772 else
41775 ac_ext=cpp
41776 ac_cpp='$CXXCPP $CPPFLAGS'
41777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41782 /* end confdefs.h. */
41783 #include <math.h>
41785 main ()
41787 frexpf(0, 0);
41789 return 0;
41791 _ACEOF
41792 if ac_fn_cxx_try_compile "$LINENO"; then :
41793 glibcxx_cv_func_frexpf_use=yes
41794 else
41795 glibcxx_cv_func_frexpf_use=no
41797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41798 ac_ext=c
41799 ac_cpp='$CPP $CPPFLAGS'
41800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41809 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41811 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41812 for ac_func in frexpf
41813 do :
41814 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41815 if test "x$ac_cv_func_frexpf" = x""yes; then :
41816 cat >>confdefs.h <<_ACEOF
41817 #define HAVE_FREXPF 1
41818 _ACEOF
41821 done
41823 else
41825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41826 $as_echo_n "checking for _frexpf declaration... " >&6; }
41827 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41828 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41829 $as_echo_n "(cached) " >&6
41830 else
41833 ac_ext=cpp
41834 ac_cpp='$CXXCPP $CPPFLAGS'
41835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41840 /* end confdefs.h. */
41841 #include <math.h>
41843 main ()
41845 _frexpf(0, 0);
41847 return 0;
41849 _ACEOF
41850 if ac_fn_cxx_try_compile "$LINENO"; then :
41851 glibcxx_cv_func__frexpf_use=yes
41852 else
41853 glibcxx_cv_func__frexpf_use=no
41855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41856 ac_ext=c
41857 ac_cpp='$CPP $CPPFLAGS'
41858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41867 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41869 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41870 for ac_func in _frexpf
41871 do :
41872 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41873 if test "x$ac_cv_func__frexpf" = x""yes; then :
41874 cat >>confdefs.h <<_ACEOF
41875 #define HAVE__FREXPF 1
41876 _ACEOF
41879 done
41888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41889 $as_echo_n "checking for hypotf declaration... " >&6; }
41890 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41891 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41892 $as_echo_n "(cached) " >&6
41893 else
41896 ac_ext=cpp
41897 ac_cpp='$CXXCPP $CPPFLAGS'
41898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41903 /* end confdefs.h. */
41904 #include <math.h>
41906 main ()
41908 hypotf(0, 0);
41910 return 0;
41912 _ACEOF
41913 if ac_fn_cxx_try_compile "$LINENO"; then :
41914 glibcxx_cv_func_hypotf_use=yes
41915 else
41916 glibcxx_cv_func_hypotf_use=no
41918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41919 ac_ext=c
41920 ac_cpp='$CPP $CPPFLAGS'
41921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41930 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41932 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41933 for ac_func in hypotf
41934 do :
41935 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41936 if test "x$ac_cv_func_hypotf" = x""yes; then :
41937 cat >>confdefs.h <<_ACEOF
41938 #define HAVE_HYPOTF 1
41939 _ACEOF
41942 done
41944 else
41946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41947 $as_echo_n "checking for _hypotf declaration... " >&6; }
41948 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41949 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41950 $as_echo_n "(cached) " >&6
41951 else
41954 ac_ext=cpp
41955 ac_cpp='$CXXCPP $CPPFLAGS'
41956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41961 /* end confdefs.h. */
41962 #include <math.h>
41964 main ()
41966 _hypotf(0, 0);
41968 return 0;
41970 _ACEOF
41971 if ac_fn_cxx_try_compile "$LINENO"; then :
41972 glibcxx_cv_func__hypotf_use=yes
41973 else
41974 glibcxx_cv_func__hypotf_use=no
41976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41977 ac_ext=c
41978 ac_cpp='$CPP $CPPFLAGS'
41979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41988 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41990 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41991 for ac_func in _hypotf
41992 do :
41993 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41994 if test "x$ac_cv_func__hypotf" = x""yes; then :
41995 cat >>confdefs.h <<_ACEOF
41996 #define HAVE__HYPOTF 1
41997 _ACEOF
42000 done
42009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
42010 $as_echo_n "checking for ldexpf declaration... " >&6; }
42011 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
42012 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
42013 $as_echo_n "(cached) " >&6
42014 else
42017 ac_ext=cpp
42018 ac_cpp='$CXXCPP $CPPFLAGS'
42019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42024 /* end confdefs.h. */
42025 #include <math.h>
42027 main ()
42029 ldexpf(0, 0);
42031 return 0;
42033 _ACEOF
42034 if ac_fn_cxx_try_compile "$LINENO"; then :
42035 glibcxx_cv_func_ldexpf_use=yes
42036 else
42037 glibcxx_cv_func_ldexpf_use=no
42039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42040 ac_ext=c
42041 ac_cpp='$CPP $CPPFLAGS'
42042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
42051 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42053 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42054 for ac_func in ldexpf
42055 do :
42056 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42057 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42058 cat >>confdefs.h <<_ACEOF
42059 #define HAVE_LDEXPF 1
42060 _ACEOF
42063 done
42065 else
42067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42068 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42069 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42070 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42071 $as_echo_n "(cached) " >&6
42072 else
42075 ac_ext=cpp
42076 ac_cpp='$CXXCPP $CPPFLAGS'
42077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42082 /* end confdefs.h. */
42083 #include <math.h>
42085 main ()
42087 _ldexpf(0, 0);
42089 return 0;
42091 _ACEOF
42092 if ac_fn_cxx_try_compile "$LINENO"; then :
42093 glibcxx_cv_func__ldexpf_use=yes
42094 else
42095 glibcxx_cv_func__ldexpf_use=no
42097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42098 ac_ext=c
42099 ac_cpp='$CPP $CPPFLAGS'
42100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42109 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42111 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42112 for ac_func in _ldexpf
42113 do :
42114 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42115 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42116 cat >>confdefs.h <<_ACEOF
42117 #define HAVE__LDEXPF 1
42118 _ACEOF
42121 done
42130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42131 $as_echo_n "checking for logf declaration... " >&6; }
42132 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42133 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42134 $as_echo_n "(cached) " >&6
42135 else
42138 ac_ext=cpp
42139 ac_cpp='$CXXCPP $CPPFLAGS'
42140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42145 /* end confdefs.h. */
42146 #include <math.h>
42147 #ifdef HAVE_IEEEFP_H
42148 #include <ieeefp.h>
42149 #endif
42152 main ()
42154 logf(0);
42156 return 0;
42158 _ACEOF
42159 if ac_fn_cxx_try_compile "$LINENO"; then :
42160 glibcxx_cv_func_logf_use=yes
42161 else
42162 glibcxx_cv_func_logf_use=no
42164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42165 ac_ext=c
42166 ac_cpp='$CPP $CPPFLAGS'
42167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42176 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42178 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42179 for ac_func in logf
42180 do :
42181 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42182 if test "x$ac_cv_func_logf" = x""yes; then :
42183 cat >>confdefs.h <<_ACEOF
42184 #define HAVE_LOGF 1
42185 _ACEOF
42188 done
42190 else
42192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42193 $as_echo_n "checking for _logf declaration... " >&6; }
42194 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42195 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42196 $as_echo_n "(cached) " >&6
42197 else
42200 ac_ext=cpp
42201 ac_cpp='$CXXCPP $CPPFLAGS'
42202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42207 /* end confdefs.h. */
42208 #include <math.h>
42209 #ifdef HAVE_IEEEFP_H
42210 #include <ieeefp.h>
42211 #endif
42214 main ()
42216 _logf(0);
42218 return 0;
42220 _ACEOF
42221 if ac_fn_cxx_try_compile "$LINENO"; then :
42222 glibcxx_cv_func__logf_use=yes
42223 else
42224 glibcxx_cv_func__logf_use=no
42226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42227 ac_ext=c
42228 ac_cpp='$CPP $CPPFLAGS'
42229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42238 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42240 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42241 for ac_func in _logf
42242 do :
42243 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42244 if test "x$ac_cv_func__logf" = x""yes; then :
42245 cat >>confdefs.h <<_ACEOF
42246 #define HAVE__LOGF 1
42247 _ACEOF
42250 done
42259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42260 $as_echo_n "checking for log10f declaration... " >&6; }
42261 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42262 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42263 $as_echo_n "(cached) " >&6
42264 else
42267 ac_ext=cpp
42268 ac_cpp='$CXXCPP $CPPFLAGS'
42269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42274 /* end confdefs.h. */
42275 #include <math.h>
42276 #ifdef HAVE_IEEEFP_H
42277 #include <ieeefp.h>
42278 #endif
42281 main ()
42283 log10f(0);
42285 return 0;
42287 _ACEOF
42288 if ac_fn_cxx_try_compile "$LINENO"; then :
42289 glibcxx_cv_func_log10f_use=yes
42290 else
42291 glibcxx_cv_func_log10f_use=no
42293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42294 ac_ext=c
42295 ac_cpp='$CPP $CPPFLAGS'
42296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42305 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42307 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42308 for ac_func in log10f
42309 do :
42310 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42311 if test "x$ac_cv_func_log10f" = x""yes; then :
42312 cat >>confdefs.h <<_ACEOF
42313 #define HAVE_LOG10F 1
42314 _ACEOF
42317 done
42319 else
42321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42322 $as_echo_n "checking for _log10f declaration... " >&6; }
42323 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42324 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42325 $as_echo_n "(cached) " >&6
42326 else
42329 ac_ext=cpp
42330 ac_cpp='$CXXCPP $CPPFLAGS'
42331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42336 /* end confdefs.h. */
42337 #include <math.h>
42338 #ifdef HAVE_IEEEFP_H
42339 #include <ieeefp.h>
42340 #endif
42343 main ()
42345 _log10f(0);
42347 return 0;
42349 _ACEOF
42350 if ac_fn_cxx_try_compile "$LINENO"; then :
42351 glibcxx_cv_func__log10f_use=yes
42352 else
42353 glibcxx_cv_func__log10f_use=no
42355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42356 ac_ext=c
42357 ac_cpp='$CPP $CPPFLAGS'
42358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42367 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42369 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42370 for ac_func in _log10f
42371 do :
42372 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42373 if test "x$ac_cv_func__log10f" = x""yes; then :
42374 cat >>confdefs.h <<_ACEOF
42375 #define HAVE__LOG10F 1
42376 _ACEOF
42379 done
42388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42389 $as_echo_n "checking for modff declaration... " >&6; }
42390 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42391 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42392 $as_echo_n "(cached) " >&6
42393 else
42396 ac_ext=cpp
42397 ac_cpp='$CXXCPP $CPPFLAGS'
42398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42403 /* end confdefs.h. */
42404 #include <math.h>
42406 main ()
42408 modff(0, 0);
42410 return 0;
42412 _ACEOF
42413 if ac_fn_cxx_try_compile "$LINENO"; then :
42414 glibcxx_cv_func_modff_use=yes
42415 else
42416 glibcxx_cv_func_modff_use=no
42418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42419 ac_ext=c
42420 ac_cpp='$CPP $CPPFLAGS'
42421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42430 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42432 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42433 for ac_func in modff
42434 do :
42435 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42436 if test "x$ac_cv_func_modff" = x""yes; then :
42437 cat >>confdefs.h <<_ACEOF
42438 #define HAVE_MODFF 1
42439 _ACEOF
42442 done
42444 else
42446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42447 $as_echo_n "checking for _modff declaration... " >&6; }
42448 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42449 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42450 $as_echo_n "(cached) " >&6
42451 else
42454 ac_ext=cpp
42455 ac_cpp='$CXXCPP $CPPFLAGS'
42456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42461 /* end confdefs.h. */
42462 #include <math.h>
42464 main ()
42466 _modff(0, 0);
42468 return 0;
42470 _ACEOF
42471 if ac_fn_cxx_try_compile "$LINENO"; then :
42472 glibcxx_cv_func__modff_use=yes
42473 else
42474 glibcxx_cv_func__modff_use=no
42476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42477 ac_ext=c
42478 ac_cpp='$CPP $CPPFLAGS'
42479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42488 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42490 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42491 for ac_func in _modff
42492 do :
42493 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42494 if test "x$ac_cv_func__modff" = x""yes; then :
42495 cat >>confdefs.h <<_ACEOF
42496 #define HAVE__MODFF 1
42497 _ACEOF
42500 done
42509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42510 $as_echo_n "checking for modf declaration... " >&6; }
42511 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42512 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42513 $as_echo_n "(cached) " >&6
42514 else
42517 ac_ext=cpp
42518 ac_cpp='$CXXCPP $CPPFLAGS'
42519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42524 /* end confdefs.h. */
42525 #include <math.h>
42527 main ()
42529 modf(0, 0);
42531 return 0;
42533 _ACEOF
42534 if ac_fn_cxx_try_compile "$LINENO"; then :
42535 glibcxx_cv_func_modf_use=yes
42536 else
42537 glibcxx_cv_func_modf_use=no
42539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42540 ac_ext=c
42541 ac_cpp='$CPP $CPPFLAGS'
42542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42551 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42553 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42554 for ac_func in modf
42555 do :
42556 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42557 if test "x$ac_cv_func_modf" = x""yes; then :
42558 cat >>confdefs.h <<_ACEOF
42559 #define HAVE_MODF 1
42560 _ACEOF
42563 done
42565 else
42567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42568 $as_echo_n "checking for _modf declaration... " >&6; }
42569 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42570 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42571 $as_echo_n "(cached) " >&6
42572 else
42575 ac_ext=cpp
42576 ac_cpp='$CXXCPP $CPPFLAGS'
42577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42582 /* end confdefs.h. */
42583 #include <math.h>
42585 main ()
42587 _modf(0, 0);
42589 return 0;
42591 _ACEOF
42592 if ac_fn_cxx_try_compile "$LINENO"; then :
42593 glibcxx_cv_func__modf_use=yes
42594 else
42595 glibcxx_cv_func__modf_use=no
42597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42598 ac_ext=c
42599 ac_cpp='$CPP $CPPFLAGS'
42600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42609 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42611 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42612 for ac_func in _modf
42613 do :
42614 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42615 if test "x$ac_cv_func__modf" = x""yes; then :
42616 cat >>confdefs.h <<_ACEOF
42617 #define HAVE__MODF 1
42618 _ACEOF
42621 done
42630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42631 $as_echo_n "checking for powf declaration... " >&6; }
42632 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42633 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42634 $as_echo_n "(cached) " >&6
42635 else
42638 ac_ext=cpp
42639 ac_cpp='$CXXCPP $CPPFLAGS'
42640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42645 /* end confdefs.h. */
42646 #include <math.h>
42648 main ()
42650 powf(0, 0);
42652 return 0;
42654 _ACEOF
42655 if ac_fn_cxx_try_compile "$LINENO"; then :
42656 glibcxx_cv_func_powf_use=yes
42657 else
42658 glibcxx_cv_func_powf_use=no
42660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42661 ac_ext=c
42662 ac_cpp='$CPP $CPPFLAGS'
42663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42672 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42674 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42675 for ac_func in powf
42676 do :
42677 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42678 if test "x$ac_cv_func_powf" = x""yes; then :
42679 cat >>confdefs.h <<_ACEOF
42680 #define HAVE_POWF 1
42681 _ACEOF
42684 done
42686 else
42688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42689 $as_echo_n "checking for _powf declaration... " >&6; }
42690 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42691 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42692 $as_echo_n "(cached) " >&6
42693 else
42696 ac_ext=cpp
42697 ac_cpp='$CXXCPP $CPPFLAGS'
42698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42703 /* end confdefs.h. */
42704 #include <math.h>
42706 main ()
42708 _powf(0, 0);
42710 return 0;
42712 _ACEOF
42713 if ac_fn_cxx_try_compile "$LINENO"; then :
42714 glibcxx_cv_func__powf_use=yes
42715 else
42716 glibcxx_cv_func__powf_use=no
42718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42719 ac_ext=c
42720 ac_cpp='$CPP $CPPFLAGS'
42721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42730 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42732 if test x$glibcxx_cv_func__powf_use = x"yes"; then
42733 for ac_func in _powf
42734 do :
42735 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42736 if test "x$ac_cv_func__powf" = x""yes; then :
42737 cat >>confdefs.h <<_ACEOF
42738 #define HAVE__POWF 1
42739 _ACEOF
42742 done
42751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42752 $as_echo_n "checking for sqrtf declaration... " >&6; }
42753 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42754 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42755 $as_echo_n "(cached) " >&6
42756 else
42759 ac_ext=cpp
42760 ac_cpp='$CXXCPP $CPPFLAGS'
42761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42766 /* end confdefs.h. */
42767 #include <math.h>
42768 #ifdef HAVE_IEEEFP_H
42769 #include <ieeefp.h>
42770 #endif
42773 main ()
42775 sqrtf(0);
42777 return 0;
42779 _ACEOF
42780 if ac_fn_cxx_try_compile "$LINENO"; then :
42781 glibcxx_cv_func_sqrtf_use=yes
42782 else
42783 glibcxx_cv_func_sqrtf_use=no
42785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42786 ac_ext=c
42787 ac_cpp='$CPP $CPPFLAGS'
42788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42797 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42799 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42800 for ac_func in sqrtf
42801 do :
42802 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42803 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42804 cat >>confdefs.h <<_ACEOF
42805 #define HAVE_SQRTF 1
42806 _ACEOF
42809 done
42811 else
42813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42814 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42815 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42816 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42817 $as_echo_n "(cached) " >&6
42818 else
42821 ac_ext=cpp
42822 ac_cpp='$CXXCPP $CPPFLAGS'
42823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42828 /* end confdefs.h. */
42829 #include <math.h>
42830 #ifdef HAVE_IEEEFP_H
42831 #include <ieeefp.h>
42832 #endif
42835 main ()
42837 _sqrtf(0);
42839 return 0;
42841 _ACEOF
42842 if ac_fn_cxx_try_compile "$LINENO"; then :
42843 glibcxx_cv_func__sqrtf_use=yes
42844 else
42845 glibcxx_cv_func__sqrtf_use=no
42847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42848 ac_ext=c
42849 ac_cpp='$CPP $CPPFLAGS'
42850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42859 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42861 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42862 for ac_func in _sqrtf
42863 do :
42864 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42865 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42866 cat >>confdefs.h <<_ACEOF
42867 #define HAVE__SQRTF 1
42868 _ACEOF
42871 done
42880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42881 $as_echo_n "checking for sincosf declaration... " >&6; }
42882 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42883 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42884 $as_echo_n "(cached) " >&6
42885 else
42888 ac_ext=cpp
42889 ac_cpp='$CXXCPP $CPPFLAGS'
42890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42895 /* end confdefs.h. */
42896 #include <math.h>
42898 main ()
42900 sincosf(0, 0, 0);
42902 return 0;
42904 _ACEOF
42905 if ac_fn_cxx_try_compile "$LINENO"; then :
42906 glibcxx_cv_func_sincosf_use=yes
42907 else
42908 glibcxx_cv_func_sincosf_use=no
42910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42911 ac_ext=c
42912 ac_cpp='$CPP $CPPFLAGS'
42913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42922 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42924 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42925 for ac_func in sincosf
42926 do :
42927 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42928 if test "x$ac_cv_func_sincosf" = x""yes; then :
42929 cat >>confdefs.h <<_ACEOF
42930 #define HAVE_SINCOSF 1
42931 _ACEOF
42934 done
42936 else
42938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42939 $as_echo_n "checking for _sincosf declaration... " >&6; }
42940 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42941 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42942 $as_echo_n "(cached) " >&6
42943 else
42946 ac_ext=cpp
42947 ac_cpp='$CXXCPP $CPPFLAGS'
42948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42953 /* end confdefs.h. */
42954 #include <math.h>
42956 main ()
42958 _sincosf(0, 0, 0);
42960 return 0;
42962 _ACEOF
42963 if ac_fn_cxx_try_compile "$LINENO"; then :
42964 glibcxx_cv_func__sincosf_use=yes
42965 else
42966 glibcxx_cv_func__sincosf_use=no
42968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42969 ac_ext=c
42970 ac_cpp='$CPP $CPPFLAGS'
42971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42980 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42982 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42983 for ac_func in _sincosf
42984 do :
42985 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42986 if test "x$ac_cv_func__sincosf" = x""yes; then :
42987 cat >>confdefs.h <<_ACEOF
42988 #define HAVE__SINCOSF 1
42989 _ACEOF
42992 done
43001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
43002 $as_echo_n "checking for finitef declaration... " >&6; }
43003 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
43004 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
43005 $as_echo_n "(cached) " >&6
43006 else
43009 ac_ext=cpp
43010 ac_cpp='$CXXCPP $CPPFLAGS'
43011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43016 /* end confdefs.h. */
43017 #include <math.h>
43018 #ifdef HAVE_IEEEFP_H
43019 #include <ieeefp.h>
43020 #endif
43023 main ()
43025 finitef(0);
43027 return 0;
43029 _ACEOF
43030 if ac_fn_cxx_try_compile "$LINENO"; then :
43031 glibcxx_cv_func_finitef_use=yes
43032 else
43033 glibcxx_cv_func_finitef_use=no
43035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43036 ac_ext=c
43037 ac_cpp='$CPP $CPPFLAGS'
43038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43047 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43049 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43050 for ac_func in finitef
43051 do :
43052 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43053 if test "x$ac_cv_func_finitef" = x""yes; then :
43054 cat >>confdefs.h <<_ACEOF
43055 #define HAVE_FINITEF 1
43056 _ACEOF
43059 done
43061 else
43063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43064 $as_echo_n "checking for _finitef declaration... " >&6; }
43065 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43066 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
43067 $as_echo_n "(cached) " >&6
43068 else
43071 ac_ext=cpp
43072 ac_cpp='$CXXCPP $CPPFLAGS'
43073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43078 /* end confdefs.h. */
43079 #include <math.h>
43080 #ifdef HAVE_IEEEFP_H
43081 #include <ieeefp.h>
43082 #endif
43085 main ()
43087 _finitef(0);
43089 return 0;
43091 _ACEOF
43092 if ac_fn_cxx_try_compile "$LINENO"; then :
43093 glibcxx_cv_func__finitef_use=yes
43094 else
43095 glibcxx_cv_func__finitef_use=no
43097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43098 ac_ext=c
43099 ac_cpp='$CPP $CPPFLAGS'
43100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43109 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43111 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43112 for ac_func in _finitef
43113 do :
43114 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43115 if test "x$ac_cv_func__finitef" = x""yes; then :
43116 cat >>confdefs.h <<_ACEOF
43117 #define HAVE__FINITEF 1
43118 _ACEOF
43121 done
43130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43131 $as_echo_n "checking for long double trig functions... " >&6; }
43132 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43133 $as_echo_n "(cached) " >&6
43134 else
43137 ac_ext=cpp
43138 ac_cpp='$CXXCPP $CPPFLAGS'
43139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43144 /* end confdefs.h. */
43145 #include <math.h>
43147 main ()
43149 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43151 return 0;
43153 _ACEOF
43154 if ac_fn_cxx_try_compile "$LINENO"; then :
43155 glibcxx_cv_func_long_double_trig_use=yes
43156 else
43157 glibcxx_cv_func_long_double_trig_use=no
43159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43160 ac_ext=c
43161 ac_cpp='$CPP $CPPFLAGS'
43162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43169 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43170 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43171 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43172 do :
43173 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43174 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43175 eval as_val=\$$as_ac_var
43176 if test "x$as_val" = x""yes; then :
43177 cat >>confdefs.h <<_ACEOF
43178 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43179 _ACEOF
43182 done
43184 else
43185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43186 $as_echo_n "checking for _long double trig functions... " >&6; }
43187 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43188 $as_echo_n "(cached) " >&6
43189 else
43192 ac_ext=cpp
43193 ac_cpp='$CXXCPP $CPPFLAGS'
43194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43199 /* end confdefs.h. */
43200 #include <math.h>
43202 main ()
43204 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43206 return 0;
43208 _ACEOF
43209 if ac_fn_cxx_try_compile "$LINENO"; then :
43210 glibcxx_cv_func__long_double_trig_use=yes
43211 else
43212 glibcxx_cv_func__long_double_trig_use=no
43214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43215 ac_ext=c
43216 ac_cpp='$CPP $CPPFLAGS'
43217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43224 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43225 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43226 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43227 do :
43228 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43229 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43230 eval as_val=\$$as_ac_var
43231 if test "x$as_val" = x""yes; then :
43232 cat >>confdefs.h <<_ACEOF
43233 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43234 _ACEOF
43237 done
43246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43247 $as_echo_n "checking for long double round functions... " >&6; }
43248 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43249 $as_echo_n "(cached) " >&6
43250 else
43253 ac_ext=cpp
43254 ac_cpp='$CXXCPP $CPPFLAGS'
43255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43260 /* end confdefs.h. */
43261 #include <math.h>
43263 main ()
43265 ceill (0); floorl (0);
43267 return 0;
43269 _ACEOF
43270 if ac_fn_cxx_try_compile "$LINENO"; then :
43271 glibcxx_cv_func_long_double_round_use=yes
43272 else
43273 glibcxx_cv_func_long_double_round_use=no
43275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43276 ac_ext=c
43277 ac_cpp='$CPP $CPPFLAGS'
43278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43285 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43286 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43287 for ac_func in ceill floorl
43288 do :
43289 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43290 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43291 eval as_val=\$$as_ac_var
43292 if test "x$as_val" = x""yes; then :
43293 cat >>confdefs.h <<_ACEOF
43294 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43295 _ACEOF
43298 done
43300 else
43301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43302 $as_echo_n "checking for _long double round functions... " >&6; }
43303 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43304 $as_echo_n "(cached) " >&6
43305 else
43308 ac_ext=cpp
43309 ac_cpp='$CXXCPP $CPPFLAGS'
43310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43315 /* end confdefs.h. */
43316 #include <math.h>
43318 main ()
43320 _ceill (0); _floorl (0);
43322 return 0;
43324 _ACEOF
43325 if ac_fn_cxx_try_compile "$LINENO"; then :
43326 glibcxx_cv_func__long_double_round_use=yes
43327 else
43328 glibcxx_cv_func__long_double_round_use=no
43330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43331 ac_ext=c
43332 ac_cpp='$CPP $CPPFLAGS'
43333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43340 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43341 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43342 for ac_func in _ceill _floorl
43343 do :
43344 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43345 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43346 eval as_val=\$$as_ac_var
43347 if test "x$as_val" = x""yes; then :
43348 cat >>confdefs.h <<_ACEOF
43349 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43350 _ACEOF
43353 done
43363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43364 $as_echo_n "checking for isnanl declaration... " >&6; }
43365 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43366 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43367 $as_echo_n "(cached) " >&6
43368 else
43371 ac_ext=cpp
43372 ac_cpp='$CXXCPP $CPPFLAGS'
43373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43378 /* end confdefs.h. */
43379 #include <math.h>
43380 #ifdef HAVE_IEEEFP_H
43381 #include <ieeefp.h>
43382 #endif
43385 main ()
43387 isnanl(0);
43389 return 0;
43391 _ACEOF
43392 if ac_fn_cxx_try_compile "$LINENO"; then :
43393 glibcxx_cv_func_isnanl_use=yes
43394 else
43395 glibcxx_cv_func_isnanl_use=no
43397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43398 ac_ext=c
43399 ac_cpp='$CPP $CPPFLAGS'
43400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43409 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43411 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43412 for ac_func in isnanl
43413 do :
43414 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43415 if test "x$ac_cv_func_isnanl" = x""yes; then :
43416 cat >>confdefs.h <<_ACEOF
43417 #define HAVE_ISNANL 1
43418 _ACEOF
43421 done
43423 else
43425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43426 $as_echo_n "checking for _isnanl declaration... " >&6; }
43427 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43428 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43429 $as_echo_n "(cached) " >&6
43430 else
43433 ac_ext=cpp
43434 ac_cpp='$CXXCPP $CPPFLAGS'
43435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43440 /* end confdefs.h. */
43441 #include <math.h>
43442 #ifdef HAVE_IEEEFP_H
43443 #include <ieeefp.h>
43444 #endif
43447 main ()
43449 _isnanl(0);
43451 return 0;
43453 _ACEOF
43454 if ac_fn_cxx_try_compile "$LINENO"; then :
43455 glibcxx_cv_func__isnanl_use=yes
43456 else
43457 glibcxx_cv_func__isnanl_use=no
43459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43460 ac_ext=c
43461 ac_cpp='$CPP $CPPFLAGS'
43462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43471 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43473 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43474 for ac_func in _isnanl
43475 do :
43476 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43477 if test "x$ac_cv_func__isnanl" = x""yes; then :
43478 cat >>confdefs.h <<_ACEOF
43479 #define HAVE__ISNANL 1
43480 _ACEOF
43483 done
43492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43493 $as_echo_n "checking for isinfl declaration... " >&6; }
43494 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43495 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43496 $as_echo_n "(cached) " >&6
43497 else
43500 ac_ext=cpp
43501 ac_cpp='$CXXCPP $CPPFLAGS'
43502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43507 /* end confdefs.h. */
43508 #include <math.h>
43509 #ifdef HAVE_IEEEFP_H
43510 #include <ieeefp.h>
43511 #endif
43514 main ()
43516 isinfl(0);
43518 return 0;
43520 _ACEOF
43521 if ac_fn_cxx_try_compile "$LINENO"; then :
43522 glibcxx_cv_func_isinfl_use=yes
43523 else
43524 glibcxx_cv_func_isinfl_use=no
43526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43527 ac_ext=c
43528 ac_cpp='$CPP $CPPFLAGS'
43529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43538 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43540 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43541 for ac_func in isinfl
43542 do :
43543 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43544 if test "x$ac_cv_func_isinfl" = x""yes; then :
43545 cat >>confdefs.h <<_ACEOF
43546 #define HAVE_ISINFL 1
43547 _ACEOF
43550 done
43552 else
43554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43555 $as_echo_n "checking for _isinfl declaration... " >&6; }
43556 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43557 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43558 $as_echo_n "(cached) " >&6
43559 else
43562 ac_ext=cpp
43563 ac_cpp='$CXXCPP $CPPFLAGS'
43564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43569 /* end confdefs.h. */
43570 #include <math.h>
43571 #ifdef HAVE_IEEEFP_H
43572 #include <ieeefp.h>
43573 #endif
43576 main ()
43578 _isinfl(0);
43580 return 0;
43582 _ACEOF
43583 if ac_fn_cxx_try_compile "$LINENO"; then :
43584 glibcxx_cv_func__isinfl_use=yes
43585 else
43586 glibcxx_cv_func__isinfl_use=no
43588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43589 ac_ext=c
43590 ac_cpp='$CPP $CPPFLAGS'
43591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43600 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43602 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43603 for ac_func in _isinfl
43604 do :
43605 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43606 if test "x$ac_cv_func__isinfl" = x""yes; then :
43607 cat >>confdefs.h <<_ACEOF
43608 #define HAVE__ISINFL 1
43609 _ACEOF
43612 done
43621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43622 $as_echo_n "checking for atan2l declaration... " >&6; }
43623 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43624 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43625 $as_echo_n "(cached) " >&6
43626 else
43629 ac_ext=cpp
43630 ac_cpp='$CXXCPP $CPPFLAGS'
43631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43636 /* end confdefs.h. */
43637 #include <math.h>
43639 main ()
43641 atan2l(0, 0);
43643 return 0;
43645 _ACEOF
43646 if ac_fn_cxx_try_compile "$LINENO"; then :
43647 glibcxx_cv_func_atan2l_use=yes
43648 else
43649 glibcxx_cv_func_atan2l_use=no
43651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43652 ac_ext=c
43653 ac_cpp='$CPP $CPPFLAGS'
43654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43663 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43665 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43666 for ac_func in atan2l
43667 do :
43668 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43669 if test "x$ac_cv_func_atan2l" = x""yes; then :
43670 cat >>confdefs.h <<_ACEOF
43671 #define HAVE_ATAN2L 1
43672 _ACEOF
43675 done
43677 else
43679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43680 $as_echo_n "checking for _atan2l declaration... " >&6; }
43681 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43682 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43683 $as_echo_n "(cached) " >&6
43684 else
43687 ac_ext=cpp
43688 ac_cpp='$CXXCPP $CPPFLAGS'
43689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43694 /* end confdefs.h. */
43695 #include <math.h>
43697 main ()
43699 _atan2l(0, 0);
43701 return 0;
43703 _ACEOF
43704 if ac_fn_cxx_try_compile "$LINENO"; then :
43705 glibcxx_cv_func__atan2l_use=yes
43706 else
43707 glibcxx_cv_func__atan2l_use=no
43709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43710 ac_ext=c
43711 ac_cpp='$CPP $CPPFLAGS'
43712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43721 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43723 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43724 for ac_func in _atan2l
43725 do :
43726 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43727 if test "x$ac_cv_func__atan2l" = x""yes; then :
43728 cat >>confdefs.h <<_ACEOF
43729 #define HAVE__ATAN2L 1
43730 _ACEOF
43733 done
43742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43743 $as_echo_n "checking for expl declaration... " >&6; }
43744 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43745 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43746 $as_echo_n "(cached) " >&6
43747 else
43750 ac_ext=cpp
43751 ac_cpp='$CXXCPP $CPPFLAGS'
43752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43757 /* end confdefs.h. */
43758 #include <math.h>
43759 #ifdef HAVE_IEEEFP_H
43760 #include <ieeefp.h>
43761 #endif
43764 main ()
43766 expl(0);
43768 return 0;
43770 _ACEOF
43771 if ac_fn_cxx_try_compile "$LINENO"; then :
43772 glibcxx_cv_func_expl_use=yes
43773 else
43774 glibcxx_cv_func_expl_use=no
43776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43777 ac_ext=c
43778 ac_cpp='$CPP $CPPFLAGS'
43779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43788 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43790 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43791 for ac_func in expl
43792 do :
43793 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43794 if test "x$ac_cv_func_expl" = x""yes; then :
43795 cat >>confdefs.h <<_ACEOF
43796 #define HAVE_EXPL 1
43797 _ACEOF
43800 done
43802 else
43804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43805 $as_echo_n "checking for _expl declaration... " >&6; }
43806 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43807 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43808 $as_echo_n "(cached) " >&6
43809 else
43812 ac_ext=cpp
43813 ac_cpp='$CXXCPP $CPPFLAGS'
43814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43819 /* end confdefs.h. */
43820 #include <math.h>
43821 #ifdef HAVE_IEEEFP_H
43822 #include <ieeefp.h>
43823 #endif
43826 main ()
43828 _expl(0);
43830 return 0;
43832 _ACEOF
43833 if ac_fn_cxx_try_compile "$LINENO"; then :
43834 glibcxx_cv_func__expl_use=yes
43835 else
43836 glibcxx_cv_func__expl_use=no
43838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43839 ac_ext=c
43840 ac_cpp='$CPP $CPPFLAGS'
43841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43850 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43852 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43853 for ac_func in _expl
43854 do :
43855 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43856 if test "x$ac_cv_func__expl" = x""yes; then :
43857 cat >>confdefs.h <<_ACEOF
43858 #define HAVE__EXPL 1
43859 _ACEOF
43862 done
43871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43872 $as_echo_n "checking for fabsl declaration... " >&6; }
43873 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43874 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43875 $as_echo_n "(cached) " >&6
43876 else
43879 ac_ext=cpp
43880 ac_cpp='$CXXCPP $CPPFLAGS'
43881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43886 /* end confdefs.h. */
43887 #include <math.h>
43888 #ifdef HAVE_IEEEFP_H
43889 #include <ieeefp.h>
43890 #endif
43893 main ()
43895 fabsl(0);
43897 return 0;
43899 _ACEOF
43900 if ac_fn_cxx_try_compile "$LINENO"; then :
43901 glibcxx_cv_func_fabsl_use=yes
43902 else
43903 glibcxx_cv_func_fabsl_use=no
43905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43906 ac_ext=c
43907 ac_cpp='$CPP $CPPFLAGS'
43908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43917 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43919 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43920 for ac_func in fabsl
43921 do :
43922 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43923 if test "x$ac_cv_func_fabsl" = x""yes; then :
43924 cat >>confdefs.h <<_ACEOF
43925 #define HAVE_FABSL 1
43926 _ACEOF
43929 done
43931 else
43933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43934 $as_echo_n "checking for _fabsl declaration... " >&6; }
43935 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43936 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43937 $as_echo_n "(cached) " >&6
43938 else
43941 ac_ext=cpp
43942 ac_cpp='$CXXCPP $CPPFLAGS'
43943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43948 /* end confdefs.h. */
43949 #include <math.h>
43950 #ifdef HAVE_IEEEFP_H
43951 #include <ieeefp.h>
43952 #endif
43955 main ()
43957 _fabsl(0);
43959 return 0;
43961 _ACEOF
43962 if ac_fn_cxx_try_compile "$LINENO"; then :
43963 glibcxx_cv_func__fabsl_use=yes
43964 else
43965 glibcxx_cv_func__fabsl_use=no
43967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43968 ac_ext=c
43969 ac_cpp='$CPP $CPPFLAGS'
43970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43979 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43981 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43982 for ac_func in _fabsl
43983 do :
43984 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43985 if test "x$ac_cv_func__fabsl" = x""yes; then :
43986 cat >>confdefs.h <<_ACEOF
43987 #define HAVE__FABSL 1
43988 _ACEOF
43991 done
44000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
44001 $as_echo_n "checking for fmodl declaration... " >&6; }
44002 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44003 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
44004 $as_echo_n "(cached) " >&6
44005 else
44008 ac_ext=cpp
44009 ac_cpp='$CXXCPP $CPPFLAGS'
44010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44015 /* end confdefs.h. */
44016 #include <math.h>
44018 main ()
44020 fmodl(0, 0);
44022 return 0;
44024 _ACEOF
44025 if ac_fn_cxx_try_compile "$LINENO"; then :
44026 glibcxx_cv_func_fmodl_use=yes
44027 else
44028 glibcxx_cv_func_fmodl_use=no
44030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44031 ac_ext=c
44032 ac_cpp='$CPP $CPPFLAGS'
44033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
44042 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44044 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44045 for ac_func in fmodl
44046 do :
44047 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44048 if test "x$ac_cv_func_fmodl" = x""yes; then :
44049 cat >>confdefs.h <<_ACEOF
44050 #define HAVE_FMODL 1
44051 _ACEOF
44054 done
44056 else
44058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44059 $as_echo_n "checking for _fmodl declaration... " >&6; }
44060 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44061 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
44062 $as_echo_n "(cached) " >&6
44063 else
44066 ac_ext=cpp
44067 ac_cpp='$CXXCPP $CPPFLAGS'
44068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44073 /* end confdefs.h. */
44074 #include <math.h>
44076 main ()
44078 _fmodl(0, 0);
44080 return 0;
44082 _ACEOF
44083 if ac_fn_cxx_try_compile "$LINENO"; then :
44084 glibcxx_cv_func__fmodl_use=yes
44085 else
44086 glibcxx_cv_func__fmodl_use=no
44088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44089 ac_ext=c
44090 ac_cpp='$CPP $CPPFLAGS'
44091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44100 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44102 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44103 for ac_func in _fmodl
44104 do :
44105 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44106 if test "x$ac_cv_func__fmodl" = x""yes; then :
44107 cat >>confdefs.h <<_ACEOF
44108 #define HAVE__FMODL 1
44109 _ACEOF
44112 done
44121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44122 $as_echo_n "checking for frexpl declaration... " >&6; }
44123 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44124 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44125 $as_echo_n "(cached) " >&6
44126 else
44129 ac_ext=cpp
44130 ac_cpp='$CXXCPP $CPPFLAGS'
44131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44136 /* end confdefs.h. */
44137 #include <math.h>
44139 main ()
44141 frexpl(0, 0);
44143 return 0;
44145 _ACEOF
44146 if ac_fn_cxx_try_compile "$LINENO"; then :
44147 glibcxx_cv_func_frexpl_use=yes
44148 else
44149 glibcxx_cv_func_frexpl_use=no
44151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44152 ac_ext=c
44153 ac_cpp='$CPP $CPPFLAGS'
44154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44163 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44165 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44166 for ac_func in frexpl
44167 do :
44168 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44169 if test "x$ac_cv_func_frexpl" = x""yes; then :
44170 cat >>confdefs.h <<_ACEOF
44171 #define HAVE_FREXPL 1
44172 _ACEOF
44175 done
44177 else
44179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44180 $as_echo_n "checking for _frexpl declaration... " >&6; }
44181 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44182 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44183 $as_echo_n "(cached) " >&6
44184 else
44187 ac_ext=cpp
44188 ac_cpp='$CXXCPP $CPPFLAGS'
44189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44194 /* end confdefs.h. */
44195 #include <math.h>
44197 main ()
44199 _frexpl(0, 0);
44201 return 0;
44203 _ACEOF
44204 if ac_fn_cxx_try_compile "$LINENO"; then :
44205 glibcxx_cv_func__frexpl_use=yes
44206 else
44207 glibcxx_cv_func__frexpl_use=no
44209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44210 ac_ext=c
44211 ac_cpp='$CPP $CPPFLAGS'
44212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44221 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44223 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44224 for ac_func in _frexpl
44225 do :
44226 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44227 if test "x$ac_cv_func__frexpl" = x""yes; then :
44228 cat >>confdefs.h <<_ACEOF
44229 #define HAVE__FREXPL 1
44230 _ACEOF
44233 done
44242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44243 $as_echo_n "checking for hypotl declaration... " >&6; }
44244 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44245 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44246 $as_echo_n "(cached) " >&6
44247 else
44250 ac_ext=cpp
44251 ac_cpp='$CXXCPP $CPPFLAGS'
44252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44257 /* end confdefs.h. */
44258 #include <math.h>
44260 main ()
44262 hypotl(0, 0);
44264 return 0;
44266 _ACEOF
44267 if ac_fn_cxx_try_compile "$LINENO"; then :
44268 glibcxx_cv_func_hypotl_use=yes
44269 else
44270 glibcxx_cv_func_hypotl_use=no
44272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44273 ac_ext=c
44274 ac_cpp='$CPP $CPPFLAGS'
44275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44284 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44286 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44287 for ac_func in hypotl
44288 do :
44289 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44290 if test "x$ac_cv_func_hypotl" = x""yes; then :
44291 cat >>confdefs.h <<_ACEOF
44292 #define HAVE_HYPOTL 1
44293 _ACEOF
44296 done
44298 else
44300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44301 $as_echo_n "checking for _hypotl declaration... " >&6; }
44302 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44303 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44304 $as_echo_n "(cached) " >&6
44305 else
44308 ac_ext=cpp
44309 ac_cpp='$CXXCPP $CPPFLAGS'
44310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44315 /* end confdefs.h. */
44316 #include <math.h>
44318 main ()
44320 _hypotl(0, 0);
44322 return 0;
44324 _ACEOF
44325 if ac_fn_cxx_try_compile "$LINENO"; then :
44326 glibcxx_cv_func__hypotl_use=yes
44327 else
44328 glibcxx_cv_func__hypotl_use=no
44330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44331 ac_ext=c
44332 ac_cpp='$CPP $CPPFLAGS'
44333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44342 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44344 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44345 for ac_func in _hypotl
44346 do :
44347 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44348 if test "x$ac_cv_func__hypotl" = x""yes; then :
44349 cat >>confdefs.h <<_ACEOF
44350 #define HAVE__HYPOTL 1
44351 _ACEOF
44354 done
44363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44364 $as_echo_n "checking for ldexpl declaration... " >&6; }
44365 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44366 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44367 $as_echo_n "(cached) " >&6
44368 else
44371 ac_ext=cpp
44372 ac_cpp='$CXXCPP $CPPFLAGS'
44373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44378 /* end confdefs.h. */
44379 #include <math.h>
44381 main ()
44383 ldexpl(0, 0);
44385 return 0;
44387 _ACEOF
44388 if ac_fn_cxx_try_compile "$LINENO"; then :
44389 glibcxx_cv_func_ldexpl_use=yes
44390 else
44391 glibcxx_cv_func_ldexpl_use=no
44393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44394 ac_ext=c
44395 ac_cpp='$CPP $CPPFLAGS'
44396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44405 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44407 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44408 for ac_func in ldexpl
44409 do :
44410 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44411 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44412 cat >>confdefs.h <<_ACEOF
44413 #define HAVE_LDEXPL 1
44414 _ACEOF
44417 done
44419 else
44421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44422 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44423 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44424 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44425 $as_echo_n "(cached) " >&6
44426 else
44429 ac_ext=cpp
44430 ac_cpp='$CXXCPP $CPPFLAGS'
44431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44436 /* end confdefs.h. */
44437 #include <math.h>
44439 main ()
44441 _ldexpl(0, 0);
44443 return 0;
44445 _ACEOF
44446 if ac_fn_cxx_try_compile "$LINENO"; then :
44447 glibcxx_cv_func__ldexpl_use=yes
44448 else
44449 glibcxx_cv_func__ldexpl_use=no
44451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44452 ac_ext=c
44453 ac_cpp='$CPP $CPPFLAGS'
44454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44463 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44465 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44466 for ac_func in _ldexpl
44467 do :
44468 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44469 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44470 cat >>confdefs.h <<_ACEOF
44471 #define HAVE__LDEXPL 1
44472 _ACEOF
44475 done
44484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44485 $as_echo_n "checking for logl declaration... " >&6; }
44486 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44487 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44488 $as_echo_n "(cached) " >&6
44489 else
44492 ac_ext=cpp
44493 ac_cpp='$CXXCPP $CPPFLAGS'
44494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44499 /* end confdefs.h. */
44500 #include <math.h>
44501 #ifdef HAVE_IEEEFP_H
44502 #include <ieeefp.h>
44503 #endif
44506 main ()
44508 logl(0);
44510 return 0;
44512 _ACEOF
44513 if ac_fn_cxx_try_compile "$LINENO"; then :
44514 glibcxx_cv_func_logl_use=yes
44515 else
44516 glibcxx_cv_func_logl_use=no
44518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44519 ac_ext=c
44520 ac_cpp='$CPP $CPPFLAGS'
44521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44530 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44532 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44533 for ac_func in logl
44534 do :
44535 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44536 if test "x$ac_cv_func_logl" = x""yes; then :
44537 cat >>confdefs.h <<_ACEOF
44538 #define HAVE_LOGL 1
44539 _ACEOF
44542 done
44544 else
44546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44547 $as_echo_n "checking for _logl declaration... " >&6; }
44548 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44549 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44550 $as_echo_n "(cached) " >&6
44551 else
44554 ac_ext=cpp
44555 ac_cpp='$CXXCPP $CPPFLAGS'
44556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44561 /* end confdefs.h. */
44562 #include <math.h>
44563 #ifdef HAVE_IEEEFP_H
44564 #include <ieeefp.h>
44565 #endif
44568 main ()
44570 _logl(0);
44572 return 0;
44574 _ACEOF
44575 if ac_fn_cxx_try_compile "$LINENO"; then :
44576 glibcxx_cv_func__logl_use=yes
44577 else
44578 glibcxx_cv_func__logl_use=no
44580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44581 ac_ext=c
44582 ac_cpp='$CPP $CPPFLAGS'
44583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44592 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44594 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44595 for ac_func in _logl
44596 do :
44597 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44598 if test "x$ac_cv_func__logl" = x""yes; then :
44599 cat >>confdefs.h <<_ACEOF
44600 #define HAVE__LOGL 1
44601 _ACEOF
44604 done
44613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44614 $as_echo_n "checking for log10l declaration... " >&6; }
44615 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44616 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44617 $as_echo_n "(cached) " >&6
44618 else
44621 ac_ext=cpp
44622 ac_cpp='$CXXCPP $CPPFLAGS'
44623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44628 /* end confdefs.h. */
44629 #include <math.h>
44630 #ifdef HAVE_IEEEFP_H
44631 #include <ieeefp.h>
44632 #endif
44635 main ()
44637 log10l(0);
44639 return 0;
44641 _ACEOF
44642 if ac_fn_cxx_try_compile "$LINENO"; then :
44643 glibcxx_cv_func_log10l_use=yes
44644 else
44645 glibcxx_cv_func_log10l_use=no
44647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44648 ac_ext=c
44649 ac_cpp='$CPP $CPPFLAGS'
44650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44659 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44661 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44662 for ac_func in log10l
44663 do :
44664 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44665 if test "x$ac_cv_func_log10l" = x""yes; then :
44666 cat >>confdefs.h <<_ACEOF
44667 #define HAVE_LOG10L 1
44668 _ACEOF
44671 done
44673 else
44675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44676 $as_echo_n "checking for _log10l declaration... " >&6; }
44677 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44678 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44679 $as_echo_n "(cached) " >&6
44680 else
44683 ac_ext=cpp
44684 ac_cpp='$CXXCPP $CPPFLAGS'
44685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44690 /* end confdefs.h. */
44691 #include <math.h>
44692 #ifdef HAVE_IEEEFP_H
44693 #include <ieeefp.h>
44694 #endif
44697 main ()
44699 _log10l(0);
44701 return 0;
44703 _ACEOF
44704 if ac_fn_cxx_try_compile "$LINENO"; then :
44705 glibcxx_cv_func__log10l_use=yes
44706 else
44707 glibcxx_cv_func__log10l_use=no
44709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44710 ac_ext=c
44711 ac_cpp='$CPP $CPPFLAGS'
44712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44721 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44723 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44724 for ac_func in _log10l
44725 do :
44726 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44727 if test "x$ac_cv_func__log10l" = x""yes; then :
44728 cat >>confdefs.h <<_ACEOF
44729 #define HAVE__LOG10L 1
44730 _ACEOF
44733 done
44742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44743 $as_echo_n "checking for modfl declaration... " >&6; }
44744 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44745 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44746 $as_echo_n "(cached) " >&6
44747 else
44750 ac_ext=cpp
44751 ac_cpp='$CXXCPP $CPPFLAGS'
44752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44757 /* end confdefs.h. */
44758 #include <math.h>
44760 main ()
44762 modfl(0, 0);
44764 return 0;
44766 _ACEOF
44767 if ac_fn_cxx_try_compile "$LINENO"; then :
44768 glibcxx_cv_func_modfl_use=yes
44769 else
44770 glibcxx_cv_func_modfl_use=no
44772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44773 ac_ext=c
44774 ac_cpp='$CPP $CPPFLAGS'
44775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44784 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44786 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44787 for ac_func in modfl
44788 do :
44789 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44790 if test "x$ac_cv_func_modfl" = x""yes; then :
44791 cat >>confdefs.h <<_ACEOF
44792 #define HAVE_MODFL 1
44793 _ACEOF
44796 done
44798 else
44800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44801 $as_echo_n "checking for _modfl declaration... " >&6; }
44802 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44803 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44804 $as_echo_n "(cached) " >&6
44805 else
44808 ac_ext=cpp
44809 ac_cpp='$CXXCPP $CPPFLAGS'
44810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44815 /* end confdefs.h. */
44816 #include <math.h>
44818 main ()
44820 _modfl(0, 0);
44822 return 0;
44824 _ACEOF
44825 if ac_fn_cxx_try_compile "$LINENO"; then :
44826 glibcxx_cv_func__modfl_use=yes
44827 else
44828 glibcxx_cv_func__modfl_use=no
44830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44831 ac_ext=c
44832 ac_cpp='$CPP $CPPFLAGS'
44833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44842 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44844 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44845 for ac_func in _modfl
44846 do :
44847 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44848 if test "x$ac_cv_func__modfl" = x""yes; then :
44849 cat >>confdefs.h <<_ACEOF
44850 #define HAVE__MODFL 1
44851 _ACEOF
44854 done
44863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44864 $as_echo_n "checking for powl declaration... " >&6; }
44865 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44866 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44867 $as_echo_n "(cached) " >&6
44868 else
44871 ac_ext=cpp
44872 ac_cpp='$CXXCPP $CPPFLAGS'
44873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44878 /* end confdefs.h. */
44879 #include <math.h>
44881 main ()
44883 powl(0, 0);
44885 return 0;
44887 _ACEOF
44888 if ac_fn_cxx_try_compile "$LINENO"; then :
44889 glibcxx_cv_func_powl_use=yes
44890 else
44891 glibcxx_cv_func_powl_use=no
44893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44894 ac_ext=c
44895 ac_cpp='$CPP $CPPFLAGS'
44896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44905 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44907 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44908 for ac_func in powl
44909 do :
44910 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44911 if test "x$ac_cv_func_powl" = x""yes; then :
44912 cat >>confdefs.h <<_ACEOF
44913 #define HAVE_POWL 1
44914 _ACEOF
44917 done
44919 else
44921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44922 $as_echo_n "checking for _powl declaration... " >&6; }
44923 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44924 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44925 $as_echo_n "(cached) " >&6
44926 else
44929 ac_ext=cpp
44930 ac_cpp='$CXXCPP $CPPFLAGS'
44931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44936 /* end confdefs.h. */
44937 #include <math.h>
44939 main ()
44941 _powl(0, 0);
44943 return 0;
44945 _ACEOF
44946 if ac_fn_cxx_try_compile "$LINENO"; then :
44947 glibcxx_cv_func__powl_use=yes
44948 else
44949 glibcxx_cv_func__powl_use=no
44951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44952 ac_ext=c
44953 ac_cpp='$CPP $CPPFLAGS'
44954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44963 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44965 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44966 for ac_func in _powl
44967 do :
44968 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44969 if test "x$ac_cv_func__powl" = x""yes; then :
44970 cat >>confdefs.h <<_ACEOF
44971 #define HAVE__POWL 1
44972 _ACEOF
44975 done
44984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44985 $as_echo_n "checking for sqrtl declaration... " >&6; }
44986 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44987 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44988 $as_echo_n "(cached) " >&6
44989 else
44992 ac_ext=cpp
44993 ac_cpp='$CXXCPP $CPPFLAGS'
44994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44999 /* end confdefs.h. */
45000 #include <math.h>
45001 #ifdef HAVE_IEEEFP_H
45002 #include <ieeefp.h>
45003 #endif
45006 main ()
45008 sqrtl(0);
45010 return 0;
45012 _ACEOF
45013 if ac_fn_cxx_try_compile "$LINENO"; then :
45014 glibcxx_cv_func_sqrtl_use=yes
45015 else
45016 glibcxx_cv_func_sqrtl_use=no
45018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45019 ac_ext=c
45020 ac_cpp='$CPP $CPPFLAGS'
45021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45030 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45032 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45033 for ac_func in sqrtl
45034 do :
45035 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45036 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45037 cat >>confdefs.h <<_ACEOF
45038 #define HAVE_SQRTL 1
45039 _ACEOF
45042 done
45044 else
45046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45047 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45048 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45049 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45050 $as_echo_n "(cached) " >&6
45051 else
45054 ac_ext=cpp
45055 ac_cpp='$CXXCPP $CPPFLAGS'
45056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45061 /* end confdefs.h. */
45062 #include <math.h>
45063 #ifdef HAVE_IEEEFP_H
45064 #include <ieeefp.h>
45065 #endif
45068 main ()
45070 _sqrtl(0);
45072 return 0;
45074 _ACEOF
45075 if ac_fn_cxx_try_compile "$LINENO"; then :
45076 glibcxx_cv_func__sqrtl_use=yes
45077 else
45078 glibcxx_cv_func__sqrtl_use=no
45080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45081 ac_ext=c
45082 ac_cpp='$CPP $CPPFLAGS'
45083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45092 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45094 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45095 for ac_func in _sqrtl
45096 do :
45097 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45098 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45099 cat >>confdefs.h <<_ACEOF
45100 #define HAVE__SQRTL 1
45101 _ACEOF
45104 done
45113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45114 $as_echo_n "checking for sincosl declaration... " >&6; }
45115 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45116 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45117 $as_echo_n "(cached) " >&6
45118 else
45121 ac_ext=cpp
45122 ac_cpp='$CXXCPP $CPPFLAGS'
45123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45128 /* end confdefs.h. */
45129 #include <math.h>
45131 main ()
45133 sincosl(0, 0, 0);
45135 return 0;
45137 _ACEOF
45138 if ac_fn_cxx_try_compile "$LINENO"; then :
45139 glibcxx_cv_func_sincosl_use=yes
45140 else
45141 glibcxx_cv_func_sincosl_use=no
45143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45144 ac_ext=c
45145 ac_cpp='$CPP $CPPFLAGS'
45146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45155 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45157 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45158 for ac_func in sincosl
45159 do :
45160 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45161 if test "x$ac_cv_func_sincosl" = x""yes; then :
45162 cat >>confdefs.h <<_ACEOF
45163 #define HAVE_SINCOSL 1
45164 _ACEOF
45167 done
45169 else
45171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45172 $as_echo_n "checking for _sincosl declaration... " >&6; }
45173 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45174 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45175 $as_echo_n "(cached) " >&6
45176 else
45179 ac_ext=cpp
45180 ac_cpp='$CXXCPP $CPPFLAGS'
45181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45186 /* end confdefs.h. */
45187 #include <math.h>
45189 main ()
45191 _sincosl(0, 0, 0);
45193 return 0;
45195 _ACEOF
45196 if ac_fn_cxx_try_compile "$LINENO"; then :
45197 glibcxx_cv_func__sincosl_use=yes
45198 else
45199 glibcxx_cv_func__sincosl_use=no
45201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45202 ac_ext=c
45203 ac_cpp='$CPP $CPPFLAGS'
45204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45213 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45215 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45216 for ac_func in _sincosl
45217 do :
45218 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45219 if test "x$ac_cv_func__sincosl" = x""yes; then :
45220 cat >>confdefs.h <<_ACEOF
45221 #define HAVE__SINCOSL 1
45222 _ACEOF
45225 done
45234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45235 $as_echo_n "checking for finitel declaration... " >&6; }
45236 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45237 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45238 $as_echo_n "(cached) " >&6
45239 else
45242 ac_ext=cpp
45243 ac_cpp='$CXXCPP $CPPFLAGS'
45244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45249 /* end confdefs.h. */
45250 #include <math.h>
45251 #ifdef HAVE_IEEEFP_H
45252 #include <ieeefp.h>
45253 #endif
45256 main ()
45258 finitel(0);
45260 return 0;
45262 _ACEOF
45263 if ac_fn_cxx_try_compile "$LINENO"; then :
45264 glibcxx_cv_func_finitel_use=yes
45265 else
45266 glibcxx_cv_func_finitel_use=no
45268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45269 ac_ext=c
45270 ac_cpp='$CPP $CPPFLAGS'
45271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45280 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45282 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45283 for ac_func in finitel
45284 do :
45285 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45286 if test "x$ac_cv_func_finitel" = x""yes; then :
45287 cat >>confdefs.h <<_ACEOF
45288 #define HAVE_FINITEL 1
45289 _ACEOF
45292 done
45294 else
45296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45297 $as_echo_n "checking for _finitel declaration... " >&6; }
45298 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45299 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45300 $as_echo_n "(cached) " >&6
45301 else
45304 ac_ext=cpp
45305 ac_cpp='$CXXCPP $CPPFLAGS'
45306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45311 /* end confdefs.h. */
45312 #include <math.h>
45313 #ifdef HAVE_IEEEFP_H
45314 #include <ieeefp.h>
45315 #endif
45318 main ()
45320 _finitel(0);
45322 return 0;
45324 _ACEOF
45325 if ac_fn_cxx_try_compile "$LINENO"; then :
45326 glibcxx_cv_func__finitel_use=yes
45327 else
45328 glibcxx_cv_func__finitel_use=no
45330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45331 ac_ext=c
45332 ac_cpp='$CPP $CPPFLAGS'
45333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45342 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45344 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45345 for ac_func in _finitel
45346 do :
45347 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45348 if test "x$ac_cv_func__finitel" = x""yes; then :
45349 cat >>confdefs.h <<_ACEOF
45350 #define HAVE__FINITEL 1
45351 _ACEOF
45354 done
45362 LIBS="$ac_save_LIBS"
45363 CXXFLAGS="$ac_save_CXXFLAGS"
45366 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45367 ac_save_CXXFLAGS="$CXXFLAGS"
45368 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45372 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45373 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45374 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45375 $as_echo_n "(cached) " >&6
45376 else
45379 ac_ext=cpp
45380 ac_cpp='$CXXCPP $CPPFLAGS'
45381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45386 /* end confdefs.h. */
45387 #include <stdlib.h>
45389 main ()
45391 at_quick_exit(0);
45393 return 0;
45395 _ACEOF
45396 if ac_fn_cxx_try_compile "$LINENO"; then :
45397 glibcxx_cv_func_at_quick_exit_use=yes
45398 else
45399 glibcxx_cv_func_at_quick_exit_use=no
45401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45402 ac_ext=c
45403 ac_cpp='$CPP $CPPFLAGS'
45404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45413 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45414 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45415 for ac_func in at_quick_exit
45416 do :
45417 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45418 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45419 cat >>confdefs.h <<_ACEOF
45420 #define HAVE_AT_QUICK_EXIT 1
45421 _ACEOF
45424 done
45429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45430 $as_echo_n "checking for quick_exit declaration... " >&6; }
45431 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45432 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45433 $as_echo_n "(cached) " >&6
45434 else
45437 ac_ext=cpp
45438 ac_cpp='$CXXCPP $CPPFLAGS'
45439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45444 /* end confdefs.h. */
45445 #include <stdlib.h>
45447 main ()
45449 quick_exit(0);
45451 return 0;
45453 _ACEOF
45454 if ac_fn_cxx_try_compile "$LINENO"; then :
45455 glibcxx_cv_func_quick_exit_use=yes
45456 else
45457 glibcxx_cv_func_quick_exit_use=no
45459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45460 ac_ext=c
45461 ac_cpp='$CPP $CPPFLAGS'
45462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45471 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45472 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45473 for ac_func in quick_exit
45474 do :
45475 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45476 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45477 cat >>confdefs.h <<_ACEOF
45478 #define HAVE_QUICK_EXIT 1
45479 _ACEOF
45482 done
45487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45488 $as_echo_n "checking for strtold declaration... " >&6; }
45489 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45490 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45491 $as_echo_n "(cached) " >&6
45492 else
45495 ac_ext=cpp
45496 ac_cpp='$CXXCPP $CPPFLAGS'
45497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45502 /* end confdefs.h. */
45503 #include <stdlib.h>
45505 main ()
45507 strtold(0, 0);
45509 return 0;
45511 _ACEOF
45512 if ac_fn_cxx_try_compile "$LINENO"; then :
45513 glibcxx_cv_func_strtold_use=yes
45514 else
45515 glibcxx_cv_func_strtold_use=no
45517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45518 ac_ext=c
45519 ac_cpp='$CPP $CPPFLAGS'
45520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45529 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45530 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45531 for ac_func in strtold
45532 do :
45533 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45534 if test "x$ac_cv_func_strtold" = x""yes; then :
45535 cat >>confdefs.h <<_ACEOF
45536 #define HAVE_STRTOLD 1
45537 _ACEOF
45540 done
45547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45548 $as_echo_n "checking for strtof declaration... " >&6; }
45549 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45550 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45551 $as_echo_n "(cached) " >&6
45552 else
45555 ac_ext=cpp
45556 ac_cpp='$CXXCPP $CPPFLAGS'
45557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45562 /* end confdefs.h. */
45563 #include <stdlib.h>
45565 main ()
45567 strtof(0, 0);
45569 return 0;
45571 _ACEOF
45572 if ac_fn_cxx_try_compile "$LINENO"; then :
45573 glibcxx_cv_func_strtof_use=yes
45574 else
45575 glibcxx_cv_func_strtof_use=no
45577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45578 ac_ext=c
45579 ac_cpp='$CPP $CPPFLAGS'
45580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45589 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45590 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45591 for ac_func in strtof
45592 do :
45593 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45594 if test "x$ac_cv_func_strtof" = x""yes; then :
45595 cat >>confdefs.h <<_ACEOF
45596 #define HAVE_STRTOF 1
45597 _ACEOF
45600 done
45607 CXXFLAGS="$ac_save_CXXFLAGS"
45611 *djgpp)
45612 # GLIBCXX_CHECK_MATH_SUPPORT
45613 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45615 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45617 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45619 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
45621 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45625 *-freebsd*)
45626 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45629 # If we're not using GNU ld, then there's no point in even trying these
45630 # tests. Check for that first. We should have already tested for gld
45631 # by now (in libtool), but require it now just to be safe...
45632 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45633 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45637 # The name set by libtool depends on the version of libtool. Shame on us
45638 # for depending on an impl detail, but c'est la vie. Older versions used
45639 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45640 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45641 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45642 # set (hence we're using an older libtool), then set it.
45643 if test x${with_gnu_ld+set} != xset; then
45644 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45645 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45646 with_gnu_ld=no
45647 else
45648 with_gnu_ld=$ac_cv_prog_gnu_ld
45652 # Start by getting the version number. I think the libtool test already
45653 # does some of this, but throws away the result.
45654 glibcxx_ld_is_gold=no
45655 if test x"$with_gnu_ld" = x"yes"; then
45656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45657 $as_echo_n "checking for ld version... " >&6; }
45659 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45660 glibcxx_ld_is_gold=yes
45662 ldver=`$LD --version 2>/dev/null |
45663 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'`
45665 glibcxx_gnu_ld_version=`echo $ldver | \
45666 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45668 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45671 # Set --gc-sections.
45672 glibcxx_have_gc_sections=no
45673 if test "$glibcxx_ld_is_gold" = "yes"; then
45674 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45675 glibcxx_have_gc_sections=yes
45677 else
45678 glibcxx_gcsections_min_ld=21602
45679 if test x"$with_gnu_ld" = x"yes" &&
45680 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45681 glibcxx_have_gc_sections=yes
45684 if test "$glibcxx_have_gc_sections" = "yes"; then
45685 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45686 # NB: This flag only works reliably after 2.16.1. Configure tests
45687 # for this are difficult, so hard wire a value that should work.
45689 ac_test_CFLAGS="${CFLAGS+set}"
45690 ac_save_CFLAGS="$CFLAGS"
45691 CFLAGS='-Wl,--gc-sections'
45693 # Check for -Wl,--gc-sections
45694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45695 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45696 if test x$gcc_no_link = xyes; then
45697 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45700 /* end confdefs.h. */
45701 int one(void) { return 1; }
45702 int two(void) { return 2; }
45705 main ()
45707 two();
45709 return 0;
45711 _ACEOF
45712 if ac_fn_c_try_link "$LINENO"; then :
45713 ac_gcsections=yes
45714 else
45715 ac_gcsections=no
45717 rm -f core conftest.err conftest.$ac_objext \
45718 conftest$ac_exeext conftest.$ac_ext
45719 if test "$ac_gcsections" = "yes"; then
45720 rm -f conftest.c
45721 touch conftest.c
45722 if $CC -c conftest.c; then
45723 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45724 grep "Warning: gc-sections option ignored" > /dev/null; then
45725 ac_gcsections=no
45728 rm -f conftest.c conftest.o conftest
45730 if test "$ac_gcsections" = "yes"; then
45731 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45734 $as_echo "$ac_gcsections" >&6; }
45736 if test "$ac_test_CFLAGS" = set; then
45737 CFLAGS="$ac_save_CFLAGS"
45738 else
45739 # this is the suspicious part
45740 CFLAGS=''
45744 # Set -z,relro.
45745 # Note this is only for shared objects.
45746 ac_ld_relro=no
45747 if test x"$with_gnu_ld" = x"yes"; then
45748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45749 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45750 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45751 if test -n "$cxx_z_relo"; then
45752 OPT_LDFLAGS="-Wl,-z,relro"
45753 ac_ld_relro=yes
45755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45756 $as_echo "$ac_ld_relro" >&6; }
45759 # Set linker optimization flags.
45760 if test x"$with_gnu_ld" = x"yes"; then
45761 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45767 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
45769 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45771 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45773 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45775 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45777 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
45779 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45781 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45783 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45786 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45788 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45790 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45792 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45794 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
45796 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45798 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45800 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45802 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45804 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45806 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45808 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45810 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45812 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45814 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45816 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45818 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45820 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45822 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45824 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45826 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45828 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45830 if test x"long_double_math_on_this_cpu" = x"yes"; then
45831 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45833 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45835 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45839 *-hpux*)
45840 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45843 # If we're not using GNU ld, then there's no point in even trying these
45844 # tests. Check for that first. We should have already tested for gld
45845 # by now (in libtool), but require it now just to be safe...
45846 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45847 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45851 # The name set by libtool depends on the version of libtool. Shame on us
45852 # for depending on an impl detail, but c'est la vie. Older versions used
45853 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45854 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45855 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45856 # set (hence we're using an older libtool), then set it.
45857 if test x${with_gnu_ld+set} != xset; then
45858 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45859 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45860 with_gnu_ld=no
45861 else
45862 with_gnu_ld=$ac_cv_prog_gnu_ld
45866 # Start by getting the version number. I think the libtool test already
45867 # does some of this, but throws away the result.
45868 glibcxx_ld_is_gold=no
45869 if test x"$with_gnu_ld" = x"yes"; then
45870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45871 $as_echo_n "checking for ld version... " >&6; }
45873 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45874 glibcxx_ld_is_gold=yes
45876 ldver=`$LD --version 2>/dev/null |
45877 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'`
45879 glibcxx_gnu_ld_version=`echo $ldver | \
45880 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45882 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45885 # Set --gc-sections.
45886 glibcxx_have_gc_sections=no
45887 if test "$glibcxx_ld_is_gold" = "yes"; then
45888 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45889 glibcxx_have_gc_sections=yes
45891 else
45892 glibcxx_gcsections_min_ld=21602
45893 if test x"$with_gnu_ld" = x"yes" &&
45894 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45895 glibcxx_have_gc_sections=yes
45898 if test "$glibcxx_have_gc_sections" = "yes"; then
45899 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45900 # NB: This flag only works reliably after 2.16.1. Configure tests
45901 # for this are difficult, so hard wire a value that should work.
45903 ac_test_CFLAGS="${CFLAGS+set}"
45904 ac_save_CFLAGS="$CFLAGS"
45905 CFLAGS='-Wl,--gc-sections'
45907 # Check for -Wl,--gc-sections
45908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45909 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45910 if test x$gcc_no_link = xyes; then
45911 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45914 /* end confdefs.h. */
45915 int one(void) { return 1; }
45916 int two(void) { return 2; }
45919 main ()
45921 two();
45923 return 0;
45925 _ACEOF
45926 if ac_fn_c_try_link "$LINENO"; then :
45927 ac_gcsections=yes
45928 else
45929 ac_gcsections=no
45931 rm -f core conftest.err conftest.$ac_objext \
45932 conftest$ac_exeext conftest.$ac_ext
45933 if test "$ac_gcsections" = "yes"; then
45934 rm -f conftest.c
45935 touch conftest.c
45936 if $CC -c conftest.c; then
45937 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45938 grep "Warning: gc-sections option ignored" > /dev/null; then
45939 ac_gcsections=no
45942 rm -f conftest.c conftest.o conftest
45944 if test "$ac_gcsections" = "yes"; then
45945 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45948 $as_echo "$ac_gcsections" >&6; }
45950 if test "$ac_test_CFLAGS" = set; then
45951 CFLAGS="$ac_save_CFLAGS"
45952 else
45953 # this is the suspicious part
45954 CFLAGS=''
45958 # Set -z,relro.
45959 # Note this is only for shared objects.
45960 ac_ld_relro=no
45961 if test x"$with_gnu_ld" = x"yes"; then
45962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45963 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45964 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45965 if test -n "$cxx_z_relo"; then
45966 OPT_LDFLAGS="-Wl,-z,relro"
45967 ac_ld_relro=yes
45969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45970 $as_echo "$ac_ld_relro" >&6; }
45973 # Set linker optimization flags.
45974 if test x"$with_gnu_ld" = x"yes"; then
45975 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45982 # GLIBCXX_CHECK_MATH_SUPPORT
45983 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45985 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45987 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45989 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45991 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45993 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45995 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45997 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45999 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
46001 $as_echo "#define HAVE_TANF 1" >>confdefs.h
46003 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
46005 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
46007 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
46009 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
46011 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
46013 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
46015 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
46017 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
46019 $as_echo "#define HAVE_MODF 1" >>confdefs.h
46021 $as_echo "#define HAVE_POWF 1" >>confdefs.h
46023 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
46026 # GLIBCXX_CHECK_STDLIB_SUPPORT
46027 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
46032 # Check whether --enable-tls was given.
46033 if test "${enable_tls+set}" = set; then :
46034 enableval=$enable_tls;
46035 case "$enableval" in
46036 yes|no) ;;
46037 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
46038 esac
46040 else
46041 enable_tls=yes
46045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
46046 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
46047 if test "${gcc_cv_have_tls+set}" = set; then :
46048 $as_echo_n "(cached) " >&6
46049 else
46051 if test "$cross_compiling" = yes; then :
46052 if test x$gcc_no_link = xyes; then
46053 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46056 /* end confdefs.h. */
46057 __thread int a; int b; int main() { return a = b; }
46058 _ACEOF
46059 if ac_fn_c_try_link "$LINENO"; then :
46060 chktls_save_LDFLAGS="$LDFLAGS"
46061 case $host in
46062 *-*-linux*)
46063 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
46065 esac
46066 chktls_save_CFLAGS="$CFLAGS"
46067 CFLAGS="-fPIC $CFLAGS"
46068 if test x$gcc_no_link = xyes; then
46069 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46072 /* end confdefs.h. */
46073 int f() { return 0; }
46074 _ACEOF
46075 if ac_fn_c_try_link "$LINENO"; then :
46076 if test x$gcc_no_link = xyes; then
46077 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46080 /* end confdefs.h. */
46081 __thread int a; int b; int f() { return a = b; }
46082 _ACEOF
46083 if ac_fn_c_try_link "$LINENO"; then :
46084 gcc_cv_have_tls=yes
46085 else
46086 gcc_cv_have_tls=no
46088 rm -f core conftest.err conftest.$ac_objext \
46089 conftest$ac_exeext conftest.$ac_ext
46090 else
46091 gcc_cv_have_tls=yes
46093 rm -f core conftest.err conftest.$ac_objext \
46094 conftest$ac_exeext conftest.$ac_ext
46095 CFLAGS="$chktls_save_CFLAGS"
46096 LDFLAGS="$chktls_save_LDFLAGS"
46097 else
46098 gcc_cv_have_tls=no
46100 rm -f core conftest.err conftest.$ac_objext \
46101 conftest$ac_exeext conftest.$ac_ext
46104 else
46105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46106 /* end confdefs.h. */
46107 __thread int a; int b; int main() { return a = b; }
46108 _ACEOF
46109 if ac_fn_c_try_run "$LINENO"; then :
46110 chktls_save_LDFLAGS="$LDFLAGS"
46111 LDFLAGS="-static $LDFLAGS"
46112 if test x$gcc_no_link = xyes; then
46113 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46116 /* end confdefs.h. */
46117 int main() { return 0; }
46118 _ACEOF
46119 if ac_fn_c_try_link "$LINENO"; then :
46120 if test "$cross_compiling" = yes; then :
46121 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
46123 as_fn_error "cannot run test program while cross compiling
46124 See \`config.log' for more details." "$LINENO" 5; }
46125 else
46126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46127 /* end confdefs.h. */
46128 __thread int a; int b; int main() { return a = b; }
46129 _ACEOF
46130 if ac_fn_c_try_run "$LINENO"; then :
46131 gcc_cv_have_tls=yes
46132 else
46133 gcc_cv_have_tls=no
46135 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46136 conftest.$ac_objext conftest.beam conftest.$ac_ext
46139 else
46140 gcc_cv_have_tls=yes
46142 rm -f core conftest.err conftest.$ac_objext \
46143 conftest$ac_exeext conftest.$ac_ext
46144 LDFLAGS="$chktls_save_LDFLAGS"
46145 if test $gcc_cv_have_tls = yes; then
46146 chktls_save_CFLAGS="$CFLAGS"
46147 thread_CFLAGS=failed
46148 for flag in '' '-pthread' '-lpthread'; do
46149 CFLAGS="$flag $chktls_save_CFLAGS"
46150 if test x$gcc_no_link = xyes; then
46151 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46154 /* end confdefs.h. */
46155 #include <pthread.h>
46156 void *g(void *d) { return NULL; }
46158 main ()
46160 pthread_t t; pthread_create(&t,NULL,g,NULL);
46162 return 0;
46164 _ACEOF
46165 if ac_fn_c_try_link "$LINENO"; then :
46166 thread_CFLAGS="$flag"
46168 rm -f core conftest.err conftest.$ac_objext \
46169 conftest$ac_exeext conftest.$ac_ext
46170 if test "X$thread_CFLAGS" != Xfailed; then
46171 break
46173 done
46174 CFLAGS="$chktls_save_CFLAGS"
46175 if test "X$thread_CFLAGS" != Xfailed; then
46176 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
46177 if test "$cross_compiling" = yes; then :
46178 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
46180 as_fn_error "cannot run test program while cross compiling
46181 See \`config.log' for more details." "$LINENO" 5; }
46182 else
46183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46184 /* end confdefs.h. */
46185 #include <pthread.h>
46186 __thread int a;
46187 static int *volatile a_in_other_thread;
46188 static void *
46189 thread_func (void *arg)
46191 a_in_other_thread = &a;
46192 return (void *)0;
46195 main ()
46197 pthread_t thread;
46198 void *thread_retval;
46199 int *volatile a_in_main_thread;
46200 a_in_main_thread = &a;
46201 if (pthread_create (&thread, (pthread_attr_t *)0,
46202 thread_func, (void *)0))
46203 return 0;
46204 if (pthread_join (thread, &thread_retval))
46205 return 0;
46206 return (a_in_other_thread == a_in_main_thread);
46208 return 0;
46210 _ACEOF
46211 if ac_fn_c_try_run "$LINENO"; then :
46212 gcc_cv_have_tls=yes
46213 else
46214 gcc_cv_have_tls=no
46216 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46217 conftest.$ac_objext conftest.beam conftest.$ac_ext
46220 CFLAGS="$chktls_save_CFLAGS"
46223 else
46224 gcc_cv_have_tls=no
46226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46227 conftest.$ac_objext conftest.beam conftest.$ac_ext
46231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
46232 $as_echo "$gcc_cv_have_tls" >&6; }
46233 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
46235 $as_echo "#define HAVE_TLS 1" >>confdefs.h
46238 case "$target" in
46239 *-hpux10*)
46240 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
46242 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
46244 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
46246 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
46248 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
46251 esac
46253 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
46255 # All these tests are for C++; save the language and the compiler flags.
46256 # The CXXFLAGS thing is suspicious, but based on similar bits previously
46257 # found in GLIBCXX_CONFIGURE.
46259 ac_ext=cpp
46260 ac_cpp='$CXXCPP $CPPFLAGS'
46261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46265 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46266 ac_save_CXXFLAGS="$CXXFLAGS"
46268 # Check for maintainer-mode bits.
46269 if test x"$USE_MAINTAINER_MODE" = xno; then
46270 WERROR=''
46271 else
46272 WERROR='-Werror'
46275 # Check for -ffunction-sections -fdata-sections
46276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
46277 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
46278 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
46279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46280 /* end confdefs.h. */
46281 int foo; void bar() { };
46283 main ()
46287 return 0;
46289 _ACEOF
46290 if ac_fn_cxx_try_compile "$LINENO"; then :
46291 ac_fdsections=yes
46292 else
46293 ac_fdsections=no
46295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46296 if test "$ac_test_CXXFLAGS" = set; then
46297 CXXFLAGS="$ac_save_CXXFLAGS"
46298 else
46299 # this is the suspicious part
46300 CXXFLAGS=''
46302 if test x"$ac_fdsections" = x"yes"; then
46303 SECTION_FLAGS='-ffunction-sections -fdata-sections'
46305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
46306 $as_echo "$ac_fdsections" >&6; }
46308 ac_ext=c
46309 ac_cpp='$CPP $CPPFLAGS'
46310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46318 # If we're not using GNU ld, then there's no point in even trying these
46319 # tests. Check for that first. We should have already tested for gld
46320 # by now (in libtool), but require it now just to be safe...
46321 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
46322 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
46326 # The name set by libtool depends on the version of libtool. Shame on us
46327 # for depending on an impl detail, but c'est la vie. Older versions used
46328 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
46329 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
46330 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
46331 # set (hence we're using an older libtool), then set it.
46332 if test x${with_gnu_ld+set} != xset; then
46333 if test x${ac_cv_prog_gnu_ld+set} != xset; then
46334 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
46335 with_gnu_ld=no
46336 else
46337 with_gnu_ld=$ac_cv_prog_gnu_ld
46341 # Start by getting the version number. I think the libtool test already
46342 # does some of this, but throws away the result.
46343 glibcxx_ld_is_gold=no
46344 if test x"$with_gnu_ld" = x"yes"; then
46345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
46346 $as_echo_n "checking for ld version... " >&6; }
46348 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
46349 glibcxx_ld_is_gold=yes
46351 ldver=`$LD --version 2>/dev/null |
46352 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'`
46354 glibcxx_gnu_ld_version=`echo $ldver | \
46355 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
46356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
46357 $as_echo "$glibcxx_gnu_ld_version" >&6; }
46360 # Set --gc-sections.
46361 glibcxx_have_gc_sections=no
46362 if test "$glibcxx_ld_is_gold" = "yes"; then
46363 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
46364 glibcxx_have_gc_sections=yes
46366 else
46367 glibcxx_gcsections_min_ld=21602
46368 if test x"$with_gnu_ld" = x"yes" &&
46369 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
46370 glibcxx_have_gc_sections=yes
46373 if test "$glibcxx_have_gc_sections" = "yes"; then
46374 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
46375 # NB: This flag only works reliably after 2.16.1. Configure tests
46376 # for this are difficult, so hard wire a value that should work.
46378 ac_test_CFLAGS="${CFLAGS+set}"
46379 ac_save_CFLAGS="$CFLAGS"
46380 CFLAGS='-Wl,--gc-sections'
46382 # Check for -Wl,--gc-sections
46383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
46384 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
46385 if test x$gcc_no_link = xyes; then
46386 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46389 /* end confdefs.h. */
46390 int one(void) { return 1; }
46391 int two(void) { return 2; }
46394 main ()
46396 two();
46398 return 0;
46400 _ACEOF
46401 if ac_fn_c_try_link "$LINENO"; then :
46402 ac_gcsections=yes
46403 else
46404 ac_gcsections=no
46406 rm -f core conftest.err conftest.$ac_objext \
46407 conftest$ac_exeext conftest.$ac_ext
46408 if test "$ac_gcsections" = "yes"; then
46409 rm -f conftest.c
46410 touch conftest.c
46411 if $CC -c conftest.c; then
46412 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
46413 grep "Warning: gc-sections option ignored" > /dev/null; then
46414 ac_gcsections=no
46417 rm -f conftest.c conftest.o conftest
46419 if test "$ac_gcsections" = "yes"; then
46420 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
46422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
46423 $as_echo "$ac_gcsections" >&6; }
46425 if test "$ac_test_CFLAGS" = set; then
46426 CFLAGS="$ac_save_CFLAGS"
46427 else
46428 # this is the suspicious part
46429 CFLAGS=''
46433 # Set -z,relro.
46434 # Note this is only for shared objects.
46435 ac_ld_relro=no
46436 if test x"$with_gnu_ld" = x"yes"; then
46437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
46438 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
46439 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
46440 if test -n "$cxx_z_relo"; then
46441 OPT_LDFLAGS="-Wl,-z,relro"
46442 ac_ld_relro=yes
46444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
46445 $as_echo "$ac_ld_relro" >&6; }
46448 # Set linker optimization flags.
46449 if test x"$with_gnu_ld" = x"yes"; then
46450 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
46457 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46458 ac_save_CXXFLAGS="$CXXFLAGS"
46459 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46462 $as_echo_n "checking for sin in -lm... " >&6; }
46463 if test "${ac_cv_lib_m_sin+set}" = set; then :
46464 $as_echo_n "(cached) " >&6
46465 else
46466 ac_check_lib_save_LIBS=$LIBS
46467 LIBS="-lm $LIBS"
46468 if test x$gcc_no_link = xyes; then
46469 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46472 /* end confdefs.h. */
46474 /* Override any GCC internal prototype to avoid an error.
46475 Use char because int might match the return type of a GCC
46476 builtin and then its argument prototype would still apply. */
46477 #ifdef __cplusplus
46478 extern "C"
46479 #endif
46480 char sin ();
46482 main ()
46484 return sin ();
46486 return 0;
46488 _ACEOF
46489 if ac_fn_c_try_link "$LINENO"; then :
46490 ac_cv_lib_m_sin=yes
46491 else
46492 ac_cv_lib_m_sin=no
46494 rm -f core conftest.err conftest.$ac_objext \
46495 conftest$ac_exeext conftest.$ac_ext
46496 LIBS=$ac_check_lib_save_LIBS
46498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46499 $as_echo "$ac_cv_lib_m_sin" >&6; }
46500 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46501 libm="-lm"
46504 ac_save_LIBS="$LIBS"
46505 LIBS="$LIBS $libm"
46509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46510 $as_echo_n "checking for isinf declaration... " >&6; }
46511 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46512 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46513 $as_echo_n "(cached) " >&6
46514 else
46517 ac_ext=cpp
46518 ac_cpp='$CXXCPP $CPPFLAGS'
46519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46524 /* end confdefs.h. */
46525 #include <math.h>
46526 #ifdef HAVE_IEEEFP_H
46527 #include <ieeefp.h>
46528 #endif
46531 main ()
46533 isinf(0);
46535 return 0;
46537 _ACEOF
46538 if ac_fn_cxx_try_compile "$LINENO"; then :
46539 glibcxx_cv_func_isinf_use=yes
46540 else
46541 glibcxx_cv_func_isinf_use=no
46543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46544 ac_ext=c
46545 ac_cpp='$CPP $CPPFLAGS'
46546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46555 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46557 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46558 for ac_func in isinf
46559 do :
46560 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46561 if test "x$ac_cv_func_isinf" = x""yes; then :
46562 cat >>confdefs.h <<_ACEOF
46563 #define HAVE_ISINF 1
46564 _ACEOF
46567 done
46569 else
46571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46572 $as_echo_n "checking for _isinf declaration... " >&6; }
46573 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46574 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46575 $as_echo_n "(cached) " >&6
46576 else
46579 ac_ext=cpp
46580 ac_cpp='$CXXCPP $CPPFLAGS'
46581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46586 /* end confdefs.h. */
46587 #include <math.h>
46588 #ifdef HAVE_IEEEFP_H
46589 #include <ieeefp.h>
46590 #endif
46593 main ()
46595 _isinf(0);
46597 return 0;
46599 _ACEOF
46600 if ac_fn_cxx_try_compile "$LINENO"; then :
46601 glibcxx_cv_func__isinf_use=yes
46602 else
46603 glibcxx_cv_func__isinf_use=no
46605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46606 ac_ext=c
46607 ac_cpp='$CPP $CPPFLAGS'
46608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46617 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46619 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46620 for ac_func in _isinf
46621 do :
46622 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46623 if test "x$ac_cv_func__isinf" = x""yes; then :
46624 cat >>confdefs.h <<_ACEOF
46625 #define HAVE__ISINF 1
46626 _ACEOF
46629 done
46638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46639 $as_echo_n "checking for isnan declaration... " >&6; }
46640 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46641 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46642 $as_echo_n "(cached) " >&6
46643 else
46646 ac_ext=cpp
46647 ac_cpp='$CXXCPP $CPPFLAGS'
46648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46653 /* end confdefs.h. */
46654 #include <math.h>
46655 #ifdef HAVE_IEEEFP_H
46656 #include <ieeefp.h>
46657 #endif
46660 main ()
46662 isnan(0);
46664 return 0;
46666 _ACEOF
46667 if ac_fn_cxx_try_compile "$LINENO"; then :
46668 glibcxx_cv_func_isnan_use=yes
46669 else
46670 glibcxx_cv_func_isnan_use=no
46672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46673 ac_ext=c
46674 ac_cpp='$CPP $CPPFLAGS'
46675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46684 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46686 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46687 for ac_func in isnan
46688 do :
46689 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46690 if test "x$ac_cv_func_isnan" = x""yes; then :
46691 cat >>confdefs.h <<_ACEOF
46692 #define HAVE_ISNAN 1
46693 _ACEOF
46696 done
46698 else
46700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46701 $as_echo_n "checking for _isnan declaration... " >&6; }
46702 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46703 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46704 $as_echo_n "(cached) " >&6
46705 else
46708 ac_ext=cpp
46709 ac_cpp='$CXXCPP $CPPFLAGS'
46710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46715 /* end confdefs.h. */
46716 #include <math.h>
46717 #ifdef HAVE_IEEEFP_H
46718 #include <ieeefp.h>
46719 #endif
46722 main ()
46724 _isnan(0);
46726 return 0;
46728 _ACEOF
46729 if ac_fn_cxx_try_compile "$LINENO"; then :
46730 glibcxx_cv_func__isnan_use=yes
46731 else
46732 glibcxx_cv_func__isnan_use=no
46734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46735 ac_ext=c
46736 ac_cpp='$CPP $CPPFLAGS'
46737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46746 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46748 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46749 for ac_func in _isnan
46750 do :
46751 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46752 if test "x$ac_cv_func__isnan" = x""yes; then :
46753 cat >>confdefs.h <<_ACEOF
46754 #define HAVE__ISNAN 1
46755 _ACEOF
46758 done
46767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46768 $as_echo_n "checking for finite declaration... " >&6; }
46769 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46770 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46771 $as_echo_n "(cached) " >&6
46772 else
46775 ac_ext=cpp
46776 ac_cpp='$CXXCPP $CPPFLAGS'
46777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46782 /* end confdefs.h. */
46783 #include <math.h>
46784 #ifdef HAVE_IEEEFP_H
46785 #include <ieeefp.h>
46786 #endif
46789 main ()
46791 finite(0);
46793 return 0;
46795 _ACEOF
46796 if ac_fn_cxx_try_compile "$LINENO"; then :
46797 glibcxx_cv_func_finite_use=yes
46798 else
46799 glibcxx_cv_func_finite_use=no
46801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46802 ac_ext=c
46803 ac_cpp='$CPP $CPPFLAGS'
46804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46813 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46815 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46816 for ac_func in finite
46817 do :
46818 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46819 if test "x$ac_cv_func_finite" = x""yes; then :
46820 cat >>confdefs.h <<_ACEOF
46821 #define HAVE_FINITE 1
46822 _ACEOF
46825 done
46827 else
46829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46830 $as_echo_n "checking for _finite declaration... " >&6; }
46831 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46832 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46833 $as_echo_n "(cached) " >&6
46834 else
46837 ac_ext=cpp
46838 ac_cpp='$CXXCPP $CPPFLAGS'
46839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46844 /* end confdefs.h. */
46845 #include <math.h>
46846 #ifdef HAVE_IEEEFP_H
46847 #include <ieeefp.h>
46848 #endif
46851 main ()
46853 _finite(0);
46855 return 0;
46857 _ACEOF
46858 if ac_fn_cxx_try_compile "$LINENO"; then :
46859 glibcxx_cv_func__finite_use=yes
46860 else
46861 glibcxx_cv_func__finite_use=no
46863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46864 ac_ext=c
46865 ac_cpp='$CPP $CPPFLAGS'
46866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46875 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46877 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46878 for ac_func in _finite
46879 do :
46880 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46881 if test "x$ac_cv_func__finite" = x""yes; then :
46882 cat >>confdefs.h <<_ACEOF
46883 #define HAVE__FINITE 1
46884 _ACEOF
46887 done
46896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46897 $as_echo_n "checking for sincos declaration... " >&6; }
46898 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46899 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46900 $as_echo_n "(cached) " >&6
46901 else
46904 ac_ext=cpp
46905 ac_cpp='$CXXCPP $CPPFLAGS'
46906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46911 /* end confdefs.h. */
46912 #include <math.h>
46914 main ()
46916 sincos(0, 0, 0);
46918 return 0;
46920 _ACEOF
46921 if ac_fn_cxx_try_compile "$LINENO"; then :
46922 glibcxx_cv_func_sincos_use=yes
46923 else
46924 glibcxx_cv_func_sincos_use=no
46926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46927 ac_ext=c
46928 ac_cpp='$CPP $CPPFLAGS'
46929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46938 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46940 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46941 for ac_func in sincos
46942 do :
46943 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46944 if test "x$ac_cv_func_sincos" = x""yes; then :
46945 cat >>confdefs.h <<_ACEOF
46946 #define HAVE_SINCOS 1
46947 _ACEOF
46950 done
46952 else
46954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46955 $as_echo_n "checking for _sincos declaration... " >&6; }
46956 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46957 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46958 $as_echo_n "(cached) " >&6
46959 else
46962 ac_ext=cpp
46963 ac_cpp='$CXXCPP $CPPFLAGS'
46964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46969 /* end confdefs.h. */
46970 #include <math.h>
46972 main ()
46974 _sincos(0, 0, 0);
46976 return 0;
46978 _ACEOF
46979 if ac_fn_cxx_try_compile "$LINENO"; then :
46980 glibcxx_cv_func__sincos_use=yes
46981 else
46982 glibcxx_cv_func__sincos_use=no
46984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46985 ac_ext=c
46986 ac_cpp='$CPP $CPPFLAGS'
46987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46996 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46998 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46999 for ac_func in _sincos
47000 do :
47001 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47002 if test "x$ac_cv_func__sincos" = x""yes; then :
47003 cat >>confdefs.h <<_ACEOF
47004 #define HAVE__SINCOS 1
47005 _ACEOF
47008 done
47017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47018 $as_echo_n "checking for fpclass declaration... " >&6; }
47019 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47020 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47021 $as_echo_n "(cached) " >&6
47022 else
47025 ac_ext=cpp
47026 ac_cpp='$CXXCPP $CPPFLAGS'
47027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47032 /* end confdefs.h. */
47033 #include <math.h>
47034 #ifdef HAVE_IEEEFP_H
47035 #include <ieeefp.h>
47036 #endif
47039 main ()
47041 fpclass(0);
47043 return 0;
47045 _ACEOF
47046 if ac_fn_cxx_try_compile "$LINENO"; then :
47047 glibcxx_cv_func_fpclass_use=yes
47048 else
47049 glibcxx_cv_func_fpclass_use=no
47051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47052 ac_ext=c
47053 ac_cpp='$CPP $CPPFLAGS'
47054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47063 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47065 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47066 for ac_func in fpclass
47067 do :
47068 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47069 if test "x$ac_cv_func_fpclass" = x""yes; then :
47070 cat >>confdefs.h <<_ACEOF
47071 #define HAVE_FPCLASS 1
47072 _ACEOF
47075 done
47077 else
47079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47080 $as_echo_n "checking for _fpclass declaration... " >&6; }
47081 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47082 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47083 $as_echo_n "(cached) " >&6
47084 else
47087 ac_ext=cpp
47088 ac_cpp='$CXXCPP $CPPFLAGS'
47089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47094 /* end confdefs.h. */
47095 #include <math.h>
47096 #ifdef HAVE_IEEEFP_H
47097 #include <ieeefp.h>
47098 #endif
47101 main ()
47103 _fpclass(0);
47105 return 0;
47107 _ACEOF
47108 if ac_fn_cxx_try_compile "$LINENO"; then :
47109 glibcxx_cv_func__fpclass_use=yes
47110 else
47111 glibcxx_cv_func__fpclass_use=no
47113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47114 ac_ext=c
47115 ac_cpp='$CPP $CPPFLAGS'
47116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47125 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
47127 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
47128 for ac_func in _fpclass
47129 do :
47130 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
47131 if test "x$ac_cv_func__fpclass" = x""yes; then :
47132 cat >>confdefs.h <<_ACEOF
47133 #define HAVE__FPCLASS 1
47134 _ACEOF
47137 done
47146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
47147 $as_echo_n "checking for qfpclass declaration... " >&6; }
47148 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
47149 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
47150 $as_echo_n "(cached) " >&6
47151 else
47154 ac_ext=cpp
47155 ac_cpp='$CXXCPP $CPPFLAGS'
47156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47161 /* end confdefs.h. */
47162 #include <math.h>
47163 #ifdef HAVE_IEEEFP_H
47164 #include <ieeefp.h>
47165 #endif
47168 main ()
47170 qfpclass(0);
47172 return 0;
47174 _ACEOF
47175 if ac_fn_cxx_try_compile "$LINENO"; then :
47176 glibcxx_cv_func_qfpclass_use=yes
47177 else
47178 glibcxx_cv_func_qfpclass_use=no
47180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47181 ac_ext=c
47182 ac_cpp='$CPP $CPPFLAGS'
47183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
47192 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
47194 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
47195 for ac_func in qfpclass
47196 do :
47197 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
47198 if test "x$ac_cv_func_qfpclass" = x""yes; then :
47199 cat >>confdefs.h <<_ACEOF
47200 #define HAVE_QFPCLASS 1
47201 _ACEOF
47204 done
47206 else
47208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
47209 $as_echo_n "checking for _qfpclass declaration... " >&6; }
47210 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
47211 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
47212 $as_echo_n "(cached) " >&6
47213 else
47216 ac_ext=cpp
47217 ac_cpp='$CXXCPP $CPPFLAGS'
47218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47223 /* end confdefs.h. */
47224 #include <math.h>
47225 #ifdef HAVE_IEEEFP_H
47226 #include <ieeefp.h>
47227 #endif
47230 main ()
47232 _qfpclass(0);
47234 return 0;
47236 _ACEOF
47237 if ac_fn_cxx_try_compile "$LINENO"; then :
47238 glibcxx_cv_func__qfpclass_use=yes
47239 else
47240 glibcxx_cv_func__qfpclass_use=no
47242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47243 ac_ext=c
47244 ac_cpp='$CPP $CPPFLAGS'
47245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47254 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47256 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47257 for ac_func in _qfpclass
47258 do :
47259 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47260 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47261 cat >>confdefs.h <<_ACEOF
47262 #define HAVE__QFPCLASS 1
47263 _ACEOF
47266 done
47275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47276 $as_echo_n "checking for hypot declaration... " >&6; }
47277 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47278 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47279 $as_echo_n "(cached) " >&6
47280 else
47283 ac_ext=cpp
47284 ac_cpp='$CXXCPP $CPPFLAGS'
47285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47290 /* end confdefs.h. */
47291 #include <math.h>
47293 main ()
47295 hypot(0, 0);
47297 return 0;
47299 _ACEOF
47300 if ac_fn_cxx_try_compile "$LINENO"; then :
47301 glibcxx_cv_func_hypot_use=yes
47302 else
47303 glibcxx_cv_func_hypot_use=no
47305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47306 ac_ext=c
47307 ac_cpp='$CPP $CPPFLAGS'
47308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
47317 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47319 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47320 for ac_func in hypot
47321 do :
47322 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47323 if test "x$ac_cv_func_hypot" = x""yes; then :
47324 cat >>confdefs.h <<_ACEOF
47325 #define HAVE_HYPOT 1
47326 _ACEOF
47329 done
47331 else
47333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
47334 $as_echo_n "checking for _hypot declaration... " >&6; }
47335 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
47336 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
47337 $as_echo_n "(cached) " >&6
47338 else
47341 ac_ext=cpp
47342 ac_cpp='$CXXCPP $CPPFLAGS'
47343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47348 /* end confdefs.h. */
47349 #include <math.h>
47351 main ()
47353 _hypot(0, 0);
47355 return 0;
47357 _ACEOF
47358 if ac_fn_cxx_try_compile "$LINENO"; then :
47359 glibcxx_cv_func__hypot_use=yes
47360 else
47361 glibcxx_cv_func__hypot_use=no
47363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47364 ac_ext=c
47365 ac_cpp='$CPP $CPPFLAGS'
47366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47375 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47377 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47378 for ac_func in _hypot
47379 do :
47380 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47381 if test "x$ac_cv_func__hypot" = x""yes; then :
47382 cat >>confdefs.h <<_ACEOF
47383 #define HAVE__HYPOT 1
47384 _ACEOF
47387 done
47396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47397 $as_echo_n "checking for float trig functions... " >&6; }
47398 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47399 $as_echo_n "(cached) " >&6
47400 else
47403 ac_ext=cpp
47404 ac_cpp='$CXXCPP $CPPFLAGS'
47405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47410 /* end confdefs.h. */
47411 #include <math.h>
47413 main ()
47415 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47417 return 0;
47419 _ACEOF
47420 if ac_fn_cxx_try_compile "$LINENO"; then :
47421 glibcxx_cv_func_float_trig_use=yes
47422 else
47423 glibcxx_cv_func_float_trig_use=no
47425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47426 ac_ext=c
47427 ac_cpp='$CPP $CPPFLAGS'
47428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47435 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47436 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47437 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47438 do :
47439 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47440 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47441 eval as_val=\$$as_ac_var
47442 if test "x$as_val" = x""yes; then :
47443 cat >>confdefs.h <<_ACEOF
47444 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47445 _ACEOF
47448 done
47450 else
47451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47452 $as_echo_n "checking for _float trig functions... " >&6; }
47453 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47454 $as_echo_n "(cached) " >&6
47455 else
47458 ac_ext=cpp
47459 ac_cpp='$CXXCPP $CPPFLAGS'
47460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47465 /* end confdefs.h. */
47466 #include <math.h>
47468 main ()
47470 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47472 return 0;
47474 _ACEOF
47475 if ac_fn_cxx_try_compile "$LINENO"; then :
47476 glibcxx_cv_func__float_trig_use=yes
47477 else
47478 glibcxx_cv_func__float_trig_use=no
47480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47481 ac_ext=c
47482 ac_cpp='$CPP $CPPFLAGS'
47483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47490 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47491 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47492 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47493 do :
47494 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47495 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47496 eval as_val=\$$as_ac_var
47497 if test "x$as_val" = x""yes; then :
47498 cat >>confdefs.h <<_ACEOF
47499 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47500 _ACEOF
47503 done
47512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47513 $as_echo_n "checking for float round functions... " >&6; }
47514 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47515 $as_echo_n "(cached) " >&6
47516 else
47519 ac_ext=cpp
47520 ac_cpp='$CXXCPP $CPPFLAGS'
47521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47526 /* end confdefs.h. */
47527 #include <math.h>
47529 main ()
47531 ceilf (0); floorf (0);
47533 return 0;
47535 _ACEOF
47536 if ac_fn_cxx_try_compile "$LINENO"; then :
47537 glibcxx_cv_func_float_round_use=yes
47538 else
47539 glibcxx_cv_func_float_round_use=no
47541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47542 ac_ext=c
47543 ac_cpp='$CPP $CPPFLAGS'
47544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47551 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47552 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47553 for ac_func in ceilf floorf
47554 do :
47555 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47556 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47557 eval as_val=\$$as_ac_var
47558 if test "x$as_val" = x""yes; then :
47559 cat >>confdefs.h <<_ACEOF
47560 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47561 _ACEOF
47564 done
47566 else
47567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47568 $as_echo_n "checking for _float round functions... " >&6; }
47569 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47570 $as_echo_n "(cached) " >&6
47571 else
47574 ac_ext=cpp
47575 ac_cpp='$CXXCPP $CPPFLAGS'
47576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47581 /* end confdefs.h. */
47582 #include <math.h>
47584 main ()
47586 _ceilf (0); _floorf (0);
47588 return 0;
47590 _ACEOF
47591 if ac_fn_cxx_try_compile "$LINENO"; then :
47592 glibcxx_cv_func__float_round_use=yes
47593 else
47594 glibcxx_cv_func__float_round_use=no
47596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47597 ac_ext=c
47598 ac_cpp='$CPP $CPPFLAGS'
47599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47606 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47607 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47608 for ac_func in _ceilf _floorf
47609 do :
47610 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47611 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47612 eval as_val=\$$as_ac_var
47613 if test "x$as_val" = x""yes; then :
47614 cat >>confdefs.h <<_ACEOF
47615 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47616 _ACEOF
47619 done
47629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47630 $as_echo_n "checking for expf declaration... " >&6; }
47631 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47632 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47633 $as_echo_n "(cached) " >&6
47634 else
47637 ac_ext=cpp
47638 ac_cpp='$CXXCPP $CPPFLAGS'
47639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47644 /* end confdefs.h. */
47645 #include <math.h>
47646 #ifdef HAVE_IEEEFP_H
47647 #include <ieeefp.h>
47648 #endif
47651 main ()
47653 expf(0);
47655 return 0;
47657 _ACEOF
47658 if ac_fn_cxx_try_compile "$LINENO"; then :
47659 glibcxx_cv_func_expf_use=yes
47660 else
47661 glibcxx_cv_func_expf_use=no
47663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47664 ac_ext=c
47665 ac_cpp='$CPP $CPPFLAGS'
47666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47675 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47677 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47678 for ac_func in expf
47679 do :
47680 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47681 if test "x$ac_cv_func_expf" = x""yes; then :
47682 cat >>confdefs.h <<_ACEOF
47683 #define HAVE_EXPF 1
47684 _ACEOF
47687 done
47689 else
47691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47692 $as_echo_n "checking for _expf declaration... " >&6; }
47693 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47694 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47695 $as_echo_n "(cached) " >&6
47696 else
47699 ac_ext=cpp
47700 ac_cpp='$CXXCPP $CPPFLAGS'
47701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47706 /* end confdefs.h. */
47707 #include <math.h>
47708 #ifdef HAVE_IEEEFP_H
47709 #include <ieeefp.h>
47710 #endif
47713 main ()
47715 _expf(0);
47717 return 0;
47719 _ACEOF
47720 if ac_fn_cxx_try_compile "$LINENO"; then :
47721 glibcxx_cv_func__expf_use=yes
47722 else
47723 glibcxx_cv_func__expf_use=no
47725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47726 ac_ext=c
47727 ac_cpp='$CPP $CPPFLAGS'
47728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47737 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47739 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47740 for ac_func in _expf
47741 do :
47742 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47743 if test "x$ac_cv_func__expf" = x""yes; then :
47744 cat >>confdefs.h <<_ACEOF
47745 #define HAVE__EXPF 1
47746 _ACEOF
47749 done
47758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47759 $as_echo_n "checking for isnanf declaration... " >&6; }
47760 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47761 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47762 $as_echo_n "(cached) " >&6
47763 else
47766 ac_ext=cpp
47767 ac_cpp='$CXXCPP $CPPFLAGS'
47768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47773 /* end confdefs.h. */
47774 #include <math.h>
47775 #ifdef HAVE_IEEEFP_H
47776 #include <ieeefp.h>
47777 #endif
47780 main ()
47782 isnanf(0);
47784 return 0;
47786 _ACEOF
47787 if ac_fn_cxx_try_compile "$LINENO"; then :
47788 glibcxx_cv_func_isnanf_use=yes
47789 else
47790 glibcxx_cv_func_isnanf_use=no
47792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47793 ac_ext=c
47794 ac_cpp='$CPP $CPPFLAGS'
47795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47804 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47806 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47807 for ac_func in isnanf
47808 do :
47809 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47810 if test "x$ac_cv_func_isnanf" = x""yes; then :
47811 cat >>confdefs.h <<_ACEOF
47812 #define HAVE_ISNANF 1
47813 _ACEOF
47816 done
47818 else
47820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47821 $as_echo_n "checking for _isnanf declaration... " >&6; }
47822 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47823 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47824 $as_echo_n "(cached) " >&6
47825 else
47828 ac_ext=cpp
47829 ac_cpp='$CXXCPP $CPPFLAGS'
47830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47835 /* end confdefs.h. */
47836 #include <math.h>
47837 #ifdef HAVE_IEEEFP_H
47838 #include <ieeefp.h>
47839 #endif
47842 main ()
47844 _isnanf(0);
47846 return 0;
47848 _ACEOF
47849 if ac_fn_cxx_try_compile "$LINENO"; then :
47850 glibcxx_cv_func__isnanf_use=yes
47851 else
47852 glibcxx_cv_func__isnanf_use=no
47854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47855 ac_ext=c
47856 ac_cpp='$CPP $CPPFLAGS'
47857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47866 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47868 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47869 for ac_func in _isnanf
47870 do :
47871 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47872 if test "x$ac_cv_func__isnanf" = x""yes; then :
47873 cat >>confdefs.h <<_ACEOF
47874 #define HAVE__ISNANF 1
47875 _ACEOF
47878 done
47887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47888 $as_echo_n "checking for isinff declaration... " >&6; }
47889 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47890 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47891 $as_echo_n "(cached) " >&6
47892 else
47895 ac_ext=cpp
47896 ac_cpp='$CXXCPP $CPPFLAGS'
47897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47902 /* end confdefs.h. */
47903 #include <math.h>
47904 #ifdef HAVE_IEEEFP_H
47905 #include <ieeefp.h>
47906 #endif
47909 main ()
47911 isinff(0);
47913 return 0;
47915 _ACEOF
47916 if ac_fn_cxx_try_compile "$LINENO"; then :
47917 glibcxx_cv_func_isinff_use=yes
47918 else
47919 glibcxx_cv_func_isinff_use=no
47921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47922 ac_ext=c
47923 ac_cpp='$CPP $CPPFLAGS'
47924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47933 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47935 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47936 for ac_func in isinff
47937 do :
47938 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47939 if test "x$ac_cv_func_isinff" = x""yes; then :
47940 cat >>confdefs.h <<_ACEOF
47941 #define HAVE_ISINFF 1
47942 _ACEOF
47945 done
47947 else
47949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47950 $as_echo_n "checking for _isinff declaration... " >&6; }
47951 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47952 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47953 $as_echo_n "(cached) " >&6
47954 else
47957 ac_ext=cpp
47958 ac_cpp='$CXXCPP $CPPFLAGS'
47959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47964 /* end confdefs.h. */
47965 #include <math.h>
47966 #ifdef HAVE_IEEEFP_H
47967 #include <ieeefp.h>
47968 #endif
47971 main ()
47973 _isinff(0);
47975 return 0;
47977 _ACEOF
47978 if ac_fn_cxx_try_compile "$LINENO"; then :
47979 glibcxx_cv_func__isinff_use=yes
47980 else
47981 glibcxx_cv_func__isinff_use=no
47983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47984 ac_ext=c
47985 ac_cpp='$CPP $CPPFLAGS'
47986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47995 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47997 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47998 for ac_func in _isinff
47999 do :
48000 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48001 if test "x$ac_cv_func__isinff" = x""yes; then :
48002 cat >>confdefs.h <<_ACEOF
48003 #define HAVE__ISINFF 1
48004 _ACEOF
48007 done
48016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48017 $as_echo_n "checking for atan2f declaration... " >&6; }
48018 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48019 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
48020 $as_echo_n "(cached) " >&6
48021 else
48024 ac_ext=cpp
48025 ac_cpp='$CXXCPP $CPPFLAGS'
48026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48031 /* end confdefs.h. */
48032 #include <math.h>
48034 main ()
48036 atan2f(0, 0);
48038 return 0;
48040 _ACEOF
48041 if ac_fn_cxx_try_compile "$LINENO"; then :
48042 glibcxx_cv_func_atan2f_use=yes
48043 else
48044 glibcxx_cv_func_atan2f_use=no
48046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48047 ac_ext=c
48048 ac_cpp='$CPP $CPPFLAGS'
48049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48058 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48060 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48061 for ac_func in atan2f
48062 do :
48063 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48064 if test "x$ac_cv_func_atan2f" = x""yes; then :
48065 cat >>confdefs.h <<_ACEOF
48066 #define HAVE_ATAN2F 1
48067 _ACEOF
48070 done
48072 else
48074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48075 $as_echo_n "checking for _atan2f declaration... " >&6; }
48076 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48077 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48078 $as_echo_n "(cached) " >&6
48079 else
48082 ac_ext=cpp
48083 ac_cpp='$CXXCPP $CPPFLAGS'
48084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48089 /* end confdefs.h. */
48090 #include <math.h>
48092 main ()
48094 _atan2f(0, 0);
48096 return 0;
48098 _ACEOF
48099 if ac_fn_cxx_try_compile "$LINENO"; then :
48100 glibcxx_cv_func__atan2f_use=yes
48101 else
48102 glibcxx_cv_func__atan2f_use=no
48104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48105 ac_ext=c
48106 ac_cpp='$CPP $CPPFLAGS'
48107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48116 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
48118 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48119 for ac_func in _atan2f
48120 do :
48121 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48122 if test "x$ac_cv_func__atan2f" = x""yes; then :
48123 cat >>confdefs.h <<_ACEOF
48124 #define HAVE__ATAN2F 1
48125 _ACEOF
48128 done
48137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
48138 $as_echo_n "checking for fabsf declaration... " >&6; }
48139 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48140 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
48141 $as_echo_n "(cached) " >&6
48142 else
48145 ac_ext=cpp
48146 ac_cpp='$CXXCPP $CPPFLAGS'
48147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48152 /* end confdefs.h. */
48153 #include <math.h>
48154 #ifdef HAVE_IEEEFP_H
48155 #include <ieeefp.h>
48156 #endif
48159 main ()
48161 fabsf(0);
48163 return 0;
48165 _ACEOF
48166 if ac_fn_cxx_try_compile "$LINENO"; then :
48167 glibcxx_cv_func_fabsf_use=yes
48168 else
48169 glibcxx_cv_func_fabsf_use=no
48171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48172 ac_ext=c
48173 ac_cpp='$CPP $CPPFLAGS'
48174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
48183 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
48185 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48186 for ac_func in fabsf
48187 do :
48188 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
48189 if test "x$ac_cv_func_fabsf" = x""yes; then :
48190 cat >>confdefs.h <<_ACEOF
48191 #define HAVE_FABSF 1
48192 _ACEOF
48195 done
48197 else
48199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
48200 $as_echo_n "checking for _fabsf declaration... " >&6; }
48201 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48202 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
48203 $as_echo_n "(cached) " >&6
48204 else
48207 ac_ext=cpp
48208 ac_cpp='$CXXCPP $CPPFLAGS'
48209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48214 /* end confdefs.h. */
48215 #include <math.h>
48216 #ifdef HAVE_IEEEFP_H
48217 #include <ieeefp.h>
48218 #endif
48221 main ()
48223 _fabsf(0);
48225 return 0;
48227 _ACEOF
48228 if ac_fn_cxx_try_compile "$LINENO"; then :
48229 glibcxx_cv_func__fabsf_use=yes
48230 else
48231 glibcxx_cv_func__fabsf_use=no
48233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48234 ac_ext=c
48235 ac_cpp='$CPP $CPPFLAGS'
48236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48245 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48247 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48248 for ac_func in _fabsf
48249 do :
48250 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48251 if test "x$ac_cv_func__fabsf" = x""yes; then :
48252 cat >>confdefs.h <<_ACEOF
48253 #define HAVE__FABSF 1
48254 _ACEOF
48257 done
48266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48267 $as_echo_n "checking for fmodf declaration... " >&6; }
48268 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48269 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48270 $as_echo_n "(cached) " >&6
48271 else
48274 ac_ext=cpp
48275 ac_cpp='$CXXCPP $CPPFLAGS'
48276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48281 /* end confdefs.h. */
48282 #include <math.h>
48284 main ()
48286 fmodf(0, 0);
48288 return 0;
48290 _ACEOF
48291 if ac_fn_cxx_try_compile "$LINENO"; then :
48292 glibcxx_cv_func_fmodf_use=yes
48293 else
48294 glibcxx_cv_func_fmodf_use=no
48296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48297 ac_ext=c
48298 ac_cpp='$CPP $CPPFLAGS'
48299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48308 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48310 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48311 for ac_func in fmodf
48312 do :
48313 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48314 if test "x$ac_cv_func_fmodf" = x""yes; then :
48315 cat >>confdefs.h <<_ACEOF
48316 #define HAVE_FMODF 1
48317 _ACEOF
48320 done
48322 else
48324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48325 $as_echo_n "checking for _fmodf declaration... " >&6; }
48326 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48327 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
48328 $as_echo_n "(cached) " >&6
48329 else
48332 ac_ext=cpp
48333 ac_cpp='$CXXCPP $CPPFLAGS'
48334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48339 /* end confdefs.h. */
48340 #include <math.h>
48342 main ()
48344 _fmodf(0, 0);
48346 return 0;
48348 _ACEOF
48349 if ac_fn_cxx_try_compile "$LINENO"; then :
48350 glibcxx_cv_func__fmodf_use=yes
48351 else
48352 glibcxx_cv_func__fmodf_use=no
48354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48355 ac_ext=c
48356 ac_cpp='$CPP $CPPFLAGS'
48357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48366 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48368 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48369 for ac_func in _fmodf
48370 do :
48371 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48372 if test "x$ac_cv_func__fmodf" = x""yes; then :
48373 cat >>confdefs.h <<_ACEOF
48374 #define HAVE__FMODF 1
48375 _ACEOF
48378 done
48387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48388 $as_echo_n "checking for frexpf declaration... " >&6; }
48389 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48390 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48391 $as_echo_n "(cached) " >&6
48392 else
48395 ac_ext=cpp
48396 ac_cpp='$CXXCPP $CPPFLAGS'
48397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48402 /* end confdefs.h. */
48403 #include <math.h>
48405 main ()
48407 frexpf(0, 0);
48409 return 0;
48411 _ACEOF
48412 if ac_fn_cxx_try_compile "$LINENO"; then :
48413 glibcxx_cv_func_frexpf_use=yes
48414 else
48415 glibcxx_cv_func_frexpf_use=no
48417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48418 ac_ext=c
48419 ac_cpp='$CPP $CPPFLAGS'
48420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48429 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48431 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48432 for ac_func in frexpf
48433 do :
48434 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48435 if test "x$ac_cv_func_frexpf" = x""yes; then :
48436 cat >>confdefs.h <<_ACEOF
48437 #define HAVE_FREXPF 1
48438 _ACEOF
48441 done
48443 else
48445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48446 $as_echo_n "checking for _frexpf declaration... " >&6; }
48447 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48448 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48449 $as_echo_n "(cached) " >&6
48450 else
48453 ac_ext=cpp
48454 ac_cpp='$CXXCPP $CPPFLAGS'
48455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48460 /* end confdefs.h. */
48461 #include <math.h>
48463 main ()
48465 _frexpf(0, 0);
48467 return 0;
48469 _ACEOF
48470 if ac_fn_cxx_try_compile "$LINENO"; then :
48471 glibcxx_cv_func__frexpf_use=yes
48472 else
48473 glibcxx_cv_func__frexpf_use=no
48475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48476 ac_ext=c
48477 ac_cpp='$CPP $CPPFLAGS'
48478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48487 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48489 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48490 for ac_func in _frexpf
48491 do :
48492 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48493 if test "x$ac_cv_func__frexpf" = x""yes; then :
48494 cat >>confdefs.h <<_ACEOF
48495 #define HAVE__FREXPF 1
48496 _ACEOF
48499 done
48508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48509 $as_echo_n "checking for hypotf declaration... " >&6; }
48510 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48511 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48512 $as_echo_n "(cached) " >&6
48513 else
48516 ac_ext=cpp
48517 ac_cpp='$CXXCPP $CPPFLAGS'
48518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48523 /* end confdefs.h. */
48524 #include <math.h>
48526 main ()
48528 hypotf(0, 0);
48530 return 0;
48532 _ACEOF
48533 if ac_fn_cxx_try_compile "$LINENO"; then :
48534 glibcxx_cv_func_hypotf_use=yes
48535 else
48536 glibcxx_cv_func_hypotf_use=no
48538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48539 ac_ext=c
48540 ac_cpp='$CPP $CPPFLAGS'
48541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48550 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48552 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48553 for ac_func in hypotf
48554 do :
48555 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48556 if test "x$ac_cv_func_hypotf" = x""yes; then :
48557 cat >>confdefs.h <<_ACEOF
48558 #define HAVE_HYPOTF 1
48559 _ACEOF
48562 done
48564 else
48566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48567 $as_echo_n "checking for _hypotf declaration... " >&6; }
48568 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48569 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48570 $as_echo_n "(cached) " >&6
48571 else
48574 ac_ext=cpp
48575 ac_cpp='$CXXCPP $CPPFLAGS'
48576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48581 /* end confdefs.h. */
48582 #include <math.h>
48584 main ()
48586 _hypotf(0, 0);
48588 return 0;
48590 _ACEOF
48591 if ac_fn_cxx_try_compile "$LINENO"; then :
48592 glibcxx_cv_func__hypotf_use=yes
48593 else
48594 glibcxx_cv_func__hypotf_use=no
48596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48597 ac_ext=c
48598 ac_cpp='$CPP $CPPFLAGS'
48599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48608 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48610 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48611 for ac_func in _hypotf
48612 do :
48613 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48614 if test "x$ac_cv_func__hypotf" = x""yes; then :
48615 cat >>confdefs.h <<_ACEOF
48616 #define HAVE__HYPOTF 1
48617 _ACEOF
48620 done
48629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48630 $as_echo_n "checking for ldexpf declaration... " >&6; }
48631 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48632 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48633 $as_echo_n "(cached) " >&6
48634 else
48637 ac_ext=cpp
48638 ac_cpp='$CXXCPP $CPPFLAGS'
48639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48644 /* end confdefs.h. */
48645 #include <math.h>
48647 main ()
48649 ldexpf(0, 0);
48651 return 0;
48653 _ACEOF
48654 if ac_fn_cxx_try_compile "$LINENO"; then :
48655 glibcxx_cv_func_ldexpf_use=yes
48656 else
48657 glibcxx_cv_func_ldexpf_use=no
48659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48660 ac_ext=c
48661 ac_cpp='$CPP $CPPFLAGS'
48662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48671 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48673 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48674 for ac_func in ldexpf
48675 do :
48676 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48677 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48678 cat >>confdefs.h <<_ACEOF
48679 #define HAVE_LDEXPF 1
48680 _ACEOF
48683 done
48685 else
48687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48688 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48689 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48690 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48691 $as_echo_n "(cached) " >&6
48692 else
48695 ac_ext=cpp
48696 ac_cpp='$CXXCPP $CPPFLAGS'
48697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48702 /* end confdefs.h. */
48703 #include <math.h>
48705 main ()
48707 _ldexpf(0, 0);
48709 return 0;
48711 _ACEOF
48712 if ac_fn_cxx_try_compile "$LINENO"; then :
48713 glibcxx_cv_func__ldexpf_use=yes
48714 else
48715 glibcxx_cv_func__ldexpf_use=no
48717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48718 ac_ext=c
48719 ac_cpp='$CPP $CPPFLAGS'
48720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48729 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48731 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48732 for ac_func in _ldexpf
48733 do :
48734 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48735 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48736 cat >>confdefs.h <<_ACEOF
48737 #define HAVE__LDEXPF 1
48738 _ACEOF
48741 done
48750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48751 $as_echo_n "checking for logf declaration... " >&6; }
48752 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48753 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48754 $as_echo_n "(cached) " >&6
48755 else
48758 ac_ext=cpp
48759 ac_cpp='$CXXCPP $CPPFLAGS'
48760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48765 /* end confdefs.h. */
48766 #include <math.h>
48767 #ifdef HAVE_IEEEFP_H
48768 #include <ieeefp.h>
48769 #endif
48772 main ()
48774 logf(0);
48776 return 0;
48778 _ACEOF
48779 if ac_fn_cxx_try_compile "$LINENO"; then :
48780 glibcxx_cv_func_logf_use=yes
48781 else
48782 glibcxx_cv_func_logf_use=no
48784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48785 ac_ext=c
48786 ac_cpp='$CPP $CPPFLAGS'
48787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48796 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48798 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48799 for ac_func in logf
48800 do :
48801 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48802 if test "x$ac_cv_func_logf" = x""yes; then :
48803 cat >>confdefs.h <<_ACEOF
48804 #define HAVE_LOGF 1
48805 _ACEOF
48808 done
48810 else
48812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48813 $as_echo_n "checking for _logf declaration... " >&6; }
48814 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48815 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48816 $as_echo_n "(cached) " >&6
48817 else
48820 ac_ext=cpp
48821 ac_cpp='$CXXCPP $CPPFLAGS'
48822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48827 /* end confdefs.h. */
48828 #include <math.h>
48829 #ifdef HAVE_IEEEFP_H
48830 #include <ieeefp.h>
48831 #endif
48834 main ()
48836 _logf(0);
48838 return 0;
48840 _ACEOF
48841 if ac_fn_cxx_try_compile "$LINENO"; then :
48842 glibcxx_cv_func__logf_use=yes
48843 else
48844 glibcxx_cv_func__logf_use=no
48846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48847 ac_ext=c
48848 ac_cpp='$CPP $CPPFLAGS'
48849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48858 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48860 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48861 for ac_func in _logf
48862 do :
48863 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48864 if test "x$ac_cv_func__logf" = x""yes; then :
48865 cat >>confdefs.h <<_ACEOF
48866 #define HAVE__LOGF 1
48867 _ACEOF
48870 done
48879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48880 $as_echo_n "checking for log10f declaration... " >&6; }
48881 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48882 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48883 $as_echo_n "(cached) " >&6
48884 else
48887 ac_ext=cpp
48888 ac_cpp='$CXXCPP $CPPFLAGS'
48889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48894 /* end confdefs.h. */
48895 #include <math.h>
48896 #ifdef HAVE_IEEEFP_H
48897 #include <ieeefp.h>
48898 #endif
48901 main ()
48903 log10f(0);
48905 return 0;
48907 _ACEOF
48908 if ac_fn_cxx_try_compile "$LINENO"; then :
48909 glibcxx_cv_func_log10f_use=yes
48910 else
48911 glibcxx_cv_func_log10f_use=no
48913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48914 ac_ext=c
48915 ac_cpp='$CPP $CPPFLAGS'
48916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48925 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48927 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48928 for ac_func in log10f
48929 do :
48930 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48931 if test "x$ac_cv_func_log10f" = x""yes; then :
48932 cat >>confdefs.h <<_ACEOF
48933 #define HAVE_LOG10F 1
48934 _ACEOF
48937 done
48939 else
48941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48942 $as_echo_n "checking for _log10f declaration... " >&6; }
48943 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48944 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48945 $as_echo_n "(cached) " >&6
48946 else
48949 ac_ext=cpp
48950 ac_cpp='$CXXCPP $CPPFLAGS'
48951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48956 /* end confdefs.h. */
48957 #include <math.h>
48958 #ifdef HAVE_IEEEFP_H
48959 #include <ieeefp.h>
48960 #endif
48963 main ()
48965 _log10f(0);
48967 return 0;
48969 _ACEOF
48970 if ac_fn_cxx_try_compile "$LINENO"; then :
48971 glibcxx_cv_func__log10f_use=yes
48972 else
48973 glibcxx_cv_func__log10f_use=no
48975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48976 ac_ext=c
48977 ac_cpp='$CPP $CPPFLAGS'
48978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48987 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48989 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48990 for ac_func in _log10f
48991 do :
48992 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48993 if test "x$ac_cv_func__log10f" = x""yes; then :
48994 cat >>confdefs.h <<_ACEOF
48995 #define HAVE__LOG10F 1
48996 _ACEOF
48999 done
49008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49009 $as_echo_n "checking for modff declaration... " >&6; }
49010 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49011 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
49012 $as_echo_n "(cached) " >&6
49013 else
49016 ac_ext=cpp
49017 ac_cpp='$CXXCPP $CPPFLAGS'
49018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49023 /* end confdefs.h. */
49024 #include <math.h>
49026 main ()
49028 modff(0, 0);
49030 return 0;
49032 _ACEOF
49033 if ac_fn_cxx_try_compile "$LINENO"; then :
49034 glibcxx_cv_func_modff_use=yes
49035 else
49036 glibcxx_cv_func_modff_use=no
49038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49039 ac_ext=c
49040 ac_cpp='$CPP $CPPFLAGS'
49041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49050 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49052 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49053 for ac_func in modff
49054 do :
49055 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49056 if test "x$ac_cv_func_modff" = x""yes; then :
49057 cat >>confdefs.h <<_ACEOF
49058 #define HAVE_MODFF 1
49059 _ACEOF
49062 done
49064 else
49066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49067 $as_echo_n "checking for _modff declaration... " >&6; }
49068 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49069 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49070 $as_echo_n "(cached) " >&6
49071 else
49074 ac_ext=cpp
49075 ac_cpp='$CXXCPP $CPPFLAGS'
49076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49081 /* end confdefs.h. */
49082 #include <math.h>
49084 main ()
49086 _modff(0, 0);
49088 return 0;
49090 _ACEOF
49091 if ac_fn_cxx_try_compile "$LINENO"; then :
49092 glibcxx_cv_func__modff_use=yes
49093 else
49094 glibcxx_cv_func__modff_use=no
49096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49097 ac_ext=c
49098 ac_cpp='$CPP $CPPFLAGS'
49099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49108 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49110 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49111 for ac_func in _modff
49112 do :
49113 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49114 if test "x$ac_cv_func__modff" = x""yes; then :
49115 cat >>confdefs.h <<_ACEOF
49116 #define HAVE__MODFF 1
49117 _ACEOF
49120 done
49129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
49130 $as_echo_n "checking for modf declaration... " >&6; }
49131 if test x${glibcxx_cv_func_modf_use+set} != xset; then
49132 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
49133 $as_echo_n "(cached) " >&6
49134 else
49137 ac_ext=cpp
49138 ac_cpp='$CXXCPP $CPPFLAGS'
49139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49144 /* end confdefs.h. */
49145 #include <math.h>
49147 main ()
49149 modf(0, 0);
49151 return 0;
49153 _ACEOF
49154 if ac_fn_cxx_try_compile "$LINENO"; then :
49155 glibcxx_cv_func_modf_use=yes
49156 else
49157 glibcxx_cv_func_modf_use=no
49159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49160 ac_ext=c
49161 ac_cpp='$CPP $CPPFLAGS'
49162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
49171 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
49173 if test x$glibcxx_cv_func_modf_use = x"yes"; then
49174 for ac_func in modf
49175 do :
49176 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
49177 if test "x$ac_cv_func_modf" = x""yes; then :
49178 cat >>confdefs.h <<_ACEOF
49179 #define HAVE_MODF 1
49180 _ACEOF
49183 done
49185 else
49187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
49188 $as_echo_n "checking for _modf declaration... " >&6; }
49189 if test x${glibcxx_cv_func__modf_use+set} != xset; then
49190 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
49191 $as_echo_n "(cached) " >&6
49192 else
49195 ac_ext=cpp
49196 ac_cpp='$CXXCPP $CPPFLAGS'
49197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49202 /* end confdefs.h. */
49203 #include <math.h>
49205 main ()
49207 _modf(0, 0);
49209 return 0;
49211 _ACEOF
49212 if ac_fn_cxx_try_compile "$LINENO"; then :
49213 glibcxx_cv_func__modf_use=yes
49214 else
49215 glibcxx_cv_func__modf_use=no
49217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49218 ac_ext=c
49219 ac_cpp='$CPP $CPPFLAGS'
49220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
49229 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
49231 if test x$glibcxx_cv_func__modf_use = x"yes"; then
49232 for ac_func in _modf
49233 do :
49234 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49235 if test "x$ac_cv_func__modf" = x""yes; then :
49236 cat >>confdefs.h <<_ACEOF
49237 #define HAVE__MODF 1
49238 _ACEOF
49241 done
49250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49251 $as_echo_n "checking for powf declaration... " >&6; }
49252 if test x${glibcxx_cv_func_powf_use+set} != xset; then
49253 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
49254 $as_echo_n "(cached) " >&6
49255 else
49258 ac_ext=cpp
49259 ac_cpp='$CXXCPP $CPPFLAGS'
49260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49265 /* end confdefs.h. */
49266 #include <math.h>
49268 main ()
49270 powf(0, 0);
49272 return 0;
49274 _ACEOF
49275 if ac_fn_cxx_try_compile "$LINENO"; then :
49276 glibcxx_cv_func_powf_use=yes
49277 else
49278 glibcxx_cv_func_powf_use=no
49280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49281 ac_ext=c
49282 ac_cpp='$CPP $CPPFLAGS'
49283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49292 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49294 if test x$glibcxx_cv_func_powf_use = x"yes"; then
49295 for ac_func in powf
49296 do :
49297 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49298 if test "x$ac_cv_func_powf" = x""yes; then :
49299 cat >>confdefs.h <<_ACEOF
49300 #define HAVE_POWF 1
49301 _ACEOF
49304 done
49306 else
49308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49309 $as_echo_n "checking for _powf declaration... " >&6; }
49310 if test x${glibcxx_cv_func__powf_use+set} != xset; then
49311 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49312 $as_echo_n "(cached) " >&6
49313 else
49316 ac_ext=cpp
49317 ac_cpp='$CXXCPP $CPPFLAGS'
49318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49323 /* end confdefs.h. */
49324 #include <math.h>
49326 main ()
49328 _powf(0, 0);
49330 return 0;
49332 _ACEOF
49333 if ac_fn_cxx_try_compile "$LINENO"; then :
49334 glibcxx_cv_func__powf_use=yes
49335 else
49336 glibcxx_cv_func__powf_use=no
49338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49339 ac_ext=c
49340 ac_cpp='$CPP $CPPFLAGS'
49341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49350 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
49352 if test x$glibcxx_cv_func__powf_use = x"yes"; then
49353 for ac_func in _powf
49354 do :
49355 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49356 if test "x$ac_cv_func__powf" = x""yes; then :
49357 cat >>confdefs.h <<_ACEOF
49358 #define HAVE__POWF 1
49359 _ACEOF
49362 done
49371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49372 $as_echo_n "checking for sqrtf declaration... " >&6; }
49373 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49374 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49375 $as_echo_n "(cached) " >&6
49376 else
49379 ac_ext=cpp
49380 ac_cpp='$CXXCPP $CPPFLAGS'
49381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49386 /* end confdefs.h. */
49387 #include <math.h>
49388 #ifdef HAVE_IEEEFP_H
49389 #include <ieeefp.h>
49390 #endif
49393 main ()
49395 sqrtf(0);
49397 return 0;
49399 _ACEOF
49400 if ac_fn_cxx_try_compile "$LINENO"; then :
49401 glibcxx_cv_func_sqrtf_use=yes
49402 else
49403 glibcxx_cv_func_sqrtf_use=no
49405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49406 ac_ext=c
49407 ac_cpp='$CPP $CPPFLAGS'
49408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49417 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49419 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49420 for ac_func in sqrtf
49421 do :
49422 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49423 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49424 cat >>confdefs.h <<_ACEOF
49425 #define HAVE_SQRTF 1
49426 _ACEOF
49429 done
49431 else
49433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49434 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49435 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49436 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49437 $as_echo_n "(cached) " >&6
49438 else
49441 ac_ext=cpp
49442 ac_cpp='$CXXCPP $CPPFLAGS'
49443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49448 /* end confdefs.h. */
49449 #include <math.h>
49450 #ifdef HAVE_IEEEFP_H
49451 #include <ieeefp.h>
49452 #endif
49455 main ()
49457 _sqrtf(0);
49459 return 0;
49461 _ACEOF
49462 if ac_fn_cxx_try_compile "$LINENO"; then :
49463 glibcxx_cv_func__sqrtf_use=yes
49464 else
49465 glibcxx_cv_func__sqrtf_use=no
49467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49468 ac_ext=c
49469 ac_cpp='$CPP $CPPFLAGS'
49470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49479 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49481 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49482 for ac_func in _sqrtf
49483 do :
49484 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49485 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49486 cat >>confdefs.h <<_ACEOF
49487 #define HAVE__SQRTF 1
49488 _ACEOF
49491 done
49500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49501 $as_echo_n "checking for sincosf declaration... " >&6; }
49502 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49503 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49504 $as_echo_n "(cached) " >&6
49505 else
49508 ac_ext=cpp
49509 ac_cpp='$CXXCPP $CPPFLAGS'
49510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49515 /* end confdefs.h. */
49516 #include <math.h>
49518 main ()
49520 sincosf(0, 0, 0);
49522 return 0;
49524 _ACEOF
49525 if ac_fn_cxx_try_compile "$LINENO"; then :
49526 glibcxx_cv_func_sincosf_use=yes
49527 else
49528 glibcxx_cv_func_sincosf_use=no
49530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49531 ac_ext=c
49532 ac_cpp='$CPP $CPPFLAGS'
49533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49542 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49544 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49545 for ac_func in sincosf
49546 do :
49547 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49548 if test "x$ac_cv_func_sincosf" = x""yes; then :
49549 cat >>confdefs.h <<_ACEOF
49550 #define HAVE_SINCOSF 1
49551 _ACEOF
49554 done
49556 else
49558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49559 $as_echo_n "checking for _sincosf declaration... " >&6; }
49560 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49561 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49562 $as_echo_n "(cached) " >&6
49563 else
49566 ac_ext=cpp
49567 ac_cpp='$CXXCPP $CPPFLAGS'
49568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49573 /* end confdefs.h. */
49574 #include <math.h>
49576 main ()
49578 _sincosf(0, 0, 0);
49580 return 0;
49582 _ACEOF
49583 if ac_fn_cxx_try_compile "$LINENO"; then :
49584 glibcxx_cv_func__sincosf_use=yes
49585 else
49586 glibcxx_cv_func__sincosf_use=no
49588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49589 ac_ext=c
49590 ac_cpp='$CPP $CPPFLAGS'
49591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49600 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49602 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49603 for ac_func in _sincosf
49604 do :
49605 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49606 if test "x$ac_cv_func__sincosf" = x""yes; then :
49607 cat >>confdefs.h <<_ACEOF
49608 #define HAVE__SINCOSF 1
49609 _ACEOF
49612 done
49621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49622 $as_echo_n "checking for finitef declaration... " >&6; }
49623 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49624 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49625 $as_echo_n "(cached) " >&6
49626 else
49629 ac_ext=cpp
49630 ac_cpp='$CXXCPP $CPPFLAGS'
49631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49636 /* end confdefs.h. */
49637 #include <math.h>
49638 #ifdef HAVE_IEEEFP_H
49639 #include <ieeefp.h>
49640 #endif
49643 main ()
49645 finitef(0);
49647 return 0;
49649 _ACEOF
49650 if ac_fn_cxx_try_compile "$LINENO"; then :
49651 glibcxx_cv_func_finitef_use=yes
49652 else
49653 glibcxx_cv_func_finitef_use=no
49655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49656 ac_ext=c
49657 ac_cpp='$CPP $CPPFLAGS'
49658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49667 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49669 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49670 for ac_func in finitef
49671 do :
49672 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49673 if test "x$ac_cv_func_finitef" = x""yes; then :
49674 cat >>confdefs.h <<_ACEOF
49675 #define HAVE_FINITEF 1
49676 _ACEOF
49679 done
49681 else
49683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49684 $as_echo_n "checking for _finitef declaration... " >&6; }
49685 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49686 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49687 $as_echo_n "(cached) " >&6
49688 else
49691 ac_ext=cpp
49692 ac_cpp='$CXXCPP $CPPFLAGS'
49693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49698 /* end confdefs.h. */
49699 #include <math.h>
49700 #ifdef HAVE_IEEEFP_H
49701 #include <ieeefp.h>
49702 #endif
49705 main ()
49707 _finitef(0);
49709 return 0;
49711 _ACEOF
49712 if ac_fn_cxx_try_compile "$LINENO"; then :
49713 glibcxx_cv_func__finitef_use=yes
49714 else
49715 glibcxx_cv_func__finitef_use=no
49717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49718 ac_ext=c
49719 ac_cpp='$CPP $CPPFLAGS'
49720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49729 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49731 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49732 for ac_func in _finitef
49733 do :
49734 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49735 if test "x$ac_cv_func__finitef" = x""yes; then :
49736 cat >>confdefs.h <<_ACEOF
49737 #define HAVE__FINITEF 1
49738 _ACEOF
49741 done
49750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49751 $as_echo_n "checking for long double trig functions... " >&6; }
49752 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49753 $as_echo_n "(cached) " >&6
49754 else
49757 ac_ext=cpp
49758 ac_cpp='$CXXCPP $CPPFLAGS'
49759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49764 /* end confdefs.h. */
49765 #include <math.h>
49767 main ()
49769 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49771 return 0;
49773 _ACEOF
49774 if ac_fn_cxx_try_compile "$LINENO"; then :
49775 glibcxx_cv_func_long_double_trig_use=yes
49776 else
49777 glibcxx_cv_func_long_double_trig_use=no
49779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49780 ac_ext=c
49781 ac_cpp='$CPP $CPPFLAGS'
49782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49789 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49790 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49791 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49792 do :
49793 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49794 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49795 eval as_val=\$$as_ac_var
49796 if test "x$as_val" = x""yes; then :
49797 cat >>confdefs.h <<_ACEOF
49798 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49799 _ACEOF
49802 done
49804 else
49805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49806 $as_echo_n "checking for _long double trig functions... " >&6; }
49807 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49808 $as_echo_n "(cached) " >&6
49809 else
49812 ac_ext=cpp
49813 ac_cpp='$CXXCPP $CPPFLAGS'
49814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49819 /* end confdefs.h. */
49820 #include <math.h>
49822 main ()
49824 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49826 return 0;
49828 _ACEOF
49829 if ac_fn_cxx_try_compile "$LINENO"; then :
49830 glibcxx_cv_func__long_double_trig_use=yes
49831 else
49832 glibcxx_cv_func__long_double_trig_use=no
49834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49835 ac_ext=c
49836 ac_cpp='$CPP $CPPFLAGS'
49837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49844 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49845 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49846 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49847 do :
49848 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49849 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49850 eval as_val=\$$as_ac_var
49851 if test "x$as_val" = x""yes; then :
49852 cat >>confdefs.h <<_ACEOF
49853 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49854 _ACEOF
49857 done
49866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49867 $as_echo_n "checking for long double round functions... " >&6; }
49868 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49869 $as_echo_n "(cached) " >&6
49870 else
49873 ac_ext=cpp
49874 ac_cpp='$CXXCPP $CPPFLAGS'
49875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49880 /* end confdefs.h. */
49881 #include <math.h>
49883 main ()
49885 ceill (0); floorl (0);
49887 return 0;
49889 _ACEOF
49890 if ac_fn_cxx_try_compile "$LINENO"; then :
49891 glibcxx_cv_func_long_double_round_use=yes
49892 else
49893 glibcxx_cv_func_long_double_round_use=no
49895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49896 ac_ext=c
49897 ac_cpp='$CPP $CPPFLAGS'
49898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49905 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49906 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49907 for ac_func in ceill floorl
49908 do :
49909 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49910 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49911 eval as_val=\$$as_ac_var
49912 if test "x$as_val" = x""yes; then :
49913 cat >>confdefs.h <<_ACEOF
49914 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49915 _ACEOF
49918 done
49920 else
49921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49922 $as_echo_n "checking for _long double round functions... " >&6; }
49923 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49924 $as_echo_n "(cached) " >&6
49925 else
49928 ac_ext=cpp
49929 ac_cpp='$CXXCPP $CPPFLAGS'
49930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49935 /* end confdefs.h. */
49936 #include <math.h>
49938 main ()
49940 _ceill (0); _floorl (0);
49942 return 0;
49944 _ACEOF
49945 if ac_fn_cxx_try_compile "$LINENO"; then :
49946 glibcxx_cv_func__long_double_round_use=yes
49947 else
49948 glibcxx_cv_func__long_double_round_use=no
49950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49951 ac_ext=c
49952 ac_cpp='$CPP $CPPFLAGS'
49953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49960 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49961 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49962 for ac_func in _ceill _floorl
49963 do :
49964 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49965 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49966 eval as_val=\$$as_ac_var
49967 if test "x$as_val" = x""yes; then :
49968 cat >>confdefs.h <<_ACEOF
49969 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49970 _ACEOF
49973 done
49983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49984 $as_echo_n "checking for isnanl declaration... " >&6; }
49985 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49986 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49987 $as_echo_n "(cached) " >&6
49988 else
49991 ac_ext=cpp
49992 ac_cpp='$CXXCPP $CPPFLAGS'
49993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49998 /* end confdefs.h. */
49999 #include <math.h>
50000 #ifdef HAVE_IEEEFP_H
50001 #include <ieeefp.h>
50002 #endif
50005 main ()
50007 isnanl(0);
50009 return 0;
50011 _ACEOF
50012 if ac_fn_cxx_try_compile "$LINENO"; then :
50013 glibcxx_cv_func_isnanl_use=yes
50014 else
50015 glibcxx_cv_func_isnanl_use=no
50017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50018 ac_ext=c
50019 ac_cpp='$CPP $CPPFLAGS'
50020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50029 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50031 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50032 for ac_func in isnanl
50033 do :
50034 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50035 if test "x$ac_cv_func_isnanl" = x""yes; then :
50036 cat >>confdefs.h <<_ACEOF
50037 #define HAVE_ISNANL 1
50038 _ACEOF
50041 done
50043 else
50045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50046 $as_echo_n "checking for _isnanl declaration... " >&6; }
50047 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50048 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50049 $as_echo_n "(cached) " >&6
50050 else
50053 ac_ext=cpp
50054 ac_cpp='$CXXCPP $CPPFLAGS'
50055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50060 /* end confdefs.h. */
50061 #include <math.h>
50062 #ifdef HAVE_IEEEFP_H
50063 #include <ieeefp.h>
50064 #endif
50067 main ()
50069 _isnanl(0);
50071 return 0;
50073 _ACEOF
50074 if ac_fn_cxx_try_compile "$LINENO"; then :
50075 glibcxx_cv_func__isnanl_use=yes
50076 else
50077 glibcxx_cv_func__isnanl_use=no
50079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50080 ac_ext=c
50081 ac_cpp='$CPP $CPPFLAGS'
50082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50091 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50093 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50094 for ac_func in _isnanl
50095 do :
50096 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50097 if test "x$ac_cv_func__isnanl" = x""yes; then :
50098 cat >>confdefs.h <<_ACEOF
50099 #define HAVE__ISNANL 1
50100 _ACEOF
50103 done
50112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50113 $as_echo_n "checking for isinfl declaration... " >&6; }
50114 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50115 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50116 $as_echo_n "(cached) " >&6
50117 else
50120 ac_ext=cpp
50121 ac_cpp='$CXXCPP $CPPFLAGS'
50122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50127 /* end confdefs.h. */
50128 #include <math.h>
50129 #ifdef HAVE_IEEEFP_H
50130 #include <ieeefp.h>
50131 #endif
50134 main ()
50136 isinfl(0);
50138 return 0;
50140 _ACEOF
50141 if ac_fn_cxx_try_compile "$LINENO"; then :
50142 glibcxx_cv_func_isinfl_use=yes
50143 else
50144 glibcxx_cv_func_isinfl_use=no
50146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50147 ac_ext=c
50148 ac_cpp='$CPP $CPPFLAGS'
50149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
50158 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
50160 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
50161 for ac_func in isinfl
50162 do :
50163 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
50164 if test "x$ac_cv_func_isinfl" = x""yes; then :
50165 cat >>confdefs.h <<_ACEOF
50166 #define HAVE_ISINFL 1
50167 _ACEOF
50170 done
50172 else
50174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
50175 $as_echo_n "checking for _isinfl declaration... " >&6; }
50176 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
50177 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
50178 $as_echo_n "(cached) " >&6
50179 else
50182 ac_ext=cpp
50183 ac_cpp='$CXXCPP $CPPFLAGS'
50184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50189 /* end confdefs.h. */
50190 #include <math.h>
50191 #ifdef HAVE_IEEEFP_H
50192 #include <ieeefp.h>
50193 #endif
50196 main ()
50198 _isinfl(0);
50200 return 0;
50202 _ACEOF
50203 if ac_fn_cxx_try_compile "$LINENO"; then :
50204 glibcxx_cv_func__isinfl_use=yes
50205 else
50206 glibcxx_cv_func__isinfl_use=no
50208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50209 ac_ext=c
50210 ac_cpp='$CPP $CPPFLAGS'
50211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
50220 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
50222 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
50223 for ac_func in _isinfl
50224 do :
50225 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
50226 if test "x$ac_cv_func__isinfl" = x""yes; then :
50227 cat >>confdefs.h <<_ACEOF
50228 #define HAVE__ISINFL 1
50229 _ACEOF
50232 done
50241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
50242 $as_echo_n "checking for atan2l declaration... " >&6; }
50243 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50244 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
50245 $as_echo_n "(cached) " >&6
50246 else
50249 ac_ext=cpp
50250 ac_cpp='$CXXCPP $CPPFLAGS'
50251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50256 /* end confdefs.h. */
50257 #include <math.h>
50259 main ()
50261 atan2l(0, 0);
50263 return 0;
50265 _ACEOF
50266 if ac_fn_cxx_try_compile "$LINENO"; then :
50267 glibcxx_cv_func_atan2l_use=yes
50268 else
50269 glibcxx_cv_func_atan2l_use=no
50271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50272 ac_ext=c
50273 ac_cpp='$CPP $CPPFLAGS'
50274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50283 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50285 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50286 for ac_func in atan2l
50287 do :
50288 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50289 if test "x$ac_cv_func_atan2l" = x""yes; then :
50290 cat >>confdefs.h <<_ACEOF
50291 #define HAVE_ATAN2L 1
50292 _ACEOF
50295 done
50297 else
50299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50300 $as_echo_n "checking for _atan2l declaration... " >&6; }
50301 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50302 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50303 $as_echo_n "(cached) " >&6
50304 else
50307 ac_ext=cpp
50308 ac_cpp='$CXXCPP $CPPFLAGS'
50309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50314 /* end confdefs.h. */
50315 #include <math.h>
50317 main ()
50319 _atan2l(0, 0);
50321 return 0;
50323 _ACEOF
50324 if ac_fn_cxx_try_compile "$LINENO"; then :
50325 glibcxx_cv_func__atan2l_use=yes
50326 else
50327 glibcxx_cv_func__atan2l_use=no
50329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50330 ac_ext=c
50331 ac_cpp='$CPP $CPPFLAGS'
50332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
50341 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
50343 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
50344 for ac_func in _atan2l
50345 do :
50346 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
50347 if test "x$ac_cv_func__atan2l" = x""yes; then :
50348 cat >>confdefs.h <<_ACEOF
50349 #define HAVE__ATAN2L 1
50350 _ACEOF
50353 done
50362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50363 $as_echo_n "checking for expl declaration... " >&6; }
50364 if test x${glibcxx_cv_func_expl_use+set} != xset; then
50365 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50366 $as_echo_n "(cached) " >&6
50367 else
50370 ac_ext=cpp
50371 ac_cpp='$CXXCPP $CPPFLAGS'
50372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50377 /* end confdefs.h. */
50378 #include <math.h>
50379 #ifdef HAVE_IEEEFP_H
50380 #include <ieeefp.h>
50381 #endif
50384 main ()
50386 expl(0);
50388 return 0;
50390 _ACEOF
50391 if ac_fn_cxx_try_compile "$LINENO"; then :
50392 glibcxx_cv_func_expl_use=yes
50393 else
50394 glibcxx_cv_func_expl_use=no
50396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50397 ac_ext=c
50398 ac_cpp='$CPP $CPPFLAGS'
50399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50408 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50410 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50411 for ac_func in expl
50412 do :
50413 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50414 if test "x$ac_cv_func_expl" = x""yes; then :
50415 cat >>confdefs.h <<_ACEOF
50416 #define HAVE_EXPL 1
50417 _ACEOF
50420 done
50422 else
50424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50425 $as_echo_n "checking for _expl declaration... " >&6; }
50426 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50427 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50428 $as_echo_n "(cached) " >&6
50429 else
50432 ac_ext=cpp
50433 ac_cpp='$CXXCPP $CPPFLAGS'
50434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50439 /* end confdefs.h. */
50440 #include <math.h>
50441 #ifdef HAVE_IEEEFP_H
50442 #include <ieeefp.h>
50443 #endif
50446 main ()
50448 _expl(0);
50450 return 0;
50452 _ACEOF
50453 if ac_fn_cxx_try_compile "$LINENO"; then :
50454 glibcxx_cv_func__expl_use=yes
50455 else
50456 glibcxx_cv_func__expl_use=no
50458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50459 ac_ext=c
50460 ac_cpp='$CPP $CPPFLAGS'
50461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50470 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50472 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50473 for ac_func in _expl
50474 do :
50475 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50476 if test "x$ac_cv_func__expl" = x""yes; then :
50477 cat >>confdefs.h <<_ACEOF
50478 #define HAVE__EXPL 1
50479 _ACEOF
50482 done
50491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50492 $as_echo_n "checking for fabsl declaration... " >&6; }
50493 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50494 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50495 $as_echo_n "(cached) " >&6
50496 else
50499 ac_ext=cpp
50500 ac_cpp='$CXXCPP $CPPFLAGS'
50501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50506 /* end confdefs.h. */
50507 #include <math.h>
50508 #ifdef HAVE_IEEEFP_H
50509 #include <ieeefp.h>
50510 #endif
50513 main ()
50515 fabsl(0);
50517 return 0;
50519 _ACEOF
50520 if ac_fn_cxx_try_compile "$LINENO"; then :
50521 glibcxx_cv_func_fabsl_use=yes
50522 else
50523 glibcxx_cv_func_fabsl_use=no
50525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50526 ac_ext=c
50527 ac_cpp='$CPP $CPPFLAGS'
50528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50537 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50539 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50540 for ac_func in fabsl
50541 do :
50542 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50543 if test "x$ac_cv_func_fabsl" = x""yes; then :
50544 cat >>confdefs.h <<_ACEOF
50545 #define HAVE_FABSL 1
50546 _ACEOF
50549 done
50551 else
50553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50554 $as_echo_n "checking for _fabsl declaration... " >&6; }
50555 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50556 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50557 $as_echo_n "(cached) " >&6
50558 else
50561 ac_ext=cpp
50562 ac_cpp='$CXXCPP $CPPFLAGS'
50563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50568 /* end confdefs.h. */
50569 #include <math.h>
50570 #ifdef HAVE_IEEEFP_H
50571 #include <ieeefp.h>
50572 #endif
50575 main ()
50577 _fabsl(0);
50579 return 0;
50581 _ACEOF
50582 if ac_fn_cxx_try_compile "$LINENO"; then :
50583 glibcxx_cv_func__fabsl_use=yes
50584 else
50585 glibcxx_cv_func__fabsl_use=no
50587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50588 ac_ext=c
50589 ac_cpp='$CPP $CPPFLAGS'
50590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50599 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50601 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50602 for ac_func in _fabsl
50603 do :
50604 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50605 if test "x$ac_cv_func__fabsl" = x""yes; then :
50606 cat >>confdefs.h <<_ACEOF
50607 #define HAVE__FABSL 1
50608 _ACEOF
50611 done
50620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50621 $as_echo_n "checking for fmodl declaration... " >&6; }
50622 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50623 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50624 $as_echo_n "(cached) " >&6
50625 else
50628 ac_ext=cpp
50629 ac_cpp='$CXXCPP $CPPFLAGS'
50630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50635 /* end confdefs.h. */
50636 #include <math.h>
50638 main ()
50640 fmodl(0, 0);
50642 return 0;
50644 _ACEOF
50645 if ac_fn_cxx_try_compile "$LINENO"; then :
50646 glibcxx_cv_func_fmodl_use=yes
50647 else
50648 glibcxx_cv_func_fmodl_use=no
50650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50651 ac_ext=c
50652 ac_cpp='$CPP $CPPFLAGS'
50653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50662 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50664 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50665 for ac_func in fmodl
50666 do :
50667 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50668 if test "x$ac_cv_func_fmodl" = x""yes; then :
50669 cat >>confdefs.h <<_ACEOF
50670 #define HAVE_FMODL 1
50671 _ACEOF
50674 done
50676 else
50678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50679 $as_echo_n "checking for _fmodl declaration... " >&6; }
50680 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50681 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50682 $as_echo_n "(cached) " >&6
50683 else
50686 ac_ext=cpp
50687 ac_cpp='$CXXCPP $CPPFLAGS'
50688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50693 /* end confdefs.h. */
50694 #include <math.h>
50696 main ()
50698 _fmodl(0, 0);
50700 return 0;
50702 _ACEOF
50703 if ac_fn_cxx_try_compile "$LINENO"; then :
50704 glibcxx_cv_func__fmodl_use=yes
50705 else
50706 glibcxx_cv_func__fmodl_use=no
50708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50709 ac_ext=c
50710 ac_cpp='$CPP $CPPFLAGS'
50711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50720 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50722 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50723 for ac_func in _fmodl
50724 do :
50725 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50726 if test "x$ac_cv_func__fmodl" = x""yes; then :
50727 cat >>confdefs.h <<_ACEOF
50728 #define HAVE__FMODL 1
50729 _ACEOF
50732 done
50741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50742 $as_echo_n "checking for frexpl declaration... " >&6; }
50743 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50744 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50745 $as_echo_n "(cached) " >&6
50746 else
50749 ac_ext=cpp
50750 ac_cpp='$CXXCPP $CPPFLAGS'
50751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50756 /* end confdefs.h. */
50757 #include <math.h>
50759 main ()
50761 frexpl(0, 0);
50763 return 0;
50765 _ACEOF
50766 if ac_fn_cxx_try_compile "$LINENO"; then :
50767 glibcxx_cv_func_frexpl_use=yes
50768 else
50769 glibcxx_cv_func_frexpl_use=no
50771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50772 ac_ext=c
50773 ac_cpp='$CPP $CPPFLAGS'
50774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50783 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50785 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50786 for ac_func in frexpl
50787 do :
50788 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50789 if test "x$ac_cv_func_frexpl" = x""yes; then :
50790 cat >>confdefs.h <<_ACEOF
50791 #define HAVE_FREXPL 1
50792 _ACEOF
50795 done
50797 else
50799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50800 $as_echo_n "checking for _frexpl declaration... " >&6; }
50801 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50802 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50803 $as_echo_n "(cached) " >&6
50804 else
50807 ac_ext=cpp
50808 ac_cpp='$CXXCPP $CPPFLAGS'
50809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50814 /* end confdefs.h. */
50815 #include <math.h>
50817 main ()
50819 _frexpl(0, 0);
50821 return 0;
50823 _ACEOF
50824 if ac_fn_cxx_try_compile "$LINENO"; then :
50825 glibcxx_cv_func__frexpl_use=yes
50826 else
50827 glibcxx_cv_func__frexpl_use=no
50829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50830 ac_ext=c
50831 ac_cpp='$CPP $CPPFLAGS'
50832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50841 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50843 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50844 for ac_func in _frexpl
50845 do :
50846 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50847 if test "x$ac_cv_func__frexpl" = x""yes; then :
50848 cat >>confdefs.h <<_ACEOF
50849 #define HAVE__FREXPL 1
50850 _ACEOF
50853 done
50862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50863 $as_echo_n "checking for hypotl declaration... " >&6; }
50864 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50865 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50866 $as_echo_n "(cached) " >&6
50867 else
50870 ac_ext=cpp
50871 ac_cpp='$CXXCPP $CPPFLAGS'
50872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50877 /* end confdefs.h. */
50878 #include <math.h>
50880 main ()
50882 hypotl(0, 0);
50884 return 0;
50886 _ACEOF
50887 if ac_fn_cxx_try_compile "$LINENO"; then :
50888 glibcxx_cv_func_hypotl_use=yes
50889 else
50890 glibcxx_cv_func_hypotl_use=no
50892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50893 ac_ext=c
50894 ac_cpp='$CPP $CPPFLAGS'
50895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50904 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50906 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50907 for ac_func in hypotl
50908 do :
50909 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50910 if test "x$ac_cv_func_hypotl" = x""yes; then :
50911 cat >>confdefs.h <<_ACEOF
50912 #define HAVE_HYPOTL 1
50913 _ACEOF
50916 done
50918 else
50920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50921 $as_echo_n "checking for _hypotl declaration... " >&6; }
50922 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50923 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50924 $as_echo_n "(cached) " >&6
50925 else
50928 ac_ext=cpp
50929 ac_cpp='$CXXCPP $CPPFLAGS'
50930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50935 /* end confdefs.h. */
50936 #include <math.h>
50938 main ()
50940 _hypotl(0, 0);
50942 return 0;
50944 _ACEOF
50945 if ac_fn_cxx_try_compile "$LINENO"; then :
50946 glibcxx_cv_func__hypotl_use=yes
50947 else
50948 glibcxx_cv_func__hypotl_use=no
50950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50951 ac_ext=c
50952 ac_cpp='$CPP $CPPFLAGS'
50953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50962 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50964 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50965 for ac_func in _hypotl
50966 do :
50967 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50968 if test "x$ac_cv_func__hypotl" = x""yes; then :
50969 cat >>confdefs.h <<_ACEOF
50970 #define HAVE__HYPOTL 1
50971 _ACEOF
50974 done
50983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50984 $as_echo_n "checking for ldexpl declaration... " >&6; }
50985 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50986 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50987 $as_echo_n "(cached) " >&6
50988 else
50991 ac_ext=cpp
50992 ac_cpp='$CXXCPP $CPPFLAGS'
50993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50998 /* end confdefs.h. */
50999 #include <math.h>
51001 main ()
51003 ldexpl(0, 0);
51005 return 0;
51007 _ACEOF
51008 if ac_fn_cxx_try_compile "$LINENO"; then :
51009 glibcxx_cv_func_ldexpl_use=yes
51010 else
51011 glibcxx_cv_func_ldexpl_use=no
51013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51014 ac_ext=c
51015 ac_cpp='$CPP $CPPFLAGS'
51016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51025 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51027 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51028 for ac_func in ldexpl
51029 do :
51030 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51031 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51032 cat >>confdefs.h <<_ACEOF
51033 #define HAVE_LDEXPL 1
51034 _ACEOF
51037 done
51039 else
51041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51042 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51043 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51044 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51045 $as_echo_n "(cached) " >&6
51046 else
51049 ac_ext=cpp
51050 ac_cpp='$CXXCPP $CPPFLAGS'
51051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51056 /* end confdefs.h. */
51057 #include <math.h>
51059 main ()
51061 _ldexpl(0, 0);
51063 return 0;
51065 _ACEOF
51066 if ac_fn_cxx_try_compile "$LINENO"; then :
51067 glibcxx_cv_func__ldexpl_use=yes
51068 else
51069 glibcxx_cv_func__ldexpl_use=no
51071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51072 ac_ext=c
51073 ac_cpp='$CPP $CPPFLAGS'
51074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51083 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51085 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51086 for ac_func in _ldexpl
51087 do :
51088 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51089 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51090 cat >>confdefs.h <<_ACEOF
51091 #define HAVE__LDEXPL 1
51092 _ACEOF
51095 done
51104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51105 $as_echo_n "checking for logl declaration... " >&6; }
51106 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51107 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51108 $as_echo_n "(cached) " >&6
51109 else
51112 ac_ext=cpp
51113 ac_cpp='$CXXCPP $CPPFLAGS'
51114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51119 /* end confdefs.h. */
51120 #include <math.h>
51121 #ifdef HAVE_IEEEFP_H
51122 #include <ieeefp.h>
51123 #endif
51126 main ()
51128 logl(0);
51130 return 0;
51132 _ACEOF
51133 if ac_fn_cxx_try_compile "$LINENO"; then :
51134 glibcxx_cv_func_logl_use=yes
51135 else
51136 glibcxx_cv_func_logl_use=no
51138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51139 ac_ext=c
51140 ac_cpp='$CPP $CPPFLAGS'
51141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
51150 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
51152 if test x$glibcxx_cv_func_logl_use = x"yes"; then
51153 for ac_func in logl
51154 do :
51155 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
51156 if test "x$ac_cv_func_logl" = x""yes; then :
51157 cat >>confdefs.h <<_ACEOF
51158 #define HAVE_LOGL 1
51159 _ACEOF
51162 done
51164 else
51166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
51167 $as_echo_n "checking for _logl declaration... " >&6; }
51168 if test x${glibcxx_cv_func__logl_use+set} != xset; then
51169 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
51170 $as_echo_n "(cached) " >&6
51171 else
51174 ac_ext=cpp
51175 ac_cpp='$CXXCPP $CPPFLAGS'
51176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51181 /* end confdefs.h. */
51182 #include <math.h>
51183 #ifdef HAVE_IEEEFP_H
51184 #include <ieeefp.h>
51185 #endif
51188 main ()
51190 _logl(0);
51192 return 0;
51194 _ACEOF
51195 if ac_fn_cxx_try_compile "$LINENO"; then :
51196 glibcxx_cv_func__logl_use=yes
51197 else
51198 glibcxx_cv_func__logl_use=no
51200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51201 ac_ext=c
51202 ac_cpp='$CPP $CPPFLAGS'
51203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
51212 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
51214 if test x$glibcxx_cv_func__logl_use = x"yes"; then
51215 for ac_func in _logl
51216 do :
51217 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
51218 if test "x$ac_cv_func__logl" = x""yes; then :
51219 cat >>confdefs.h <<_ACEOF
51220 #define HAVE__LOGL 1
51221 _ACEOF
51224 done
51233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51234 $as_echo_n "checking for log10l declaration... " >&6; }
51235 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51236 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
51237 $as_echo_n "(cached) " >&6
51238 else
51241 ac_ext=cpp
51242 ac_cpp='$CXXCPP $CPPFLAGS'
51243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51248 /* end confdefs.h. */
51249 #include <math.h>
51250 #ifdef HAVE_IEEEFP_H
51251 #include <ieeefp.h>
51252 #endif
51255 main ()
51257 log10l(0);
51259 return 0;
51261 _ACEOF
51262 if ac_fn_cxx_try_compile "$LINENO"; then :
51263 glibcxx_cv_func_log10l_use=yes
51264 else
51265 glibcxx_cv_func_log10l_use=no
51267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51268 ac_ext=c
51269 ac_cpp='$CPP $CPPFLAGS'
51270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
51279 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51281 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51282 for ac_func in log10l
51283 do :
51284 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51285 if test "x$ac_cv_func_log10l" = x""yes; then :
51286 cat >>confdefs.h <<_ACEOF
51287 #define HAVE_LOG10L 1
51288 _ACEOF
51291 done
51293 else
51295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51296 $as_echo_n "checking for _log10l declaration... " >&6; }
51297 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51298 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51299 $as_echo_n "(cached) " >&6
51300 else
51303 ac_ext=cpp
51304 ac_cpp='$CXXCPP $CPPFLAGS'
51305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51310 /* end confdefs.h. */
51311 #include <math.h>
51312 #ifdef HAVE_IEEEFP_H
51313 #include <ieeefp.h>
51314 #endif
51317 main ()
51319 _log10l(0);
51321 return 0;
51323 _ACEOF
51324 if ac_fn_cxx_try_compile "$LINENO"; then :
51325 glibcxx_cv_func__log10l_use=yes
51326 else
51327 glibcxx_cv_func__log10l_use=no
51329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51330 ac_ext=c
51331 ac_cpp='$CPP $CPPFLAGS'
51332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
51341 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
51343 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
51344 for ac_func in _log10l
51345 do :
51346 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
51347 if test "x$ac_cv_func__log10l" = x""yes; then :
51348 cat >>confdefs.h <<_ACEOF
51349 #define HAVE__LOG10L 1
51350 _ACEOF
51353 done
51362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51363 $as_echo_n "checking for modfl declaration... " >&6; }
51364 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51365 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51366 $as_echo_n "(cached) " >&6
51367 else
51370 ac_ext=cpp
51371 ac_cpp='$CXXCPP $CPPFLAGS'
51372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51377 /* end confdefs.h. */
51378 #include <math.h>
51380 main ()
51382 modfl(0, 0);
51384 return 0;
51386 _ACEOF
51387 if ac_fn_cxx_try_compile "$LINENO"; then :
51388 glibcxx_cv_func_modfl_use=yes
51389 else
51390 glibcxx_cv_func_modfl_use=no
51392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51393 ac_ext=c
51394 ac_cpp='$CPP $CPPFLAGS'
51395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51404 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51406 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51407 for ac_func in modfl
51408 do :
51409 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51410 if test "x$ac_cv_func_modfl" = x""yes; then :
51411 cat >>confdefs.h <<_ACEOF
51412 #define HAVE_MODFL 1
51413 _ACEOF
51416 done
51418 else
51420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51421 $as_echo_n "checking for _modfl declaration... " >&6; }
51422 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51423 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51424 $as_echo_n "(cached) " >&6
51425 else
51428 ac_ext=cpp
51429 ac_cpp='$CXXCPP $CPPFLAGS'
51430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51435 /* end confdefs.h. */
51436 #include <math.h>
51438 main ()
51440 _modfl(0, 0);
51442 return 0;
51444 _ACEOF
51445 if ac_fn_cxx_try_compile "$LINENO"; then :
51446 glibcxx_cv_func__modfl_use=yes
51447 else
51448 glibcxx_cv_func__modfl_use=no
51450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51451 ac_ext=c
51452 ac_cpp='$CPP $CPPFLAGS'
51453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51462 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51464 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51465 for ac_func in _modfl
51466 do :
51467 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51468 if test "x$ac_cv_func__modfl" = x""yes; then :
51469 cat >>confdefs.h <<_ACEOF
51470 #define HAVE__MODFL 1
51471 _ACEOF
51474 done
51483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51484 $as_echo_n "checking for powl declaration... " >&6; }
51485 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51486 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51487 $as_echo_n "(cached) " >&6
51488 else
51491 ac_ext=cpp
51492 ac_cpp='$CXXCPP $CPPFLAGS'
51493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51498 /* end confdefs.h. */
51499 #include <math.h>
51501 main ()
51503 powl(0, 0);
51505 return 0;
51507 _ACEOF
51508 if ac_fn_cxx_try_compile "$LINENO"; then :
51509 glibcxx_cv_func_powl_use=yes
51510 else
51511 glibcxx_cv_func_powl_use=no
51513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51514 ac_ext=c
51515 ac_cpp='$CPP $CPPFLAGS'
51516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51525 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51527 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51528 for ac_func in powl
51529 do :
51530 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51531 if test "x$ac_cv_func_powl" = x""yes; then :
51532 cat >>confdefs.h <<_ACEOF
51533 #define HAVE_POWL 1
51534 _ACEOF
51537 done
51539 else
51541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51542 $as_echo_n "checking for _powl declaration... " >&6; }
51543 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51544 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51545 $as_echo_n "(cached) " >&6
51546 else
51549 ac_ext=cpp
51550 ac_cpp='$CXXCPP $CPPFLAGS'
51551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51556 /* end confdefs.h. */
51557 #include <math.h>
51559 main ()
51561 _powl(0, 0);
51563 return 0;
51565 _ACEOF
51566 if ac_fn_cxx_try_compile "$LINENO"; then :
51567 glibcxx_cv_func__powl_use=yes
51568 else
51569 glibcxx_cv_func__powl_use=no
51571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51572 ac_ext=c
51573 ac_cpp='$CPP $CPPFLAGS'
51574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51583 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51585 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51586 for ac_func in _powl
51587 do :
51588 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51589 if test "x$ac_cv_func__powl" = x""yes; then :
51590 cat >>confdefs.h <<_ACEOF
51591 #define HAVE__POWL 1
51592 _ACEOF
51595 done
51604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51605 $as_echo_n "checking for sqrtl declaration... " >&6; }
51606 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51607 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51608 $as_echo_n "(cached) " >&6
51609 else
51612 ac_ext=cpp
51613 ac_cpp='$CXXCPP $CPPFLAGS'
51614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51619 /* end confdefs.h. */
51620 #include <math.h>
51621 #ifdef HAVE_IEEEFP_H
51622 #include <ieeefp.h>
51623 #endif
51626 main ()
51628 sqrtl(0);
51630 return 0;
51632 _ACEOF
51633 if ac_fn_cxx_try_compile "$LINENO"; then :
51634 glibcxx_cv_func_sqrtl_use=yes
51635 else
51636 glibcxx_cv_func_sqrtl_use=no
51638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51639 ac_ext=c
51640 ac_cpp='$CPP $CPPFLAGS'
51641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51650 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51652 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51653 for ac_func in sqrtl
51654 do :
51655 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51656 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51657 cat >>confdefs.h <<_ACEOF
51658 #define HAVE_SQRTL 1
51659 _ACEOF
51662 done
51664 else
51666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51667 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51668 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51669 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51670 $as_echo_n "(cached) " >&6
51671 else
51674 ac_ext=cpp
51675 ac_cpp='$CXXCPP $CPPFLAGS'
51676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51681 /* end confdefs.h. */
51682 #include <math.h>
51683 #ifdef HAVE_IEEEFP_H
51684 #include <ieeefp.h>
51685 #endif
51688 main ()
51690 _sqrtl(0);
51692 return 0;
51694 _ACEOF
51695 if ac_fn_cxx_try_compile "$LINENO"; then :
51696 glibcxx_cv_func__sqrtl_use=yes
51697 else
51698 glibcxx_cv_func__sqrtl_use=no
51700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51701 ac_ext=c
51702 ac_cpp='$CPP $CPPFLAGS'
51703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51712 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51714 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51715 for ac_func in _sqrtl
51716 do :
51717 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51718 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51719 cat >>confdefs.h <<_ACEOF
51720 #define HAVE__SQRTL 1
51721 _ACEOF
51724 done
51733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51734 $as_echo_n "checking for sincosl declaration... " >&6; }
51735 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51736 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51737 $as_echo_n "(cached) " >&6
51738 else
51741 ac_ext=cpp
51742 ac_cpp='$CXXCPP $CPPFLAGS'
51743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51748 /* end confdefs.h. */
51749 #include <math.h>
51751 main ()
51753 sincosl(0, 0, 0);
51755 return 0;
51757 _ACEOF
51758 if ac_fn_cxx_try_compile "$LINENO"; then :
51759 glibcxx_cv_func_sincosl_use=yes
51760 else
51761 glibcxx_cv_func_sincosl_use=no
51763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51764 ac_ext=c
51765 ac_cpp='$CPP $CPPFLAGS'
51766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51775 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51777 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51778 for ac_func in sincosl
51779 do :
51780 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51781 if test "x$ac_cv_func_sincosl" = x""yes; then :
51782 cat >>confdefs.h <<_ACEOF
51783 #define HAVE_SINCOSL 1
51784 _ACEOF
51787 done
51789 else
51791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51792 $as_echo_n "checking for _sincosl declaration... " >&6; }
51793 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51794 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51795 $as_echo_n "(cached) " >&6
51796 else
51799 ac_ext=cpp
51800 ac_cpp='$CXXCPP $CPPFLAGS'
51801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51806 /* end confdefs.h. */
51807 #include <math.h>
51809 main ()
51811 _sincosl(0, 0, 0);
51813 return 0;
51815 _ACEOF
51816 if ac_fn_cxx_try_compile "$LINENO"; then :
51817 glibcxx_cv_func__sincosl_use=yes
51818 else
51819 glibcxx_cv_func__sincosl_use=no
51821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51822 ac_ext=c
51823 ac_cpp='$CPP $CPPFLAGS'
51824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51833 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51835 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51836 for ac_func in _sincosl
51837 do :
51838 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51839 if test "x$ac_cv_func__sincosl" = x""yes; then :
51840 cat >>confdefs.h <<_ACEOF
51841 #define HAVE__SINCOSL 1
51842 _ACEOF
51845 done
51854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51855 $as_echo_n "checking for finitel declaration... " >&6; }
51856 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51857 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51858 $as_echo_n "(cached) " >&6
51859 else
51862 ac_ext=cpp
51863 ac_cpp='$CXXCPP $CPPFLAGS'
51864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51869 /* end confdefs.h. */
51870 #include <math.h>
51871 #ifdef HAVE_IEEEFP_H
51872 #include <ieeefp.h>
51873 #endif
51876 main ()
51878 finitel(0);
51880 return 0;
51882 _ACEOF
51883 if ac_fn_cxx_try_compile "$LINENO"; then :
51884 glibcxx_cv_func_finitel_use=yes
51885 else
51886 glibcxx_cv_func_finitel_use=no
51888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51889 ac_ext=c
51890 ac_cpp='$CPP $CPPFLAGS'
51891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51900 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51902 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51903 for ac_func in finitel
51904 do :
51905 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51906 if test "x$ac_cv_func_finitel" = x""yes; then :
51907 cat >>confdefs.h <<_ACEOF
51908 #define HAVE_FINITEL 1
51909 _ACEOF
51912 done
51914 else
51916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51917 $as_echo_n "checking for _finitel declaration... " >&6; }
51918 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51919 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51920 $as_echo_n "(cached) " >&6
51921 else
51924 ac_ext=cpp
51925 ac_cpp='$CXXCPP $CPPFLAGS'
51926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51931 /* end confdefs.h. */
51932 #include <math.h>
51933 #ifdef HAVE_IEEEFP_H
51934 #include <ieeefp.h>
51935 #endif
51938 main ()
51940 _finitel(0);
51942 return 0;
51944 _ACEOF
51945 if ac_fn_cxx_try_compile "$LINENO"; then :
51946 glibcxx_cv_func__finitel_use=yes
51947 else
51948 glibcxx_cv_func__finitel_use=no
51950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51951 ac_ext=c
51952 ac_cpp='$CPP $CPPFLAGS'
51953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51962 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51964 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51965 for ac_func in _finitel
51966 do :
51967 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51968 if test "x$ac_cv_func__finitel" = x""yes; then :
51969 cat >>confdefs.h <<_ACEOF
51970 #define HAVE__FINITEL 1
51971 _ACEOF
51974 done
51982 LIBS="$ac_save_LIBS"
51983 CXXFLAGS="$ac_save_CXXFLAGS"
51986 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51987 ac_save_CXXFLAGS="$CXXFLAGS"
51988 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51992 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51993 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51994 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51995 $as_echo_n "(cached) " >&6
51996 else
51999 ac_ext=cpp
52000 ac_cpp='$CXXCPP $CPPFLAGS'
52001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52006 /* end confdefs.h. */
52007 #include <stdlib.h>
52009 main ()
52011 at_quick_exit(0);
52013 return 0;
52015 _ACEOF
52016 if ac_fn_cxx_try_compile "$LINENO"; then :
52017 glibcxx_cv_func_at_quick_exit_use=yes
52018 else
52019 glibcxx_cv_func_at_quick_exit_use=no
52021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52022 ac_ext=c
52023 ac_cpp='$CPP $CPPFLAGS'
52024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52033 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52034 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52035 for ac_func in at_quick_exit
52036 do :
52037 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52038 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52039 cat >>confdefs.h <<_ACEOF
52040 #define HAVE_AT_QUICK_EXIT 1
52041 _ACEOF
52044 done
52049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52050 $as_echo_n "checking for quick_exit declaration... " >&6; }
52051 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52052 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52053 $as_echo_n "(cached) " >&6
52054 else
52057 ac_ext=cpp
52058 ac_cpp='$CXXCPP $CPPFLAGS'
52059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52064 /* end confdefs.h. */
52065 #include <stdlib.h>
52067 main ()
52069 quick_exit(0);
52071 return 0;
52073 _ACEOF
52074 if ac_fn_cxx_try_compile "$LINENO"; then :
52075 glibcxx_cv_func_quick_exit_use=yes
52076 else
52077 glibcxx_cv_func_quick_exit_use=no
52079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52080 ac_ext=c
52081 ac_cpp='$CPP $CPPFLAGS'
52082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52091 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52092 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52093 for ac_func in quick_exit
52094 do :
52095 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52096 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52097 cat >>confdefs.h <<_ACEOF
52098 #define HAVE_QUICK_EXIT 1
52099 _ACEOF
52102 done
52107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52108 $as_echo_n "checking for strtold declaration... " >&6; }
52109 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52110 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52111 $as_echo_n "(cached) " >&6
52112 else
52115 ac_ext=cpp
52116 ac_cpp='$CXXCPP $CPPFLAGS'
52117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52122 /* end confdefs.h. */
52123 #include <stdlib.h>
52125 main ()
52127 strtold(0, 0);
52129 return 0;
52131 _ACEOF
52132 if ac_fn_cxx_try_compile "$LINENO"; then :
52133 glibcxx_cv_func_strtold_use=yes
52134 else
52135 glibcxx_cv_func_strtold_use=no
52137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52138 ac_ext=c
52139 ac_cpp='$CPP $CPPFLAGS'
52140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
52149 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
52150 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52151 for ac_func in strtold
52152 do :
52153 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
52154 if test "x$ac_cv_func_strtold" = x""yes; then :
52155 cat >>confdefs.h <<_ACEOF
52156 #define HAVE_STRTOLD 1
52157 _ACEOF
52160 done
52167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
52168 $as_echo_n "checking for strtof declaration... " >&6; }
52169 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52170 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
52171 $as_echo_n "(cached) " >&6
52172 else
52175 ac_ext=cpp
52176 ac_cpp='$CXXCPP $CPPFLAGS'
52177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52182 /* end confdefs.h. */
52183 #include <stdlib.h>
52185 main ()
52187 strtof(0, 0);
52189 return 0;
52191 _ACEOF
52192 if ac_fn_cxx_try_compile "$LINENO"; then :
52193 glibcxx_cv_func_strtof_use=yes
52194 else
52195 glibcxx_cv_func_strtof_use=no
52197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52198 ac_ext=c
52199 ac_cpp='$CPP $CPPFLAGS'
52200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
52209 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
52210 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52211 for ac_func in strtof
52212 do :
52213 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
52214 if test "x$ac_cv_func_strtof" = x""yes; then :
52215 cat >>confdefs.h <<_ACEOF
52216 #define HAVE_STRTOF 1
52217 _ACEOF
52220 done
52227 CXXFLAGS="$ac_save_CXXFLAGS"
52229 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
52233 # Check whether --enable-tls was given.
52234 if test "${enable_tls+set}" = set; then :
52235 enableval=$enable_tls;
52236 case "$enableval" in
52237 yes|no) ;;
52238 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52239 esac
52241 else
52242 enable_tls=yes
52246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52247 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52248 if test "${gcc_cv_have_tls+set}" = set; then :
52249 $as_echo_n "(cached) " >&6
52250 else
52252 if test "$cross_compiling" = yes; then :
52253 if test x$gcc_no_link = xyes; then
52254 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52257 /* end confdefs.h. */
52258 __thread int a; int b; int main() { return a = b; }
52259 _ACEOF
52260 if ac_fn_c_try_link "$LINENO"; then :
52261 chktls_save_LDFLAGS="$LDFLAGS"
52262 case $host in
52263 *-*-linux*)
52264 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52266 esac
52267 chktls_save_CFLAGS="$CFLAGS"
52268 CFLAGS="-fPIC $CFLAGS"
52269 if test x$gcc_no_link = xyes; then
52270 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52273 /* end confdefs.h. */
52274 int f() { return 0; }
52275 _ACEOF
52276 if ac_fn_c_try_link "$LINENO"; then :
52277 if test x$gcc_no_link = xyes; then
52278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52281 /* end confdefs.h. */
52282 __thread int a; int b; int f() { return a = b; }
52283 _ACEOF
52284 if ac_fn_c_try_link "$LINENO"; then :
52285 gcc_cv_have_tls=yes
52286 else
52287 gcc_cv_have_tls=no
52289 rm -f core conftest.err conftest.$ac_objext \
52290 conftest$ac_exeext conftest.$ac_ext
52291 else
52292 gcc_cv_have_tls=yes
52294 rm -f core conftest.err conftest.$ac_objext \
52295 conftest$ac_exeext conftest.$ac_ext
52296 CFLAGS="$chktls_save_CFLAGS"
52297 LDFLAGS="$chktls_save_LDFLAGS"
52298 else
52299 gcc_cv_have_tls=no
52301 rm -f core conftest.err conftest.$ac_objext \
52302 conftest$ac_exeext conftest.$ac_ext
52305 else
52306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52307 /* end confdefs.h. */
52308 __thread int a; int b; int main() { return a = b; }
52309 _ACEOF
52310 if ac_fn_c_try_run "$LINENO"; then :
52311 chktls_save_LDFLAGS="$LDFLAGS"
52312 LDFLAGS="-static $LDFLAGS"
52313 if test x$gcc_no_link = xyes; then
52314 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52317 /* end confdefs.h. */
52318 int main() { return 0; }
52319 _ACEOF
52320 if ac_fn_c_try_link "$LINENO"; then :
52321 if test "$cross_compiling" = yes; then :
52322 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52324 as_fn_error "cannot run test program while cross compiling
52325 See \`config.log' for more details." "$LINENO" 5; }
52326 else
52327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52328 /* end confdefs.h. */
52329 __thread int a; int b; int main() { return a = b; }
52330 _ACEOF
52331 if ac_fn_c_try_run "$LINENO"; then :
52332 gcc_cv_have_tls=yes
52333 else
52334 gcc_cv_have_tls=no
52336 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52337 conftest.$ac_objext conftest.beam conftest.$ac_ext
52340 else
52341 gcc_cv_have_tls=yes
52343 rm -f core conftest.err conftest.$ac_objext \
52344 conftest$ac_exeext conftest.$ac_ext
52345 LDFLAGS="$chktls_save_LDFLAGS"
52346 if test $gcc_cv_have_tls = yes; then
52347 chktls_save_CFLAGS="$CFLAGS"
52348 thread_CFLAGS=failed
52349 for flag in '' '-pthread' '-lpthread'; do
52350 CFLAGS="$flag $chktls_save_CFLAGS"
52351 if test x$gcc_no_link = xyes; then
52352 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52355 /* end confdefs.h. */
52356 #include <pthread.h>
52357 void *g(void *d) { return NULL; }
52359 main ()
52361 pthread_t t; pthread_create(&t,NULL,g,NULL);
52363 return 0;
52365 _ACEOF
52366 if ac_fn_c_try_link "$LINENO"; then :
52367 thread_CFLAGS="$flag"
52369 rm -f core conftest.err conftest.$ac_objext \
52370 conftest$ac_exeext conftest.$ac_ext
52371 if test "X$thread_CFLAGS" != Xfailed; then
52372 break
52374 done
52375 CFLAGS="$chktls_save_CFLAGS"
52376 if test "X$thread_CFLAGS" != Xfailed; then
52377 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52378 if test "$cross_compiling" = yes; then :
52379 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52380 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52381 as_fn_error "cannot run test program while cross compiling
52382 See \`config.log' for more details." "$LINENO" 5; }
52383 else
52384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52385 /* end confdefs.h. */
52386 #include <pthread.h>
52387 __thread int a;
52388 static int *volatile a_in_other_thread;
52389 static void *
52390 thread_func (void *arg)
52392 a_in_other_thread = &a;
52393 return (void *)0;
52396 main ()
52398 pthread_t thread;
52399 void *thread_retval;
52400 int *volatile a_in_main_thread;
52401 a_in_main_thread = &a;
52402 if (pthread_create (&thread, (pthread_attr_t *)0,
52403 thread_func, (void *)0))
52404 return 0;
52405 if (pthread_join (thread, &thread_retval))
52406 return 0;
52407 return (a_in_other_thread == a_in_main_thread);
52409 return 0;
52411 _ACEOF
52412 if ac_fn_c_try_run "$LINENO"; then :
52413 gcc_cv_have_tls=yes
52414 else
52415 gcc_cv_have_tls=no
52417 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52418 conftest.$ac_objext conftest.beam conftest.$ac_ext
52421 CFLAGS="$chktls_save_CFLAGS"
52424 else
52425 gcc_cv_have_tls=no
52427 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52428 conftest.$ac_objext conftest.beam conftest.$ac_ext
52432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52433 $as_echo "$gcc_cv_have_tls" >&6; }
52434 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52436 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52444 am_save_CPPFLAGS="$CPPFLAGS"
52446 for element in $INCICONV; do
52447 haveit=
52448 for x in $CPPFLAGS; do
52450 acl_save_prefix="$prefix"
52451 prefix="$acl_final_prefix"
52452 acl_save_exec_prefix="$exec_prefix"
52453 exec_prefix="$acl_final_exec_prefix"
52454 eval x=\"$x\"
52455 exec_prefix="$acl_save_exec_prefix"
52456 prefix="$acl_save_prefix"
52458 if test "X$x" = "X$element"; then
52459 haveit=yes
52460 break
52462 done
52463 if test -z "$haveit"; then
52464 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
52466 done
52469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
52470 $as_echo_n "checking for iconv... " >&6; }
52471 if test "${am_cv_func_iconv+set}" = set; then :
52472 $as_echo_n "(cached) " >&6
52473 else
52475 am_cv_func_iconv="no, consider installing GNU libiconv"
52476 am_cv_lib_iconv=no
52477 if test x$gcc_no_link = xyes; then
52478 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52481 /* end confdefs.h. */
52482 #include <stdlib.h>
52483 #include <iconv.h>
52485 main ()
52487 iconv_t cd = iconv_open("","");
52488 iconv(cd,NULL,NULL,NULL,NULL);
52489 iconv_close(cd);
52491 return 0;
52493 _ACEOF
52494 if ac_fn_c_try_link "$LINENO"; then :
52495 am_cv_func_iconv=yes
52497 rm -f core conftest.err conftest.$ac_objext \
52498 conftest$ac_exeext conftest.$ac_ext
52499 if test "$am_cv_func_iconv" != yes; then
52500 am_save_LIBS="$LIBS"
52501 LIBS="$LIBS $LIBICONV"
52502 if test x$gcc_no_link = xyes; then
52503 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52506 /* end confdefs.h. */
52507 #include <stdlib.h>
52508 #include <iconv.h>
52510 main ()
52512 iconv_t cd = iconv_open("","");
52513 iconv(cd,NULL,NULL,NULL,NULL);
52514 iconv_close(cd);
52516 return 0;
52518 _ACEOF
52519 if ac_fn_c_try_link "$LINENO"; then :
52520 am_cv_lib_iconv=yes
52521 am_cv_func_iconv=yes
52523 rm -f core conftest.err conftest.$ac_objext \
52524 conftest$ac_exeext conftest.$ac_ext
52525 LIBS="$am_save_LIBS"
52529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
52530 $as_echo "$am_cv_func_iconv" >&6; }
52531 if test "$am_cv_func_iconv" = yes; then
52533 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
52536 if test "$am_cv_lib_iconv" = yes; then
52537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
52538 $as_echo_n "checking how to link with libiconv... " >&6; }
52539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
52540 $as_echo "$LIBICONV" >&6; }
52541 else
52542 CPPFLAGS="$am_save_CPPFLAGS"
52543 LIBICONV=
52544 LTLIBICONV=
52549 if test "$am_cv_func_iconv" = yes; then
52550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
52551 $as_echo_n "checking for iconv declaration... " >&6; }
52552 if test "${am_cv_proto_iconv+set}" = set; then :
52553 $as_echo_n "(cached) " >&6
52554 else
52556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52557 /* end confdefs.h. */
52559 #include <stdlib.h>
52560 #include <iconv.h>
52561 extern
52562 #ifdef __cplusplus
52564 #endif
52565 #if defined(__STDC__) || defined(__cplusplus)
52566 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
52567 #else
52568 size_t iconv();
52569 #endif
52572 main ()
52576 return 0;
52578 _ACEOF
52579 if ac_fn_c_try_compile "$LINENO"; then :
52580 am_cv_proto_iconv_arg1=""
52581 else
52582 am_cv_proto_iconv_arg1="const"
52584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52585 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);"
52588 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
52589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
52590 }$am_cv_proto_iconv" >&5
52591 $as_echo "${ac_t:-
52592 }$am_cv_proto_iconv" >&6; }
52594 cat >>confdefs.h <<_ACEOF
52595 #define ICONV_CONST $am_cv_proto_iconv_arg1
52596 _ACEOF
52601 *-mingw32*)
52603 # If we're not using GNU ld, then there's no point in even trying these
52604 # tests. Check for that first. We should have already tested for gld
52605 # by now (in libtool), but require it now just to be safe...
52606 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52607 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52611 # The name set by libtool depends on the version of libtool. Shame on us
52612 # for depending on an impl detail, but c'est la vie. Older versions used
52613 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52614 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52615 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52616 # set (hence we're using an older libtool), then set it.
52617 if test x${with_gnu_ld+set} != xset; then
52618 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52619 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52620 with_gnu_ld=no
52621 else
52622 with_gnu_ld=$ac_cv_prog_gnu_ld
52626 # Start by getting the version number. I think the libtool test already
52627 # does some of this, but throws away the result.
52628 glibcxx_ld_is_gold=no
52629 if test x"$with_gnu_ld" = x"yes"; then
52630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52631 $as_echo_n "checking for ld version... " >&6; }
52633 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52634 glibcxx_ld_is_gold=yes
52636 ldver=`$LD --version 2>/dev/null |
52637 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'`
52639 glibcxx_gnu_ld_version=`echo $ldver | \
52640 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52642 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52645 # Set --gc-sections.
52646 glibcxx_have_gc_sections=no
52647 if test "$glibcxx_ld_is_gold" = "yes"; then
52648 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52649 glibcxx_have_gc_sections=yes
52651 else
52652 glibcxx_gcsections_min_ld=21602
52653 if test x"$with_gnu_ld" = x"yes" &&
52654 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52655 glibcxx_have_gc_sections=yes
52658 if test "$glibcxx_have_gc_sections" = "yes"; then
52659 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52660 # NB: This flag only works reliably after 2.16.1. Configure tests
52661 # for this are difficult, so hard wire a value that should work.
52663 ac_test_CFLAGS="${CFLAGS+set}"
52664 ac_save_CFLAGS="$CFLAGS"
52665 CFLAGS='-Wl,--gc-sections'
52667 # Check for -Wl,--gc-sections
52668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52669 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52670 if test x$gcc_no_link = xyes; then
52671 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52674 /* end confdefs.h. */
52675 int one(void) { return 1; }
52676 int two(void) { return 2; }
52679 main ()
52681 two();
52683 return 0;
52685 _ACEOF
52686 if ac_fn_c_try_link "$LINENO"; then :
52687 ac_gcsections=yes
52688 else
52689 ac_gcsections=no
52691 rm -f core conftest.err conftest.$ac_objext \
52692 conftest$ac_exeext conftest.$ac_ext
52693 if test "$ac_gcsections" = "yes"; then
52694 rm -f conftest.c
52695 touch conftest.c
52696 if $CC -c conftest.c; then
52697 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52698 grep "Warning: gc-sections option ignored" > /dev/null; then
52699 ac_gcsections=no
52702 rm -f conftest.c conftest.o conftest
52704 if test "$ac_gcsections" = "yes"; then
52705 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52708 $as_echo "$ac_gcsections" >&6; }
52710 if test "$ac_test_CFLAGS" = set; then
52711 CFLAGS="$ac_save_CFLAGS"
52712 else
52713 # this is the suspicious part
52714 CFLAGS=''
52718 # Set -z,relro.
52719 # Note this is only for shared objects.
52720 ac_ld_relro=no
52721 if test x"$with_gnu_ld" = x"yes"; then
52722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52723 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52724 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52725 if test -n "$cxx_z_relo"; then
52726 OPT_LDFLAGS="-Wl,-z,relro"
52727 ac_ld_relro=yes
52729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52730 $as_echo "$ac_ld_relro" >&6; }
52733 # Set linker optimization flags.
52734 if test x"$with_gnu_ld" = x"yes"; then
52735 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52742 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52743 ac_save_CXXFLAGS="$CXXFLAGS"
52744 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52747 $as_echo_n "checking for sin in -lm... " >&6; }
52748 if test "${ac_cv_lib_m_sin+set}" = set; then :
52749 $as_echo_n "(cached) " >&6
52750 else
52751 ac_check_lib_save_LIBS=$LIBS
52752 LIBS="-lm $LIBS"
52753 if test x$gcc_no_link = xyes; then
52754 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52757 /* end confdefs.h. */
52759 /* Override any GCC internal prototype to avoid an error.
52760 Use char because int might match the return type of a GCC
52761 builtin and then its argument prototype would still apply. */
52762 #ifdef __cplusplus
52763 extern "C"
52764 #endif
52765 char sin ();
52767 main ()
52769 return sin ();
52771 return 0;
52773 _ACEOF
52774 if ac_fn_c_try_link "$LINENO"; then :
52775 ac_cv_lib_m_sin=yes
52776 else
52777 ac_cv_lib_m_sin=no
52779 rm -f core conftest.err conftest.$ac_objext \
52780 conftest$ac_exeext conftest.$ac_ext
52781 LIBS=$ac_check_lib_save_LIBS
52783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52784 $as_echo "$ac_cv_lib_m_sin" >&6; }
52785 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52786 libm="-lm"
52789 ac_save_LIBS="$LIBS"
52790 LIBS="$LIBS $libm"
52794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52795 $as_echo_n "checking for isinf declaration... " >&6; }
52796 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52797 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52798 $as_echo_n "(cached) " >&6
52799 else
52802 ac_ext=cpp
52803 ac_cpp='$CXXCPP $CPPFLAGS'
52804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52809 /* end confdefs.h. */
52810 #include <math.h>
52811 #ifdef HAVE_IEEEFP_H
52812 #include <ieeefp.h>
52813 #endif
52816 main ()
52818 isinf(0);
52820 return 0;
52822 _ACEOF
52823 if ac_fn_cxx_try_compile "$LINENO"; then :
52824 glibcxx_cv_func_isinf_use=yes
52825 else
52826 glibcxx_cv_func_isinf_use=no
52828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52829 ac_ext=c
52830 ac_cpp='$CPP $CPPFLAGS'
52831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52840 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52842 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52843 for ac_func in isinf
52844 do :
52845 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52846 if test "x$ac_cv_func_isinf" = x""yes; then :
52847 cat >>confdefs.h <<_ACEOF
52848 #define HAVE_ISINF 1
52849 _ACEOF
52852 done
52854 else
52856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52857 $as_echo_n "checking for _isinf declaration... " >&6; }
52858 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52859 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52860 $as_echo_n "(cached) " >&6
52861 else
52864 ac_ext=cpp
52865 ac_cpp='$CXXCPP $CPPFLAGS'
52866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52871 /* end confdefs.h. */
52872 #include <math.h>
52873 #ifdef HAVE_IEEEFP_H
52874 #include <ieeefp.h>
52875 #endif
52878 main ()
52880 _isinf(0);
52882 return 0;
52884 _ACEOF
52885 if ac_fn_cxx_try_compile "$LINENO"; then :
52886 glibcxx_cv_func__isinf_use=yes
52887 else
52888 glibcxx_cv_func__isinf_use=no
52890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52891 ac_ext=c
52892 ac_cpp='$CPP $CPPFLAGS'
52893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52902 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52904 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52905 for ac_func in _isinf
52906 do :
52907 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52908 if test "x$ac_cv_func__isinf" = x""yes; then :
52909 cat >>confdefs.h <<_ACEOF
52910 #define HAVE__ISINF 1
52911 _ACEOF
52914 done
52923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52924 $as_echo_n "checking for isnan declaration... " >&6; }
52925 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52926 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52927 $as_echo_n "(cached) " >&6
52928 else
52931 ac_ext=cpp
52932 ac_cpp='$CXXCPP $CPPFLAGS'
52933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52938 /* end confdefs.h. */
52939 #include <math.h>
52940 #ifdef HAVE_IEEEFP_H
52941 #include <ieeefp.h>
52942 #endif
52945 main ()
52947 isnan(0);
52949 return 0;
52951 _ACEOF
52952 if ac_fn_cxx_try_compile "$LINENO"; then :
52953 glibcxx_cv_func_isnan_use=yes
52954 else
52955 glibcxx_cv_func_isnan_use=no
52957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52958 ac_ext=c
52959 ac_cpp='$CPP $CPPFLAGS'
52960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52969 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52971 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52972 for ac_func in isnan
52973 do :
52974 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52975 if test "x$ac_cv_func_isnan" = x""yes; then :
52976 cat >>confdefs.h <<_ACEOF
52977 #define HAVE_ISNAN 1
52978 _ACEOF
52981 done
52983 else
52985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52986 $as_echo_n "checking for _isnan declaration... " >&6; }
52987 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52988 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52989 $as_echo_n "(cached) " >&6
52990 else
52993 ac_ext=cpp
52994 ac_cpp='$CXXCPP $CPPFLAGS'
52995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53000 /* end confdefs.h. */
53001 #include <math.h>
53002 #ifdef HAVE_IEEEFP_H
53003 #include <ieeefp.h>
53004 #endif
53007 main ()
53009 _isnan(0);
53011 return 0;
53013 _ACEOF
53014 if ac_fn_cxx_try_compile "$LINENO"; then :
53015 glibcxx_cv_func__isnan_use=yes
53016 else
53017 glibcxx_cv_func__isnan_use=no
53019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53020 ac_ext=c
53021 ac_cpp='$CPP $CPPFLAGS'
53022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
53031 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
53033 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53034 for ac_func in _isnan
53035 do :
53036 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
53037 if test "x$ac_cv_func__isnan" = x""yes; then :
53038 cat >>confdefs.h <<_ACEOF
53039 #define HAVE__ISNAN 1
53040 _ACEOF
53043 done
53052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53053 $as_echo_n "checking for finite declaration... " >&6; }
53054 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53055 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53056 $as_echo_n "(cached) " >&6
53057 else
53060 ac_ext=cpp
53061 ac_cpp='$CXXCPP $CPPFLAGS'
53062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53067 /* end confdefs.h. */
53068 #include <math.h>
53069 #ifdef HAVE_IEEEFP_H
53070 #include <ieeefp.h>
53071 #endif
53074 main ()
53076 finite(0);
53078 return 0;
53080 _ACEOF
53081 if ac_fn_cxx_try_compile "$LINENO"; then :
53082 glibcxx_cv_func_finite_use=yes
53083 else
53084 glibcxx_cv_func_finite_use=no
53086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53087 ac_ext=c
53088 ac_cpp='$CPP $CPPFLAGS'
53089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53098 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53100 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53101 for ac_func in finite
53102 do :
53103 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53104 if test "x$ac_cv_func_finite" = x""yes; then :
53105 cat >>confdefs.h <<_ACEOF
53106 #define HAVE_FINITE 1
53107 _ACEOF
53110 done
53112 else
53114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53115 $as_echo_n "checking for _finite declaration... " >&6; }
53116 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53117 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53118 $as_echo_n "(cached) " >&6
53119 else
53122 ac_ext=cpp
53123 ac_cpp='$CXXCPP $CPPFLAGS'
53124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53129 /* end confdefs.h. */
53130 #include <math.h>
53131 #ifdef HAVE_IEEEFP_H
53132 #include <ieeefp.h>
53133 #endif
53136 main ()
53138 _finite(0);
53140 return 0;
53142 _ACEOF
53143 if ac_fn_cxx_try_compile "$LINENO"; then :
53144 glibcxx_cv_func__finite_use=yes
53145 else
53146 glibcxx_cv_func__finite_use=no
53148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53149 ac_ext=c
53150 ac_cpp='$CPP $CPPFLAGS'
53151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53160 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53162 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53163 for ac_func in _finite
53164 do :
53165 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53166 if test "x$ac_cv_func__finite" = x""yes; then :
53167 cat >>confdefs.h <<_ACEOF
53168 #define HAVE__FINITE 1
53169 _ACEOF
53172 done
53181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53182 $as_echo_n "checking for sincos declaration... " >&6; }
53183 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53184 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53185 $as_echo_n "(cached) " >&6
53186 else
53189 ac_ext=cpp
53190 ac_cpp='$CXXCPP $CPPFLAGS'
53191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53196 /* end confdefs.h. */
53197 #include <math.h>
53199 main ()
53201 sincos(0, 0, 0);
53203 return 0;
53205 _ACEOF
53206 if ac_fn_cxx_try_compile "$LINENO"; then :
53207 glibcxx_cv_func_sincos_use=yes
53208 else
53209 glibcxx_cv_func_sincos_use=no
53211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53212 ac_ext=c
53213 ac_cpp='$CPP $CPPFLAGS'
53214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53223 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53225 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53226 for ac_func in sincos
53227 do :
53228 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53229 if test "x$ac_cv_func_sincos" = x""yes; then :
53230 cat >>confdefs.h <<_ACEOF
53231 #define HAVE_SINCOS 1
53232 _ACEOF
53235 done
53237 else
53239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53240 $as_echo_n "checking for _sincos declaration... " >&6; }
53241 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53242 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53243 $as_echo_n "(cached) " >&6
53244 else
53247 ac_ext=cpp
53248 ac_cpp='$CXXCPP $CPPFLAGS'
53249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53254 /* end confdefs.h. */
53255 #include <math.h>
53257 main ()
53259 _sincos(0, 0, 0);
53261 return 0;
53263 _ACEOF
53264 if ac_fn_cxx_try_compile "$LINENO"; then :
53265 glibcxx_cv_func__sincos_use=yes
53266 else
53267 glibcxx_cv_func__sincos_use=no
53269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53270 ac_ext=c
53271 ac_cpp='$CPP $CPPFLAGS'
53272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53281 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53283 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53284 for ac_func in _sincos
53285 do :
53286 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53287 if test "x$ac_cv_func__sincos" = x""yes; then :
53288 cat >>confdefs.h <<_ACEOF
53289 #define HAVE__SINCOS 1
53290 _ACEOF
53293 done
53302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53303 $as_echo_n "checking for fpclass declaration... " >&6; }
53304 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53305 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53306 $as_echo_n "(cached) " >&6
53307 else
53310 ac_ext=cpp
53311 ac_cpp='$CXXCPP $CPPFLAGS'
53312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53317 /* end confdefs.h. */
53318 #include <math.h>
53319 #ifdef HAVE_IEEEFP_H
53320 #include <ieeefp.h>
53321 #endif
53324 main ()
53326 fpclass(0);
53328 return 0;
53330 _ACEOF
53331 if ac_fn_cxx_try_compile "$LINENO"; then :
53332 glibcxx_cv_func_fpclass_use=yes
53333 else
53334 glibcxx_cv_func_fpclass_use=no
53336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53337 ac_ext=c
53338 ac_cpp='$CPP $CPPFLAGS'
53339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53348 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53350 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53351 for ac_func in fpclass
53352 do :
53353 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53354 if test "x$ac_cv_func_fpclass" = x""yes; then :
53355 cat >>confdefs.h <<_ACEOF
53356 #define HAVE_FPCLASS 1
53357 _ACEOF
53360 done
53362 else
53364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53365 $as_echo_n "checking for _fpclass declaration... " >&6; }
53366 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53367 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53368 $as_echo_n "(cached) " >&6
53369 else
53372 ac_ext=cpp
53373 ac_cpp='$CXXCPP $CPPFLAGS'
53374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53379 /* end confdefs.h. */
53380 #include <math.h>
53381 #ifdef HAVE_IEEEFP_H
53382 #include <ieeefp.h>
53383 #endif
53386 main ()
53388 _fpclass(0);
53390 return 0;
53392 _ACEOF
53393 if ac_fn_cxx_try_compile "$LINENO"; then :
53394 glibcxx_cv_func__fpclass_use=yes
53395 else
53396 glibcxx_cv_func__fpclass_use=no
53398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53399 ac_ext=c
53400 ac_cpp='$CPP $CPPFLAGS'
53401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53410 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53412 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53413 for ac_func in _fpclass
53414 do :
53415 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53416 if test "x$ac_cv_func__fpclass" = x""yes; then :
53417 cat >>confdefs.h <<_ACEOF
53418 #define HAVE__FPCLASS 1
53419 _ACEOF
53422 done
53431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53432 $as_echo_n "checking for qfpclass declaration... " >&6; }
53433 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53434 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53435 $as_echo_n "(cached) " >&6
53436 else
53439 ac_ext=cpp
53440 ac_cpp='$CXXCPP $CPPFLAGS'
53441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53446 /* end confdefs.h. */
53447 #include <math.h>
53448 #ifdef HAVE_IEEEFP_H
53449 #include <ieeefp.h>
53450 #endif
53453 main ()
53455 qfpclass(0);
53457 return 0;
53459 _ACEOF
53460 if ac_fn_cxx_try_compile "$LINENO"; then :
53461 glibcxx_cv_func_qfpclass_use=yes
53462 else
53463 glibcxx_cv_func_qfpclass_use=no
53465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53466 ac_ext=c
53467 ac_cpp='$CPP $CPPFLAGS'
53468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53477 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53479 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53480 for ac_func in qfpclass
53481 do :
53482 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53483 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53484 cat >>confdefs.h <<_ACEOF
53485 #define HAVE_QFPCLASS 1
53486 _ACEOF
53489 done
53491 else
53493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53494 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53495 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53496 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53497 $as_echo_n "(cached) " >&6
53498 else
53501 ac_ext=cpp
53502 ac_cpp='$CXXCPP $CPPFLAGS'
53503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53508 /* end confdefs.h. */
53509 #include <math.h>
53510 #ifdef HAVE_IEEEFP_H
53511 #include <ieeefp.h>
53512 #endif
53515 main ()
53517 _qfpclass(0);
53519 return 0;
53521 _ACEOF
53522 if ac_fn_cxx_try_compile "$LINENO"; then :
53523 glibcxx_cv_func__qfpclass_use=yes
53524 else
53525 glibcxx_cv_func__qfpclass_use=no
53527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53528 ac_ext=c
53529 ac_cpp='$CPP $CPPFLAGS'
53530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53539 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53541 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53542 for ac_func in _qfpclass
53543 do :
53544 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53545 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53546 cat >>confdefs.h <<_ACEOF
53547 #define HAVE__QFPCLASS 1
53548 _ACEOF
53551 done
53560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53561 $as_echo_n "checking for hypot declaration... " >&6; }
53562 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53563 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53564 $as_echo_n "(cached) " >&6
53565 else
53568 ac_ext=cpp
53569 ac_cpp='$CXXCPP $CPPFLAGS'
53570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53575 /* end confdefs.h. */
53576 #include <math.h>
53578 main ()
53580 hypot(0, 0);
53582 return 0;
53584 _ACEOF
53585 if ac_fn_cxx_try_compile "$LINENO"; then :
53586 glibcxx_cv_func_hypot_use=yes
53587 else
53588 glibcxx_cv_func_hypot_use=no
53590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53591 ac_ext=c
53592 ac_cpp='$CPP $CPPFLAGS'
53593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53602 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53604 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53605 for ac_func in hypot
53606 do :
53607 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53608 if test "x$ac_cv_func_hypot" = x""yes; then :
53609 cat >>confdefs.h <<_ACEOF
53610 #define HAVE_HYPOT 1
53611 _ACEOF
53614 done
53616 else
53618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53619 $as_echo_n "checking for _hypot declaration... " >&6; }
53620 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53621 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53622 $as_echo_n "(cached) " >&6
53623 else
53626 ac_ext=cpp
53627 ac_cpp='$CXXCPP $CPPFLAGS'
53628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53633 /* end confdefs.h. */
53634 #include <math.h>
53636 main ()
53638 _hypot(0, 0);
53640 return 0;
53642 _ACEOF
53643 if ac_fn_cxx_try_compile "$LINENO"; then :
53644 glibcxx_cv_func__hypot_use=yes
53645 else
53646 glibcxx_cv_func__hypot_use=no
53648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53649 ac_ext=c
53650 ac_cpp='$CPP $CPPFLAGS'
53651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53660 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53662 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53663 for ac_func in _hypot
53664 do :
53665 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53666 if test "x$ac_cv_func__hypot" = x""yes; then :
53667 cat >>confdefs.h <<_ACEOF
53668 #define HAVE__HYPOT 1
53669 _ACEOF
53672 done
53681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53682 $as_echo_n "checking for float trig functions... " >&6; }
53683 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53684 $as_echo_n "(cached) " >&6
53685 else
53688 ac_ext=cpp
53689 ac_cpp='$CXXCPP $CPPFLAGS'
53690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53695 /* end confdefs.h. */
53696 #include <math.h>
53698 main ()
53700 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53702 return 0;
53704 _ACEOF
53705 if ac_fn_cxx_try_compile "$LINENO"; then :
53706 glibcxx_cv_func_float_trig_use=yes
53707 else
53708 glibcxx_cv_func_float_trig_use=no
53710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53711 ac_ext=c
53712 ac_cpp='$CPP $CPPFLAGS'
53713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53720 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53721 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53722 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53723 do :
53724 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53725 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53726 eval as_val=\$$as_ac_var
53727 if test "x$as_val" = x""yes; then :
53728 cat >>confdefs.h <<_ACEOF
53729 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53730 _ACEOF
53733 done
53735 else
53736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53737 $as_echo_n "checking for _float trig functions... " >&6; }
53738 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53739 $as_echo_n "(cached) " >&6
53740 else
53743 ac_ext=cpp
53744 ac_cpp='$CXXCPP $CPPFLAGS'
53745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53750 /* end confdefs.h. */
53751 #include <math.h>
53753 main ()
53755 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53757 return 0;
53759 _ACEOF
53760 if ac_fn_cxx_try_compile "$LINENO"; then :
53761 glibcxx_cv_func__float_trig_use=yes
53762 else
53763 glibcxx_cv_func__float_trig_use=no
53765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53766 ac_ext=c
53767 ac_cpp='$CPP $CPPFLAGS'
53768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53775 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53776 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53777 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53778 do :
53779 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53780 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53781 eval as_val=\$$as_ac_var
53782 if test "x$as_val" = x""yes; then :
53783 cat >>confdefs.h <<_ACEOF
53784 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53785 _ACEOF
53788 done
53797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53798 $as_echo_n "checking for float round functions... " >&6; }
53799 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53800 $as_echo_n "(cached) " >&6
53801 else
53804 ac_ext=cpp
53805 ac_cpp='$CXXCPP $CPPFLAGS'
53806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53811 /* end confdefs.h. */
53812 #include <math.h>
53814 main ()
53816 ceilf (0); floorf (0);
53818 return 0;
53820 _ACEOF
53821 if ac_fn_cxx_try_compile "$LINENO"; then :
53822 glibcxx_cv_func_float_round_use=yes
53823 else
53824 glibcxx_cv_func_float_round_use=no
53826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53827 ac_ext=c
53828 ac_cpp='$CPP $CPPFLAGS'
53829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53836 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53837 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53838 for ac_func in ceilf floorf
53839 do :
53840 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53841 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53842 eval as_val=\$$as_ac_var
53843 if test "x$as_val" = x""yes; then :
53844 cat >>confdefs.h <<_ACEOF
53845 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53846 _ACEOF
53849 done
53851 else
53852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53853 $as_echo_n "checking for _float round functions... " >&6; }
53854 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53855 $as_echo_n "(cached) " >&6
53856 else
53859 ac_ext=cpp
53860 ac_cpp='$CXXCPP $CPPFLAGS'
53861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53866 /* end confdefs.h. */
53867 #include <math.h>
53869 main ()
53871 _ceilf (0); _floorf (0);
53873 return 0;
53875 _ACEOF
53876 if ac_fn_cxx_try_compile "$LINENO"; then :
53877 glibcxx_cv_func__float_round_use=yes
53878 else
53879 glibcxx_cv_func__float_round_use=no
53881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53882 ac_ext=c
53883 ac_cpp='$CPP $CPPFLAGS'
53884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53891 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53892 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53893 for ac_func in _ceilf _floorf
53894 do :
53895 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53896 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53897 eval as_val=\$$as_ac_var
53898 if test "x$as_val" = x""yes; then :
53899 cat >>confdefs.h <<_ACEOF
53900 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53901 _ACEOF
53904 done
53914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53915 $as_echo_n "checking for expf declaration... " >&6; }
53916 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53917 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53918 $as_echo_n "(cached) " >&6
53919 else
53922 ac_ext=cpp
53923 ac_cpp='$CXXCPP $CPPFLAGS'
53924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53929 /* end confdefs.h. */
53930 #include <math.h>
53931 #ifdef HAVE_IEEEFP_H
53932 #include <ieeefp.h>
53933 #endif
53936 main ()
53938 expf(0);
53940 return 0;
53942 _ACEOF
53943 if ac_fn_cxx_try_compile "$LINENO"; then :
53944 glibcxx_cv_func_expf_use=yes
53945 else
53946 glibcxx_cv_func_expf_use=no
53948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53949 ac_ext=c
53950 ac_cpp='$CPP $CPPFLAGS'
53951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53960 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53962 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53963 for ac_func in expf
53964 do :
53965 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53966 if test "x$ac_cv_func_expf" = x""yes; then :
53967 cat >>confdefs.h <<_ACEOF
53968 #define HAVE_EXPF 1
53969 _ACEOF
53972 done
53974 else
53976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53977 $as_echo_n "checking for _expf declaration... " >&6; }
53978 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53979 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53980 $as_echo_n "(cached) " >&6
53981 else
53984 ac_ext=cpp
53985 ac_cpp='$CXXCPP $CPPFLAGS'
53986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53991 /* end confdefs.h. */
53992 #include <math.h>
53993 #ifdef HAVE_IEEEFP_H
53994 #include <ieeefp.h>
53995 #endif
53998 main ()
54000 _expf(0);
54002 return 0;
54004 _ACEOF
54005 if ac_fn_cxx_try_compile "$LINENO"; then :
54006 glibcxx_cv_func__expf_use=yes
54007 else
54008 glibcxx_cv_func__expf_use=no
54010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54011 ac_ext=c
54012 ac_cpp='$CPP $CPPFLAGS'
54013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
54022 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
54024 if test x$glibcxx_cv_func__expf_use = x"yes"; then
54025 for ac_func in _expf
54026 do :
54027 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
54028 if test "x$ac_cv_func__expf" = x""yes; then :
54029 cat >>confdefs.h <<_ACEOF
54030 #define HAVE__EXPF 1
54031 _ACEOF
54034 done
54043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
54044 $as_echo_n "checking for isnanf declaration... " >&6; }
54045 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
54046 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
54047 $as_echo_n "(cached) " >&6
54048 else
54051 ac_ext=cpp
54052 ac_cpp='$CXXCPP $CPPFLAGS'
54053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54058 /* end confdefs.h. */
54059 #include <math.h>
54060 #ifdef HAVE_IEEEFP_H
54061 #include <ieeefp.h>
54062 #endif
54065 main ()
54067 isnanf(0);
54069 return 0;
54071 _ACEOF
54072 if ac_fn_cxx_try_compile "$LINENO"; then :
54073 glibcxx_cv_func_isnanf_use=yes
54074 else
54075 glibcxx_cv_func_isnanf_use=no
54077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54078 ac_ext=c
54079 ac_cpp='$CPP $CPPFLAGS'
54080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54089 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54091 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54092 for ac_func in isnanf
54093 do :
54094 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54095 if test "x$ac_cv_func_isnanf" = x""yes; then :
54096 cat >>confdefs.h <<_ACEOF
54097 #define HAVE_ISNANF 1
54098 _ACEOF
54101 done
54103 else
54105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54106 $as_echo_n "checking for _isnanf declaration... " >&6; }
54107 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54108 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54109 $as_echo_n "(cached) " >&6
54110 else
54113 ac_ext=cpp
54114 ac_cpp='$CXXCPP $CPPFLAGS'
54115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54120 /* end confdefs.h. */
54121 #include <math.h>
54122 #ifdef HAVE_IEEEFP_H
54123 #include <ieeefp.h>
54124 #endif
54127 main ()
54129 _isnanf(0);
54131 return 0;
54133 _ACEOF
54134 if ac_fn_cxx_try_compile "$LINENO"; then :
54135 glibcxx_cv_func__isnanf_use=yes
54136 else
54137 glibcxx_cv_func__isnanf_use=no
54139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54140 ac_ext=c
54141 ac_cpp='$CPP $CPPFLAGS'
54142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54151 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54153 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54154 for ac_func in _isnanf
54155 do :
54156 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54157 if test "x$ac_cv_func__isnanf" = x""yes; then :
54158 cat >>confdefs.h <<_ACEOF
54159 #define HAVE__ISNANF 1
54160 _ACEOF
54163 done
54172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54173 $as_echo_n "checking for isinff declaration... " >&6; }
54174 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54175 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54176 $as_echo_n "(cached) " >&6
54177 else
54180 ac_ext=cpp
54181 ac_cpp='$CXXCPP $CPPFLAGS'
54182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54187 /* end confdefs.h. */
54188 #include <math.h>
54189 #ifdef HAVE_IEEEFP_H
54190 #include <ieeefp.h>
54191 #endif
54194 main ()
54196 isinff(0);
54198 return 0;
54200 _ACEOF
54201 if ac_fn_cxx_try_compile "$LINENO"; then :
54202 glibcxx_cv_func_isinff_use=yes
54203 else
54204 glibcxx_cv_func_isinff_use=no
54206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54207 ac_ext=c
54208 ac_cpp='$CPP $CPPFLAGS'
54209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54218 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54220 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54221 for ac_func in isinff
54222 do :
54223 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54224 if test "x$ac_cv_func_isinff" = x""yes; then :
54225 cat >>confdefs.h <<_ACEOF
54226 #define HAVE_ISINFF 1
54227 _ACEOF
54230 done
54232 else
54234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54235 $as_echo_n "checking for _isinff declaration... " >&6; }
54236 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54237 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54238 $as_echo_n "(cached) " >&6
54239 else
54242 ac_ext=cpp
54243 ac_cpp='$CXXCPP $CPPFLAGS'
54244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54249 /* end confdefs.h. */
54250 #include <math.h>
54251 #ifdef HAVE_IEEEFP_H
54252 #include <ieeefp.h>
54253 #endif
54256 main ()
54258 _isinff(0);
54260 return 0;
54262 _ACEOF
54263 if ac_fn_cxx_try_compile "$LINENO"; then :
54264 glibcxx_cv_func__isinff_use=yes
54265 else
54266 glibcxx_cv_func__isinff_use=no
54268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54269 ac_ext=c
54270 ac_cpp='$CPP $CPPFLAGS'
54271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54280 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54282 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54283 for ac_func in _isinff
54284 do :
54285 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54286 if test "x$ac_cv_func__isinff" = x""yes; then :
54287 cat >>confdefs.h <<_ACEOF
54288 #define HAVE__ISINFF 1
54289 _ACEOF
54292 done
54301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54302 $as_echo_n "checking for atan2f declaration... " >&6; }
54303 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54304 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54305 $as_echo_n "(cached) " >&6
54306 else
54309 ac_ext=cpp
54310 ac_cpp='$CXXCPP $CPPFLAGS'
54311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54316 /* end confdefs.h. */
54317 #include <math.h>
54319 main ()
54321 atan2f(0, 0);
54323 return 0;
54325 _ACEOF
54326 if ac_fn_cxx_try_compile "$LINENO"; then :
54327 glibcxx_cv_func_atan2f_use=yes
54328 else
54329 glibcxx_cv_func_atan2f_use=no
54331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54332 ac_ext=c
54333 ac_cpp='$CPP $CPPFLAGS'
54334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54343 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54345 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54346 for ac_func in atan2f
54347 do :
54348 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54349 if test "x$ac_cv_func_atan2f" = x""yes; then :
54350 cat >>confdefs.h <<_ACEOF
54351 #define HAVE_ATAN2F 1
54352 _ACEOF
54355 done
54357 else
54359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54360 $as_echo_n "checking for _atan2f declaration... " >&6; }
54361 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54362 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54363 $as_echo_n "(cached) " >&6
54364 else
54367 ac_ext=cpp
54368 ac_cpp='$CXXCPP $CPPFLAGS'
54369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54374 /* end confdefs.h. */
54375 #include <math.h>
54377 main ()
54379 _atan2f(0, 0);
54381 return 0;
54383 _ACEOF
54384 if ac_fn_cxx_try_compile "$LINENO"; then :
54385 glibcxx_cv_func__atan2f_use=yes
54386 else
54387 glibcxx_cv_func__atan2f_use=no
54389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54390 ac_ext=c
54391 ac_cpp='$CPP $CPPFLAGS'
54392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54401 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54403 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54404 for ac_func in _atan2f
54405 do :
54406 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54407 if test "x$ac_cv_func__atan2f" = x""yes; then :
54408 cat >>confdefs.h <<_ACEOF
54409 #define HAVE__ATAN2F 1
54410 _ACEOF
54413 done
54422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54423 $as_echo_n "checking for fabsf declaration... " >&6; }
54424 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54425 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54426 $as_echo_n "(cached) " >&6
54427 else
54430 ac_ext=cpp
54431 ac_cpp='$CXXCPP $CPPFLAGS'
54432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54437 /* end confdefs.h. */
54438 #include <math.h>
54439 #ifdef HAVE_IEEEFP_H
54440 #include <ieeefp.h>
54441 #endif
54444 main ()
54446 fabsf(0);
54448 return 0;
54450 _ACEOF
54451 if ac_fn_cxx_try_compile "$LINENO"; then :
54452 glibcxx_cv_func_fabsf_use=yes
54453 else
54454 glibcxx_cv_func_fabsf_use=no
54456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54457 ac_ext=c
54458 ac_cpp='$CPP $CPPFLAGS'
54459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54468 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54470 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54471 for ac_func in fabsf
54472 do :
54473 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54474 if test "x$ac_cv_func_fabsf" = x""yes; then :
54475 cat >>confdefs.h <<_ACEOF
54476 #define HAVE_FABSF 1
54477 _ACEOF
54480 done
54482 else
54484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54485 $as_echo_n "checking for _fabsf declaration... " >&6; }
54486 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54487 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54488 $as_echo_n "(cached) " >&6
54489 else
54492 ac_ext=cpp
54493 ac_cpp='$CXXCPP $CPPFLAGS'
54494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54499 /* end confdefs.h. */
54500 #include <math.h>
54501 #ifdef HAVE_IEEEFP_H
54502 #include <ieeefp.h>
54503 #endif
54506 main ()
54508 _fabsf(0);
54510 return 0;
54512 _ACEOF
54513 if ac_fn_cxx_try_compile "$LINENO"; then :
54514 glibcxx_cv_func__fabsf_use=yes
54515 else
54516 glibcxx_cv_func__fabsf_use=no
54518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54519 ac_ext=c
54520 ac_cpp='$CPP $CPPFLAGS'
54521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54530 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54532 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54533 for ac_func in _fabsf
54534 do :
54535 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54536 if test "x$ac_cv_func__fabsf" = x""yes; then :
54537 cat >>confdefs.h <<_ACEOF
54538 #define HAVE__FABSF 1
54539 _ACEOF
54542 done
54551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54552 $as_echo_n "checking for fmodf declaration... " >&6; }
54553 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54554 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54555 $as_echo_n "(cached) " >&6
54556 else
54559 ac_ext=cpp
54560 ac_cpp='$CXXCPP $CPPFLAGS'
54561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54566 /* end confdefs.h. */
54567 #include <math.h>
54569 main ()
54571 fmodf(0, 0);
54573 return 0;
54575 _ACEOF
54576 if ac_fn_cxx_try_compile "$LINENO"; then :
54577 glibcxx_cv_func_fmodf_use=yes
54578 else
54579 glibcxx_cv_func_fmodf_use=no
54581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54582 ac_ext=c
54583 ac_cpp='$CPP $CPPFLAGS'
54584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54593 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54595 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54596 for ac_func in fmodf
54597 do :
54598 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54599 if test "x$ac_cv_func_fmodf" = x""yes; then :
54600 cat >>confdefs.h <<_ACEOF
54601 #define HAVE_FMODF 1
54602 _ACEOF
54605 done
54607 else
54609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54610 $as_echo_n "checking for _fmodf declaration... " >&6; }
54611 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54612 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54613 $as_echo_n "(cached) " >&6
54614 else
54617 ac_ext=cpp
54618 ac_cpp='$CXXCPP $CPPFLAGS'
54619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54624 /* end confdefs.h. */
54625 #include <math.h>
54627 main ()
54629 _fmodf(0, 0);
54631 return 0;
54633 _ACEOF
54634 if ac_fn_cxx_try_compile "$LINENO"; then :
54635 glibcxx_cv_func__fmodf_use=yes
54636 else
54637 glibcxx_cv_func__fmodf_use=no
54639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54640 ac_ext=c
54641 ac_cpp='$CPP $CPPFLAGS'
54642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54651 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54653 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54654 for ac_func in _fmodf
54655 do :
54656 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54657 if test "x$ac_cv_func__fmodf" = x""yes; then :
54658 cat >>confdefs.h <<_ACEOF
54659 #define HAVE__FMODF 1
54660 _ACEOF
54663 done
54672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54673 $as_echo_n "checking for frexpf declaration... " >&6; }
54674 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54675 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54676 $as_echo_n "(cached) " >&6
54677 else
54680 ac_ext=cpp
54681 ac_cpp='$CXXCPP $CPPFLAGS'
54682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54687 /* end confdefs.h. */
54688 #include <math.h>
54690 main ()
54692 frexpf(0, 0);
54694 return 0;
54696 _ACEOF
54697 if ac_fn_cxx_try_compile "$LINENO"; then :
54698 glibcxx_cv_func_frexpf_use=yes
54699 else
54700 glibcxx_cv_func_frexpf_use=no
54702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54703 ac_ext=c
54704 ac_cpp='$CPP $CPPFLAGS'
54705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54714 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54716 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54717 for ac_func in frexpf
54718 do :
54719 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54720 if test "x$ac_cv_func_frexpf" = x""yes; then :
54721 cat >>confdefs.h <<_ACEOF
54722 #define HAVE_FREXPF 1
54723 _ACEOF
54726 done
54728 else
54730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54731 $as_echo_n "checking for _frexpf declaration... " >&6; }
54732 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54733 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54734 $as_echo_n "(cached) " >&6
54735 else
54738 ac_ext=cpp
54739 ac_cpp='$CXXCPP $CPPFLAGS'
54740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54745 /* end confdefs.h. */
54746 #include <math.h>
54748 main ()
54750 _frexpf(0, 0);
54752 return 0;
54754 _ACEOF
54755 if ac_fn_cxx_try_compile "$LINENO"; then :
54756 glibcxx_cv_func__frexpf_use=yes
54757 else
54758 glibcxx_cv_func__frexpf_use=no
54760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54761 ac_ext=c
54762 ac_cpp='$CPP $CPPFLAGS'
54763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54772 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54774 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54775 for ac_func in _frexpf
54776 do :
54777 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54778 if test "x$ac_cv_func__frexpf" = x""yes; then :
54779 cat >>confdefs.h <<_ACEOF
54780 #define HAVE__FREXPF 1
54781 _ACEOF
54784 done
54793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54794 $as_echo_n "checking for hypotf declaration... " >&6; }
54795 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54796 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54797 $as_echo_n "(cached) " >&6
54798 else
54801 ac_ext=cpp
54802 ac_cpp='$CXXCPP $CPPFLAGS'
54803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54808 /* end confdefs.h. */
54809 #include <math.h>
54811 main ()
54813 hypotf(0, 0);
54815 return 0;
54817 _ACEOF
54818 if ac_fn_cxx_try_compile "$LINENO"; then :
54819 glibcxx_cv_func_hypotf_use=yes
54820 else
54821 glibcxx_cv_func_hypotf_use=no
54823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54824 ac_ext=c
54825 ac_cpp='$CPP $CPPFLAGS'
54826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54835 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54837 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54838 for ac_func in hypotf
54839 do :
54840 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54841 if test "x$ac_cv_func_hypotf" = x""yes; then :
54842 cat >>confdefs.h <<_ACEOF
54843 #define HAVE_HYPOTF 1
54844 _ACEOF
54847 done
54849 else
54851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54852 $as_echo_n "checking for _hypotf declaration... " >&6; }
54853 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54854 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54855 $as_echo_n "(cached) " >&6
54856 else
54859 ac_ext=cpp
54860 ac_cpp='$CXXCPP $CPPFLAGS'
54861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54866 /* end confdefs.h. */
54867 #include <math.h>
54869 main ()
54871 _hypotf(0, 0);
54873 return 0;
54875 _ACEOF
54876 if ac_fn_cxx_try_compile "$LINENO"; then :
54877 glibcxx_cv_func__hypotf_use=yes
54878 else
54879 glibcxx_cv_func__hypotf_use=no
54881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54882 ac_ext=c
54883 ac_cpp='$CPP $CPPFLAGS'
54884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54893 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54895 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54896 for ac_func in _hypotf
54897 do :
54898 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54899 if test "x$ac_cv_func__hypotf" = x""yes; then :
54900 cat >>confdefs.h <<_ACEOF
54901 #define HAVE__HYPOTF 1
54902 _ACEOF
54905 done
54914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54915 $as_echo_n "checking for ldexpf declaration... " >&6; }
54916 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54917 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54918 $as_echo_n "(cached) " >&6
54919 else
54922 ac_ext=cpp
54923 ac_cpp='$CXXCPP $CPPFLAGS'
54924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54929 /* end confdefs.h. */
54930 #include <math.h>
54932 main ()
54934 ldexpf(0, 0);
54936 return 0;
54938 _ACEOF
54939 if ac_fn_cxx_try_compile "$LINENO"; then :
54940 glibcxx_cv_func_ldexpf_use=yes
54941 else
54942 glibcxx_cv_func_ldexpf_use=no
54944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54945 ac_ext=c
54946 ac_cpp='$CPP $CPPFLAGS'
54947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54956 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54958 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54959 for ac_func in ldexpf
54960 do :
54961 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54962 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54963 cat >>confdefs.h <<_ACEOF
54964 #define HAVE_LDEXPF 1
54965 _ACEOF
54968 done
54970 else
54972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54973 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54974 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54975 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54976 $as_echo_n "(cached) " >&6
54977 else
54980 ac_ext=cpp
54981 ac_cpp='$CXXCPP $CPPFLAGS'
54982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54987 /* end confdefs.h. */
54988 #include <math.h>
54990 main ()
54992 _ldexpf(0, 0);
54994 return 0;
54996 _ACEOF
54997 if ac_fn_cxx_try_compile "$LINENO"; then :
54998 glibcxx_cv_func__ldexpf_use=yes
54999 else
55000 glibcxx_cv_func__ldexpf_use=no
55002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55003 ac_ext=c
55004 ac_cpp='$CPP $CPPFLAGS'
55005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
55014 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
55016 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
55017 for ac_func in _ldexpf
55018 do :
55019 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
55020 if test "x$ac_cv_func__ldexpf" = x""yes; then :
55021 cat >>confdefs.h <<_ACEOF
55022 #define HAVE__LDEXPF 1
55023 _ACEOF
55026 done
55035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
55036 $as_echo_n "checking for logf declaration... " >&6; }
55037 if test x${glibcxx_cv_func_logf_use+set} != xset; then
55038 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
55039 $as_echo_n "(cached) " >&6
55040 else
55043 ac_ext=cpp
55044 ac_cpp='$CXXCPP $CPPFLAGS'
55045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55050 /* end confdefs.h. */
55051 #include <math.h>
55052 #ifdef HAVE_IEEEFP_H
55053 #include <ieeefp.h>
55054 #endif
55057 main ()
55059 logf(0);
55061 return 0;
55063 _ACEOF
55064 if ac_fn_cxx_try_compile "$LINENO"; then :
55065 glibcxx_cv_func_logf_use=yes
55066 else
55067 glibcxx_cv_func_logf_use=no
55069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55070 ac_ext=c
55071 ac_cpp='$CPP $CPPFLAGS'
55072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55081 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55083 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55084 for ac_func in logf
55085 do :
55086 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55087 if test "x$ac_cv_func_logf" = x""yes; then :
55088 cat >>confdefs.h <<_ACEOF
55089 #define HAVE_LOGF 1
55090 _ACEOF
55093 done
55095 else
55097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55098 $as_echo_n "checking for _logf declaration... " >&6; }
55099 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55100 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55101 $as_echo_n "(cached) " >&6
55102 else
55105 ac_ext=cpp
55106 ac_cpp='$CXXCPP $CPPFLAGS'
55107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55112 /* end confdefs.h. */
55113 #include <math.h>
55114 #ifdef HAVE_IEEEFP_H
55115 #include <ieeefp.h>
55116 #endif
55119 main ()
55121 _logf(0);
55123 return 0;
55125 _ACEOF
55126 if ac_fn_cxx_try_compile "$LINENO"; then :
55127 glibcxx_cv_func__logf_use=yes
55128 else
55129 glibcxx_cv_func__logf_use=no
55131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55132 ac_ext=c
55133 ac_cpp='$CPP $CPPFLAGS'
55134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55143 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55145 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55146 for ac_func in _logf
55147 do :
55148 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55149 if test "x$ac_cv_func__logf" = x""yes; then :
55150 cat >>confdefs.h <<_ACEOF
55151 #define HAVE__LOGF 1
55152 _ACEOF
55155 done
55164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55165 $as_echo_n "checking for log10f declaration... " >&6; }
55166 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55167 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55168 $as_echo_n "(cached) " >&6
55169 else
55172 ac_ext=cpp
55173 ac_cpp='$CXXCPP $CPPFLAGS'
55174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55179 /* end confdefs.h. */
55180 #include <math.h>
55181 #ifdef HAVE_IEEEFP_H
55182 #include <ieeefp.h>
55183 #endif
55186 main ()
55188 log10f(0);
55190 return 0;
55192 _ACEOF
55193 if ac_fn_cxx_try_compile "$LINENO"; then :
55194 glibcxx_cv_func_log10f_use=yes
55195 else
55196 glibcxx_cv_func_log10f_use=no
55198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55199 ac_ext=c
55200 ac_cpp='$CPP $CPPFLAGS'
55201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55210 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55212 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55213 for ac_func in log10f
55214 do :
55215 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55216 if test "x$ac_cv_func_log10f" = x""yes; then :
55217 cat >>confdefs.h <<_ACEOF
55218 #define HAVE_LOG10F 1
55219 _ACEOF
55222 done
55224 else
55226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55227 $as_echo_n "checking for _log10f declaration... " >&6; }
55228 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55229 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55230 $as_echo_n "(cached) " >&6
55231 else
55234 ac_ext=cpp
55235 ac_cpp='$CXXCPP $CPPFLAGS'
55236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55241 /* end confdefs.h. */
55242 #include <math.h>
55243 #ifdef HAVE_IEEEFP_H
55244 #include <ieeefp.h>
55245 #endif
55248 main ()
55250 _log10f(0);
55252 return 0;
55254 _ACEOF
55255 if ac_fn_cxx_try_compile "$LINENO"; then :
55256 glibcxx_cv_func__log10f_use=yes
55257 else
55258 glibcxx_cv_func__log10f_use=no
55260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55261 ac_ext=c
55262 ac_cpp='$CPP $CPPFLAGS'
55263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55272 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55274 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55275 for ac_func in _log10f
55276 do :
55277 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55278 if test "x$ac_cv_func__log10f" = x""yes; then :
55279 cat >>confdefs.h <<_ACEOF
55280 #define HAVE__LOG10F 1
55281 _ACEOF
55284 done
55293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55294 $as_echo_n "checking for modff declaration... " >&6; }
55295 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55296 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55297 $as_echo_n "(cached) " >&6
55298 else
55301 ac_ext=cpp
55302 ac_cpp='$CXXCPP $CPPFLAGS'
55303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55308 /* end confdefs.h. */
55309 #include <math.h>
55311 main ()
55313 modff(0, 0);
55315 return 0;
55317 _ACEOF
55318 if ac_fn_cxx_try_compile "$LINENO"; then :
55319 glibcxx_cv_func_modff_use=yes
55320 else
55321 glibcxx_cv_func_modff_use=no
55323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55324 ac_ext=c
55325 ac_cpp='$CPP $CPPFLAGS'
55326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55335 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55337 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55338 for ac_func in modff
55339 do :
55340 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55341 if test "x$ac_cv_func_modff" = x""yes; then :
55342 cat >>confdefs.h <<_ACEOF
55343 #define HAVE_MODFF 1
55344 _ACEOF
55347 done
55349 else
55351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55352 $as_echo_n "checking for _modff declaration... " >&6; }
55353 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55354 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55355 $as_echo_n "(cached) " >&6
55356 else
55359 ac_ext=cpp
55360 ac_cpp='$CXXCPP $CPPFLAGS'
55361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55366 /* end confdefs.h. */
55367 #include <math.h>
55369 main ()
55371 _modff(0, 0);
55373 return 0;
55375 _ACEOF
55376 if ac_fn_cxx_try_compile "$LINENO"; then :
55377 glibcxx_cv_func__modff_use=yes
55378 else
55379 glibcxx_cv_func__modff_use=no
55381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55382 ac_ext=c
55383 ac_cpp='$CPP $CPPFLAGS'
55384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55393 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55395 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55396 for ac_func in _modff
55397 do :
55398 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55399 if test "x$ac_cv_func__modff" = x""yes; then :
55400 cat >>confdefs.h <<_ACEOF
55401 #define HAVE__MODFF 1
55402 _ACEOF
55405 done
55414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55415 $as_echo_n "checking for modf declaration... " >&6; }
55416 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55417 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55418 $as_echo_n "(cached) " >&6
55419 else
55422 ac_ext=cpp
55423 ac_cpp='$CXXCPP $CPPFLAGS'
55424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55429 /* end confdefs.h. */
55430 #include <math.h>
55432 main ()
55434 modf(0, 0);
55436 return 0;
55438 _ACEOF
55439 if ac_fn_cxx_try_compile "$LINENO"; then :
55440 glibcxx_cv_func_modf_use=yes
55441 else
55442 glibcxx_cv_func_modf_use=no
55444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55445 ac_ext=c
55446 ac_cpp='$CPP $CPPFLAGS'
55447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55456 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55458 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55459 for ac_func in modf
55460 do :
55461 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55462 if test "x$ac_cv_func_modf" = x""yes; then :
55463 cat >>confdefs.h <<_ACEOF
55464 #define HAVE_MODF 1
55465 _ACEOF
55468 done
55470 else
55472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55473 $as_echo_n "checking for _modf declaration... " >&6; }
55474 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55475 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55476 $as_echo_n "(cached) " >&6
55477 else
55480 ac_ext=cpp
55481 ac_cpp='$CXXCPP $CPPFLAGS'
55482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55487 /* end confdefs.h. */
55488 #include <math.h>
55490 main ()
55492 _modf(0, 0);
55494 return 0;
55496 _ACEOF
55497 if ac_fn_cxx_try_compile "$LINENO"; then :
55498 glibcxx_cv_func__modf_use=yes
55499 else
55500 glibcxx_cv_func__modf_use=no
55502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55503 ac_ext=c
55504 ac_cpp='$CPP $CPPFLAGS'
55505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55514 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55516 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55517 for ac_func in _modf
55518 do :
55519 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55520 if test "x$ac_cv_func__modf" = x""yes; then :
55521 cat >>confdefs.h <<_ACEOF
55522 #define HAVE__MODF 1
55523 _ACEOF
55526 done
55535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55536 $as_echo_n "checking for powf declaration... " >&6; }
55537 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55538 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55539 $as_echo_n "(cached) " >&6
55540 else
55543 ac_ext=cpp
55544 ac_cpp='$CXXCPP $CPPFLAGS'
55545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55550 /* end confdefs.h. */
55551 #include <math.h>
55553 main ()
55555 powf(0, 0);
55557 return 0;
55559 _ACEOF
55560 if ac_fn_cxx_try_compile "$LINENO"; then :
55561 glibcxx_cv_func_powf_use=yes
55562 else
55563 glibcxx_cv_func_powf_use=no
55565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55566 ac_ext=c
55567 ac_cpp='$CPP $CPPFLAGS'
55568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55577 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55579 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55580 for ac_func in powf
55581 do :
55582 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55583 if test "x$ac_cv_func_powf" = x""yes; then :
55584 cat >>confdefs.h <<_ACEOF
55585 #define HAVE_POWF 1
55586 _ACEOF
55589 done
55591 else
55593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55594 $as_echo_n "checking for _powf declaration... " >&6; }
55595 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55596 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55597 $as_echo_n "(cached) " >&6
55598 else
55601 ac_ext=cpp
55602 ac_cpp='$CXXCPP $CPPFLAGS'
55603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55608 /* end confdefs.h. */
55609 #include <math.h>
55611 main ()
55613 _powf(0, 0);
55615 return 0;
55617 _ACEOF
55618 if ac_fn_cxx_try_compile "$LINENO"; then :
55619 glibcxx_cv_func__powf_use=yes
55620 else
55621 glibcxx_cv_func__powf_use=no
55623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55624 ac_ext=c
55625 ac_cpp='$CPP $CPPFLAGS'
55626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55635 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55637 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55638 for ac_func in _powf
55639 do :
55640 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55641 if test "x$ac_cv_func__powf" = x""yes; then :
55642 cat >>confdefs.h <<_ACEOF
55643 #define HAVE__POWF 1
55644 _ACEOF
55647 done
55656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55657 $as_echo_n "checking for sqrtf declaration... " >&6; }
55658 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55659 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55660 $as_echo_n "(cached) " >&6
55661 else
55664 ac_ext=cpp
55665 ac_cpp='$CXXCPP $CPPFLAGS'
55666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55671 /* end confdefs.h. */
55672 #include <math.h>
55673 #ifdef HAVE_IEEEFP_H
55674 #include <ieeefp.h>
55675 #endif
55678 main ()
55680 sqrtf(0);
55682 return 0;
55684 _ACEOF
55685 if ac_fn_cxx_try_compile "$LINENO"; then :
55686 glibcxx_cv_func_sqrtf_use=yes
55687 else
55688 glibcxx_cv_func_sqrtf_use=no
55690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55691 ac_ext=c
55692 ac_cpp='$CPP $CPPFLAGS'
55693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55702 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55704 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55705 for ac_func in sqrtf
55706 do :
55707 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55708 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55709 cat >>confdefs.h <<_ACEOF
55710 #define HAVE_SQRTF 1
55711 _ACEOF
55714 done
55716 else
55718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55719 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55720 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55721 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55722 $as_echo_n "(cached) " >&6
55723 else
55726 ac_ext=cpp
55727 ac_cpp='$CXXCPP $CPPFLAGS'
55728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55733 /* end confdefs.h. */
55734 #include <math.h>
55735 #ifdef HAVE_IEEEFP_H
55736 #include <ieeefp.h>
55737 #endif
55740 main ()
55742 _sqrtf(0);
55744 return 0;
55746 _ACEOF
55747 if ac_fn_cxx_try_compile "$LINENO"; then :
55748 glibcxx_cv_func__sqrtf_use=yes
55749 else
55750 glibcxx_cv_func__sqrtf_use=no
55752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55753 ac_ext=c
55754 ac_cpp='$CPP $CPPFLAGS'
55755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55764 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55766 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55767 for ac_func in _sqrtf
55768 do :
55769 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55770 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55771 cat >>confdefs.h <<_ACEOF
55772 #define HAVE__SQRTF 1
55773 _ACEOF
55776 done
55785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55786 $as_echo_n "checking for sincosf declaration... " >&6; }
55787 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55788 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55789 $as_echo_n "(cached) " >&6
55790 else
55793 ac_ext=cpp
55794 ac_cpp='$CXXCPP $CPPFLAGS'
55795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55800 /* end confdefs.h. */
55801 #include <math.h>
55803 main ()
55805 sincosf(0, 0, 0);
55807 return 0;
55809 _ACEOF
55810 if ac_fn_cxx_try_compile "$LINENO"; then :
55811 glibcxx_cv_func_sincosf_use=yes
55812 else
55813 glibcxx_cv_func_sincosf_use=no
55815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55816 ac_ext=c
55817 ac_cpp='$CPP $CPPFLAGS'
55818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55827 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55829 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55830 for ac_func in sincosf
55831 do :
55832 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55833 if test "x$ac_cv_func_sincosf" = x""yes; then :
55834 cat >>confdefs.h <<_ACEOF
55835 #define HAVE_SINCOSF 1
55836 _ACEOF
55839 done
55841 else
55843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55844 $as_echo_n "checking for _sincosf declaration... " >&6; }
55845 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55846 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55847 $as_echo_n "(cached) " >&6
55848 else
55851 ac_ext=cpp
55852 ac_cpp='$CXXCPP $CPPFLAGS'
55853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55858 /* end confdefs.h. */
55859 #include <math.h>
55861 main ()
55863 _sincosf(0, 0, 0);
55865 return 0;
55867 _ACEOF
55868 if ac_fn_cxx_try_compile "$LINENO"; then :
55869 glibcxx_cv_func__sincosf_use=yes
55870 else
55871 glibcxx_cv_func__sincosf_use=no
55873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55874 ac_ext=c
55875 ac_cpp='$CPP $CPPFLAGS'
55876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55885 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55887 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55888 for ac_func in _sincosf
55889 do :
55890 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55891 if test "x$ac_cv_func__sincosf" = x""yes; then :
55892 cat >>confdefs.h <<_ACEOF
55893 #define HAVE__SINCOSF 1
55894 _ACEOF
55897 done
55906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55907 $as_echo_n "checking for finitef declaration... " >&6; }
55908 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55909 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55910 $as_echo_n "(cached) " >&6
55911 else
55914 ac_ext=cpp
55915 ac_cpp='$CXXCPP $CPPFLAGS'
55916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55921 /* end confdefs.h. */
55922 #include <math.h>
55923 #ifdef HAVE_IEEEFP_H
55924 #include <ieeefp.h>
55925 #endif
55928 main ()
55930 finitef(0);
55932 return 0;
55934 _ACEOF
55935 if ac_fn_cxx_try_compile "$LINENO"; then :
55936 glibcxx_cv_func_finitef_use=yes
55937 else
55938 glibcxx_cv_func_finitef_use=no
55940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55941 ac_ext=c
55942 ac_cpp='$CPP $CPPFLAGS'
55943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55952 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55954 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55955 for ac_func in finitef
55956 do :
55957 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55958 if test "x$ac_cv_func_finitef" = x""yes; then :
55959 cat >>confdefs.h <<_ACEOF
55960 #define HAVE_FINITEF 1
55961 _ACEOF
55964 done
55966 else
55968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55969 $as_echo_n "checking for _finitef declaration... " >&6; }
55970 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55971 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55972 $as_echo_n "(cached) " >&6
55973 else
55976 ac_ext=cpp
55977 ac_cpp='$CXXCPP $CPPFLAGS'
55978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55983 /* end confdefs.h. */
55984 #include <math.h>
55985 #ifdef HAVE_IEEEFP_H
55986 #include <ieeefp.h>
55987 #endif
55990 main ()
55992 _finitef(0);
55994 return 0;
55996 _ACEOF
55997 if ac_fn_cxx_try_compile "$LINENO"; then :
55998 glibcxx_cv_func__finitef_use=yes
55999 else
56000 glibcxx_cv_func__finitef_use=no
56002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56003 ac_ext=c
56004 ac_cpp='$CPP $CPPFLAGS'
56005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
56014 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
56016 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
56017 for ac_func in _finitef
56018 do :
56019 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
56020 if test "x$ac_cv_func__finitef" = x""yes; then :
56021 cat >>confdefs.h <<_ACEOF
56022 #define HAVE__FINITEF 1
56023 _ACEOF
56026 done
56035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
56036 $as_echo_n "checking for long double trig functions... " >&6; }
56037 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
56038 $as_echo_n "(cached) " >&6
56039 else
56042 ac_ext=cpp
56043 ac_cpp='$CXXCPP $CPPFLAGS'
56044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56049 /* end confdefs.h. */
56050 #include <math.h>
56052 main ()
56054 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56056 return 0;
56058 _ACEOF
56059 if ac_fn_cxx_try_compile "$LINENO"; then :
56060 glibcxx_cv_func_long_double_trig_use=yes
56061 else
56062 glibcxx_cv_func_long_double_trig_use=no
56064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56065 ac_ext=c
56066 ac_cpp='$CPP $CPPFLAGS'
56067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56074 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56075 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56076 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56077 do :
56078 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56079 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56080 eval as_val=\$$as_ac_var
56081 if test "x$as_val" = x""yes; then :
56082 cat >>confdefs.h <<_ACEOF
56083 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56084 _ACEOF
56087 done
56089 else
56090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56091 $as_echo_n "checking for _long double trig functions... " >&6; }
56092 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56093 $as_echo_n "(cached) " >&6
56094 else
56097 ac_ext=cpp
56098 ac_cpp='$CXXCPP $CPPFLAGS'
56099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56104 /* end confdefs.h. */
56105 #include <math.h>
56107 main ()
56109 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56111 return 0;
56113 _ACEOF
56114 if ac_fn_cxx_try_compile "$LINENO"; then :
56115 glibcxx_cv_func__long_double_trig_use=yes
56116 else
56117 glibcxx_cv_func__long_double_trig_use=no
56119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56120 ac_ext=c
56121 ac_cpp='$CPP $CPPFLAGS'
56122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56129 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56130 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56131 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56132 do :
56133 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56134 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56135 eval as_val=\$$as_ac_var
56136 if test "x$as_val" = x""yes; then :
56137 cat >>confdefs.h <<_ACEOF
56138 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56139 _ACEOF
56142 done
56151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56152 $as_echo_n "checking for long double round functions... " >&6; }
56153 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56154 $as_echo_n "(cached) " >&6
56155 else
56158 ac_ext=cpp
56159 ac_cpp='$CXXCPP $CPPFLAGS'
56160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56165 /* end confdefs.h. */
56166 #include <math.h>
56168 main ()
56170 ceill (0); floorl (0);
56172 return 0;
56174 _ACEOF
56175 if ac_fn_cxx_try_compile "$LINENO"; then :
56176 glibcxx_cv_func_long_double_round_use=yes
56177 else
56178 glibcxx_cv_func_long_double_round_use=no
56180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56181 ac_ext=c
56182 ac_cpp='$CPP $CPPFLAGS'
56183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56190 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56191 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56192 for ac_func in ceill floorl
56193 do :
56194 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56195 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56196 eval as_val=\$$as_ac_var
56197 if test "x$as_val" = x""yes; then :
56198 cat >>confdefs.h <<_ACEOF
56199 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56200 _ACEOF
56203 done
56205 else
56206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56207 $as_echo_n "checking for _long double round functions... " >&6; }
56208 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56209 $as_echo_n "(cached) " >&6
56210 else
56213 ac_ext=cpp
56214 ac_cpp='$CXXCPP $CPPFLAGS'
56215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56220 /* end confdefs.h. */
56221 #include <math.h>
56223 main ()
56225 _ceill (0); _floorl (0);
56227 return 0;
56229 _ACEOF
56230 if ac_fn_cxx_try_compile "$LINENO"; then :
56231 glibcxx_cv_func__long_double_round_use=yes
56232 else
56233 glibcxx_cv_func__long_double_round_use=no
56235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56236 ac_ext=c
56237 ac_cpp='$CPP $CPPFLAGS'
56238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56245 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56246 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56247 for ac_func in _ceill _floorl
56248 do :
56249 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56250 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56251 eval as_val=\$$as_ac_var
56252 if test "x$as_val" = x""yes; then :
56253 cat >>confdefs.h <<_ACEOF
56254 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56255 _ACEOF
56258 done
56268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56269 $as_echo_n "checking for isnanl declaration... " >&6; }
56270 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56271 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56272 $as_echo_n "(cached) " >&6
56273 else
56276 ac_ext=cpp
56277 ac_cpp='$CXXCPP $CPPFLAGS'
56278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56283 /* end confdefs.h. */
56284 #include <math.h>
56285 #ifdef HAVE_IEEEFP_H
56286 #include <ieeefp.h>
56287 #endif
56290 main ()
56292 isnanl(0);
56294 return 0;
56296 _ACEOF
56297 if ac_fn_cxx_try_compile "$LINENO"; then :
56298 glibcxx_cv_func_isnanl_use=yes
56299 else
56300 glibcxx_cv_func_isnanl_use=no
56302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56303 ac_ext=c
56304 ac_cpp='$CPP $CPPFLAGS'
56305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56314 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56316 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56317 for ac_func in isnanl
56318 do :
56319 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56320 if test "x$ac_cv_func_isnanl" = x""yes; then :
56321 cat >>confdefs.h <<_ACEOF
56322 #define HAVE_ISNANL 1
56323 _ACEOF
56326 done
56328 else
56330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56331 $as_echo_n "checking for _isnanl declaration... " >&6; }
56332 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56333 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56334 $as_echo_n "(cached) " >&6
56335 else
56338 ac_ext=cpp
56339 ac_cpp='$CXXCPP $CPPFLAGS'
56340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56345 /* end confdefs.h. */
56346 #include <math.h>
56347 #ifdef HAVE_IEEEFP_H
56348 #include <ieeefp.h>
56349 #endif
56352 main ()
56354 _isnanl(0);
56356 return 0;
56358 _ACEOF
56359 if ac_fn_cxx_try_compile "$LINENO"; then :
56360 glibcxx_cv_func__isnanl_use=yes
56361 else
56362 glibcxx_cv_func__isnanl_use=no
56364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56365 ac_ext=c
56366 ac_cpp='$CPP $CPPFLAGS'
56367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56376 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56378 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56379 for ac_func in _isnanl
56380 do :
56381 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56382 if test "x$ac_cv_func__isnanl" = x""yes; then :
56383 cat >>confdefs.h <<_ACEOF
56384 #define HAVE__ISNANL 1
56385 _ACEOF
56388 done
56397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56398 $as_echo_n "checking for isinfl declaration... " >&6; }
56399 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56400 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56401 $as_echo_n "(cached) " >&6
56402 else
56405 ac_ext=cpp
56406 ac_cpp='$CXXCPP $CPPFLAGS'
56407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56412 /* end confdefs.h. */
56413 #include <math.h>
56414 #ifdef HAVE_IEEEFP_H
56415 #include <ieeefp.h>
56416 #endif
56419 main ()
56421 isinfl(0);
56423 return 0;
56425 _ACEOF
56426 if ac_fn_cxx_try_compile "$LINENO"; then :
56427 glibcxx_cv_func_isinfl_use=yes
56428 else
56429 glibcxx_cv_func_isinfl_use=no
56431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56432 ac_ext=c
56433 ac_cpp='$CPP $CPPFLAGS'
56434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56443 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56445 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56446 for ac_func in isinfl
56447 do :
56448 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56449 if test "x$ac_cv_func_isinfl" = x""yes; then :
56450 cat >>confdefs.h <<_ACEOF
56451 #define HAVE_ISINFL 1
56452 _ACEOF
56455 done
56457 else
56459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56460 $as_echo_n "checking for _isinfl declaration... " >&6; }
56461 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56462 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56463 $as_echo_n "(cached) " >&6
56464 else
56467 ac_ext=cpp
56468 ac_cpp='$CXXCPP $CPPFLAGS'
56469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56474 /* end confdefs.h. */
56475 #include <math.h>
56476 #ifdef HAVE_IEEEFP_H
56477 #include <ieeefp.h>
56478 #endif
56481 main ()
56483 _isinfl(0);
56485 return 0;
56487 _ACEOF
56488 if ac_fn_cxx_try_compile "$LINENO"; then :
56489 glibcxx_cv_func__isinfl_use=yes
56490 else
56491 glibcxx_cv_func__isinfl_use=no
56493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56494 ac_ext=c
56495 ac_cpp='$CPP $CPPFLAGS'
56496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56505 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56507 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56508 for ac_func in _isinfl
56509 do :
56510 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56511 if test "x$ac_cv_func__isinfl" = x""yes; then :
56512 cat >>confdefs.h <<_ACEOF
56513 #define HAVE__ISINFL 1
56514 _ACEOF
56517 done
56526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56527 $as_echo_n "checking for atan2l declaration... " >&6; }
56528 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56529 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56530 $as_echo_n "(cached) " >&6
56531 else
56534 ac_ext=cpp
56535 ac_cpp='$CXXCPP $CPPFLAGS'
56536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56541 /* end confdefs.h. */
56542 #include <math.h>
56544 main ()
56546 atan2l(0, 0);
56548 return 0;
56550 _ACEOF
56551 if ac_fn_cxx_try_compile "$LINENO"; then :
56552 glibcxx_cv_func_atan2l_use=yes
56553 else
56554 glibcxx_cv_func_atan2l_use=no
56556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56557 ac_ext=c
56558 ac_cpp='$CPP $CPPFLAGS'
56559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56568 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56570 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56571 for ac_func in atan2l
56572 do :
56573 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56574 if test "x$ac_cv_func_atan2l" = x""yes; then :
56575 cat >>confdefs.h <<_ACEOF
56576 #define HAVE_ATAN2L 1
56577 _ACEOF
56580 done
56582 else
56584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56585 $as_echo_n "checking for _atan2l declaration... " >&6; }
56586 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56587 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56588 $as_echo_n "(cached) " >&6
56589 else
56592 ac_ext=cpp
56593 ac_cpp='$CXXCPP $CPPFLAGS'
56594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56599 /* end confdefs.h. */
56600 #include <math.h>
56602 main ()
56604 _atan2l(0, 0);
56606 return 0;
56608 _ACEOF
56609 if ac_fn_cxx_try_compile "$LINENO"; then :
56610 glibcxx_cv_func__atan2l_use=yes
56611 else
56612 glibcxx_cv_func__atan2l_use=no
56614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56615 ac_ext=c
56616 ac_cpp='$CPP $CPPFLAGS'
56617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56626 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56628 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56629 for ac_func in _atan2l
56630 do :
56631 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56632 if test "x$ac_cv_func__atan2l" = x""yes; then :
56633 cat >>confdefs.h <<_ACEOF
56634 #define HAVE__ATAN2L 1
56635 _ACEOF
56638 done
56647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56648 $as_echo_n "checking for expl declaration... " >&6; }
56649 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56650 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56651 $as_echo_n "(cached) " >&6
56652 else
56655 ac_ext=cpp
56656 ac_cpp='$CXXCPP $CPPFLAGS'
56657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56662 /* end confdefs.h. */
56663 #include <math.h>
56664 #ifdef HAVE_IEEEFP_H
56665 #include <ieeefp.h>
56666 #endif
56669 main ()
56671 expl(0);
56673 return 0;
56675 _ACEOF
56676 if ac_fn_cxx_try_compile "$LINENO"; then :
56677 glibcxx_cv_func_expl_use=yes
56678 else
56679 glibcxx_cv_func_expl_use=no
56681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56682 ac_ext=c
56683 ac_cpp='$CPP $CPPFLAGS'
56684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56693 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56695 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56696 for ac_func in expl
56697 do :
56698 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56699 if test "x$ac_cv_func_expl" = x""yes; then :
56700 cat >>confdefs.h <<_ACEOF
56701 #define HAVE_EXPL 1
56702 _ACEOF
56705 done
56707 else
56709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56710 $as_echo_n "checking for _expl declaration... " >&6; }
56711 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56712 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56713 $as_echo_n "(cached) " >&6
56714 else
56717 ac_ext=cpp
56718 ac_cpp='$CXXCPP $CPPFLAGS'
56719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56724 /* end confdefs.h. */
56725 #include <math.h>
56726 #ifdef HAVE_IEEEFP_H
56727 #include <ieeefp.h>
56728 #endif
56731 main ()
56733 _expl(0);
56735 return 0;
56737 _ACEOF
56738 if ac_fn_cxx_try_compile "$LINENO"; then :
56739 glibcxx_cv_func__expl_use=yes
56740 else
56741 glibcxx_cv_func__expl_use=no
56743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56744 ac_ext=c
56745 ac_cpp='$CPP $CPPFLAGS'
56746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56755 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56757 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56758 for ac_func in _expl
56759 do :
56760 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56761 if test "x$ac_cv_func__expl" = x""yes; then :
56762 cat >>confdefs.h <<_ACEOF
56763 #define HAVE__EXPL 1
56764 _ACEOF
56767 done
56776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56777 $as_echo_n "checking for fabsl declaration... " >&6; }
56778 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56779 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56780 $as_echo_n "(cached) " >&6
56781 else
56784 ac_ext=cpp
56785 ac_cpp='$CXXCPP $CPPFLAGS'
56786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56791 /* end confdefs.h. */
56792 #include <math.h>
56793 #ifdef HAVE_IEEEFP_H
56794 #include <ieeefp.h>
56795 #endif
56798 main ()
56800 fabsl(0);
56802 return 0;
56804 _ACEOF
56805 if ac_fn_cxx_try_compile "$LINENO"; then :
56806 glibcxx_cv_func_fabsl_use=yes
56807 else
56808 glibcxx_cv_func_fabsl_use=no
56810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56811 ac_ext=c
56812 ac_cpp='$CPP $CPPFLAGS'
56813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56822 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56824 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56825 for ac_func in fabsl
56826 do :
56827 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56828 if test "x$ac_cv_func_fabsl" = x""yes; then :
56829 cat >>confdefs.h <<_ACEOF
56830 #define HAVE_FABSL 1
56831 _ACEOF
56834 done
56836 else
56838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56839 $as_echo_n "checking for _fabsl declaration... " >&6; }
56840 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56841 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56842 $as_echo_n "(cached) " >&6
56843 else
56846 ac_ext=cpp
56847 ac_cpp='$CXXCPP $CPPFLAGS'
56848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56853 /* end confdefs.h. */
56854 #include <math.h>
56855 #ifdef HAVE_IEEEFP_H
56856 #include <ieeefp.h>
56857 #endif
56860 main ()
56862 _fabsl(0);
56864 return 0;
56866 _ACEOF
56867 if ac_fn_cxx_try_compile "$LINENO"; then :
56868 glibcxx_cv_func__fabsl_use=yes
56869 else
56870 glibcxx_cv_func__fabsl_use=no
56872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56873 ac_ext=c
56874 ac_cpp='$CPP $CPPFLAGS'
56875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56884 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56886 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56887 for ac_func in _fabsl
56888 do :
56889 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56890 if test "x$ac_cv_func__fabsl" = x""yes; then :
56891 cat >>confdefs.h <<_ACEOF
56892 #define HAVE__FABSL 1
56893 _ACEOF
56896 done
56905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56906 $as_echo_n "checking for fmodl declaration... " >&6; }
56907 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56908 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56909 $as_echo_n "(cached) " >&6
56910 else
56913 ac_ext=cpp
56914 ac_cpp='$CXXCPP $CPPFLAGS'
56915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56920 /* end confdefs.h. */
56921 #include <math.h>
56923 main ()
56925 fmodl(0, 0);
56927 return 0;
56929 _ACEOF
56930 if ac_fn_cxx_try_compile "$LINENO"; then :
56931 glibcxx_cv_func_fmodl_use=yes
56932 else
56933 glibcxx_cv_func_fmodl_use=no
56935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56936 ac_ext=c
56937 ac_cpp='$CPP $CPPFLAGS'
56938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56947 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56949 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56950 for ac_func in fmodl
56951 do :
56952 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56953 if test "x$ac_cv_func_fmodl" = x""yes; then :
56954 cat >>confdefs.h <<_ACEOF
56955 #define HAVE_FMODL 1
56956 _ACEOF
56959 done
56961 else
56963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56964 $as_echo_n "checking for _fmodl declaration... " >&6; }
56965 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56966 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56967 $as_echo_n "(cached) " >&6
56968 else
56971 ac_ext=cpp
56972 ac_cpp='$CXXCPP $CPPFLAGS'
56973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56978 /* end confdefs.h. */
56979 #include <math.h>
56981 main ()
56983 _fmodl(0, 0);
56985 return 0;
56987 _ACEOF
56988 if ac_fn_cxx_try_compile "$LINENO"; then :
56989 glibcxx_cv_func__fmodl_use=yes
56990 else
56991 glibcxx_cv_func__fmodl_use=no
56993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56994 ac_ext=c
56995 ac_cpp='$CPP $CPPFLAGS'
56996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
57005 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
57007 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
57008 for ac_func in _fmodl
57009 do :
57010 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
57011 if test "x$ac_cv_func__fmodl" = x""yes; then :
57012 cat >>confdefs.h <<_ACEOF
57013 #define HAVE__FMODL 1
57014 _ACEOF
57017 done
57026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
57027 $as_echo_n "checking for frexpl declaration... " >&6; }
57028 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57029 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
57030 $as_echo_n "(cached) " >&6
57031 else
57034 ac_ext=cpp
57035 ac_cpp='$CXXCPP $CPPFLAGS'
57036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57041 /* end confdefs.h. */
57042 #include <math.h>
57044 main ()
57046 frexpl(0, 0);
57048 return 0;
57050 _ACEOF
57051 if ac_fn_cxx_try_compile "$LINENO"; then :
57052 glibcxx_cv_func_frexpl_use=yes
57053 else
57054 glibcxx_cv_func_frexpl_use=no
57056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57057 ac_ext=c
57058 ac_cpp='$CPP $CPPFLAGS'
57059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57068 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57070 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57071 for ac_func in frexpl
57072 do :
57073 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57074 if test "x$ac_cv_func_frexpl" = x""yes; then :
57075 cat >>confdefs.h <<_ACEOF
57076 #define HAVE_FREXPL 1
57077 _ACEOF
57080 done
57082 else
57084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57085 $as_echo_n "checking for _frexpl declaration... " >&6; }
57086 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57087 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57088 $as_echo_n "(cached) " >&6
57089 else
57092 ac_ext=cpp
57093 ac_cpp='$CXXCPP $CPPFLAGS'
57094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57099 /* end confdefs.h. */
57100 #include <math.h>
57102 main ()
57104 _frexpl(0, 0);
57106 return 0;
57108 _ACEOF
57109 if ac_fn_cxx_try_compile "$LINENO"; then :
57110 glibcxx_cv_func__frexpl_use=yes
57111 else
57112 glibcxx_cv_func__frexpl_use=no
57114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57115 ac_ext=c
57116 ac_cpp='$CPP $CPPFLAGS'
57117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57126 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57128 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57129 for ac_func in _frexpl
57130 do :
57131 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57132 if test "x$ac_cv_func__frexpl" = x""yes; then :
57133 cat >>confdefs.h <<_ACEOF
57134 #define HAVE__FREXPL 1
57135 _ACEOF
57138 done
57147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57148 $as_echo_n "checking for hypotl declaration... " >&6; }
57149 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57150 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57151 $as_echo_n "(cached) " >&6
57152 else
57155 ac_ext=cpp
57156 ac_cpp='$CXXCPP $CPPFLAGS'
57157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57162 /* end confdefs.h. */
57163 #include <math.h>
57165 main ()
57167 hypotl(0, 0);
57169 return 0;
57171 _ACEOF
57172 if ac_fn_cxx_try_compile "$LINENO"; then :
57173 glibcxx_cv_func_hypotl_use=yes
57174 else
57175 glibcxx_cv_func_hypotl_use=no
57177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57178 ac_ext=c
57179 ac_cpp='$CPP $CPPFLAGS'
57180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57189 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57191 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57192 for ac_func in hypotl
57193 do :
57194 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57195 if test "x$ac_cv_func_hypotl" = x""yes; then :
57196 cat >>confdefs.h <<_ACEOF
57197 #define HAVE_HYPOTL 1
57198 _ACEOF
57201 done
57203 else
57205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57206 $as_echo_n "checking for _hypotl declaration... " >&6; }
57207 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57208 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57209 $as_echo_n "(cached) " >&6
57210 else
57213 ac_ext=cpp
57214 ac_cpp='$CXXCPP $CPPFLAGS'
57215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57220 /* end confdefs.h. */
57221 #include <math.h>
57223 main ()
57225 _hypotl(0, 0);
57227 return 0;
57229 _ACEOF
57230 if ac_fn_cxx_try_compile "$LINENO"; then :
57231 glibcxx_cv_func__hypotl_use=yes
57232 else
57233 glibcxx_cv_func__hypotl_use=no
57235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57236 ac_ext=c
57237 ac_cpp='$CPP $CPPFLAGS'
57238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57247 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57249 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57250 for ac_func in _hypotl
57251 do :
57252 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57253 if test "x$ac_cv_func__hypotl" = x""yes; then :
57254 cat >>confdefs.h <<_ACEOF
57255 #define HAVE__HYPOTL 1
57256 _ACEOF
57259 done
57268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57269 $as_echo_n "checking for ldexpl declaration... " >&6; }
57270 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57271 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57272 $as_echo_n "(cached) " >&6
57273 else
57276 ac_ext=cpp
57277 ac_cpp='$CXXCPP $CPPFLAGS'
57278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57283 /* end confdefs.h. */
57284 #include <math.h>
57286 main ()
57288 ldexpl(0, 0);
57290 return 0;
57292 _ACEOF
57293 if ac_fn_cxx_try_compile "$LINENO"; then :
57294 glibcxx_cv_func_ldexpl_use=yes
57295 else
57296 glibcxx_cv_func_ldexpl_use=no
57298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57299 ac_ext=c
57300 ac_cpp='$CPP $CPPFLAGS'
57301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57310 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57312 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57313 for ac_func in ldexpl
57314 do :
57315 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57316 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57317 cat >>confdefs.h <<_ACEOF
57318 #define HAVE_LDEXPL 1
57319 _ACEOF
57322 done
57324 else
57326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57327 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57328 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57329 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57330 $as_echo_n "(cached) " >&6
57331 else
57334 ac_ext=cpp
57335 ac_cpp='$CXXCPP $CPPFLAGS'
57336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57341 /* end confdefs.h. */
57342 #include <math.h>
57344 main ()
57346 _ldexpl(0, 0);
57348 return 0;
57350 _ACEOF
57351 if ac_fn_cxx_try_compile "$LINENO"; then :
57352 glibcxx_cv_func__ldexpl_use=yes
57353 else
57354 glibcxx_cv_func__ldexpl_use=no
57356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57357 ac_ext=c
57358 ac_cpp='$CPP $CPPFLAGS'
57359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57368 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57370 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57371 for ac_func in _ldexpl
57372 do :
57373 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57374 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57375 cat >>confdefs.h <<_ACEOF
57376 #define HAVE__LDEXPL 1
57377 _ACEOF
57380 done
57389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57390 $as_echo_n "checking for logl declaration... " >&6; }
57391 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57392 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57393 $as_echo_n "(cached) " >&6
57394 else
57397 ac_ext=cpp
57398 ac_cpp='$CXXCPP $CPPFLAGS'
57399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57404 /* end confdefs.h. */
57405 #include <math.h>
57406 #ifdef HAVE_IEEEFP_H
57407 #include <ieeefp.h>
57408 #endif
57411 main ()
57413 logl(0);
57415 return 0;
57417 _ACEOF
57418 if ac_fn_cxx_try_compile "$LINENO"; then :
57419 glibcxx_cv_func_logl_use=yes
57420 else
57421 glibcxx_cv_func_logl_use=no
57423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57424 ac_ext=c
57425 ac_cpp='$CPP $CPPFLAGS'
57426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57435 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57437 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57438 for ac_func in logl
57439 do :
57440 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57441 if test "x$ac_cv_func_logl" = x""yes; then :
57442 cat >>confdefs.h <<_ACEOF
57443 #define HAVE_LOGL 1
57444 _ACEOF
57447 done
57449 else
57451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57452 $as_echo_n "checking for _logl declaration... " >&6; }
57453 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57454 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57455 $as_echo_n "(cached) " >&6
57456 else
57459 ac_ext=cpp
57460 ac_cpp='$CXXCPP $CPPFLAGS'
57461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57466 /* end confdefs.h. */
57467 #include <math.h>
57468 #ifdef HAVE_IEEEFP_H
57469 #include <ieeefp.h>
57470 #endif
57473 main ()
57475 _logl(0);
57477 return 0;
57479 _ACEOF
57480 if ac_fn_cxx_try_compile "$LINENO"; then :
57481 glibcxx_cv_func__logl_use=yes
57482 else
57483 glibcxx_cv_func__logl_use=no
57485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57486 ac_ext=c
57487 ac_cpp='$CPP $CPPFLAGS'
57488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57497 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57499 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57500 for ac_func in _logl
57501 do :
57502 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57503 if test "x$ac_cv_func__logl" = x""yes; then :
57504 cat >>confdefs.h <<_ACEOF
57505 #define HAVE__LOGL 1
57506 _ACEOF
57509 done
57518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57519 $as_echo_n "checking for log10l declaration... " >&6; }
57520 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57521 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57522 $as_echo_n "(cached) " >&6
57523 else
57526 ac_ext=cpp
57527 ac_cpp='$CXXCPP $CPPFLAGS'
57528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57533 /* end confdefs.h. */
57534 #include <math.h>
57535 #ifdef HAVE_IEEEFP_H
57536 #include <ieeefp.h>
57537 #endif
57540 main ()
57542 log10l(0);
57544 return 0;
57546 _ACEOF
57547 if ac_fn_cxx_try_compile "$LINENO"; then :
57548 glibcxx_cv_func_log10l_use=yes
57549 else
57550 glibcxx_cv_func_log10l_use=no
57552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57553 ac_ext=c
57554 ac_cpp='$CPP $CPPFLAGS'
57555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57564 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57566 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57567 for ac_func in log10l
57568 do :
57569 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57570 if test "x$ac_cv_func_log10l" = x""yes; then :
57571 cat >>confdefs.h <<_ACEOF
57572 #define HAVE_LOG10L 1
57573 _ACEOF
57576 done
57578 else
57580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57581 $as_echo_n "checking for _log10l declaration... " >&6; }
57582 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57583 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57584 $as_echo_n "(cached) " >&6
57585 else
57588 ac_ext=cpp
57589 ac_cpp='$CXXCPP $CPPFLAGS'
57590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57595 /* end confdefs.h. */
57596 #include <math.h>
57597 #ifdef HAVE_IEEEFP_H
57598 #include <ieeefp.h>
57599 #endif
57602 main ()
57604 _log10l(0);
57606 return 0;
57608 _ACEOF
57609 if ac_fn_cxx_try_compile "$LINENO"; then :
57610 glibcxx_cv_func__log10l_use=yes
57611 else
57612 glibcxx_cv_func__log10l_use=no
57614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57615 ac_ext=c
57616 ac_cpp='$CPP $CPPFLAGS'
57617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57626 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57628 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57629 for ac_func in _log10l
57630 do :
57631 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57632 if test "x$ac_cv_func__log10l" = x""yes; then :
57633 cat >>confdefs.h <<_ACEOF
57634 #define HAVE__LOG10L 1
57635 _ACEOF
57638 done
57647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57648 $as_echo_n "checking for modfl declaration... " >&6; }
57649 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57650 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57651 $as_echo_n "(cached) " >&6
57652 else
57655 ac_ext=cpp
57656 ac_cpp='$CXXCPP $CPPFLAGS'
57657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57662 /* end confdefs.h. */
57663 #include <math.h>
57665 main ()
57667 modfl(0, 0);
57669 return 0;
57671 _ACEOF
57672 if ac_fn_cxx_try_compile "$LINENO"; then :
57673 glibcxx_cv_func_modfl_use=yes
57674 else
57675 glibcxx_cv_func_modfl_use=no
57677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57678 ac_ext=c
57679 ac_cpp='$CPP $CPPFLAGS'
57680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57689 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57691 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57692 for ac_func in modfl
57693 do :
57694 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57695 if test "x$ac_cv_func_modfl" = x""yes; then :
57696 cat >>confdefs.h <<_ACEOF
57697 #define HAVE_MODFL 1
57698 _ACEOF
57701 done
57703 else
57705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57706 $as_echo_n "checking for _modfl declaration... " >&6; }
57707 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57708 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57709 $as_echo_n "(cached) " >&6
57710 else
57713 ac_ext=cpp
57714 ac_cpp='$CXXCPP $CPPFLAGS'
57715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57720 /* end confdefs.h. */
57721 #include <math.h>
57723 main ()
57725 _modfl(0, 0);
57727 return 0;
57729 _ACEOF
57730 if ac_fn_cxx_try_compile "$LINENO"; then :
57731 glibcxx_cv_func__modfl_use=yes
57732 else
57733 glibcxx_cv_func__modfl_use=no
57735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57736 ac_ext=c
57737 ac_cpp='$CPP $CPPFLAGS'
57738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57747 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57749 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57750 for ac_func in _modfl
57751 do :
57752 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57753 if test "x$ac_cv_func__modfl" = x""yes; then :
57754 cat >>confdefs.h <<_ACEOF
57755 #define HAVE__MODFL 1
57756 _ACEOF
57759 done
57768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57769 $as_echo_n "checking for powl declaration... " >&6; }
57770 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57771 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57772 $as_echo_n "(cached) " >&6
57773 else
57776 ac_ext=cpp
57777 ac_cpp='$CXXCPP $CPPFLAGS'
57778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57783 /* end confdefs.h. */
57784 #include <math.h>
57786 main ()
57788 powl(0, 0);
57790 return 0;
57792 _ACEOF
57793 if ac_fn_cxx_try_compile "$LINENO"; then :
57794 glibcxx_cv_func_powl_use=yes
57795 else
57796 glibcxx_cv_func_powl_use=no
57798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57799 ac_ext=c
57800 ac_cpp='$CPP $CPPFLAGS'
57801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57810 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57812 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57813 for ac_func in powl
57814 do :
57815 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57816 if test "x$ac_cv_func_powl" = x""yes; then :
57817 cat >>confdefs.h <<_ACEOF
57818 #define HAVE_POWL 1
57819 _ACEOF
57822 done
57824 else
57826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57827 $as_echo_n "checking for _powl declaration... " >&6; }
57828 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57829 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57830 $as_echo_n "(cached) " >&6
57831 else
57834 ac_ext=cpp
57835 ac_cpp='$CXXCPP $CPPFLAGS'
57836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57841 /* end confdefs.h. */
57842 #include <math.h>
57844 main ()
57846 _powl(0, 0);
57848 return 0;
57850 _ACEOF
57851 if ac_fn_cxx_try_compile "$LINENO"; then :
57852 glibcxx_cv_func__powl_use=yes
57853 else
57854 glibcxx_cv_func__powl_use=no
57856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57857 ac_ext=c
57858 ac_cpp='$CPP $CPPFLAGS'
57859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57868 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57870 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57871 for ac_func in _powl
57872 do :
57873 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57874 if test "x$ac_cv_func__powl" = x""yes; then :
57875 cat >>confdefs.h <<_ACEOF
57876 #define HAVE__POWL 1
57877 _ACEOF
57880 done
57889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57890 $as_echo_n "checking for sqrtl declaration... " >&6; }
57891 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57892 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57893 $as_echo_n "(cached) " >&6
57894 else
57897 ac_ext=cpp
57898 ac_cpp='$CXXCPP $CPPFLAGS'
57899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57904 /* end confdefs.h. */
57905 #include <math.h>
57906 #ifdef HAVE_IEEEFP_H
57907 #include <ieeefp.h>
57908 #endif
57911 main ()
57913 sqrtl(0);
57915 return 0;
57917 _ACEOF
57918 if ac_fn_cxx_try_compile "$LINENO"; then :
57919 glibcxx_cv_func_sqrtl_use=yes
57920 else
57921 glibcxx_cv_func_sqrtl_use=no
57923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57924 ac_ext=c
57925 ac_cpp='$CPP $CPPFLAGS'
57926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57935 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57937 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57938 for ac_func in sqrtl
57939 do :
57940 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57941 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57942 cat >>confdefs.h <<_ACEOF
57943 #define HAVE_SQRTL 1
57944 _ACEOF
57947 done
57949 else
57951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57952 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57953 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57954 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57955 $as_echo_n "(cached) " >&6
57956 else
57959 ac_ext=cpp
57960 ac_cpp='$CXXCPP $CPPFLAGS'
57961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57966 /* end confdefs.h. */
57967 #include <math.h>
57968 #ifdef HAVE_IEEEFP_H
57969 #include <ieeefp.h>
57970 #endif
57973 main ()
57975 _sqrtl(0);
57977 return 0;
57979 _ACEOF
57980 if ac_fn_cxx_try_compile "$LINENO"; then :
57981 glibcxx_cv_func__sqrtl_use=yes
57982 else
57983 glibcxx_cv_func__sqrtl_use=no
57985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57986 ac_ext=c
57987 ac_cpp='$CPP $CPPFLAGS'
57988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57997 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57999 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
58000 for ac_func in _sqrtl
58001 do :
58002 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
58003 if test "x$ac_cv_func__sqrtl" = x""yes; then :
58004 cat >>confdefs.h <<_ACEOF
58005 #define HAVE__SQRTL 1
58006 _ACEOF
58009 done
58018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
58019 $as_echo_n "checking for sincosl declaration... " >&6; }
58020 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58021 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
58022 $as_echo_n "(cached) " >&6
58023 else
58026 ac_ext=cpp
58027 ac_cpp='$CXXCPP $CPPFLAGS'
58028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58033 /* end confdefs.h. */
58034 #include <math.h>
58036 main ()
58038 sincosl(0, 0, 0);
58040 return 0;
58042 _ACEOF
58043 if ac_fn_cxx_try_compile "$LINENO"; then :
58044 glibcxx_cv_func_sincosl_use=yes
58045 else
58046 glibcxx_cv_func_sincosl_use=no
58048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58049 ac_ext=c
58050 ac_cpp='$CPP $CPPFLAGS'
58051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58060 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58062 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58063 for ac_func in sincosl
58064 do :
58065 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58066 if test "x$ac_cv_func_sincosl" = x""yes; then :
58067 cat >>confdefs.h <<_ACEOF
58068 #define HAVE_SINCOSL 1
58069 _ACEOF
58072 done
58074 else
58076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58077 $as_echo_n "checking for _sincosl declaration... " >&6; }
58078 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58079 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58080 $as_echo_n "(cached) " >&6
58081 else
58084 ac_ext=cpp
58085 ac_cpp='$CXXCPP $CPPFLAGS'
58086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58091 /* end confdefs.h. */
58092 #include <math.h>
58094 main ()
58096 _sincosl(0, 0, 0);
58098 return 0;
58100 _ACEOF
58101 if ac_fn_cxx_try_compile "$LINENO"; then :
58102 glibcxx_cv_func__sincosl_use=yes
58103 else
58104 glibcxx_cv_func__sincosl_use=no
58106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58107 ac_ext=c
58108 ac_cpp='$CPP $CPPFLAGS'
58109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58118 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58120 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58121 for ac_func in _sincosl
58122 do :
58123 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58124 if test "x$ac_cv_func__sincosl" = x""yes; then :
58125 cat >>confdefs.h <<_ACEOF
58126 #define HAVE__SINCOSL 1
58127 _ACEOF
58130 done
58139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58140 $as_echo_n "checking for finitel declaration... " >&6; }
58141 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58142 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58143 $as_echo_n "(cached) " >&6
58144 else
58147 ac_ext=cpp
58148 ac_cpp='$CXXCPP $CPPFLAGS'
58149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58154 /* end confdefs.h. */
58155 #include <math.h>
58156 #ifdef HAVE_IEEEFP_H
58157 #include <ieeefp.h>
58158 #endif
58161 main ()
58163 finitel(0);
58165 return 0;
58167 _ACEOF
58168 if ac_fn_cxx_try_compile "$LINENO"; then :
58169 glibcxx_cv_func_finitel_use=yes
58170 else
58171 glibcxx_cv_func_finitel_use=no
58173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58174 ac_ext=c
58175 ac_cpp='$CPP $CPPFLAGS'
58176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58185 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58187 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58188 for ac_func in finitel
58189 do :
58190 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58191 if test "x$ac_cv_func_finitel" = x""yes; then :
58192 cat >>confdefs.h <<_ACEOF
58193 #define HAVE_FINITEL 1
58194 _ACEOF
58197 done
58199 else
58201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58202 $as_echo_n "checking for _finitel declaration... " >&6; }
58203 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58204 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58205 $as_echo_n "(cached) " >&6
58206 else
58209 ac_ext=cpp
58210 ac_cpp='$CXXCPP $CPPFLAGS'
58211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58216 /* end confdefs.h. */
58217 #include <math.h>
58218 #ifdef HAVE_IEEEFP_H
58219 #include <ieeefp.h>
58220 #endif
58223 main ()
58225 _finitel(0);
58227 return 0;
58229 _ACEOF
58230 if ac_fn_cxx_try_compile "$LINENO"; then :
58231 glibcxx_cv_func__finitel_use=yes
58232 else
58233 glibcxx_cv_func__finitel_use=no
58235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58236 ac_ext=c
58237 ac_cpp='$CPP $CPPFLAGS'
58238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58247 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58249 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58250 for ac_func in _finitel
58251 do :
58252 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58253 if test "x$ac_cv_func__finitel" = x""yes; then :
58254 cat >>confdefs.h <<_ACEOF
58255 #define HAVE__FINITEL 1
58256 _ACEOF
58259 done
58267 LIBS="$ac_save_LIBS"
58268 CXXFLAGS="$ac_save_CXXFLAGS"
58271 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58272 ac_save_CXXFLAGS="$CXXFLAGS"
58273 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58277 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58278 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58279 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58280 $as_echo_n "(cached) " >&6
58281 else
58284 ac_ext=cpp
58285 ac_cpp='$CXXCPP $CPPFLAGS'
58286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58291 /* end confdefs.h. */
58292 #include <stdlib.h>
58294 main ()
58296 at_quick_exit(0);
58298 return 0;
58300 _ACEOF
58301 if ac_fn_cxx_try_compile "$LINENO"; then :
58302 glibcxx_cv_func_at_quick_exit_use=yes
58303 else
58304 glibcxx_cv_func_at_quick_exit_use=no
58306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58307 ac_ext=c
58308 ac_cpp='$CPP $CPPFLAGS'
58309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58318 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58319 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58320 for ac_func in at_quick_exit
58321 do :
58322 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58323 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58324 cat >>confdefs.h <<_ACEOF
58325 #define HAVE_AT_QUICK_EXIT 1
58326 _ACEOF
58329 done
58334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58335 $as_echo_n "checking for quick_exit declaration... " >&6; }
58336 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58337 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58338 $as_echo_n "(cached) " >&6
58339 else
58342 ac_ext=cpp
58343 ac_cpp='$CXXCPP $CPPFLAGS'
58344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58349 /* end confdefs.h. */
58350 #include <stdlib.h>
58352 main ()
58354 quick_exit(0);
58356 return 0;
58358 _ACEOF
58359 if ac_fn_cxx_try_compile "$LINENO"; then :
58360 glibcxx_cv_func_quick_exit_use=yes
58361 else
58362 glibcxx_cv_func_quick_exit_use=no
58364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58365 ac_ext=c
58366 ac_cpp='$CPP $CPPFLAGS'
58367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58376 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58377 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58378 for ac_func in quick_exit
58379 do :
58380 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58381 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58382 cat >>confdefs.h <<_ACEOF
58383 #define HAVE_QUICK_EXIT 1
58384 _ACEOF
58387 done
58392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58393 $as_echo_n "checking for strtold declaration... " >&6; }
58394 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58395 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58396 $as_echo_n "(cached) " >&6
58397 else
58400 ac_ext=cpp
58401 ac_cpp='$CXXCPP $CPPFLAGS'
58402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58407 /* end confdefs.h. */
58408 #include <stdlib.h>
58410 main ()
58412 strtold(0, 0);
58414 return 0;
58416 _ACEOF
58417 if ac_fn_cxx_try_compile "$LINENO"; then :
58418 glibcxx_cv_func_strtold_use=yes
58419 else
58420 glibcxx_cv_func_strtold_use=no
58422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58423 ac_ext=c
58424 ac_cpp='$CPP $CPPFLAGS'
58425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58434 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58435 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58436 for ac_func in strtold
58437 do :
58438 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58439 if test "x$ac_cv_func_strtold" = x""yes; then :
58440 cat >>confdefs.h <<_ACEOF
58441 #define HAVE_STRTOLD 1
58442 _ACEOF
58445 done
58452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58453 $as_echo_n "checking for strtof declaration... " >&6; }
58454 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58455 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58456 $as_echo_n "(cached) " >&6
58457 else
58460 ac_ext=cpp
58461 ac_cpp='$CXXCPP $CPPFLAGS'
58462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58467 /* end confdefs.h. */
58468 #include <stdlib.h>
58470 main ()
58472 strtof(0, 0);
58474 return 0;
58476 _ACEOF
58477 if ac_fn_cxx_try_compile "$LINENO"; then :
58478 glibcxx_cv_func_strtof_use=yes
58479 else
58480 glibcxx_cv_func_strtof_use=no
58482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58483 ac_ext=c
58484 ac_cpp='$CPP $CPPFLAGS'
58485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58494 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58495 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58496 for ac_func in strtof
58497 do :
58498 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58499 if test "x$ac_cv_func_strtof" = x""yes; then :
58500 cat >>confdefs.h <<_ACEOF
58501 #define HAVE_STRTOF 1
58502 _ACEOF
58505 done
58512 CXXFLAGS="$ac_save_CXXFLAGS"
58515 *-netbsd*)
58516 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58519 # If we're not using GNU ld, then there's no point in even trying these
58520 # tests. Check for that first. We should have already tested for gld
58521 # by now (in libtool), but require it now just to be safe...
58522 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58523 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58527 # The name set by libtool depends on the version of libtool. Shame on us
58528 # for depending on an impl detail, but c'est la vie. Older versions used
58529 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58530 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58531 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58532 # set (hence we're using an older libtool), then set it.
58533 if test x${with_gnu_ld+set} != xset; then
58534 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58535 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58536 with_gnu_ld=no
58537 else
58538 with_gnu_ld=$ac_cv_prog_gnu_ld
58542 # Start by getting the version number. I think the libtool test already
58543 # does some of this, but throws away the result.
58544 glibcxx_ld_is_gold=no
58545 if test x"$with_gnu_ld" = x"yes"; then
58546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58547 $as_echo_n "checking for ld version... " >&6; }
58549 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58550 glibcxx_ld_is_gold=yes
58552 ldver=`$LD --version 2>/dev/null |
58553 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'`
58555 glibcxx_gnu_ld_version=`echo $ldver | \
58556 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58558 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58561 # Set --gc-sections.
58562 glibcxx_have_gc_sections=no
58563 if test "$glibcxx_ld_is_gold" = "yes"; then
58564 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58565 glibcxx_have_gc_sections=yes
58567 else
58568 glibcxx_gcsections_min_ld=21602
58569 if test x"$with_gnu_ld" = x"yes" &&
58570 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58571 glibcxx_have_gc_sections=yes
58574 if test "$glibcxx_have_gc_sections" = "yes"; then
58575 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58576 # NB: This flag only works reliably after 2.16.1. Configure tests
58577 # for this are difficult, so hard wire a value that should work.
58579 ac_test_CFLAGS="${CFLAGS+set}"
58580 ac_save_CFLAGS="$CFLAGS"
58581 CFLAGS='-Wl,--gc-sections'
58583 # Check for -Wl,--gc-sections
58584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58585 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58586 if test x$gcc_no_link = xyes; then
58587 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58590 /* end confdefs.h. */
58591 int one(void) { return 1; }
58592 int two(void) { return 2; }
58595 main ()
58597 two();
58599 return 0;
58601 _ACEOF
58602 if ac_fn_c_try_link "$LINENO"; then :
58603 ac_gcsections=yes
58604 else
58605 ac_gcsections=no
58607 rm -f core conftest.err conftest.$ac_objext \
58608 conftest$ac_exeext conftest.$ac_ext
58609 if test "$ac_gcsections" = "yes"; then
58610 rm -f conftest.c
58611 touch conftest.c
58612 if $CC -c conftest.c; then
58613 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58614 grep "Warning: gc-sections option ignored" > /dev/null; then
58615 ac_gcsections=no
58618 rm -f conftest.c conftest.o conftest
58620 if test "$ac_gcsections" = "yes"; then
58621 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58624 $as_echo "$ac_gcsections" >&6; }
58626 if test "$ac_test_CFLAGS" = set; then
58627 CFLAGS="$ac_save_CFLAGS"
58628 else
58629 # this is the suspicious part
58630 CFLAGS=''
58634 # Set -z,relro.
58635 # Note this is only for shared objects.
58636 ac_ld_relro=no
58637 if test x"$with_gnu_ld" = x"yes"; then
58638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58639 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58640 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58641 if test -n "$cxx_z_relo"; then
58642 OPT_LDFLAGS="-Wl,-z,relro"
58643 ac_ld_relro=yes
58645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58646 $as_echo "$ac_ld_relro" >&6; }
58649 # Set linker optimization flags.
58650 if test x"$with_gnu_ld" = x"yes"; then
58651 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58657 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
58659 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
58661 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
58663 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
58665 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
58667 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
58669 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
58671 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
58673 if test x"long_double_math_on_this_cpu" = x"yes"; then
58674 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
58676 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
58678 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
58682 *-qnx6.1* | *-qnx6.2*)
58683 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58686 # If we're not using GNU ld, then there's no point in even trying these
58687 # tests. Check for that first. We should have already tested for gld
58688 # by now (in libtool), but require it now just to be safe...
58689 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58690 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58694 # The name set by libtool depends on the version of libtool. Shame on us
58695 # for depending on an impl detail, but c'est la vie. Older versions used
58696 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58697 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58698 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58699 # set (hence we're using an older libtool), then set it.
58700 if test x${with_gnu_ld+set} != xset; then
58701 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58702 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58703 with_gnu_ld=no
58704 else
58705 with_gnu_ld=$ac_cv_prog_gnu_ld
58709 # Start by getting the version number. I think the libtool test already
58710 # does some of this, but throws away the result.
58711 glibcxx_ld_is_gold=no
58712 if test x"$with_gnu_ld" = x"yes"; then
58713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58714 $as_echo_n "checking for ld version... " >&6; }
58716 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58717 glibcxx_ld_is_gold=yes
58719 ldver=`$LD --version 2>/dev/null |
58720 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'`
58722 glibcxx_gnu_ld_version=`echo $ldver | \
58723 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58725 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58728 # Set --gc-sections.
58729 glibcxx_have_gc_sections=no
58730 if test "$glibcxx_ld_is_gold" = "yes"; then
58731 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58732 glibcxx_have_gc_sections=yes
58734 else
58735 glibcxx_gcsections_min_ld=21602
58736 if test x"$with_gnu_ld" = x"yes" &&
58737 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58738 glibcxx_have_gc_sections=yes
58741 if test "$glibcxx_have_gc_sections" = "yes"; then
58742 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58743 # NB: This flag only works reliably after 2.16.1. Configure tests
58744 # for this are difficult, so hard wire a value that should work.
58746 ac_test_CFLAGS="${CFLAGS+set}"
58747 ac_save_CFLAGS="$CFLAGS"
58748 CFLAGS='-Wl,--gc-sections'
58750 # Check for -Wl,--gc-sections
58751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58752 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58753 if test x$gcc_no_link = xyes; then
58754 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58757 /* end confdefs.h. */
58758 int one(void) { return 1; }
58759 int two(void) { return 2; }
58762 main ()
58764 two();
58766 return 0;
58768 _ACEOF
58769 if ac_fn_c_try_link "$LINENO"; then :
58770 ac_gcsections=yes
58771 else
58772 ac_gcsections=no
58774 rm -f core conftest.err conftest.$ac_objext \
58775 conftest$ac_exeext conftest.$ac_ext
58776 if test "$ac_gcsections" = "yes"; then
58777 rm -f conftest.c
58778 touch conftest.c
58779 if $CC -c conftest.c; then
58780 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58781 grep "Warning: gc-sections option ignored" > /dev/null; then
58782 ac_gcsections=no
58785 rm -f conftest.c conftest.o conftest
58787 if test "$ac_gcsections" = "yes"; then
58788 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58791 $as_echo "$ac_gcsections" >&6; }
58793 if test "$ac_test_CFLAGS" = set; then
58794 CFLAGS="$ac_save_CFLAGS"
58795 else
58796 # this is the suspicious part
58797 CFLAGS=''
58801 # Set -z,relro.
58802 # Note this is only for shared objects.
58803 ac_ld_relro=no
58804 if test x"$with_gnu_ld" = x"yes"; then
58805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58806 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58807 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58808 if test -n "$cxx_z_relo"; then
58809 OPT_LDFLAGS="-Wl,-z,relro"
58810 ac_ld_relro=yes
58812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58813 $as_echo "$ac_ld_relro" >&6; }
58816 # Set linker optimization flags.
58817 if test x"$with_gnu_ld" = x"yes"; then
58818 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58824 $as_echo "#define HAVE_COSF 1" >>confdefs.h
58826 $as_echo "#define HAVE_COSL 1" >>confdefs.h
58828 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
58830 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
58832 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
58834 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
58836 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
58838 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
58840 $as_echo "#define HAVE_SINF 1" >>confdefs.h
58842 $as_echo "#define HAVE_SINL 1" >>confdefs.h
58844 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
58846 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
58849 *-rtems*)
58851 # All these tests are for C++; save the language and the compiler flags.
58852 # The CXXFLAGS thing is suspicious, but based on similar bits previously
58853 # found in GLIBCXX_CONFIGURE.
58855 ac_ext=cpp
58856 ac_cpp='$CXXCPP $CPPFLAGS'
58857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58861 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58862 ac_save_CXXFLAGS="$CXXFLAGS"
58864 # Check for maintainer-mode bits.
58865 if test x"$USE_MAINTAINER_MODE" = xno; then
58866 WERROR=''
58867 else
58868 WERROR='-Werror'
58871 # Check for -ffunction-sections -fdata-sections
58872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
58873 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
58874 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
58875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58876 /* end confdefs.h. */
58877 int foo; void bar() { };
58879 main ()
58883 return 0;
58885 _ACEOF
58886 if ac_fn_cxx_try_compile "$LINENO"; then :
58887 ac_fdsections=yes
58888 else
58889 ac_fdsections=no
58891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58892 if test "$ac_test_CXXFLAGS" = set; then
58893 CXXFLAGS="$ac_save_CXXFLAGS"
58894 else
58895 # this is the suspicious part
58896 CXXFLAGS=''
58898 if test x"$ac_fdsections" = x"yes"; then
58899 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
58902 $as_echo "$ac_fdsections" >&6; }
58904 ac_ext=c
58905 ac_cpp='$CPP $CPPFLAGS'
58906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58914 # If we're not using GNU ld, then there's no point in even trying these
58915 # tests. Check for that first. We should have already tested for gld
58916 # by now (in libtool), but require it now just to be safe...
58917 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58918 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58922 # The name set by libtool depends on the version of libtool. Shame on us
58923 # for depending on an impl detail, but c'est la vie. Older versions used
58924 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58925 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58926 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58927 # set (hence we're using an older libtool), then set it.
58928 if test x${with_gnu_ld+set} != xset; then
58929 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58930 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58931 with_gnu_ld=no
58932 else
58933 with_gnu_ld=$ac_cv_prog_gnu_ld
58937 # Start by getting the version number. I think the libtool test already
58938 # does some of this, but throws away the result.
58939 glibcxx_ld_is_gold=no
58940 if test x"$with_gnu_ld" = x"yes"; then
58941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58942 $as_echo_n "checking for ld version... " >&6; }
58944 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58945 glibcxx_ld_is_gold=yes
58947 ldver=`$LD --version 2>/dev/null |
58948 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'`
58950 glibcxx_gnu_ld_version=`echo $ldver | \
58951 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58953 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58956 # Set --gc-sections.
58957 glibcxx_have_gc_sections=no
58958 if test "$glibcxx_ld_is_gold" = "yes"; then
58959 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58960 glibcxx_have_gc_sections=yes
58962 else
58963 glibcxx_gcsections_min_ld=21602
58964 if test x"$with_gnu_ld" = x"yes" &&
58965 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58966 glibcxx_have_gc_sections=yes
58969 if test "$glibcxx_have_gc_sections" = "yes"; then
58970 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58971 # NB: This flag only works reliably after 2.16.1. Configure tests
58972 # for this are difficult, so hard wire a value that should work.
58974 ac_test_CFLAGS="${CFLAGS+set}"
58975 ac_save_CFLAGS="$CFLAGS"
58976 CFLAGS='-Wl,--gc-sections'
58978 # Check for -Wl,--gc-sections
58979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58980 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58981 if test x$gcc_no_link = xyes; then
58982 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58985 /* end confdefs.h. */
58986 int one(void) { return 1; }
58987 int two(void) { return 2; }
58990 main ()
58992 two();
58994 return 0;
58996 _ACEOF
58997 if ac_fn_c_try_link "$LINENO"; then :
58998 ac_gcsections=yes
58999 else
59000 ac_gcsections=no
59002 rm -f core conftest.err conftest.$ac_objext \
59003 conftest$ac_exeext conftest.$ac_ext
59004 if test "$ac_gcsections" = "yes"; then
59005 rm -f conftest.c
59006 touch conftest.c
59007 if $CC -c conftest.c; then
59008 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
59009 grep "Warning: gc-sections option ignored" > /dev/null; then
59010 ac_gcsections=no
59013 rm -f conftest.c conftest.o conftest
59015 if test "$ac_gcsections" = "yes"; then
59016 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
59018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
59019 $as_echo "$ac_gcsections" >&6; }
59021 if test "$ac_test_CFLAGS" = set; then
59022 CFLAGS="$ac_save_CFLAGS"
59023 else
59024 # this is the suspicious part
59025 CFLAGS=''
59029 # Set -z,relro.
59030 # Note this is only for shared objects.
59031 ac_ld_relro=no
59032 if test x"$with_gnu_ld" = x"yes"; then
59033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
59034 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
59035 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
59036 if test -n "$cxx_z_relo"; then
59037 OPT_LDFLAGS="-Wl,-z,relro"
59038 ac_ld_relro=yes
59040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
59041 $as_echo "$ac_ld_relro" >&6; }
59044 # Set linker optimization flags.
59045 if test x"$with_gnu_ld" = x"yes"; then
59046 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
59053 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59054 ac_save_CXXFLAGS="$CXXFLAGS"
59055 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
59058 $as_echo_n "checking for sin in -lm... " >&6; }
59059 if test "${ac_cv_lib_m_sin+set}" = set; then :
59060 $as_echo_n "(cached) " >&6
59061 else
59062 ac_check_lib_save_LIBS=$LIBS
59063 LIBS="-lm $LIBS"
59064 if test x$gcc_no_link = xyes; then
59065 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59068 /* end confdefs.h. */
59070 /* Override any GCC internal prototype to avoid an error.
59071 Use char because int might match the return type of a GCC
59072 builtin and then its argument prototype would still apply. */
59073 #ifdef __cplusplus
59074 extern "C"
59075 #endif
59076 char sin ();
59078 main ()
59080 return sin ();
59082 return 0;
59084 _ACEOF
59085 if ac_fn_c_try_link "$LINENO"; then :
59086 ac_cv_lib_m_sin=yes
59087 else
59088 ac_cv_lib_m_sin=no
59090 rm -f core conftest.err conftest.$ac_objext \
59091 conftest$ac_exeext conftest.$ac_ext
59092 LIBS=$ac_check_lib_save_LIBS
59094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59095 $as_echo "$ac_cv_lib_m_sin" >&6; }
59096 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59097 libm="-lm"
59100 ac_save_LIBS="$LIBS"
59101 LIBS="$LIBS $libm"
59105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59106 $as_echo_n "checking for isinf declaration... " >&6; }
59107 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59108 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59109 $as_echo_n "(cached) " >&6
59110 else
59113 ac_ext=cpp
59114 ac_cpp='$CXXCPP $CPPFLAGS'
59115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59120 /* end confdefs.h. */
59121 #include <math.h>
59122 #ifdef HAVE_IEEEFP_H
59123 #include <ieeefp.h>
59124 #endif
59127 main ()
59129 isinf(0);
59131 return 0;
59133 _ACEOF
59134 if ac_fn_cxx_try_compile "$LINENO"; then :
59135 glibcxx_cv_func_isinf_use=yes
59136 else
59137 glibcxx_cv_func_isinf_use=no
59139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59140 ac_ext=c
59141 ac_cpp='$CPP $CPPFLAGS'
59142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59151 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59153 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59154 for ac_func in isinf
59155 do :
59156 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59157 if test "x$ac_cv_func_isinf" = x""yes; then :
59158 cat >>confdefs.h <<_ACEOF
59159 #define HAVE_ISINF 1
59160 _ACEOF
59163 done
59165 else
59167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59168 $as_echo_n "checking for _isinf declaration... " >&6; }
59169 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59170 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59171 $as_echo_n "(cached) " >&6
59172 else
59175 ac_ext=cpp
59176 ac_cpp='$CXXCPP $CPPFLAGS'
59177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59182 /* end confdefs.h. */
59183 #include <math.h>
59184 #ifdef HAVE_IEEEFP_H
59185 #include <ieeefp.h>
59186 #endif
59189 main ()
59191 _isinf(0);
59193 return 0;
59195 _ACEOF
59196 if ac_fn_cxx_try_compile "$LINENO"; then :
59197 glibcxx_cv_func__isinf_use=yes
59198 else
59199 glibcxx_cv_func__isinf_use=no
59201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59202 ac_ext=c
59203 ac_cpp='$CPP $CPPFLAGS'
59204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59213 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59215 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59216 for ac_func in _isinf
59217 do :
59218 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59219 if test "x$ac_cv_func__isinf" = x""yes; then :
59220 cat >>confdefs.h <<_ACEOF
59221 #define HAVE__ISINF 1
59222 _ACEOF
59225 done
59234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59235 $as_echo_n "checking for isnan declaration... " >&6; }
59236 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59237 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59238 $as_echo_n "(cached) " >&6
59239 else
59242 ac_ext=cpp
59243 ac_cpp='$CXXCPP $CPPFLAGS'
59244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59249 /* end confdefs.h. */
59250 #include <math.h>
59251 #ifdef HAVE_IEEEFP_H
59252 #include <ieeefp.h>
59253 #endif
59256 main ()
59258 isnan(0);
59260 return 0;
59262 _ACEOF
59263 if ac_fn_cxx_try_compile "$LINENO"; then :
59264 glibcxx_cv_func_isnan_use=yes
59265 else
59266 glibcxx_cv_func_isnan_use=no
59268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59269 ac_ext=c
59270 ac_cpp='$CPP $CPPFLAGS'
59271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59280 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59282 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59283 for ac_func in isnan
59284 do :
59285 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59286 if test "x$ac_cv_func_isnan" = x""yes; then :
59287 cat >>confdefs.h <<_ACEOF
59288 #define HAVE_ISNAN 1
59289 _ACEOF
59292 done
59294 else
59296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59297 $as_echo_n "checking for _isnan declaration... " >&6; }
59298 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59299 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59300 $as_echo_n "(cached) " >&6
59301 else
59304 ac_ext=cpp
59305 ac_cpp='$CXXCPP $CPPFLAGS'
59306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59311 /* end confdefs.h. */
59312 #include <math.h>
59313 #ifdef HAVE_IEEEFP_H
59314 #include <ieeefp.h>
59315 #endif
59318 main ()
59320 _isnan(0);
59322 return 0;
59324 _ACEOF
59325 if ac_fn_cxx_try_compile "$LINENO"; then :
59326 glibcxx_cv_func__isnan_use=yes
59327 else
59328 glibcxx_cv_func__isnan_use=no
59330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59331 ac_ext=c
59332 ac_cpp='$CPP $CPPFLAGS'
59333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59342 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59344 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59345 for ac_func in _isnan
59346 do :
59347 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59348 if test "x$ac_cv_func__isnan" = x""yes; then :
59349 cat >>confdefs.h <<_ACEOF
59350 #define HAVE__ISNAN 1
59351 _ACEOF
59354 done
59363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59364 $as_echo_n "checking for finite declaration... " >&6; }
59365 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59366 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59367 $as_echo_n "(cached) " >&6
59368 else
59371 ac_ext=cpp
59372 ac_cpp='$CXXCPP $CPPFLAGS'
59373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59378 /* end confdefs.h. */
59379 #include <math.h>
59380 #ifdef HAVE_IEEEFP_H
59381 #include <ieeefp.h>
59382 #endif
59385 main ()
59387 finite(0);
59389 return 0;
59391 _ACEOF
59392 if ac_fn_cxx_try_compile "$LINENO"; then :
59393 glibcxx_cv_func_finite_use=yes
59394 else
59395 glibcxx_cv_func_finite_use=no
59397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59398 ac_ext=c
59399 ac_cpp='$CPP $CPPFLAGS'
59400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59409 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59411 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59412 for ac_func in finite
59413 do :
59414 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59415 if test "x$ac_cv_func_finite" = x""yes; then :
59416 cat >>confdefs.h <<_ACEOF
59417 #define HAVE_FINITE 1
59418 _ACEOF
59421 done
59423 else
59425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59426 $as_echo_n "checking for _finite declaration... " >&6; }
59427 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59428 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59429 $as_echo_n "(cached) " >&6
59430 else
59433 ac_ext=cpp
59434 ac_cpp='$CXXCPP $CPPFLAGS'
59435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59440 /* end confdefs.h. */
59441 #include <math.h>
59442 #ifdef HAVE_IEEEFP_H
59443 #include <ieeefp.h>
59444 #endif
59447 main ()
59449 _finite(0);
59451 return 0;
59453 _ACEOF
59454 if ac_fn_cxx_try_compile "$LINENO"; then :
59455 glibcxx_cv_func__finite_use=yes
59456 else
59457 glibcxx_cv_func__finite_use=no
59459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59460 ac_ext=c
59461 ac_cpp='$CPP $CPPFLAGS'
59462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59471 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59473 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59474 for ac_func in _finite
59475 do :
59476 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59477 if test "x$ac_cv_func__finite" = x""yes; then :
59478 cat >>confdefs.h <<_ACEOF
59479 #define HAVE__FINITE 1
59480 _ACEOF
59483 done
59492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59493 $as_echo_n "checking for sincos declaration... " >&6; }
59494 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59495 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59496 $as_echo_n "(cached) " >&6
59497 else
59500 ac_ext=cpp
59501 ac_cpp='$CXXCPP $CPPFLAGS'
59502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59507 /* end confdefs.h. */
59508 #include <math.h>
59510 main ()
59512 sincos(0, 0, 0);
59514 return 0;
59516 _ACEOF
59517 if ac_fn_cxx_try_compile "$LINENO"; then :
59518 glibcxx_cv_func_sincos_use=yes
59519 else
59520 glibcxx_cv_func_sincos_use=no
59522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59523 ac_ext=c
59524 ac_cpp='$CPP $CPPFLAGS'
59525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59534 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59536 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59537 for ac_func in sincos
59538 do :
59539 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59540 if test "x$ac_cv_func_sincos" = x""yes; then :
59541 cat >>confdefs.h <<_ACEOF
59542 #define HAVE_SINCOS 1
59543 _ACEOF
59546 done
59548 else
59550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59551 $as_echo_n "checking for _sincos declaration... " >&6; }
59552 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59553 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59554 $as_echo_n "(cached) " >&6
59555 else
59558 ac_ext=cpp
59559 ac_cpp='$CXXCPP $CPPFLAGS'
59560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59565 /* end confdefs.h. */
59566 #include <math.h>
59568 main ()
59570 _sincos(0, 0, 0);
59572 return 0;
59574 _ACEOF
59575 if ac_fn_cxx_try_compile "$LINENO"; then :
59576 glibcxx_cv_func__sincos_use=yes
59577 else
59578 glibcxx_cv_func__sincos_use=no
59580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59581 ac_ext=c
59582 ac_cpp='$CPP $CPPFLAGS'
59583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59592 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59594 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59595 for ac_func in _sincos
59596 do :
59597 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59598 if test "x$ac_cv_func__sincos" = x""yes; then :
59599 cat >>confdefs.h <<_ACEOF
59600 #define HAVE__SINCOS 1
59601 _ACEOF
59604 done
59613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59614 $as_echo_n "checking for fpclass declaration... " >&6; }
59615 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59616 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59617 $as_echo_n "(cached) " >&6
59618 else
59621 ac_ext=cpp
59622 ac_cpp='$CXXCPP $CPPFLAGS'
59623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59628 /* end confdefs.h. */
59629 #include <math.h>
59630 #ifdef HAVE_IEEEFP_H
59631 #include <ieeefp.h>
59632 #endif
59635 main ()
59637 fpclass(0);
59639 return 0;
59641 _ACEOF
59642 if ac_fn_cxx_try_compile "$LINENO"; then :
59643 glibcxx_cv_func_fpclass_use=yes
59644 else
59645 glibcxx_cv_func_fpclass_use=no
59647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59648 ac_ext=c
59649 ac_cpp='$CPP $CPPFLAGS'
59650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59659 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59661 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59662 for ac_func in fpclass
59663 do :
59664 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59665 if test "x$ac_cv_func_fpclass" = x""yes; then :
59666 cat >>confdefs.h <<_ACEOF
59667 #define HAVE_FPCLASS 1
59668 _ACEOF
59671 done
59673 else
59675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59676 $as_echo_n "checking for _fpclass declaration... " >&6; }
59677 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59678 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59679 $as_echo_n "(cached) " >&6
59680 else
59683 ac_ext=cpp
59684 ac_cpp='$CXXCPP $CPPFLAGS'
59685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59690 /* end confdefs.h. */
59691 #include <math.h>
59692 #ifdef HAVE_IEEEFP_H
59693 #include <ieeefp.h>
59694 #endif
59697 main ()
59699 _fpclass(0);
59701 return 0;
59703 _ACEOF
59704 if ac_fn_cxx_try_compile "$LINENO"; then :
59705 glibcxx_cv_func__fpclass_use=yes
59706 else
59707 glibcxx_cv_func__fpclass_use=no
59709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59710 ac_ext=c
59711 ac_cpp='$CPP $CPPFLAGS'
59712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59721 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59723 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59724 for ac_func in _fpclass
59725 do :
59726 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59727 if test "x$ac_cv_func__fpclass" = x""yes; then :
59728 cat >>confdefs.h <<_ACEOF
59729 #define HAVE__FPCLASS 1
59730 _ACEOF
59733 done
59742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59743 $as_echo_n "checking for qfpclass declaration... " >&6; }
59744 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59745 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59746 $as_echo_n "(cached) " >&6
59747 else
59750 ac_ext=cpp
59751 ac_cpp='$CXXCPP $CPPFLAGS'
59752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59757 /* end confdefs.h. */
59758 #include <math.h>
59759 #ifdef HAVE_IEEEFP_H
59760 #include <ieeefp.h>
59761 #endif
59764 main ()
59766 qfpclass(0);
59768 return 0;
59770 _ACEOF
59771 if ac_fn_cxx_try_compile "$LINENO"; then :
59772 glibcxx_cv_func_qfpclass_use=yes
59773 else
59774 glibcxx_cv_func_qfpclass_use=no
59776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59777 ac_ext=c
59778 ac_cpp='$CPP $CPPFLAGS'
59779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59788 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59790 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59791 for ac_func in qfpclass
59792 do :
59793 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59794 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59795 cat >>confdefs.h <<_ACEOF
59796 #define HAVE_QFPCLASS 1
59797 _ACEOF
59800 done
59802 else
59804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59805 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59806 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59807 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59808 $as_echo_n "(cached) " >&6
59809 else
59812 ac_ext=cpp
59813 ac_cpp='$CXXCPP $CPPFLAGS'
59814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59819 /* end confdefs.h. */
59820 #include <math.h>
59821 #ifdef HAVE_IEEEFP_H
59822 #include <ieeefp.h>
59823 #endif
59826 main ()
59828 _qfpclass(0);
59830 return 0;
59832 _ACEOF
59833 if ac_fn_cxx_try_compile "$LINENO"; then :
59834 glibcxx_cv_func__qfpclass_use=yes
59835 else
59836 glibcxx_cv_func__qfpclass_use=no
59838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59839 ac_ext=c
59840 ac_cpp='$CPP $CPPFLAGS'
59841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59850 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59852 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59853 for ac_func in _qfpclass
59854 do :
59855 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59856 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59857 cat >>confdefs.h <<_ACEOF
59858 #define HAVE__QFPCLASS 1
59859 _ACEOF
59862 done
59871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59872 $as_echo_n "checking for hypot declaration... " >&6; }
59873 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59874 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59875 $as_echo_n "(cached) " >&6
59876 else
59879 ac_ext=cpp
59880 ac_cpp='$CXXCPP $CPPFLAGS'
59881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59886 /* end confdefs.h. */
59887 #include <math.h>
59889 main ()
59891 hypot(0, 0);
59893 return 0;
59895 _ACEOF
59896 if ac_fn_cxx_try_compile "$LINENO"; then :
59897 glibcxx_cv_func_hypot_use=yes
59898 else
59899 glibcxx_cv_func_hypot_use=no
59901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59902 ac_ext=c
59903 ac_cpp='$CPP $CPPFLAGS'
59904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59913 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59915 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59916 for ac_func in hypot
59917 do :
59918 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59919 if test "x$ac_cv_func_hypot" = x""yes; then :
59920 cat >>confdefs.h <<_ACEOF
59921 #define HAVE_HYPOT 1
59922 _ACEOF
59925 done
59927 else
59929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59930 $as_echo_n "checking for _hypot declaration... " >&6; }
59931 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59932 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59933 $as_echo_n "(cached) " >&6
59934 else
59937 ac_ext=cpp
59938 ac_cpp='$CXXCPP $CPPFLAGS'
59939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59944 /* end confdefs.h. */
59945 #include <math.h>
59947 main ()
59949 _hypot(0, 0);
59951 return 0;
59953 _ACEOF
59954 if ac_fn_cxx_try_compile "$LINENO"; then :
59955 glibcxx_cv_func__hypot_use=yes
59956 else
59957 glibcxx_cv_func__hypot_use=no
59959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59960 ac_ext=c
59961 ac_cpp='$CPP $CPPFLAGS'
59962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59971 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59973 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59974 for ac_func in _hypot
59975 do :
59976 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59977 if test "x$ac_cv_func__hypot" = x""yes; then :
59978 cat >>confdefs.h <<_ACEOF
59979 #define HAVE__HYPOT 1
59980 _ACEOF
59983 done
59992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59993 $as_echo_n "checking for float trig functions... " >&6; }
59994 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59995 $as_echo_n "(cached) " >&6
59996 else
59999 ac_ext=cpp
60000 ac_cpp='$CXXCPP $CPPFLAGS'
60001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60006 /* end confdefs.h. */
60007 #include <math.h>
60009 main ()
60011 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
60013 return 0;
60015 _ACEOF
60016 if ac_fn_cxx_try_compile "$LINENO"; then :
60017 glibcxx_cv_func_float_trig_use=yes
60018 else
60019 glibcxx_cv_func_float_trig_use=no
60021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60022 ac_ext=c
60023 ac_cpp='$CPP $CPPFLAGS'
60024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
60031 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
60032 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
60033 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
60034 do :
60035 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60036 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60037 eval as_val=\$$as_ac_var
60038 if test "x$as_val" = x""yes; then :
60039 cat >>confdefs.h <<_ACEOF
60040 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60041 _ACEOF
60044 done
60046 else
60047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
60048 $as_echo_n "checking for _float trig functions... " >&6; }
60049 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
60050 $as_echo_n "(cached) " >&6
60051 else
60054 ac_ext=cpp
60055 ac_cpp='$CXXCPP $CPPFLAGS'
60056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60061 /* end confdefs.h. */
60062 #include <math.h>
60064 main ()
60066 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
60068 return 0;
60070 _ACEOF
60071 if ac_fn_cxx_try_compile "$LINENO"; then :
60072 glibcxx_cv_func__float_trig_use=yes
60073 else
60074 glibcxx_cv_func__float_trig_use=no
60076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60077 ac_ext=c
60078 ac_cpp='$CPP $CPPFLAGS'
60079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60086 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60087 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60088 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60089 do :
60090 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60091 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60092 eval as_val=\$$as_ac_var
60093 if test "x$as_val" = x""yes; then :
60094 cat >>confdefs.h <<_ACEOF
60095 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60096 _ACEOF
60099 done
60108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60109 $as_echo_n "checking for float round functions... " >&6; }
60110 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60111 $as_echo_n "(cached) " >&6
60112 else
60115 ac_ext=cpp
60116 ac_cpp='$CXXCPP $CPPFLAGS'
60117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60122 /* end confdefs.h. */
60123 #include <math.h>
60125 main ()
60127 ceilf (0); floorf (0);
60129 return 0;
60131 _ACEOF
60132 if ac_fn_cxx_try_compile "$LINENO"; then :
60133 glibcxx_cv_func_float_round_use=yes
60134 else
60135 glibcxx_cv_func_float_round_use=no
60137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60138 ac_ext=c
60139 ac_cpp='$CPP $CPPFLAGS'
60140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60147 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60148 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60149 for ac_func in ceilf floorf
60150 do :
60151 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60152 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60153 eval as_val=\$$as_ac_var
60154 if test "x$as_val" = x""yes; then :
60155 cat >>confdefs.h <<_ACEOF
60156 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60157 _ACEOF
60160 done
60162 else
60163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60164 $as_echo_n "checking for _float round functions... " >&6; }
60165 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60166 $as_echo_n "(cached) " >&6
60167 else
60170 ac_ext=cpp
60171 ac_cpp='$CXXCPP $CPPFLAGS'
60172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60177 /* end confdefs.h. */
60178 #include <math.h>
60180 main ()
60182 _ceilf (0); _floorf (0);
60184 return 0;
60186 _ACEOF
60187 if ac_fn_cxx_try_compile "$LINENO"; then :
60188 glibcxx_cv_func__float_round_use=yes
60189 else
60190 glibcxx_cv_func__float_round_use=no
60192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60193 ac_ext=c
60194 ac_cpp='$CPP $CPPFLAGS'
60195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60202 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60203 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60204 for ac_func in _ceilf _floorf
60205 do :
60206 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60207 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60208 eval as_val=\$$as_ac_var
60209 if test "x$as_val" = x""yes; then :
60210 cat >>confdefs.h <<_ACEOF
60211 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60212 _ACEOF
60215 done
60225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60226 $as_echo_n "checking for expf declaration... " >&6; }
60227 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60228 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60229 $as_echo_n "(cached) " >&6
60230 else
60233 ac_ext=cpp
60234 ac_cpp='$CXXCPP $CPPFLAGS'
60235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60240 /* end confdefs.h. */
60241 #include <math.h>
60242 #ifdef HAVE_IEEEFP_H
60243 #include <ieeefp.h>
60244 #endif
60247 main ()
60249 expf(0);
60251 return 0;
60253 _ACEOF
60254 if ac_fn_cxx_try_compile "$LINENO"; then :
60255 glibcxx_cv_func_expf_use=yes
60256 else
60257 glibcxx_cv_func_expf_use=no
60259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60260 ac_ext=c
60261 ac_cpp='$CPP $CPPFLAGS'
60262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60271 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60273 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60274 for ac_func in expf
60275 do :
60276 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60277 if test "x$ac_cv_func_expf" = x""yes; then :
60278 cat >>confdefs.h <<_ACEOF
60279 #define HAVE_EXPF 1
60280 _ACEOF
60283 done
60285 else
60287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60288 $as_echo_n "checking for _expf declaration... " >&6; }
60289 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60290 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60291 $as_echo_n "(cached) " >&6
60292 else
60295 ac_ext=cpp
60296 ac_cpp='$CXXCPP $CPPFLAGS'
60297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60302 /* end confdefs.h. */
60303 #include <math.h>
60304 #ifdef HAVE_IEEEFP_H
60305 #include <ieeefp.h>
60306 #endif
60309 main ()
60311 _expf(0);
60313 return 0;
60315 _ACEOF
60316 if ac_fn_cxx_try_compile "$LINENO"; then :
60317 glibcxx_cv_func__expf_use=yes
60318 else
60319 glibcxx_cv_func__expf_use=no
60321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60322 ac_ext=c
60323 ac_cpp='$CPP $CPPFLAGS'
60324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60333 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60335 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60336 for ac_func in _expf
60337 do :
60338 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60339 if test "x$ac_cv_func__expf" = x""yes; then :
60340 cat >>confdefs.h <<_ACEOF
60341 #define HAVE__EXPF 1
60342 _ACEOF
60345 done
60354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60355 $as_echo_n "checking for isnanf declaration... " >&6; }
60356 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60357 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60358 $as_echo_n "(cached) " >&6
60359 else
60362 ac_ext=cpp
60363 ac_cpp='$CXXCPP $CPPFLAGS'
60364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60369 /* end confdefs.h. */
60370 #include <math.h>
60371 #ifdef HAVE_IEEEFP_H
60372 #include <ieeefp.h>
60373 #endif
60376 main ()
60378 isnanf(0);
60380 return 0;
60382 _ACEOF
60383 if ac_fn_cxx_try_compile "$LINENO"; then :
60384 glibcxx_cv_func_isnanf_use=yes
60385 else
60386 glibcxx_cv_func_isnanf_use=no
60388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60389 ac_ext=c
60390 ac_cpp='$CPP $CPPFLAGS'
60391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60400 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60402 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60403 for ac_func in isnanf
60404 do :
60405 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60406 if test "x$ac_cv_func_isnanf" = x""yes; then :
60407 cat >>confdefs.h <<_ACEOF
60408 #define HAVE_ISNANF 1
60409 _ACEOF
60412 done
60414 else
60416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60417 $as_echo_n "checking for _isnanf declaration... " >&6; }
60418 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60419 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60420 $as_echo_n "(cached) " >&6
60421 else
60424 ac_ext=cpp
60425 ac_cpp='$CXXCPP $CPPFLAGS'
60426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60431 /* end confdefs.h. */
60432 #include <math.h>
60433 #ifdef HAVE_IEEEFP_H
60434 #include <ieeefp.h>
60435 #endif
60438 main ()
60440 _isnanf(0);
60442 return 0;
60444 _ACEOF
60445 if ac_fn_cxx_try_compile "$LINENO"; then :
60446 glibcxx_cv_func__isnanf_use=yes
60447 else
60448 glibcxx_cv_func__isnanf_use=no
60450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60451 ac_ext=c
60452 ac_cpp='$CPP $CPPFLAGS'
60453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60462 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60464 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60465 for ac_func in _isnanf
60466 do :
60467 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60468 if test "x$ac_cv_func__isnanf" = x""yes; then :
60469 cat >>confdefs.h <<_ACEOF
60470 #define HAVE__ISNANF 1
60471 _ACEOF
60474 done
60483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60484 $as_echo_n "checking for isinff declaration... " >&6; }
60485 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60486 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60487 $as_echo_n "(cached) " >&6
60488 else
60491 ac_ext=cpp
60492 ac_cpp='$CXXCPP $CPPFLAGS'
60493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60498 /* end confdefs.h. */
60499 #include <math.h>
60500 #ifdef HAVE_IEEEFP_H
60501 #include <ieeefp.h>
60502 #endif
60505 main ()
60507 isinff(0);
60509 return 0;
60511 _ACEOF
60512 if ac_fn_cxx_try_compile "$LINENO"; then :
60513 glibcxx_cv_func_isinff_use=yes
60514 else
60515 glibcxx_cv_func_isinff_use=no
60517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60518 ac_ext=c
60519 ac_cpp='$CPP $CPPFLAGS'
60520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60529 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60531 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60532 for ac_func in isinff
60533 do :
60534 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60535 if test "x$ac_cv_func_isinff" = x""yes; then :
60536 cat >>confdefs.h <<_ACEOF
60537 #define HAVE_ISINFF 1
60538 _ACEOF
60541 done
60543 else
60545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60546 $as_echo_n "checking for _isinff declaration... " >&6; }
60547 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60548 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60549 $as_echo_n "(cached) " >&6
60550 else
60553 ac_ext=cpp
60554 ac_cpp='$CXXCPP $CPPFLAGS'
60555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60560 /* end confdefs.h. */
60561 #include <math.h>
60562 #ifdef HAVE_IEEEFP_H
60563 #include <ieeefp.h>
60564 #endif
60567 main ()
60569 _isinff(0);
60571 return 0;
60573 _ACEOF
60574 if ac_fn_cxx_try_compile "$LINENO"; then :
60575 glibcxx_cv_func__isinff_use=yes
60576 else
60577 glibcxx_cv_func__isinff_use=no
60579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60580 ac_ext=c
60581 ac_cpp='$CPP $CPPFLAGS'
60582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60591 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60593 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60594 for ac_func in _isinff
60595 do :
60596 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60597 if test "x$ac_cv_func__isinff" = x""yes; then :
60598 cat >>confdefs.h <<_ACEOF
60599 #define HAVE__ISINFF 1
60600 _ACEOF
60603 done
60612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60613 $as_echo_n "checking for atan2f declaration... " >&6; }
60614 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60615 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60616 $as_echo_n "(cached) " >&6
60617 else
60620 ac_ext=cpp
60621 ac_cpp='$CXXCPP $CPPFLAGS'
60622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60627 /* end confdefs.h. */
60628 #include <math.h>
60630 main ()
60632 atan2f(0, 0);
60634 return 0;
60636 _ACEOF
60637 if ac_fn_cxx_try_compile "$LINENO"; then :
60638 glibcxx_cv_func_atan2f_use=yes
60639 else
60640 glibcxx_cv_func_atan2f_use=no
60642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60643 ac_ext=c
60644 ac_cpp='$CPP $CPPFLAGS'
60645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60654 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60656 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60657 for ac_func in atan2f
60658 do :
60659 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60660 if test "x$ac_cv_func_atan2f" = x""yes; then :
60661 cat >>confdefs.h <<_ACEOF
60662 #define HAVE_ATAN2F 1
60663 _ACEOF
60666 done
60668 else
60670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60671 $as_echo_n "checking for _atan2f declaration... " >&6; }
60672 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60673 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60674 $as_echo_n "(cached) " >&6
60675 else
60678 ac_ext=cpp
60679 ac_cpp='$CXXCPP $CPPFLAGS'
60680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60685 /* end confdefs.h. */
60686 #include <math.h>
60688 main ()
60690 _atan2f(0, 0);
60692 return 0;
60694 _ACEOF
60695 if ac_fn_cxx_try_compile "$LINENO"; then :
60696 glibcxx_cv_func__atan2f_use=yes
60697 else
60698 glibcxx_cv_func__atan2f_use=no
60700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60701 ac_ext=c
60702 ac_cpp='$CPP $CPPFLAGS'
60703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60712 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60714 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60715 for ac_func in _atan2f
60716 do :
60717 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60718 if test "x$ac_cv_func__atan2f" = x""yes; then :
60719 cat >>confdefs.h <<_ACEOF
60720 #define HAVE__ATAN2F 1
60721 _ACEOF
60724 done
60733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60734 $as_echo_n "checking for fabsf declaration... " >&6; }
60735 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60736 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60737 $as_echo_n "(cached) " >&6
60738 else
60741 ac_ext=cpp
60742 ac_cpp='$CXXCPP $CPPFLAGS'
60743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60748 /* end confdefs.h. */
60749 #include <math.h>
60750 #ifdef HAVE_IEEEFP_H
60751 #include <ieeefp.h>
60752 #endif
60755 main ()
60757 fabsf(0);
60759 return 0;
60761 _ACEOF
60762 if ac_fn_cxx_try_compile "$LINENO"; then :
60763 glibcxx_cv_func_fabsf_use=yes
60764 else
60765 glibcxx_cv_func_fabsf_use=no
60767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60768 ac_ext=c
60769 ac_cpp='$CPP $CPPFLAGS'
60770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60779 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60781 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60782 for ac_func in fabsf
60783 do :
60784 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60785 if test "x$ac_cv_func_fabsf" = x""yes; then :
60786 cat >>confdefs.h <<_ACEOF
60787 #define HAVE_FABSF 1
60788 _ACEOF
60791 done
60793 else
60795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60796 $as_echo_n "checking for _fabsf declaration... " >&6; }
60797 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60798 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60799 $as_echo_n "(cached) " >&6
60800 else
60803 ac_ext=cpp
60804 ac_cpp='$CXXCPP $CPPFLAGS'
60805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60810 /* end confdefs.h. */
60811 #include <math.h>
60812 #ifdef HAVE_IEEEFP_H
60813 #include <ieeefp.h>
60814 #endif
60817 main ()
60819 _fabsf(0);
60821 return 0;
60823 _ACEOF
60824 if ac_fn_cxx_try_compile "$LINENO"; then :
60825 glibcxx_cv_func__fabsf_use=yes
60826 else
60827 glibcxx_cv_func__fabsf_use=no
60829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60830 ac_ext=c
60831 ac_cpp='$CPP $CPPFLAGS'
60832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60841 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60843 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60844 for ac_func in _fabsf
60845 do :
60846 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60847 if test "x$ac_cv_func__fabsf" = x""yes; then :
60848 cat >>confdefs.h <<_ACEOF
60849 #define HAVE__FABSF 1
60850 _ACEOF
60853 done
60862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60863 $as_echo_n "checking for fmodf declaration... " >&6; }
60864 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60865 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60866 $as_echo_n "(cached) " >&6
60867 else
60870 ac_ext=cpp
60871 ac_cpp='$CXXCPP $CPPFLAGS'
60872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60877 /* end confdefs.h. */
60878 #include <math.h>
60880 main ()
60882 fmodf(0, 0);
60884 return 0;
60886 _ACEOF
60887 if ac_fn_cxx_try_compile "$LINENO"; then :
60888 glibcxx_cv_func_fmodf_use=yes
60889 else
60890 glibcxx_cv_func_fmodf_use=no
60892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60893 ac_ext=c
60894 ac_cpp='$CPP $CPPFLAGS'
60895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60904 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60906 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60907 for ac_func in fmodf
60908 do :
60909 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60910 if test "x$ac_cv_func_fmodf" = x""yes; then :
60911 cat >>confdefs.h <<_ACEOF
60912 #define HAVE_FMODF 1
60913 _ACEOF
60916 done
60918 else
60920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60921 $as_echo_n "checking for _fmodf declaration... " >&6; }
60922 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60923 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60924 $as_echo_n "(cached) " >&6
60925 else
60928 ac_ext=cpp
60929 ac_cpp='$CXXCPP $CPPFLAGS'
60930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60935 /* end confdefs.h. */
60936 #include <math.h>
60938 main ()
60940 _fmodf(0, 0);
60942 return 0;
60944 _ACEOF
60945 if ac_fn_cxx_try_compile "$LINENO"; then :
60946 glibcxx_cv_func__fmodf_use=yes
60947 else
60948 glibcxx_cv_func__fmodf_use=no
60950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60951 ac_ext=c
60952 ac_cpp='$CPP $CPPFLAGS'
60953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60962 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60964 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60965 for ac_func in _fmodf
60966 do :
60967 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60968 if test "x$ac_cv_func__fmodf" = x""yes; then :
60969 cat >>confdefs.h <<_ACEOF
60970 #define HAVE__FMODF 1
60971 _ACEOF
60974 done
60983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60984 $as_echo_n "checking for frexpf declaration... " >&6; }
60985 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60986 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60987 $as_echo_n "(cached) " >&6
60988 else
60991 ac_ext=cpp
60992 ac_cpp='$CXXCPP $CPPFLAGS'
60993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60998 /* end confdefs.h. */
60999 #include <math.h>
61001 main ()
61003 frexpf(0, 0);
61005 return 0;
61007 _ACEOF
61008 if ac_fn_cxx_try_compile "$LINENO"; then :
61009 glibcxx_cv_func_frexpf_use=yes
61010 else
61011 glibcxx_cv_func_frexpf_use=no
61013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61014 ac_ext=c
61015 ac_cpp='$CPP $CPPFLAGS'
61016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
61025 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
61027 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
61028 for ac_func in frexpf
61029 do :
61030 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
61031 if test "x$ac_cv_func_frexpf" = x""yes; then :
61032 cat >>confdefs.h <<_ACEOF
61033 #define HAVE_FREXPF 1
61034 _ACEOF
61037 done
61039 else
61041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
61042 $as_echo_n "checking for _frexpf declaration... " >&6; }
61043 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
61044 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
61045 $as_echo_n "(cached) " >&6
61046 else
61049 ac_ext=cpp
61050 ac_cpp='$CXXCPP $CPPFLAGS'
61051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61056 /* end confdefs.h. */
61057 #include <math.h>
61059 main ()
61061 _frexpf(0, 0);
61063 return 0;
61065 _ACEOF
61066 if ac_fn_cxx_try_compile "$LINENO"; then :
61067 glibcxx_cv_func__frexpf_use=yes
61068 else
61069 glibcxx_cv_func__frexpf_use=no
61071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61072 ac_ext=c
61073 ac_cpp='$CPP $CPPFLAGS'
61074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61083 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61085 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61086 for ac_func in _frexpf
61087 do :
61088 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61089 if test "x$ac_cv_func__frexpf" = x""yes; then :
61090 cat >>confdefs.h <<_ACEOF
61091 #define HAVE__FREXPF 1
61092 _ACEOF
61095 done
61104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61105 $as_echo_n "checking for hypotf declaration... " >&6; }
61106 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61107 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61108 $as_echo_n "(cached) " >&6
61109 else
61112 ac_ext=cpp
61113 ac_cpp='$CXXCPP $CPPFLAGS'
61114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61119 /* end confdefs.h. */
61120 #include <math.h>
61122 main ()
61124 hypotf(0, 0);
61126 return 0;
61128 _ACEOF
61129 if ac_fn_cxx_try_compile "$LINENO"; then :
61130 glibcxx_cv_func_hypotf_use=yes
61131 else
61132 glibcxx_cv_func_hypotf_use=no
61134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61135 ac_ext=c
61136 ac_cpp='$CPP $CPPFLAGS'
61137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61146 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61148 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61149 for ac_func in hypotf
61150 do :
61151 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61152 if test "x$ac_cv_func_hypotf" = x""yes; then :
61153 cat >>confdefs.h <<_ACEOF
61154 #define HAVE_HYPOTF 1
61155 _ACEOF
61158 done
61160 else
61162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61163 $as_echo_n "checking for _hypotf declaration... " >&6; }
61164 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61165 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61166 $as_echo_n "(cached) " >&6
61167 else
61170 ac_ext=cpp
61171 ac_cpp='$CXXCPP $CPPFLAGS'
61172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61177 /* end confdefs.h. */
61178 #include <math.h>
61180 main ()
61182 _hypotf(0, 0);
61184 return 0;
61186 _ACEOF
61187 if ac_fn_cxx_try_compile "$LINENO"; then :
61188 glibcxx_cv_func__hypotf_use=yes
61189 else
61190 glibcxx_cv_func__hypotf_use=no
61192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61193 ac_ext=c
61194 ac_cpp='$CPP $CPPFLAGS'
61195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61204 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61206 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61207 for ac_func in _hypotf
61208 do :
61209 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61210 if test "x$ac_cv_func__hypotf" = x""yes; then :
61211 cat >>confdefs.h <<_ACEOF
61212 #define HAVE__HYPOTF 1
61213 _ACEOF
61216 done
61225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61226 $as_echo_n "checking for ldexpf declaration... " >&6; }
61227 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61228 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61229 $as_echo_n "(cached) " >&6
61230 else
61233 ac_ext=cpp
61234 ac_cpp='$CXXCPP $CPPFLAGS'
61235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61240 /* end confdefs.h. */
61241 #include <math.h>
61243 main ()
61245 ldexpf(0, 0);
61247 return 0;
61249 _ACEOF
61250 if ac_fn_cxx_try_compile "$LINENO"; then :
61251 glibcxx_cv_func_ldexpf_use=yes
61252 else
61253 glibcxx_cv_func_ldexpf_use=no
61255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61256 ac_ext=c
61257 ac_cpp='$CPP $CPPFLAGS'
61258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61267 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61269 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61270 for ac_func in ldexpf
61271 do :
61272 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61273 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61274 cat >>confdefs.h <<_ACEOF
61275 #define HAVE_LDEXPF 1
61276 _ACEOF
61279 done
61281 else
61283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61284 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61285 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61286 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61287 $as_echo_n "(cached) " >&6
61288 else
61291 ac_ext=cpp
61292 ac_cpp='$CXXCPP $CPPFLAGS'
61293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61298 /* end confdefs.h. */
61299 #include <math.h>
61301 main ()
61303 _ldexpf(0, 0);
61305 return 0;
61307 _ACEOF
61308 if ac_fn_cxx_try_compile "$LINENO"; then :
61309 glibcxx_cv_func__ldexpf_use=yes
61310 else
61311 glibcxx_cv_func__ldexpf_use=no
61313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61314 ac_ext=c
61315 ac_cpp='$CPP $CPPFLAGS'
61316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61325 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61327 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61328 for ac_func in _ldexpf
61329 do :
61330 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61331 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61332 cat >>confdefs.h <<_ACEOF
61333 #define HAVE__LDEXPF 1
61334 _ACEOF
61337 done
61346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61347 $as_echo_n "checking for logf declaration... " >&6; }
61348 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61349 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61350 $as_echo_n "(cached) " >&6
61351 else
61354 ac_ext=cpp
61355 ac_cpp='$CXXCPP $CPPFLAGS'
61356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61361 /* end confdefs.h. */
61362 #include <math.h>
61363 #ifdef HAVE_IEEEFP_H
61364 #include <ieeefp.h>
61365 #endif
61368 main ()
61370 logf(0);
61372 return 0;
61374 _ACEOF
61375 if ac_fn_cxx_try_compile "$LINENO"; then :
61376 glibcxx_cv_func_logf_use=yes
61377 else
61378 glibcxx_cv_func_logf_use=no
61380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61381 ac_ext=c
61382 ac_cpp='$CPP $CPPFLAGS'
61383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61392 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61394 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61395 for ac_func in logf
61396 do :
61397 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61398 if test "x$ac_cv_func_logf" = x""yes; then :
61399 cat >>confdefs.h <<_ACEOF
61400 #define HAVE_LOGF 1
61401 _ACEOF
61404 done
61406 else
61408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61409 $as_echo_n "checking for _logf declaration... " >&6; }
61410 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61411 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61412 $as_echo_n "(cached) " >&6
61413 else
61416 ac_ext=cpp
61417 ac_cpp='$CXXCPP $CPPFLAGS'
61418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61423 /* end confdefs.h. */
61424 #include <math.h>
61425 #ifdef HAVE_IEEEFP_H
61426 #include <ieeefp.h>
61427 #endif
61430 main ()
61432 _logf(0);
61434 return 0;
61436 _ACEOF
61437 if ac_fn_cxx_try_compile "$LINENO"; then :
61438 glibcxx_cv_func__logf_use=yes
61439 else
61440 glibcxx_cv_func__logf_use=no
61442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61443 ac_ext=c
61444 ac_cpp='$CPP $CPPFLAGS'
61445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61454 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61456 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61457 for ac_func in _logf
61458 do :
61459 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61460 if test "x$ac_cv_func__logf" = x""yes; then :
61461 cat >>confdefs.h <<_ACEOF
61462 #define HAVE__LOGF 1
61463 _ACEOF
61466 done
61475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61476 $as_echo_n "checking for log10f declaration... " >&6; }
61477 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61478 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61479 $as_echo_n "(cached) " >&6
61480 else
61483 ac_ext=cpp
61484 ac_cpp='$CXXCPP $CPPFLAGS'
61485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61490 /* end confdefs.h. */
61491 #include <math.h>
61492 #ifdef HAVE_IEEEFP_H
61493 #include <ieeefp.h>
61494 #endif
61497 main ()
61499 log10f(0);
61501 return 0;
61503 _ACEOF
61504 if ac_fn_cxx_try_compile "$LINENO"; then :
61505 glibcxx_cv_func_log10f_use=yes
61506 else
61507 glibcxx_cv_func_log10f_use=no
61509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61510 ac_ext=c
61511 ac_cpp='$CPP $CPPFLAGS'
61512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61521 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61523 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61524 for ac_func in log10f
61525 do :
61526 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61527 if test "x$ac_cv_func_log10f" = x""yes; then :
61528 cat >>confdefs.h <<_ACEOF
61529 #define HAVE_LOG10F 1
61530 _ACEOF
61533 done
61535 else
61537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61538 $as_echo_n "checking for _log10f declaration... " >&6; }
61539 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61540 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61541 $as_echo_n "(cached) " >&6
61542 else
61545 ac_ext=cpp
61546 ac_cpp='$CXXCPP $CPPFLAGS'
61547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61552 /* end confdefs.h. */
61553 #include <math.h>
61554 #ifdef HAVE_IEEEFP_H
61555 #include <ieeefp.h>
61556 #endif
61559 main ()
61561 _log10f(0);
61563 return 0;
61565 _ACEOF
61566 if ac_fn_cxx_try_compile "$LINENO"; then :
61567 glibcxx_cv_func__log10f_use=yes
61568 else
61569 glibcxx_cv_func__log10f_use=no
61571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61572 ac_ext=c
61573 ac_cpp='$CPP $CPPFLAGS'
61574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61583 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61585 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61586 for ac_func in _log10f
61587 do :
61588 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61589 if test "x$ac_cv_func__log10f" = x""yes; then :
61590 cat >>confdefs.h <<_ACEOF
61591 #define HAVE__LOG10F 1
61592 _ACEOF
61595 done
61604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61605 $as_echo_n "checking for modff declaration... " >&6; }
61606 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61607 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61608 $as_echo_n "(cached) " >&6
61609 else
61612 ac_ext=cpp
61613 ac_cpp='$CXXCPP $CPPFLAGS'
61614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61619 /* end confdefs.h. */
61620 #include <math.h>
61622 main ()
61624 modff(0, 0);
61626 return 0;
61628 _ACEOF
61629 if ac_fn_cxx_try_compile "$LINENO"; then :
61630 glibcxx_cv_func_modff_use=yes
61631 else
61632 glibcxx_cv_func_modff_use=no
61634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61635 ac_ext=c
61636 ac_cpp='$CPP $CPPFLAGS'
61637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61646 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61648 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61649 for ac_func in modff
61650 do :
61651 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61652 if test "x$ac_cv_func_modff" = x""yes; then :
61653 cat >>confdefs.h <<_ACEOF
61654 #define HAVE_MODFF 1
61655 _ACEOF
61658 done
61660 else
61662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61663 $as_echo_n "checking for _modff declaration... " >&6; }
61664 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61665 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61666 $as_echo_n "(cached) " >&6
61667 else
61670 ac_ext=cpp
61671 ac_cpp='$CXXCPP $CPPFLAGS'
61672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61677 /* end confdefs.h. */
61678 #include <math.h>
61680 main ()
61682 _modff(0, 0);
61684 return 0;
61686 _ACEOF
61687 if ac_fn_cxx_try_compile "$LINENO"; then :
61688 glibcxx_cv_func__modff_use=yes
61689 else
61690 glibcxx_cv_func__modff_use=no
61692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61693 ac_ext=c
61694 ac_cpp='$CPP $CPPFLAGS'
61695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61704 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61706 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61707 for ac_func in _modff
61708 do :
61709 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61710 if test "x$ac_cv_func__modff" = x""yes; then :
61711 cat >>confdefs.h <<_ACEOF
61712 #define HAVE__MODFF 1
61713 _ACEOF
61716 done
61725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61726 $as_echo_n "checking for modf declaration... " >&6; }
61727 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61728 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61729 $as_echo_n "(cached) " >&6
61730 else
61733 ac_ext=cpp
61734 ac_cpp='$CXXCPP $CPPFLAGS'
61735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61740 /* end confdefs.h. */
61741 #include <math.h>
61743 main ()
61745 modf(0, 0);
61747 return 0;
61749 _ACEOF
61750 if ac_fn_cxx_try_compile "$LINENO"; then :
61751 glibcxx_cv_func_modf_use=yes
61752 else
61753 glibcxx_cv_func_modf_use=no
61755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61756 ac_ext=c
61757 ac_cpp='$CPP $CPPFLAGS'
61758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61767 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61769 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61770 for ac_func in modf
61771 do :
61772 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61773 if test "x$ac_cv_func_modf" = x""yes; then :
61774 cat >>confdefs.h <<_ACEOF
61775 #define HAVE_MODF 1
61776 _ACEOF
61779 done
61781 else
61783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61784 $as_echo_n "checking for _modf declaration... " >&6; }
61785 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61786 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61787 $as_echo_n "(cached) " >&6
61788 else
61791 ac_ext=cpp
61792 ac_cpp='$CXXCPP $CPPFLAGS'
61793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61798 /* end confdefs.h. */
61799 #include <math.h>
61801 main ()
61803 _modf(0, 0);
61805 return 0;
61807 _ACEOF
61808 if ac_fn_cxx_try_compile "$LINENO"; then :
61809 glibcxx_cv_func__modf_use=yes
61810 else
61811 glibcxx_cv_func__modf_use=no
61813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61814 ac_ext=c
61815 ac_cpp='$CPP $CPPFLAGS'
61816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61825 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61827 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61828 for ac_func in _modf
61829 do :
61830 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61831 if test "x$ac_cv_func__modf" = x""yes; then :
61832 cat >>confdefs.h <<_ACEOF
61833 #define HAVE__MODF 1
61834 _ACEOF
61837 done
61846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61847 $as_echo_n "checking for powf declaration... " >&6; }
61848 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61849 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61850 $as_echo_n "(cached) " >&6
61851 else
61854 ac_ext=cpp
61855 ac_cpp='$CXXCPP $CPPFLAGS'
61856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61861 /* end confdefs.h. */
61862 #include <math.h>
61864 main ()
61866 powf(0, 0);
61868 return 0;
61870 _ACEOF
61871 if ac_fn_cxx_try_compile "$LINENO"; then :
61872 glibcxx_cv_func_powf_use=yes
61873 else
61874 glibcxx_cv_func_powf_use=no
61876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61877 ac_ext=c
61878 ac_cpp='$CPP $CPPFLAGS'
61879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61888 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61890 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61891 for ac_func in powf
61892 do :
61893 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61894 if test "x$ac_cv_func_powf" = x""yes; then :
61895 cat >>confdefs.h <<_ACEOF
61896 #define HAVE_POWF 1
61897 _ACEOF
61900 done
61902 else
61904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61905 $as_echo_n "checking for _powf declaration... " >&6; }
61906 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61907 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61908 $as_echo_n "(cached) " >&6
61909 else
61912 ac_ext=cpp
61913 ac_cpp='$CXXCPP $CPPFLAGS'
61914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61919 /* end confdefs.h. */
61920 #include <math.h>
61922 main ()
61924 _powf(0, 0);
61926 return 0;
61928 _ACEOF
61929 if ac_fn_cxx_try_compile "$LINENO"; then :
61930 glibcxx_cv_func__powf_use=yes
61931 else
61932 glibcxx_cv_func__powf_use=no
61934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61935 ac_ext=c
61936 ac_cpp='$CPP $CPPFLAGS'
61937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61946 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61948 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61949 for ac_func in _powf
61950 do :
61951 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61952 if test "x$ac_cv_func__powf" = x""yes; then :
61953 cat >>confdefs.h <<_ACEOF
61954 #define HAVE__POWF 1
61955 _ACEOF
61958 done
61967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61968 $as_echo_n "checking for sqrtf declaration... " >&6; }
61969 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61970 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61971 $as_echo_n "(cached) " >&6
61972 else
61975 ac_ext=cpp
61976 ac_cpp='$CXXCPP $CPPFLAGS'
61977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61982 /* end confdefs.h. */
61983 #include <math.h>
61984 #ifdef HAVE_IEEEFP_H
61985 #include <ieeefp.h>
61986 #endif
61989 main ()
61991 sqrtf(0);
61993 return 0;
61995 _ACEOF
61996 if ac_fn_cxx_try_compile "$LINENO"; then :
61997 glibcxx_cv_func_sqrtf_use=yes
61998 else
61999 glibcxx_cv_func_sqrtf_use=no
62001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62002 ac_ext=c
62003 ac_cpp='$CPP $CPPFLAGS'
62004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
62013 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
62015 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62016 for ac_func in sqrtf
62017 do :
62018 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
62019 if test "x$ac_cv_func_sqrtf" = x""yes; then :
62020 cat >>confdefs.h <<_ACEOF
62021 #define HAVE_SQRTF 1
62022 _ACEOF
62025 done
62027 else
62029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
62030 $as_echo_n "checking for _sqrtf declaration... " >&6; }
62031 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62032 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
62033 $as_echo_n "(cached) " >&6
62034 else
62037 ac_ext=cpp
62038 ac_cpp='$CXXCPP $CPPFLAGS'
62039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62044 /* end confdefs.h. */
62045 #include <math.h>
62046 #ifdef HAVE_IEEEFP_H
62047 #include <ieeefp.h>
62048 #endif
62051 main ()
62053 _sqrtf(0);
62055 return 0;
62057 _ACEOF
62058 if ac_fn_cxx_try_compile "$LINENO"; then :
62059 glibcxx_cv_func__sqrtf_use=yes
62060 else
62061 glibcxx_cv_func__sqrtf_use=no
62063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62064 ac_ext=c
62065 ac_cpp='$CPP $CPPFLAGS'
62066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62075 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62077 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62078 for ac_func in _sqrtf
62079 do :
62080 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62081 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62082 cat >>confdefs.h <<_ACEOF
62083 #define HAVE__SQRTF 1
62084 _ACEOF
62087 done
62096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62097 $as_echo_n "checking for sincosf declaration... " >&6; }
62098 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62099 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62100 $as_echo_n "(cached) " >&6
62101 else
62104 ac_ext=cpp
62105 ac_cpp='$CXXCPP $CPPFLAGS'
62106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62111 /* end confdefs.h. */
62112 #include <math.h>
62114 main ()
62116 sincosf(0, 0, 0);
62118 return 0;
62120 _ACEOF
62121 if ac_fn_cxx_try_compile "$LINENO"; then :
62122 glibcxx_cv_func_sincosf_use=yes
62123 else
62124 glibcxx_cv_func_sincosf_use=no
62126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62127 ac_ext=c
62128 ac_cpp='$CPP $CPPFLAGS'
62129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62138 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62140 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62141 for ac_func in sincosf
62142 do :
62143 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62144 if test "x$ac_cv_func_sincosf" = x""yes; then :
62145 cat >>confdefs.h <<_ACEOF
62146 #define HAVE_SINCOSF 1
62147 _ACEOF
62150 done
62152 else
62154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62155 $as_echo_n "checking for _sincosf declaration... " >&6; }
62156 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62157 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62158 $as_echo_n "(cached) " >&6
62159 else
62162 ac_ext=cpp
62163 ac_cpp='$CXXCPP $CPPFLAGS'
62164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62169 /* end confdefs.h. */
62170 #include <math.h>
62172 main ()
62174 _sincosf(0, 0, 0);
62176 return 0;
62178 _ACEOF
62179 if ac_fn_cxx_try_compile "$LINENO"; then :
62180 glibcxx_cv_func__sincosf_use=yes
62181 else
62182 glibcxx_cv_func__sincosf_use=no
62184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62185 ac_ext=c
62186 ac_cpp='$CPP $CPPFLAGS'
62187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62196 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62198 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62199 for ac_func in _sincosf
62200 do :
62201 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62202 if test "x$ac_cv_func__sincosf" = x""yes; then :
62203 cat >>confdefs.h <<_ACEOF
62204 #define HAVE__SINCOSF 1
62205 _ACEOF
62208 done
62217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62218 $as_echo_n "checking for finitef declaration... " >&6; }
62219 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62220 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62221 $as_echo_n "(cached) " >&6
62222 else
62225 ac_ext=cpp
62226 ac_cpp='$CXXCPP $CPPFLAGS'
62227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62232 /* end confdefs.h. */
62233 #include <math.h>
62234 #ifdef HAVE_IEEEFP_H
62235 #include <ieeefp.h>
62236 #endif
62239 main ()
62241 finitef(0);
62243 return 0;
62245 _ACEOF
62246 if ac_fn_cxx_try_compile "$LINENO"; then :
62247 glibcxx_cv_func_finitef_use=yes
62248 else
62249 glibcxx_cv_func_finitef_use=no
62251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62252 ac_ext=c
62253 ac_cpp='$CPP $CPPFLAGS'
62254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62263 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62265 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62266 for ac_func in finitef
62267 do :
62268 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62269 if test "x$ac_cv_func_finitef" = x""yes; then :
62270 cat >>confdefs.h <<_ACEOF
62271 #define HAVE_FINITEF 1
62272 _ACEOF
62275 done
62277 else
62279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62280 $as_echo_n "checking for _finitef declaration... " >&6; }
62281 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62282 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62283 $as_echo_n "(cached) " >&6
62284 else
62287 ac_ext=cpp
62288 ac_cpp='$CXXCPP $CPPFLAGS'
62289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62294 /* end confdefs.h. */
62295 #include <math.h>
62296 #ifdef HAVE_IEEEFP_H
62297 #include <ieeefp.h>
62298 #endif
62301 main ()
62303 _finitef(0);
62305 return 0;
62307 _ACEOF
62308 if ac_fn_cxx_try_compile "$LINENO"; then :
62309 glibcxx_cv_func__finitef_use=yes
62310 else
62311 glibcxx_cv_func__finitef_use=no
62313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62314 ac_ext=c
62315 ac_cpp='$CPP $CPPFLAGS'
62316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62325 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62327 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62328 for ac_func in _finitef
62329 do :
62330 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62331 if test "x$ac_cv_func__finitef" = x""yes; then :
62332 cat >>confdefs.h <<_ACEOF
62333 #define HAVE__FINITEF 1
62334 _ACEOF
62337 done
62346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62347 $as_echo_n "checking for long double trig functions... " >&6; }
62348 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62349 $as_echo_n "(cached) " >&6
62350 else
62353 ac_ext=cpp
62354 ac_cpp='$CXXCPP $CPPFLAGS'
62355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62360 /* end confdefs.h. */
62361 #include <math.h>
62363 main ()
62365 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62367 return 0;
62369 _ACEOF
62370 if ac_fn_cxx_try_compile "$LINENO"; then :
62371 glibcxx_cv_func_long_double_trig_use=yes
62372 else
62373 glibcxx_cv_func_long_double_trig_use=no
62375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62376 ac_ext=c
62377 ac_cpp='$CPP $CPPFLAGS'
62378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62385 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62386 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62387 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62388 do :
62389 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62390 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62391 eval as_val=\$$as_ac_var
62392 if test "x$as_val" = x""yes; then :
62393 cat >>confdefs.h <<_ACEOF
62394 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62395 _ACEOF
62398 done
62400 else
62401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62402 $as_echo_n "checking for _long double trig functions... " >&6; }
62403 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62404 $as_echo_n "(cached) " >&6
62405 else
62408 ac_ext=cpp
62409 ac_cpp='$CXXCPP $CPPFLAGS'
62410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62415 /* end confdefs.h. */
62416 #include <math.h>
62418 main ()
62420 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62422 return 0;
62424 _ACEOF
62425 if ac_fn_cxx_try_compile "$LINENO"; then :
62426 glibcxx_cv_func__long_double_trig_use=yes
62427 else
62428 glibcxx_cv_func__long_double_trig_use=no
62430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62431 ac_ext=c
62432 ac_cpp='$CPP $CPPFLAGS'
62433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62440 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62441 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62442 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62443 do :
62444 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62445 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62446 eval as_val=\$$as_ac_var
62447 if test "x$as_val" = x""yes; then :
62448 cat >>confdefs.h <<_ACEOF
62449 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62450 _ACEOF
62453 done
62462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62463 $as_echo_n "checking for long double round functions... " >&6; }
62464 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62465 $as_echo_n "(cached) " >&6
62466 else
62469 ac_ext=cpp
62470 ac_cpp='$CXXCPP $CPPFLAGS'
62471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62476 /* end confdefs.h. */
62477 #include <math.h>
62479 main ()
62481 ceill (0); floorl (0);
62483 return 0;
62485 _ACEOF
62486 if ac_fn_cxx_try_compile "$LINENO"; then :
62487 glibcxx_cv_func_long_double_round_use=yes
62488 else
62489 glibcxx_cv_func_long_double_round_use=no
62491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62492 ac_ext=c
62493 ac_cpp='$CPP $CPPFLAGS'
62494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62501 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62502 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62503 for ac_func in ceill floorl
62504 do :
62505 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62506 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62507 eval as_val=\$$as_ac_var
62508 if test "x$as_val" = x""yes; then :
62509 cat >>confdefs.h <<_ACEOF
62510 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62511 _ACEOF
62514 done
62516 else
62517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62518 $as_echo_n "checking for _long double round functions... " >&6; }
62519 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62520 $as_echo_n "(cached) " >&6
62521 else
62524 ac_ext=cpp
62525 ac_cpp='$CXXCPP $CPPFLAGS'
62526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62531 /* end confdefs.h. */
62532 #include <math.h>
62534 main ()
62536 _ceill (0); _floorl (0);
62538 return 0;
62540 _ACEOF
62541 if ac_fn_cxx_try_compile "$LINENO"; then :
62542 glibcxx_cv_func__long_double_round_use=yes
62543 else
62544 glibcxx_cv_func__long_double_round_use=no
62546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62547 ac_ext=c
62548 ac_cpp='$CPP $CPPFLAGS'
62549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62556 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62557 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62558 for ac_func in _ceill _floorl
62559 do :
62560 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62561 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62562 eval as_val=\$$as_ac_var
62563 if test "x$as_val" = x""yes; then :
62564 cat >>confdefs.h <<_ACEOF
62565 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62566 _ACEOF
62569 done
62579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62580 $as_echo_n "checking for isnanl declaration... " >&6; }
62581 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62582 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62583 $as_echo_n "(cached) " >&6
62584 else
62587 ac_ext=cpp
62588 ac_cpp='$CXXCPP $CPPFLAGS'
62589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62594 /* end confdefs.h. */
62595 #include <math.h>
62596 #ifdef HAVE_IEEEFP_H
62597 #include <ieeefp.h>
62598 #endif
62601 main ()
62603 isnanl(0);
62605 return 0;
62607 _ACEOF
62608 if ac_fn_cxx_try_compile "$LINENO"; then :
62609 glibcxx_cv_func_isnanl_use=yes
62610 else
62611 glibcxx_cv_func_isnanl_use=no
62613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62614 ac_ext=c
62615 ac_cpp='$CPP $CPPFLAGS'
62616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62625 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62627 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62628 for ac_func in isnanl
62629 do :
62630 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62631 if test "x$ac_cv_func_isnanl" = x""yes; then :
62632 cat >>confdefs.h <<_ACEOF
62633 #define HAVE_ISNANL 1
62634 _ACEOF
62637 done
62639 else
62641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62642 $as_echo_n "checking for _isnanl declaration... " >&6; }
62643 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62644 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62645 $as_echo_n "(cached) " >&6
62646 else
62649 ac_ext=cpp
62650 ac_cpp='$CXXCPP $CPPFLAGS'
62651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62656 /* end confdefs.h. */
62657 #include <math.h>
62658 #ifdef HAVE_IEEEFP_H
62659 #include <ieeefp.h>
62660 #endif
62663 main ()
62665 _isnanl(0);
62667 return 0;
62669 _ACEOF
62670 if ac_fn_cxx_try_compile "$LINENO"; then :
62671 glibcxx_cv_func__isnanl_use=yes
62672 else
62673 glibcxx_cv_func__isnanl_use=no
62675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62676 ac_ext=c
62677 ac_cpp='$CPP $CPPFLAGS'
62678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62687 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62689 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62690 for ac_func in _isnanl
62691 do :
62692 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62693 if test "x$ac_cv_func__isnanl" = x""yes; then :
62694 cat >>confdefs.h <<_ACEOF
62695 #define HAVE__ISNANL 1
62696 _ACEOF
62699 done
62708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62709 $as_echo_n "checking for isinfl declaration... " >&6; }
62710 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62711 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62712 $as_echo_n "(cached) " >&6
62713 else
62716 ac_ext=cpp
62717 ac_cpp='$CXXCPP $CPPFLAGS'
62718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62723 /* end confdefs.h. */
62724 #include <math.h>
62725 #ifdef HAVE_IEEEFP_H
62726 #include <ieeefp.h>
62727 #endif
62730 main ()
62732 isinfl(0);
62734 return 0;
62736 _ACEOF
62737 if ac_fn_cxx_try_compile "$LINENO"; then :
62738 glibcxx_cv_func_isinfl_use=yes
62739 else
62740 glibcxx_cv_func_isinfl_use=no
62742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62743 ac_ext=c
62744 ac_cpp='$CPP $CPPFLAGS'
62745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62754 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62756 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62757 for ac_func in isinfl
62758 do :
62759 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62760 if test "x$ac_cv_func_isinfl" = x""yes; then :
62761 cat >>confdefs.h <<_ACEOF
62762 #define HAVE_ISINFL 1
62763 _ACEOF
62766 done
62768 else
62770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62771 $as_echo_n "checking for _isinfl declaration... " >&6; }
62772 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62773 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62774 $as_echo_n "(cached) " >&6
62775 else
62778 ac_ext=cpp
62779 ac_cpp='$CXXCPP $CPPFLAGS'
62780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62785 /* end confdefs.h. */
62786 #include <math.h>
62787 #ifdef HAVE_IEEEFP_H
62788 #include <ieeefp.h>
62789 #endif
62792 main ()
62794 _isinfl(0);
62796 return 0;
62798 _ACEOF
62799 if ac_fn_cxx_try_compile "$LINENO"; then :
62800 glibcxx_cv_func__isinfl_use=yes
62801 else
62802 glibcxx_cv_func__isinfl_use=no
62804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62805 ac_ext=c
62806 ac_cpp='$CPP $CPPFLAGS'
62807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62816 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62818 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62819 for ac_func in _isinfl
62820 do :
62821 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62822 if test "x$ac_cv_func__isinfl" = x""yes; then :
62823 cat >>confdefs.h <<_ACEOF
62824 #define HAVE__ISINFL 1
62825 _ACEOF
62828 done
62837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62838 $as_echo_n "checking for atan2l declaration... " >&6; }
62839 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62840 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62841 $as_echo_n "(cached) " >&6
62842 else
62845 ac_ext=cpp
62846 ac_cpp='$CXXCPP $CPPFLAGS'
62847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62852 /* end confdefs.h. */
62853 #include <math.h>
62855 main ()
62857 atan2l(0, 0);
62859 return 0;
62861 _ACEOF
62862 if ac_fn_cxx_try_compile "$LINENO"; then :
62863 glibcxx_cv_func_atan2l_use=yes
62864 else
62865 glibcxx_cv_func_atan2l_use=no
62867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62868 ac_ext=c
62869 ac_cpp='$CPP $CPPFLAGS'
62870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62879 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62881 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62882 for ac_func in atan2l
62883 do :
62884 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62885 if test "x$ac_cv_func_atan2l" = x""yes; then :
62886 cat >>confdefs.h <<_ACEOF
62887 #define HAVE_ATAN2L 1
62888 _ACEOF
62891 done
62893 else
62895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62896 $as_echo_n "checking for _atan2l declaration... " >&6; }
62897 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62898 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62899 $as_echo_n "(cached) " >&6
62900 else
62903 ac_ext=cpp
62904 ac_cpp='$CXXCPP $CPPFLAGS'
62905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62910 /* end confdefs.h. */
62911 #include <math.h>
62913 main ()
62915 _atan2l(0, 0);
62917 return 0;
62919 _ACEOF
62920 if ac_fn_cxx_try_compile "$LINENO"; then :
62921 glibcxx_cv_func__atan2l_use=yes
62922 else
62923 glibcxx_cv_func__atan2l_use=no
62925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62926 ac_ext=c
62927 ac_cpp='$CPP $CPPFLAGS'
62928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62937 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62939 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62940 for ac_func in _atan2l
62941 do :
62942 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62943 if test "x$ac_cv_func__atan2l" = x""yes; then :
62944 cat >>confdefs.h <<_ACEOF
62945 #define HAVE__ATAN2L 1
62946 _ACEOF
62949 done
62958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62959 $as_echo_n "checking for expl declaration... " >&6; }
62960 if test x${glibcxx_cv_func_expl_use+set} != xset; then
62961 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62962 $as_echo_n "(cached) " >&6
62963 else
62966 ac_ext=cpp
62967 ac_cpp='$CXXCPP $CPPFLAGS'
62968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62973 /* end confdefs.h. */
62974 #include <math.h>
62975 #ifdef HAVE_IEEEFP_H
62976 #include <ieeefp.h>
62977 #endif
62980 main ()
62982 expl(0);
62984 return 0;
62986 _ACEOF
62987 if ac_fn_cxx_try_compile "$LINENO"; then :
62988 glibcxx_cv_func_expl_use=yes
62989 else
62990 glibcxx_cv_func_expl_use=no
62992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62993 ac_ext=c
62994 ac_cpp='$CPP $CPPFLAGS'
62995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
63004 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
63006 if test x$glibcxx_cv_func_expl_use = x"yes"; then
63007 for ac_func in expl
63008 do :
63009 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
63010 if test "x$ac_cv_func_expl" = x""yes; then :
63011 cat >>confdefs.h <<_ACEOF
63012 #define HAVE_EXPL 1
63013 _ACEOF
63016 done
63018 else
63020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
63021 $as_echo_n "checking for _expl declaration... " >&6; }
63022 if test x${glibcxx_cv_func__expl_use+set} != xset; then
63023 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
63024 $as_echo_n "(cached) " >&6
63025 else
63028 ac_ext=cpp
63029 ac_cpp='$CXXCPP $CPPFLAGS'
63030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63035 /* end confdefs.h. */
63036 #include <math.h>
63037 #ifdef HAVE_IEEEFP_H
63038 #include <ieeefp.h>
63039 #endif
63042 main ()
63044 _expl(0);
63046 return 0;
63048 _ACEOF
63049 if ac_fn_cxx_try_compile "$LINENO"; then :
63050 glibcxx_cv_func__expl_use=yes
63051 else
63052 glibcxx_cv_func__expl_use=no
63054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63055 ac_ext=c
63056 ac_cpp='$CPP $CPPFLAGS'
63057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
63066 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
63068 if test x$glibcxx_cv_func__expl_use = x"yes"; then
63069 for ac_func in _expl
63070 do :
63071 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
63072 if test "x$ac_cv_func__expl" = x""yes; then :
63073 cat >>confdefs.h <<_ACEOF
63074 #define HAVE__EXPL 1
63075 _ACEOF
63078 done
63087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63088 $as_echo_n "checking for fabsl declaration... " >&6; }
63089 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63090 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63091 $as_echo_n "(cached) " >&6
63092 else
63095 ac_ext=cpp
63096 ac_cpp='$CXXCPP $CPPFLAGS'
63097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63102 /* end confdefs.h. */
63103 #include <math.h>
63104 #ifdef HAVE_IEEEFP_H
63105 #include <ieeefp.h>
63106 #endif
63109 main ()
63111 fabsl(0);
63113 return 0;
63115 _ACEOF
63116 if ac_fn_cxx_try_compile "$LINENO"; then :
63117 glibcxx_cv_func_fabsl_use=yes
63118 else
63119 glibcxx_cv_func_fabsl_use=no
63121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63122 ac_ext=c
63123 ac_cpp='$CPP $CPPFLAGS'
63124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63133 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63135 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63136 for ac_func in fabsl
63137 do :
63138 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63139 if test "x$ac_cv_func_fabsl" = x""yes; then :
63140 cat >>confdefs.h <<_ACEOF
63141 #define HAVE_FABSL 1
63142 _ACEOF
63145 done
63147 else
63149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63150 $as_echo_n "checking for _fabsl declaration... " >&6; }
63151 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63152 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63153 $as_echo_n "(cached) " >&6
63154 else
63157 ac_ext=cpp
63158 ac_cpp='$CXXCPP $CPPFLAGS'
63159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63164 /* end confdefs.h. */
63165 #include <math.h>
63166 #ifdef HAVE_IEEEFP_H
63167 #include <ieeefp.h>
63168 #endif
63171 main ()
63173 _fabsl(0);
63175 return 0;
63177 _ACEOF
63178 if ac_fn_cxx_try_compile "$LINENO"; then :
63179 glibcxx_cv_func__fabsl_use=yes
63180 else
63181 glibcxx_cv_func__fabsl_use=no
63183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63184 ac_ext=c
63185 ac_cpp='$CPP $CPPFLAGS'
63186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63195 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63197 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63198 for ac_func in _fabsl
63199 do :
63200 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63201 if test "x$ac_cv_func__fabsl" = x""yes; then :
63202 cat >>confdefs.h <<_ACEOF
63203 #define HAVE__FABSL 1
63204 _ACEOF
63207 done
63216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63217 $as_echo_n "checking for fmodl declaration... " >&6; }
63218 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63219 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63220 $as_echo_n "(cached) " >&6
63221 else
63224 ac_ext=cpp
63225 ac_cpp='$CXXCPP $CPPFLAGS'
63226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63231 /* end confdefs.h. */
63232 #include <math.h>
63234 main ()
63236 fmodl(0, 0);
63238 return 0;
63240 _ACEOF
63241 if ac_fn_cxx_try_compile "$LINENO"; then :
63242 glibcxx_cv_func_fmodl_use=yes
63243 else
63244 glibcxx_cv_func_fmodl_use=no
63246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63247 ac_ext=c
63248 ac_cpp='$CPP $CPPFLAGS'
63249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63258 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63260 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63261 for ac_func in fmodl
63262 do :
63263 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63264 if test "x$ac_cv_func_fmodl" = x""yes; then :
63265 cat >>confdefs.h <<_ACEOF
63266 #define HAVE_FMODL 1
63267 _ACEOF
63270 done
63272 else
63274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63275 $as_echo_n "checking for _fmodl declaration... " >&6; }
63276 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63277 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63278 $as_echo_n "(cached) " >&6
63279 else
63282 ac_ext=cpp
63283 ac_cpp='$CXXCPP $CPPFLAGS'
63284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63289 /* end confdefs.h. */
63290 #include <math.h>
63292 main ()
63294 _fmodl(0, 0);
63296 return 0;
63298 _ACEOF
63299 if ac_fn_cxx_try_compile "$LINENO"; then :
63300 glibcxx_cv_func__fmodl_use=yes
63301 else
63302 glibcxx_cv_func__fmodl_use=no
63304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63305 ac_ext=c
63306 ac_cpp='$CPP $CPPFLAGS'
63307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63316 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63318 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63319 for ac_func in _fmodl
63320 do :
63321 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63322 if test "x$ac_cv_func__fmodl" = x""yes; then :
63323 cat >>confdefs.h <<_ACEOF
63324 #define HAVE__FMODL 1
63325 _ACEOF
63328 done
63337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63338 $as_echo_n "checking for frexpl declaration... " >&6; }
63339 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63340 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63341 $as_echo_n "(cached) " >&6
63342 else
63345 ac_ext=cpp
63346 ac_cpp='$CXXCPP $CPPFLAGS'
63347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63352 /* end confdefs.h. */
63353 #include <math.h>
63355 main ()
63357 frexpl(0, 0);
63359 return 0;
63361 _ACEOF
63362 if ac_fn_cxx_try_compile "$LINENO"; then :
63363 glibcxx_cv_func_frexpl_use=yes
63364 else
63365 glibcxx_cv_func_frexpl_use=no
63367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63368 ac_ext=c
63369 ac_cpp='$CPP $CPPFLAGS'
63370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63379 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63381 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63382 for ac_func in frexpl
63383 do :
63384 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63385 if test "x$ac_cv_func_frexpl" = x""yes; then :
63386 cat >>confdefs.h <<_ACEOF
63387 #define HAVE_FREXPL 1
63388 _ACEOF
63391 done
63393 else
63395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63396 $as_echo_n "checking for _frexpl declaration... " >&6; }
63397 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63398 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63399 $as_echo_n "(cached) " >&6
63400 else
63403 ac_ext=cpp
63404 ac_cpp='$CXXCPP $CPPFLAGS'
63405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63410 /* end confdefs.h. */
63411 #include <math.h>
63413 main ()
63415 _frexpl(0, 0);
63417 return 0;
63419 _ACEOF
63420 if ac_fn_cxx_try_compile "$LINENO"; then :
63421 glibcxx_cv_func__frexpl_use=yes
63422 else
63423 glibcxx_cv_func__frexpl_use=no
63425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63426 ac_ext=c
63427 ac_cpp='$CPP $CPPFLAGS'
63428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63437 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63439 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63440 for ac_func in _frexpl
63441 do :
63442 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63443 if test "x$ac_cv_func__frexpl" = x""yes; then :
63444 cat >>confdefs.h <<_ACEOF
63445 #define HAVE__FREXPL 1
63446 _ACEOF
63449 done
63458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63459 $as_echo_n "checking for hypotl declaration... " >&6; }
63460 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63461 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63462 $as_echo_n "(cached) " >&6
63463 else
63466 ac_ext=cpp
63467 ac_cpp='$CXXCPP $CPPFLAGS'
63468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63473 /* end confdefs.h. */
63474 #include <math.h>
63476 main ()
63478 hypotl(0, 0);
63480 return 0;
63482 _ACEOF
63483 if ac_fn_cxx_try_compile "$LINENO"; then :
63484 glibcxx_cv_func_hypotl_use=yes
63485 else
63486 glibcxx_cv_func_hypotl_use=no
63488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63489 ac_ext=c
63490 ac_cpp='$CPP $CPPFLAGS'
63491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63500 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63502 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63503 for ac_func in hypotl
63504 do :
63505 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63506 if test "x$ac_cv_func_hypotl" = x""yes; then :
63507 cat >>confdefs.h <<_ACEOF
63508 #define HAVE_HYPOTL 1
63509 _ACEOF
63512 done
63514 else
63516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63517 $as_echo_n "checking for _hypotl declaration... " >&6; }
63518 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63519 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63520 $as_echo_n "(cached) " >&6
63521 else
63524 ac_ext=cpp
63525 ac_cpp='$CXXCPP $CPPFLAGS'
63526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63531 /* end confdefs.h. */
63532 #include <math.h>
63534 main ()
63536 _hypotl(0, 0);
63538 return 0;
63540 _ACEOF
63541 if ac_fn_cxx_try_compile "$LINENO"; then :
63542 glibcxx_cv_func__hypotl_use=yes
63543 else
63544 glibcxx_cv_func__hypotl_use=no
63546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63547 ac_ext=c
63548 ac_cpp='$CPP $CPPFLAGS'
63549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63558 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63560 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63561 for ac_func in _hypotl
63562 do :
63563 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63564 if test "x$ac_cv_func__hypotl" = x""yes; then :
63565 cat >>confdefs.h <<_ACEOF
63566 #define HAVE__HYPOTL 1
63567 _ACEOF
63570 done
63579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63580 $as_echo_n "checking for ldexpl declaration... " >&6; }
63581 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63582 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63583 $as_echo_n "(cached) " >&6
63584 else
63587 ac_ext=cpp
63588 ac_cpp='$CXXCPP $CPPFLAGS'
63589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63594 /* end confdefs.h. */
63595 #include <math.h>
63597 main ()
63599 ldexpl(0, 0);
63601 return 0;
63603 _ACEOF
63604 if ac_fn_cxx_try_compile "$LINENO"; then :
63605 glibcxx_cv_func_ldexpl_use=yes
63606 else
63607 glibcxx_cv_func_ldexpl_use=no
63609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63610 ac_ext=c
63611 ac_cpp='$CPP $CPPFLAGS'
63612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63621 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63623 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63624 for ac_func in ldexpl
63625 do :
63626 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63627 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63628 cat >>confdefs.h <<_ACEOF
63629 #define HAVE_LDEXPL 1
63630 _ACEOF
63633 done
63635 else
63637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63638 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63639 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63640 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63641 $as_echo_n "(cached) " >&6
63642 else
63645 ac_ext=cpp
63646 ac_cpp='$CXXCPP $CPPFLAGS'
63647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63652 /* end confdefs.h. */
63653 #include <math.h>
63655 main ()
63657 _ldexpl(0, 0);
63659 return 0;
63661 _ACEOF
63662 if ac_fn_cxx_try_compile "$LINENO"; then :
63663 glibcxx_cv_func__ldexpl_use=yes
63664 else
63665 glibcxx_cv_func__ldexpl_use=no
63667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63668 ac_ext=c
63669 ac_cpp='$CPP $CPPFLAGS'
63670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63679 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63681 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63682 for ac_func in _ldexpl
63683 do :
63684 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63685 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63686 cat >>confdefs.h <<_ACEOF
63687 #define HAVE__LDEXPL 1
63688 _ACEOF
63691 done
63700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63701 $as_echo_n "checking for logl declaration... " >&6; }
63702 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63703 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63704 $as_echo_n "(cached) " >&6
63705 else
63708 ac_ext=cpp
63709 ac_cpp='$CXXCPP $CPPFLAGS'
63710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63715 /* end confdefs.h. */
63716 #include <math.h>
63717 #ifdef HAVE_IEEEFP_H
63718 #include <ieeefp.h>
63719 #endif
63722 main ()
63724 logl(0);
63726 return 0;
63728 _ACEOF
63729 if ac_fn_cxx_try_compile "$LINENO"; then :
63730 glibcxx_cv_func_logl_use=yes
63731 else
63732 glibcxx_cv_func_logl_use=no
63734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63735 ac_ext=c
63736 ac_cpp='$CPP $CPPFLAGS'
63737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63746 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63748 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63749 for ac_func in logl
63750 do :
63751 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63752 if test "x$ac_cv_func_logl" = x""yes; then :
63753 cat >>confdefs.h <<_ACEOF
63754 #define HAVE_LOGL 1
63755 _ACEOF
63758 done
63760 else
63762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63763 $as_echo_n "checking for _logl declaration... " >&6; }
63764 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63765 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63766 $as_echo_n "(cached) " >&6
63767 else
63770 ac_ext=cpp
63771 ac_cpp='$CXXCPP $CPPFLAGS'
63772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63777 /* end confdefs.h. */
63778 #include <math.h>
63779 #ifdef HAVE_IEEEFP_H
63780 #include <ieeefp.h>
63781 #endif
63784 main ()
63786 _logl(0);
63788 return 0;
63790 _ACEOF
63791 if ac_fn_cxx_try_compile "$LINENO"; then :
63792 glibcxx_cv_func__logl_use=yes
63793 else
63794 glibcxx_cv_func__logl_use=no
63796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63797 ac_ext=c
63798 ac_cpp='$CPP $CPPFLAGS'
63799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63808 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63810 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63811 for ac_func in _logl
63812 do :
63813 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63814 if test "x$ac_cv_func__logl" = x""yes; then :
63815 cat >>confdefs.h <<_ACEOF
63816 #define HAVE__LOGL 1
63817 _ACEOF
63820 done
63829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63830 $as_echo_n "checking for log10l declaration... " >&6; }
63831 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63832 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63833 $as_echo_n "(cached) " >&6
63834 else
63837 ac_ext=cpp
63838 ac_cpp='$CXXCPP $CPPFLAGS'
63839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63844 /* end confdefs.h. */
63845 #include <math.h>
63846 #ifdef HAVE_IEEEFP_H
63847 #include <ieeefp.h>
63848 #endif
63851 main ()
63853 log10l(0);
63855 return 0;
63857 _ACEOF
63858 if ac_fn_cxx_try_compile "$LINENO"; then :
63859 glibcxx_cv_func_log10l_use=yes
63860 else
63861 glibcxx_cv_func_log10l_use=no
63863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63864 ac_ext=c
63865 ac_cpp='$CPP $CPPFLAGS'
63866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63875 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63877 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63878 for ac_func in log10l
63879 do :
63880 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63881 if test "x$ac_cv_func_log10l" = x""yes; then :
63882 cat >>confdefs.h <<_ACEOF
63883 #define HAVE_LOG10L 1
63884 _ACEOF
63887 done
63889 else
63891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63892 $as_echo_n "checking for _log10l declaration... " >&6; }
63893 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63894 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63895 $as_echo_n "(cached) " >&6
63896 else
63899 ac_ext=cpp
63900 ac_cpp='$CXXCPP $CPPFLAGS'
63901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63906 /* end confdefs.h. */
63907 #include <math.h>
63908 #ifdef HAVE_IEEEFP_H
63909 #include <ieeefp.h>
63910 #endif
63913 main ()
63915 _log10l(0);
63917 return 0;
63919 _ACEOF
63920 if ac_fn_cxx_try_compile "$LINENO"; then :
63921 glibcxx_cv_func__log10l_use=yes
63922 else
63923 glibcxx_cv_func__log10l_use=no
63925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63926 ac_ext=c
63927 ac_cpp='$CPP $CPPFLAGS'
63928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63937 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63939 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63940 for ac_func in _log10l
63941 do :
63942 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63943 if test "x$ac_cv_func__log10l" = x""yes; then :
63944 cat >>confdefs.h <<_ACEOF
63945 #define HAVE__LOG10L 1
63946 _ACEOF
63949 done
63958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63959 $as_echo_n "checking for modfl declaration... " >&6; }
63960 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63961 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63962 $as_echo_n "(cached) " >&6
63963 else
63966 ac_ext=cpp
63967 ac_cpp='$CXXCPP $CPPFLAGS'
63968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63973 /* end confdefs.h. */
63974 #include <math.h>
63976 main ()
63978 modfl(0, 0);
63980 return 0;
63982 _ACEOF
63983 if ac_fn_cxx_try_compile "$LINENO"; then :
63984 glibcxx_cv_func_modfl_use=yes
63985 else
63986 glibcxx_cv_func_modfl_use=no
63988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63989 ac_ext=c
63990 ac_cpp='$CPP $CPPFLAGS'
63991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
64000 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
64002 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
64003 for ac_func in modfl
64004 do :
64005 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
64006 if test "x$ac_cv_func_modfl" = x""yes; then :
64007 cat >>confdefs.h <<_ACEOF
64008 #define HAVE_MODFL 1
64009 _ACEOF
64012 done
64014 else
64016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
64017 $as_echo_n "checking for _modfl declaration... " >&6; }
64018 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
64019 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
64020 $as_echo_n "(cached) " >&6
64021 else
64024 ac_ext=cpp
64025 ac_cpp='$CXXCPP $CPPFLAGS'
64026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64031 /* end confdefs.h. */
64032 #include <math.h>
64034 main ()
64036 _modfl(0, 0);
64038 return 0;
64040 _ACEOF
64041 if ac_fn_cxx_try_compile "$LINENO"; then :
64042 glibcxx_cv_func__modfl_use=yes
64043 else
64044 glibcxx_cv_func__modfl_use=no
64046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64047 ac_ext=c
64048 ac_cpp='$CPP $CPPFLAGS'
64049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
64058 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
64060 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
64061 for ac_func in _modfl
64062 do :
64063 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
64064 if test "x$ac_cv_func__modfl" = x""yes; then :
64065 cat >>confdefs.h <<_ACEOF
64066 #define HAVE__MODFL 1
64067 _ACEOF
64070 done
64079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64080 $as_echo_n "checking for powl declaration... " >&6; }
64081 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64082 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64083 $as_echo_n "(cached) " >&6
64084 else
64087 ac_ext=cpp
64088 ac_cpp='$CXXCPP $CPPFLAGS'
64089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64094 /* end confdefs.h. */
64095 #include <math.h>
64097 main ()
64099 powl(0, 0);
64101 return 0;
64103 _ACEOF
64104 if ac_fn_cxx_try_compile "$LINENO"; then :
64105 glibcxx_cv_func_powl_use=yes
64106 else
64107 glibcxx_cv_func_powl_use=no
64109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64110 ac_ext=c
64111 ac_cpp='$CPP $CPPFLAGS'
64112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64121 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64123 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64124 for ac_func in powl
64125 do :
64126 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64127 if test "x$ac_cv_func_powl" = x""yes; then :
64128 cat >>confdefs.h <<_ACEOF
64129 #define HAVE_POWL 1
64130 _ACEOF
64133 done
64135 else
64137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64138 $as_echo_n "checking for _powl declaration... " >&6; }
64139 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64140 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64141 $as_echo_n "(cached) " >&6
64142 else
64145 ac_ext=cpp
64146 ac_cpp='$CXXCPP $CPPFLAGS'
64147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64152 /* end confdefs.h. */
64153 #include <math.h>
64155 main ()
64157 _powl(0, 0);
64159 return 0;
64161 _ACEOF
64162 if ac_fn_cxx_try_compile "$LINENO"; then :
64163 glibcxx_cv_func__powl_use=yes
64164 else
64165 glibcxx_cv_func__powl_use=no
64167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64168 ac_ext=c
64169 ac_cpp='$CPP $CPPFLAGS'
64170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64179 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64181 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64182 for ac_func in _powl
64183 do :
64184 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64185 if test "x$ac_cv_func__powl" = x""yes; then :
64186 cat >>confdefs.h <<_ACEOF
64187 #define HAVE__POWL 1
64188 _ACEOF
64191 done
64200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64201 $as_echo_n "checking for sqrtl declaration... " >&6; }
64202 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64203 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64204 $as_echo_n "(cached) " >&6
64205 else
64208 ac_ext=cpp
64209 ac_cpp='$CXXCPP $CPPFLAGS'
64210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64215 /* end confdefs.h. */
64216 #include <math.h>
64217 #ifdef HAVE_IEEEFP_H
64218 #include <ieeefp.h>
64219 #endif
64222 main ()
64224 sqrtl(0);
64226 return 0;
64228 _ACEOF
64229 if ac_fn_cxx_try_compile "$LINENO"; then :
64230 glibcxx_cv_func_sqrtl_use=yes
64231 else
64232 glibcxx_cv_func_sqrtl_use=no
64234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64235 ac_ext=c
64236 ac_cpp='$CPP $CPPFLAGS'
64237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64246 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64248 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64249 for ac_func in sqrtl
64250 do :
64251 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64252 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64253 cat >>confdefs.h <<_ACEOF
64254 #define HAVE_SQRTL 1
64255 _ACEOF
64258 done
64260 else
64262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64263 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64264 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64265 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64266 $as_echo_n "(cached) " >&6
64267 else
64270 ac_ext=cpp
64271 ac_cpp='$CXXCPP $CPPFLAGS'
64272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64277 /* end confdefs.h. */
64278 #include <math.h>
64279 #ifdef HAVE_IEEEFP_H
64280 #include <ieeefp.h>
64281 #endif
64284 main ()
64286 _sqrtl(0);
64288 return 0;
64290 _ACEOF
64291 if ac_fn_cxx_try_compile "$LINENO"; then :
64292 glibcxx_cv_func__sqrtl_use=yes
64293 else
64294 glibcxx_cv_func__sqrtl_use=no
64296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64297 ac_ext=c
64298 ac_cpp='$CPP $CPPFLAGS'
64299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64308 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64310 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64311 for ac_func in _sqrtl
64312 do :
64313 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64314 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64315 cat >>confdefs.h <<_ACEOF
64316 #define HAVE__SQRTL 1
64317 _ACEOF
64320 done
64329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64330 $as_echo_n "checking for sincosl declaration... " >&6; }
64331 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64332 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64333 $as_echo_n "(cached) " >&6
64334 else
64337 ac_ext=cpp
64338 ac_cpp='$CXXCPP $CPPFLAGS'
64339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64344 /* end confdefs.h. */
64345 #include <math.h>
64347 main ()
64349 sincosl(0, 0, 0);
64351 return 0;
64353 _ACEOF
64354 if ac_fn_cxx_try_compile "$LINENO"; then :
64355 glibcxx_cv_func_sincosl_use=yes
64356 else
64357 glibcxx_cv_func_sincosl_use=no
64359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64360 ac_ext=c
64361 ac_cpp='$CPP $CPPFLAGS'
64362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64371 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64373 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64374 for ac_func in sincosl
64375 do :
64376 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64377 if test "x$ac_cv_func_sincosl" = x""yes; then :
64378 cat >>confdefs.h <<_ACEOF
64379 #define HAVE_SINCOSL 1
64380 _ACEOF
64383 done
64385 else
64387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64388 $as_echo_n "checking for _sincosl declaration... " >&6; }
64389 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64390 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64391 $as_echo_n "(cached) " >&6
64392 else
64395 ac_ext=cpp
64396 ac_cpp='$CXXCPP $CPPFLAGS'
64397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64402 /* end confdefs.h. */
64403 #include <math.h>
64405 main ()
64407 _sincosl(0, 0, 0);
64409 return 0;
64411 _ACEOF
64412 if ac_fn_cxx_try_compile "$LINENO"; then :
64413 glibcxx_cv_func__sincosl_use=yes
64414 else
64415 glibcxx_cv_func__sincosl_use=no
64417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64418 ac_ext=c
64419 ac_cpp='$CPP $CPPFLAGS'
64420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64429 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64431 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64432 for ac_func in _sincosl
64433 do :
64434 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64435 if test "x$ac_cv_func__sincosl" = x""yes; then :
64436 cat >>confdefs.h <<_ACEOF
64437 #define HAVE__SINCOSL 1
64438 _ACEOF
64441 done
64450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64451 $as_echo_n "checking for finitel declaration... " >&6; }
64452 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64453 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64454 $as_echo_n "(cached) " >&6
64455 else
64458 ac_ext=cpp
64459 ac_cpp='$CXXCPP $CPPFLAGS'
64460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64465 /* end confdefs.h. */
64466 #include <math.h>
64467 #ifdef HAVE_IEEEFP_H
64468 #include <ieeefp.h>
64469 #endif
64472 main ()
64474 finitel(0);
64476 return 0;
64478 _ACEOF
64479 if ac_fn_cxx_try_compile "$LINENO"; then :
64480 glibcxx_cv_func_finitel_use=yes
64481 else
64482 glibcxx_cv_func_finitel_use=no
64484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64485 ac_ext=c
64486 ac_cpp='$CPP $CPPFLAGS'
64487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64496 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64498 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64499 for ac_func in finitel
64500 do :
64501 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64502 if test "x$ac_cv_func_finitel" = x""yes; then :
64503 cat >>confdefs.h <<_ACEOF
64504 #define HAVE_FINITEL 1
64505 _ACEOF
64508 done
64510 else
64512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64513 $as_echo_n "checking for _finitel declaration... " >&6; }
64514 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64515 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64516 $as_echo_n "(cached) " >&6
64517 else
64520 ac_ext=cpp
64521 ac_cpp='$CXXCPP $CPPFLAGS'
64522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64527 /* end confdefs.h. */
64528 #include <math.h>
64529 #ifdef HAVE_IEEEFP_H
64530 #include <ieeefp.h>
64531 #endif
64534 main ()
64536 _finitel(0);
64538 return 0;
64540 _ACEOF
64541 if ac_fn_cxx_try_compile "$LINENO"; then :
64542 glibcxx_cv_func__finitel_use=yes
64543 else
64544 glibcxx_cv_func__finitel_use=no
64546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64547 ac_ext=c
64548 ac_cpp='$CPP $CPPFLAGS'
64549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64558 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64560 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64561 for ac_func in _finitel
64562 do :
64563 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64564 if test "x$ac_cv_func__finitel" = x""yes; then :
64565 cat >>confdefs.h <<_ACEOF
64566 #define HAVE__FINITEL 1
64567 _ACEOF
64570 done
64578 LIBS="$ac_save_LIBS"
64579 CXXFLAGS="$ac_save_CXXFLAGS"
64582 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64583 ac_save_CXXFLAGS="$CXXFLAGS"
64584 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64588 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64589 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64590 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64591 $as_echo_n "(cached) " >&6
64592 else
64595 ac_ext=cpp
64596 ac_cpp='$CXXCPP $CPPFLAGS'
64597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64602 /* end confdefs.h. */
64603 #include <stdlib.h>
64605 main ()
64607 at_quick_exit(0);
64609 return 0;
64611 _ACEOF
64612 if ac_fn_cxx_try_compile "$LINENO"; then :
64613 glibcxx_cv_func_at_quick_exit_use=yes
64614 else
64615 glibcxx_cv_func_at_quick_exit_use=no
64617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64618 ac_ext=c
64619 ac_cpp='$CPP $CPPFLAGS'
64620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64629 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64630 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64631 for ac_func in at_quick_exit
64632 do :
64633 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64634 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64635 cat >>confdefs.h <<_ACEOF
64636 #define HAVE_AT_QUICK_EXIT 1
64637 _ACEOF
64640 done
64645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64646 $as_echo_n "checking for quick_exit declaration... " >&6; }
64647 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64648 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64649 $as_echo_n "(cached) " >&6
64650 else
64653 ac_ext=cpp
64654 ac_cpp='$CXXCPP $CPPFLAGS'
64655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64660 /* end confdefs.h. */
64661 #include <stdlib.h>
64663 main ()
64665 quick_exit(0);
64667 return 0;
64669 _ACEOF
64670 if ac_fn_cxx_try_compile "$LINENO"; then :
64671 glibcxx_cv_func_quick_exit_use=yes
64672 else
64673 glibcxx_cv_func_quick_exit_use=no
64675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64676 ac_ext=c
64677 ac_cpp='$CPP $CPPFLAGS'
64678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64687 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64688 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64689 for ac_func in quick_exit
64690 do :
64691 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64692 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64693 cat >>confdefs.h <<_ACEOF
64694 #define HAVE_QUICK_EXIT 1
64695 _ACEOF
64698 done
64703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64704 $as_echo_n "checking for strtold declaration... " >&6; }
64705 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64706 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64707 $as_echo_n "(cached) " >&6
64708 else
64711 ac_ext=cpp
64712 ac_cpp='$CXXCPP $CPPFLAGS'
64713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64718 /* end confdefs.h. */
64719 #include <stdlib.h>
64721 main ()
64723 strtold(0, 0);
64725 return 0;
64727 _ACEOF
64728 if ac_fn_cxx_try_compile "$LINENO"; then :
64729 glibcxx_cv_func_strtold_use=yes
64730 else
64731 glibcxx_cv_func_strtold_use=no
64733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64734 ac_ext=c
64735 ac_cpp='$CPP $CPPFLAGS'
64736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64745 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64746 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64747 for ac_func in strtold
64748 do :
64749 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64750 if test "x$ac_cv_func_strtold" = x""yes; then :
64751 cat >>confdefs.h <<_ACEOF
64752 #define HAVE_STRTOLD 1
64753 _ACEOF
64756 done
64763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64764 $as_echo_n "checking for strtof declaration... " >&6; }
64765 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64766 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64767 $as_echo_n "(cached) " >&6
64768 else
64771 ac_ext=cpp
64772 ac_cpp='$CXXCPP $CPPFLAGS'
64773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64778 /* end confdefs.h. */
64779 #include <stdlib.h>
64781 main ()
64783 strtof(0, 0);
64785 return 0;
64787 _ACEOF
64788 if ac_fn_cxx_try_compile "$LINENO"; then :
64789 glibcxx_cv_func_strtof_use=yes
64790 else
64791 glibcxx_cv_func_strtof_use=no
64793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64794 ac_ext=c
64795 ac_cpp='$CPP $CPPFLAGS'
64796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64805 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64806 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64807 for ac_func in strtof
64808 do :
64809 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64810 if test "x$ac_cv_func_strtof" = x""yes; then :
64811 cat >>confdefs.h <<_ACEOF
64812 #define HAVE_STRTOF 1
64813 _ACEOF
64816 done
64823 CXXFLAGS="$ac_save_CXXFLAGS"
64826 *-solaris*)
64827 case "$target" in
64828 *-solaris2.9 | *-solaris2.10)
64830 # If we're not using GNU ld, then there's no point in even trying these
64831 # tests. Check for that first. We should have already tested for gld
64832 # by now (in libtool), but require it now just to be safe...
64833 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64834 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64838 # The name set by libtool depends on the version of libtool. Shame on us
64839 # for depending on an impl detail, but c'est la vie. Older versions used
64840 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64841 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64842 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64843 # set (hence we're using an older libtool), then set it.
64844 if test x${with_gnu_ld+set} != xset; then
64845 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64846 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64847 with_gnu_ld=no
64848 else
64849 with_gnu_ld=$ac_cv_prog_gnu_ld
64853 # Start by getting the version number. I think the libtool test already
64854 # does some of this, but throws away the result.
64855 glibcxx_ld_is_gold=no
64856 if test x"$with_gnu_ld" = x"yes"; then
64857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64858 $as_echo_n "checking for ld version... " >&6; }
64860 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64861 glibcxx_ld_is_gold=yes
64863 ldver=`$LD --version 2>/dev/null |
64864 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'`
64866 glibcxx_gnu_ld_version=`echo $ldver | \
64867 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64869 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64872 # Set --gc-sections.
64873 glibcxx_have_gc_sections=no
64874 if test "$glibcxx_ld_is_gold" = "yes"; then
64875 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64876 glibcxx_have_gc_sections=yes
64878 else
64879 glibcxx_gcsections_min_ld=21602
64880 if test x"$with_gnu_ld" = x"yes" &&
64881 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64882 glibcxx_have_gc_sections=yes
64885 if test "$glibcxx_have_gc_sections" = "yes"; then
64886 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64887 # NB: This flag only works reliably after 2.16.1. Configure tests
64888 # for this are difficult, so hard wire a value that should work.
64890 ac_test_CFLAGS="${CFLAGS+set}"
64891 ac_save_CFLAGS="$CFLAGS"
64892 CFLAGS='-Wl,--gc-sections'
64894 # Check for -Wl,--gc-sections
64895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64896 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64897 if test x$gcc_no_link = xyes; then
64898 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64901 /* end confdefs.h. */
64902 int one(void) { return 1; }
64903 int two(void) { return 2; }
64906 main ()
64908 two();
64910 return 0;
64912 _ACEOF
64913 if ac_fn_c_try_link "$LINENO"; then :
64914 ac_gcsections=yes
64915 else
64916 ac_gcsections=no
64918 rm -f core conftest.err conftest.$ac_objext \
64919 conftest$ac_exeext conftest.$ac_ext
64920 if test "$ac_gcsections" = "yes"; then
64921 rm -f conftest.c
64922 touch conftest.c
64923 if $CC -c conftest.c; then
64924 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64925 grep "Warning: gc-sections option ignored" > /dev/null; then
64926 ac_gcsections=no
64929 rm -f conftest.c conftest.o conftest
64931 if test "$ac_gcsections" = "yes"; then
64932 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64935 $as_echo "$ac_gcsections" >&6; }
64937 if test "$ac_test_CFLAGS" = set; then
64938 CFLAGS="$ac_save_CFLAGS"
64939 else
64940 # this is the suspicious part
64941 CFLAGS=''
64945 # Set -z,relro.
64946 # Note this is only for shared objects.
64947 ac_ld_relro=no
64948 if test x"$with_gnu_ld" = x"yes"; then
64949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64950 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64951 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64952 if test -n "$cxx_z_relo"; then
64953 OPT_LDFLAGS="-Wl,-z,relro"
64954 ac_ld_relro=yes
64956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64957 $as_echo "$ac_ld_relro" >&6; }
64960 # Set linker optimization flags.
64961 if test x"$with_gnu_ld" = x"yes"; then
64962 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64968 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
64970 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64972 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
64974 # All of the dependencies for wide character support are here, so
64975 # turn it on.
64976 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
64979 esac
64980 case "$target" in
64981 *-*-solaris2.10)
64982 # These two C99 functions are present only in Solaris >= 10
64983 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
64985 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
64988 esac
64989 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64991 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64993 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
64995 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
64998 *-tpf)
64999 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65000 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
65002 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
65004 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
65006 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
65008 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
65010 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
65012 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
65014 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
65016 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
65018 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
65020 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
65022 if test x"long_double_math_on_this_cpu" = x"yes"; then
65023 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
65025 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
65027 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
65029 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
65033 *-*vms*)
65034 # Check for available headers.
65035 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
65037 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65038 ac_save_CXXFLAGS="$CXXFLAGS"
65039 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65042 $as_echo_n "checking for sin in -lm... " >&6; }
65043 if test "${ac_cv_lib_m_sin+set}" = set; then :
65044 $as_echo_n "(cached) " >&6
65045 else
65046 ac_check_lib_save_LIBS=$LIBS
65047 LIBS="-lm $LIBS"
65048 if test x$gcc_no_link = xyes; then
65049 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65052 /* end confdefs.h. */
65054 /* Override any GCC internal prototype to avoid an error.
65055 Use char because int might match the return type of a GCC
65056 builtin and then its argument prototype would still apply. */
65057 #ifdef __cplusplus
65058 extern "C"
65059 #endif
65060 char sin ();
65062 main ()
65064 return sin ();
65066 return 0;
65068 _ACEOF
65069 if ac_fn_c_try_link "$LINENO"; then :
65070 ac_cv_lib_m_sin=yes
65071 else
65072 ac_cv_lib_m_sin=no
65074 rm -f core conftest.err conftest.$ac_objext \
65075 conftest$ac_exeext conftest.$ac_ext
65076 LIBS=$ac_check_lib_save_LIBS
65078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65079 $as_echo "$ac_cv_lib_m_sin" >&6; }
65080 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65081 libm="-lm"
65084 ac_save_LIBS="$LIBS"
65085 LIBS="$LIBS $libm"
65089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65090 $as_echo_n "checking for isinf declaration... " >&6; }
65091 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65092 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65093 $as_echo_n "(cached) " >&6
65094 else
65097 ac_ext=cpp
65098 ac_cpp='$CXXCPP $CPPFLAGS'
65099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65104 /* end confdefs.h. */
65105 #include <math.h>
65106 #ifdef HAVE_IEEEFP_H
65107 #include <ieeefp.h>
65108 #endif
65111 main ()
65113 isinf(0);
65115 return 0;
65117 _ACEOF
65118 if ac_fn_cxx_try_compile "$LINENO"; then :
65119 glibcxx_cv_func_isinf_use=yes
65120 else
65121 glibcxx_cv_func_isinf_use=no
65123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65124 ac_ext=c
65125 ac_cpp='$CPP $CPPFLAGS'
65126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65135 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65137 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65138 for ac_func in isinf
65139 do :
65140 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65141 if test "x$ac_cv_func_isinf" = x""yes; then :
65142 cat >>confdefs.h <<_ACEOF
65143 #define HAVE_ISINF 1
65144 _ACEOF
65147 done
65149 else
65151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65152 $as_echo_n "checking for _isinf declaration... " >&6; }
65153 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65154 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65155 $as_echo_n "(cached) " >&6
65156 else
65159 ac_ext=cpp
65160 ac_cpp='$CXXCPP $CPPFLAGS'
65161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65166 /* end confdefs.h. */
65167 #include <math.h>
65168 #ifdef HAVE_IEEEFP_H
65169 #include <ieeefp.h>
65170 #endif
65173 main ()
65175 _isinf(0);
65177 return 0;
65179 _ACEOF
65180 if ac_fn_cxx_try_compile "$LINENO"; then :
65181 glibcxx_cv_func__isinf_use=yes
65182 else
65183 glibcxx_cv_func__isinf_use=no
65185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65186 ac_ext=c
65187 ac_cpp='$CPP $CPPFLAGS'
65188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65197 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65199 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65200 for ac_func in _isinf
65201 do :
65202 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65203 if test "x$ac_cv_func__isinf" = x""yes; then :
65204 cat >>confdefs.h <<_ACEOF
65205 #define HAVE__ISINF 1
65206 _ACEOF
65209 done
65218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65219 $as_echo_n "checking for isnan declaration... " >&6; }
65220 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65221 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65222 $as_echo_n "(cached) " >&6
65223 else
65226 ac_ext=cpp
65227 ac_cpp='$CXXCPP $CPPFLAGS'
65228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65233 /* end confdefs.h. */
65234 #include <math.h>
65235 #ifdef HAVE_IEEEFP_H
65236 #include <ieeefp.h>
65237 #endif
65240 main ()
65242 isnan(0);
65244 return 0;
65246 _ACEOF
65247 if ac_fn_cxx_try_compile "$LINENO"; then :
65248 glibcxx_cv_func_isnan_use=yes
65249 else
65250 glibcxx_cv_func_isnan_use=no
65252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65253 ac_ext=c
65254 ac_cpp='$CPP $CPPFLAGS'
65255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65264 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65266 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65267 for ac_func in isnan
65268 do :
65269 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65270 if test "x$ac_cv_func_isnan" = x""yes; then :
65271 cat >>confdefs.h <<_ACEOF
65272 #define HAVE_ISNAN 1
65273 _ACEOF
65276 done
65278 else
65280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65281 $as_echo_n "checking for _isnan declaration... " >&6; }
65282 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65283 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65284 $as_echo_n "(cached) " >&6
65285 else
65288 ac_ext=cpp
65289 ac_cpp='$CXXCPP $CPPFLAGS'
65290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65295 /* end confdefs.h. */
65296 #include <math.h>
65297 #ifdef HAVE_IEEEFP_H
65298 #include <ieeefp.h>
65299 #endif
65302 main ()
65304 _isnan(0);
65306 return 0;
65308 _ACEOF
65309 if ac_fn_cxx_try_compile "$LINENO"; then :
65310 glibcxx_cv_func__isnan_use=yes
65311 else
65312 glibcxx_cv_func__isnan_use=no
65314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65315 ac_ext=c
65316 ac_cpp='$CPP $CPPFLAGS'
65317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65326 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65328 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65329 for ac_func in _isnan
65330 do :
65331 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65332 if test "x$ac_cv_func__isnan" = x""yes; then :
65333 cat >>confdefs.h <<_ACEOF
65334 #define HAVE__ISNAN 1
65335 _ACEOF
65338 done
65347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65348 $as_echo_n "checking for finite declaration... " >&6; }
65349 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65350 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65351 $as_echo_n "(cached) " >&6
65352 else
65355 ac_ext=cpp
65356 ac_cpp='$CXXCPP $CPPFLAGS'
65357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65362 /* end confdefs.h. */
65363 #include <math.h>
65364 #ifdef HAVE_IEEEFP_H
65365 #include <ieeefp.h>
65366 #endif
65369 main ()
65371 finite(0);
65373 return 0;
65375 _ACEOF
65376 if ac_fn_cxx_try_compile "$LINENO"; then :
65377 glibcxx_cv_func_finite_use=yes
65378 else
65379 glibcxx_cv_func_finite_use=no
65381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65382 ac_ext=c
65383 ac_cpp='$CPP $CPPFLAGS'
65384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65393 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65395 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65396 for ac_func in finite
65397 do :
65398 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65399 if test "x$ac_cv_func_finite" = x""yes; then :
65400 cat >>confdefs.h <<_ACEOF
65401 #define HAVE_FINITE 1
65402 _ACEOF
65405 done
65407 else
65409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65410 $as_echo_n "checking for _finite declaration... " >&6; }
65411 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65412 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65413 $as_echo_n "(cached) " >&6
65414 else
65417 ac_ext=cpp
65418 ac_cpp='$CXXCPP $CPPFLAGS'
65419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65424 /* end confdefs.h. */
65425 #include <math.h>
65426 #ifdef HAVE_IEEEFP_H
65427 #include <ieeefp.h>
65428 #endif
65431 main ()
65433 _finite(0);
65435 return 0;
65437 _ACEOF
65438 if ac_fn_cxx_try_compile "$LINENO"; then :
65439 glibcxx_cv_func__finite_use=yes
65440 else
65441 glibcxx_cv_func__finite_use=no
65443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65444 ac_ext=c
65445 ac_cpp='$CPP $CPPFLAGS'
65446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65455 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65457 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65458 for ac_func in _finite
65459 do :
65460 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65461 if test "x$ac_cv_func__finite" = x""yes; then :
65462 cat >>confdefs.h <<_ACEOF
65463 #define HAVE__FINITE 1
65464 _ACEOF
65467 done
65476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65477 $as_echo_n "checking for sincos declaration... " >&6; }
65478 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65479 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65480 $as_echo_n "(cached) " >&6
65481 else
65484 ac_ext=cpp
65485 ac_cpp='$CXXCPP $CPPFLAGS'
65486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65491 /* end confdefs.h. */
65492 #include <math.h>
65494 main ()
65496 sincos(0, 0, 0);
65498 return 0;
65500 _ACEOF
65501 if ac_fn_cxx_try_compile "$LINENO"; then :
65502 glibcxx_cv_func_sincos_use=yes
65503 else
65504 glibcxx_cv_func_sincos_use=no
65506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65507 ac_ext=c
65508 ac_cpp='$CPP $CPPFLAGS'
65509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65518 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65520 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65521 for ac_func in sincos
65522 do :
65523 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65524 if test "x$ac_cv_func_sincos" = x""yes; then :
65525 cat >>confdefs.h <<_ACEOF
65526 #define HAVE_SINCOS 1
65527 _ACEOF
65530 done
65532 else
65534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65535 $as_echo_n "checking for _sincos declaration... " >&6; }
65536 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65537 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65538 $as_echo_n "(cached) " >&6
65539 else
65542 ac_ext=cpp
65543 ac_cpp='$CXXCPP $CPPFLAGS'
65544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65549 /* end confdefs.h. */
65550 #include <math.h>
65552 main ()
65554 _sincos(0, 0, 0);
65556 return 0;
65558 _ACEOF
65559 if ac_fn_cxx_try_compile "$LINENO"; then :
65560 glibcxx_cv_func__sincos_use=yes
65561 else
65562 glibcxx_cv_func__sincos_use=no
65564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65565 ac_ext=c
65566 ac_cpp='$CPP $CPPFLAGS'
65567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65576 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65578 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65579 for ac_func in _sincos
65580 do :
65581 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65582 if test "x$ac_cv_func__sincos" = x""yes; then :
65583 cat >>confdefs.h <<_ACEOF
65584 #define HAVE__SINCOS 1
65585 _ACEOF
65588 done
65597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65598 $as_echo_n "checking for fpclass declaration... " >&6; }
65599 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65600 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65601 $as_echo_n "(cached) " >&6
65602 else
65605 ac_ext=cpp
65606 ac_cpp='$CXXCPP $CPPFLAGS'
65607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65612 /* end confdefs.h. */
65613 #include <math.h>
65614 #ifdef HAVE_IEEEFP_H
65615 #include <ieeefp.h>
65616 #endif
65619 main ()
65621 fpclass(0);
65623 return 0;
65625 _ACEOF
65626 if ac_fn_cxx_try_compile "$LINENO"; then :
65627 glibcxx_cv_func_fpclass_use=yes
65628 else
65629 glibcxx_cv_func_fpclass_use=no
65631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65632 ac_ext=c
65633 ac_cpp='$CPP $CPPFLAGS'
65634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65643 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65645 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65646 for ac_func in fpclass
65647 do :
65648 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65649 if test "x$ac_cv_func_fpclass" = x""yes; then :
65650 cat >>confdefs.h <<_ACEOF
65651 #define HAVE_FPCLASS 1
65652 _ACEOF
65655 done
65657 else
65659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65660 $as_echo_n "checking for _fpclass declaration... " >&6; }
65661 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65662 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65663 $as_echo_n "(cached) " >&6
65664 else
65667 ac_ext=cpp
65668 ac_cpp='$CXXCPP $CPPFLAGS'
65669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65674 /* end confdefs.h. */
65675 #include <math.h>
65676 #ifdef HAVE_IEEEFP_H
65677 #include <ieeefp.h>
65678 #endif
65681 main ()
65683 _fpclass(0);
65685 return 0;
65687 _ACEOF
65688 if ac_fn_cxx_try_compile "$LINENO"; then :
65689 glibcxx_cv_func__fpclass_use=yes
65690 else
65691 glibcxx_cv_func__fpclass_use=no
65693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65694 ac_ext=c
65695 ac_cpp='$CPP $CPPFLAGS'
65696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65705 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65707 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65708 for ac_func in _fpclass
65709 do :
65710 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65711 if test "x$ac_cv_func__fpclass" = x""yes; then :
65712 cat >>confdefs.h <<_ACEOF
65713 #define HAVE__FPCLASS 1
65714 _ACEOF
65717 done
65726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
65727 $as_echo_n "checking for qfpclass declaration... " >&6; }
65728 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65729 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
65730 $as_echo_n "(cached) " >&6
65731 else
65734 ac_ext=cpp
65735 ac_cpp='$CXXCPP $CPPFLAGS'
65736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65741 /* end confdefs.h. */
65742 #include <math.h>
65743 #ifdef HAVE_IEEEFP_H
65744 #include <ieeefp.h>
65745 #endif
65748 main ()
65750 qfpclass(0);
65752 return 0;
65754 _ACEOF
65755 if ac_fn_cxx_try_compile "$LINENO"; then :
65756 glibcxx_cv_func_qfpclass_use=yes
65757 else
65758 glibcxx_cv_func_qfpclass_use=no
65760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65761 ac_ext=c
65762 ac_cpp='$CPP $CPPFLAGS'
65763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
65772 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
65774 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
65775 for ac_func in qfpclass
65776 do :
65777 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
65778 if test "x$ac_cv_func_qfpclass" = x""yes; then :
65779 cat >>confdefs.h <<_ACEOF
65780 #define HAVE_QFPCLASS 1
65781 _ACEOF
65784 done
65786 else
65788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
65789 $as_echo_n "checking for _qfpclass declaration... " >&6; }
65790 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
65791 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
65792 $as_echo_n "(cached) " >&6
65793 else
65796 ac_ext=cpp
65797 ac_cpp='$CXXCPP $CPPFLAGS'
65798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65803 /* end confdefs.h. */
65804 #include <math.h>
65805 #ifdef HAVE_IEEEFP_H
65806 #include <ieeefp.h>
65807 #endif
65810 main ()
65812 _qfpclass(0);
65814 return 0;
65816 _ACEOF
65817 if ac_fn_cxx_try_compile "$LINENO"; then :
65818 glibcxx_cv_func__qfpclass_use=yes
65819 else
65820 glibcxx_cv_func__qfpclass_use=no
65822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65823 ac_ext=c
65824 ac_cpp='$CPP $CPPFLAGS'
65825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
65834 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
65836 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
65837 for ac_func in _qfpclass
65838 do :
65839 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
65840 if test "x$ac_cv_func__qfpclass" = x""yes; then :
65841 cat >>confdefs.h <<_ACEOF
65842 #define HAVE__QFPCLASS 1
65843 _ACEOF
65846 done
65855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
65856 $as_echo_n "checking for hypot declaration... " >&6; }
65857 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
65858 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
65859 $as_echo_n "(cached) " >&6
65860 else
65863 ac_ext=cpp
65864 ac_cpp='$CXXCPP $CPPFLAGS'
65865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65870 /* end confdefs.h. */
65871 #include <math.h>
65873 main ()
65875 hypot(0, 0);
65877 return 0;
65879 _ACEOF
65880 if ac_fn_cxx_try_compile "$LINENO"; then :
65881 glibcxx_cv_func_hypot_use=yes
65882 else
65883 glibcxx_cv_func_hypot_use=no
65885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65886 ac_ext=c
65887 ac_cpp='$CPP $CPPFLAGS'
65888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
65897 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
65899 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
65900 for ac_func in hypot
65901 do :
65902 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
65903 if test "x$ac_cv_func_hypot" = x""yes; then :
65904 cat >>confdefs.h <<_ACEOF
65905 #define HAVE_HYPOT 1
65906 _ACEOF
65909 done
65911 else
65913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
65914 $as_echo_n "checking for _hypot declaration... " >&6; }
65915 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
65916 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
65917 $as_echo_n "(cached) " >&6
65918 else
65921 ac_ext=cpp
65922 ac_cpp='$CXXCPP $CPPFLAGS'
65923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65928 /* end confdefs.h. */
65929 #include <math.h>
65931 main ()
65933 _hypot(0, 0);
65935 return 0;
65937 _ACEOF
65938 if ac_fn_cxx_try_compile "$LINENO"; then :
65939 glibcxx_cv_func__hypot_use=yes
65940 else
65941 glibcxx_cv_func__hypot_use=no
65943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65944 ac_ext=c
65945 ac_cpp='$CPP $CPPFLAGS'
65946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
65955 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
65957 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
65958 for ac_func in _hypot
65959 do :
65960 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
65961 if test "x$ac_cv_func__hypot" = x""yes; then :
65962 cat >>confdefs.h <<_ACEOF
65963 #define HAVE__HYPOT 1
65964 _ACEOF
65967 done
65976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
65977 $as_echo_n "checking for float trig functions... " >&6; }
65978 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
65979 $as_echo_n "(cached) " >&6
65980 else
65983 ac_ext=cpp
65984 ac_cpp='$CXXCPP $CPPFLAGS'
65985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65990 /* end confdefs.h. */
65991 #include <math.h>
65993 main ()
65995 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
65997 return 0;
65999 _ACEOF
66000 if ac_fn_cxx_try_compile "$LINENO"; then :
66001 glibcxx_cv_func_float_trig_use=yes
66002 else
66003 glibcxx_cv_func_float_trig_use=no
66005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66006 ac_ext=c
66007 ac_cpp='$CPP $CPPFLAGS'
66008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
66015 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
66016 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66017 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66018 do :
66019 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66020 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66021 eval as_val=\$$as_ac_var
66022 if test "x$as_val" = x""yes; then :
66023 cat >>confdefs.h <<_ACEOF
66024 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66025 _ACEOF
66028 done
66030 else
66031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66032 $as_echo_n "checking for _float trig functions... " >&6; }
66033 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
66034 $as_echo_n "(cached) " >&6
66035 else
66038 ac_ext=cpp
66039 ac_cpp='$CXXCPP $CPPFLAGS'
66040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66045 /* end confdefs.h. */
66046 #include <math.h>
66048 main ()
66050 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66052 return 0;
66054 _ACEOF
66055 if ac_fn_cxx_try_compile "$LINENO"; then :
66056 glibcxx_cv_func__float_trig_use=yes
66057 else
66058 glibcxx_cv_func__float_trig_use=no
66060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66061 ac_ext=c
66062 ac_cpp='$CPP $CPPFLAGS'
66063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66070 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66071 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66072 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66073 do :
66074 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66075 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66076 eval as_val=\$$as_ac_var
66077 if test "x$as_val" = x""yes; then :
66078 cat >>confdefs.h <<_ACEOF
66079 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66080 _ACEOF
66083 done
66092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66093 $as_echo_n "checking for float round functions... " >&6; }
66094 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66095 $as_echo_n "(cached) " >&6
66096 else
66099 ac_ext=cpp
66100 ac_cpp='$CXXCPP $CPPFLAGS'
66101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66106 /* end confdefs.h. */
66107 #include <math.h>
66109 main ()
66111 ceilf (0); floorf (0);
66113 return 0;
66115 _ACEOF
66116 if ac_fn_cxx_try_compile "$LINENO"; then :
66117 glibcxx_cv_func_float_round_use=yes
66118 else
66119 glibcxx_cv_func_float_round_use=no
66121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66122 ac_ext=c
66123 ac_cpp='$CPP $CPPFLAGS'
66124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66131 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66132 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66133 for ac_func in ceilf floorf
66134 do :
66135 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66136 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66137 eval as_val=\$$as_ac_var
66138 if test "x$as_val" = x""yes; then :
66139 cat >>confdefs.h <<_ACEOF
66140 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66141 _ACEOF
66144 done
66146 else
66147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66148 $as_echo_n "checking for _float round functions... " >&6; }
66149 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66150 $as_echo_n "(cached) " >&6
66151 else
66154 ac_ext=cpp
66155 ac_cpp='$CXXCPP $CPPFLAGS'
66156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66161 /* end confdefs.h. */
66162 #include <math.h>
66164 main ()
66166 _ceilf (0); _floorf (0);
66168 return 0;
66170 _ACEOF
66171 if ac_fn_cxx_try_compile "$LINENO"; then :
66172 glibcxx_cv_func__float_round_use=yes
66173 else
66174 glibcxx_cv_func__float_round_use=no
66176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66177 ac_ext=c
66178 ac_cpp='$CPP $CPPFLAGS'
66179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66186 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66187 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66188 for ac_func in _ceilf _floorf
66189 do :
66190 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66191 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66192 eval as_val=\$$as_ac_var
66193 if test "x$as_val" = x""yes; then :
66194 cat >>confdefs.h <<_ACEOF
66195 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66196 _ACEOF
66199 done
66209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66210 $as_echo_n "checking for expf declaration... " >&6; }
66211 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66212 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66213 $as_echo_n "(cached) " >&6
66214 else
66217 ac_ext=cpp
66218 ac_cpp='$CXXCPP $CPPFLAGS'
66219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66224 /* end confdefs.h. */
66225 #include <math.h>
66226 #ifdef HAVE_IEEEFP_H
66227 #include <ieeefp.h>
66228 #endif
66231 main ()
66233 expf(0);
66235 return 0;
66237 _ACEOF
66238 if ac_fn_cxx_try_compile "$LINENO"; then :
66239 glibcxx_cv_func_expf_use=yes
66240 else
66241 glibcxx_cv_func_expf_use=no
66243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66244 ac_ext=c
66245 ac_cpp='$CPP $CPPFLAGS'
66246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66255 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66257 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66258 for ac_func in expf
66259 do :
66260 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66261 if test "x$ac_cv_func_expf" = x""yes; then :
66262 cat >>confdefs.h <<_ACEOF
66263 #define HAVE_EXPF 1
66264 _ACEOF
66267 done
66269 else
66271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66272 $as_echo_n "checking for _expf declaration... " >&6; }
66273 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66274 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66275 $as_echo_n "(cached) " >&6
66276 else
66279 ac_ext=cpp
66280 ac_cpp='$CXXCPP $CPPFLAGS'
66281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66286 /* end confdefs.h. */
66287 #include <math.h>
66288 #ifdef HAVE_IEEEFP_H
66289 #include <ieeefp.h>
66290 #endif
66293 main ()
66295 _expf(0);
66297 return 0;
66299 _ACEOF
66300 if ac_fn_cxx_try_compile "$LINENO"; then :
66301 glibcxx_cv_func__expf_use=yes
66302 else
66303 glibcxx_cv_func__expf_use=no
66305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66306 ac_ext=c
66307 ac_cpp='$CPP $CPPFLAGS'
66308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66317 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66319 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66320 for ac_func in _expf
66321 do :
66322 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66323 if test "x$ac_cv_func__expf" = x""yes; then :
66324 cat >>confdefs.h <<_ACEOF
66325 #define HAVE__EXPF 1
66326 _ACEOF
66329 done
66338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66339 $as_echo_n "checking for isnanf declaration... " >&6; }
66340 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66341 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66342 $as_echo_n "(cached) " >&6
66343 else
66346 ac_ext=cpp
66347 ac_cpp='$CXXCPP $CPPFLAGS'
66348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66353 /* end confdefs.h. */
66354 #include <math.h>
66355 #ifdef HAVE_IEEEFP_H
66356 #include <ieeefp.h>
66357 #endif
66360 main ()
66362 isnanf(0);
66364 return 0;
66366 _ACEOF
66367 if ac_fn_cxx_try_compile "$LINENO"; then :
66368 glibcxx_cv_func_isnanf_use=yes
66369 else
66370 glibcxx_cv_func_isnanf_use=no
66372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66373 ac_ext=c
66374 ac_cpp='$CPP $CPPFLAGS'
66375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66384 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66386 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66387 for ac_func in isnanf
66388 do :
66389 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66390 if test "x$ac_cv_func_isnanf" = x""yes; then :
66391 cat >>confdefs.h <<_ACEOF
66392 #define HAVE_ISNANF 1
66393 _ACEOF
66396 done
66398 else
66400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66401 $as_echo_n "checking for _isnanf declaration... " >&6; }
66402 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66403 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66404 $as_echo_n "(cached) " >&6
66405 else
66408 ac_ext=cpp
66409 ac_cpp='$CXXCPP $CPPFLAGS'
66410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66415 /* end confdefs.h. */
66416 #include <math.h>
66417 #ifdef HAVE_IEEEFP_H
66418 #include <ieeefp.h>
66419 #endif
66422 main ()
66424 _isnanf(0);
66426 return 0;
66428 _ACEOF
66429 if ac_fn_cxx_try_compile "$LINENO"; then :
66430 glibcxx_cv_func__isnanf_use=yes
66431 else
66432 glibcxx_cv_func__isnanf_use=no
66434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66435 ac_ext=c
66436 ac_cpp='$CPP $CPPFLAGS'
66437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66446 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66448 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66449 for ac_func in _isnanf
66450 do :
66451 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66452 if test "x$ac_cv_func__isnanf" = x""yes; then :
66453 cat >>confdefs.h <<_ACEOF
66454 #define HAVE__ISNANF 1
66455 _ACEOF
66458 done
66467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66468 $as_echo_n "checking for isinff declaration... " >&6; }
66469 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66470 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66471 $as_echo_n "(cached) " >&6
66472 else
66475 ac_ext=cpp
66476 ac_cpp='$CXXCPP $CPPFLAGS'
66477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66482 /* end confdefs.h. */
66483 #include <math.h>
66484 #ifdef HAVE_IEEEFP_H
66485 #include <ieeefp.h>
66486 #endif
66489 main ()
66491 isinff(0);
66493 return 0;
66495 _ACEOF
66496 if ac_fn_cxx_try_compile "$LINENO"; then :
66497 glibcxx_cv_func_isinff_use=yes
66498 else
66499 glibcxx_cv_func_isinff_use=no
66501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66502 ac_ext=c
66503 ac_cpp='$CPP $CPPFLAGS'
66504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66513 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66515 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66516 for ac_func in isinff
66517 do :
66518 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66519 if test "x$ac_cv_func_isinff" = x""yes; then :
66520 cat >>confdefs.h <<_ACEOF
66521 #define HAVE_ISINFF 1
66522 _ACEOF
66525 done
66527 else
66529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66530 $as_echo_n "checking for _isinff declaration... " >&6; }
66531 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66532 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66533 $as_echo_n "(cached) " >&6
66534 else
66537 ac_ext=cpp
66538 ac_cpp='$CXXCPP $CPPFLAGS'
66539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66544 /* end confdefs.h. */
66545 #include <math.h>
66546 #ifdef HAVE_IEEEFP_H
66547 #include <ieeefp.h>
66548 #endif
66551 main ()
66553 _isinff(0);
66555 return 0;
66557 _ACEOF
66558 if ac_fn_cxx_try_compile "$LINENO"; then :
66559 glibcxx_cv_func__isinff_use=yes
66560 else
66561 glibcxx_cv_func__isinff_use=no
66563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66564 ac_ext=c
66565 ac_cpp='$CPP $CPPFLAGS'
66566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66575 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66577 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66578 for ac_func in _isinff
66579 do :
66580 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66581 if test "x$ac_cv_func__isinff" = x""yes; then :
66582 cat >>confdefs.h <<_ACEOF
66583 #define HAVE__ISINFF 1
66584 _ACEOF
66587 done
66596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66597 $as_echo_n "checking for atan2f declaration... " >&6; }
66598 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66599 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66600 $as_echo_n "(cached) " >&6
66601 else
66604 ac_ext=cpp
66605 ac_cpp='$CXXCPP $CPPFLAGS'
66606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66611 /* end confdefs.h. */
66612 #include <math.h>
66614 main ()
66616 atan2f(0, 0);
66618 return 0;
66620 _ACEOF
66621 if ac_fn_cxx_try_compile "$LINENO"; then :
66622 glibcxx_cv_func_atan2f_use=yes
66623 else
66624 glibcxx_cv_func_atan2f_use=no
66626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66627 ac_ext=c
66628 ac_cpp='$CPP $CPPFLAGS'
66629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66638 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66640 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66641 for ac_func in atan2f
66642 do :
66643 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66644 if test "x$ac_cv_func_atan2f" = x""yes; then :
66645 cat >>confdefs.h <<_ACEOF
66646 #define HAVE_ATAN2F 1
66647 _ACEOF
66650 done
66652 else
66654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66655 $as_echo_n "checking for _atan2f declaration... " >&6; }
66656 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66657 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66658 $as_echo_n "(cached) " >&6
66659 else
66662 ac_ext=cpp
66663 ac_cpp='$CXXCPP $CPPFLAGS'
66664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66669 /* end confdefs.h. */
66670 #include <math.h>
66672 main ()
66674 _atan2f(0, 0);
66676 return 0;
66678 _ACEOF
66679 if ac_fn_cxx_try_compile "$LINENO"; then :
66680 glibcxx_cv_func__atan2f_use=yes
66681 else
66682 glibcxx_cv_func__atan2f_use=no
66684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66685 ac_ext=c
66686 ac_cpp='$CPP $CPPFLAGS'
66687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66696 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66698 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66699 for ac_func in _atan2f
66700 do :
66701 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66702 if test "x$ac_cv_func__atan2f" = x""yes; then :
66703 cat >>confdefs.h <<_ACEOF
66704 #define HAVE__ATAN2F 1
66705 _ACEOF
66708 done
66717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
66718 $as_echo_n "checking for fabsf declaration... " >&6; }
66719 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66720 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
66721 $as_echo_n "(cached) " >&6
66722 else
66725 ac_ext=cpp
66726 ac_cpp='$CXXCPP $CPPFLAGS'
66727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66732 /* end confdefs.h. */
66733 #include <math.h>
66734 #ifdef HAVE_IEEEFP_H
66735 #include <ieeefp.h>
66736 #endif
66739 main ()
66741 fabsf(0);
66743 return 0;
66745 _ACEOF
66746 if ac_fn_cxx_try_compile "$LINENO"; then :
66747 glibcxx_cv_func_fabsf_use=yes
66748 else
66749 glibcxx_cv_func_fabsf_use=no
66751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66752 ac_ext=c
66753 ac_cpp='$CPP $CPPFLAGS'
66754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
66763 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
66765 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
66766 for ac_func in fabsf
66767 do :
66768 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
66769 if test "x$ac_cv_func_fabsf" = x""yes; then :
66770 cat >>confdefs.h <<_ACEOF
66771 #define HAVE_FABSF 1
66772 _ACEOF
66775 done
66777 else
66779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
66780 $as_echo_n "checking for _fabsf declaration... " >&6; }
66781 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
66782 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
66783 $as_echo_n "(cached) " >&6
66784 else
66787 ac_ext=cpp
66788 ac_cpp='$CXXCPP $CPPFLAGS'
66789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66794 /* end confdefs.h. */
66795 #include <math.h>
66796 #ifdef HAVE_IEEEFP_H
66797 #include <ieeefp.h>
66798 #endif
66801 main ()
66803 _fabsf(0);
66805 return 0;
66807 _ACEOF
66808 if ac_fn_cxx_try_compile "$LINENO"; then :
66809 glibcxx_cv_func__fabsf_use=yes
66810 else
66811 glibcxx_cv_func__fabsf_use=no
66813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66814 ac_ext=c
66815 ac_cpp='$CPP $CPPFLAGS'
66816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
66825 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
66827 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
66828 for ac_func in _fabsf
66829 do :
66830 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
66831 if test "x$ac_cv_func__fabsf" = x""yes; then :
66832 cat >>confdefs.h <<_ACEOF
66833 #define HAVE__FABSF 1
66834 _ACEOF
66837 done
66846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
66847 $as_echo_n "checking for fmodf declaration... " >&6; }
66848 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
66849 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
66850 $as_echo_n "(cached) " >&6
66851 else
66854 ac_ext=cpp
66855 ac_cpp='$CXXCPP $CPPFLAGS'
66856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66861 /* end confdefs.h. */
66862 #include <math.h>
66864 main ()
66866 fmodf(0, 0);
66868 return 0;
66870 _ACEOF
66871 if ac_fn_cxx_try_compile "$LINENO"; then :
66872 glibcxx_cv_func_fmodf_use=yes
66873 else
66874 glibcxx_cv_func_fmodf_use=no
66876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66877 ac_ext=c
66878 ac_cpp='$CPP $CPPFLAGS'
66879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
66888 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
66890 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
66891 for ac_func in fmodf
66892 do :
66893 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
66894 if test "x$ac_cv_func_fmodf" = x""yes; then :
66895 cat >>confdefs.h <<_ACEOF
66896 #define HAVE_FMODF 1
66897 _ACEOF
66900 done
66902 else
66904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
66905 $as_echo_n "checking for _fmodf declaration... " >&6; }
66906 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
66907 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
66908 $as_echo_n "(cached) " >&6
66909 else
66912 ac_ext=cpp
66913 ac_cpp='$CXXCPP $CPPFLAGS'
66914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66919 /* end confdefs.h. */
66920 #include <math.h>
66922 main ()
66924 _fmodf(0, 0);
66926 return 0;
66928 _ACEOF
66929 if ac_fn_cxx_try_compile "$LINENO"; then :
66930 glibcxx_cv_func__fmodf_use=yes
66931 else
66932 glibcxx_cv_func__fmodf_use=no
66934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66935 ac_ext=c
66936 ac_cpp='$CPP $CPPFLAGS'
66937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
66946 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
66948 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
66949 for ac_func in _fmodf
66950 do :
66951 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
66952 if test "x$ac_cv_func__fmodf" = x""yes; then :
66953 cat >>confdefs.h <<_ACEOF
66954 #define HAVE__FMODF 1
66955 _ACEOF
66958 done
66967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
66968 $as_echo_n "checking for frexpf declaration... " >&6; }
66969 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
66970 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
66971 $as_echo_n "(cached) " >&6
66972 else
66975 ac_ext=cpp
66976 ac_cpp='$CXXCPP $CPPFLAGS'
66977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66982 /* end confdefs.h. */
66983 #include <math.h>
66985 main ()
66987 frexpf(0, 0);
66989 return 0;
66991 _ACEOF
66992 if ac_fn_cxx_try_compile "$LINENO"; then :
66993 glibcxx_cv_func_frexpf_use=yes
66994 else
66995 glibcxx_cv_func_frexpf_use=no
66997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66998 ac_ext=c
66999 ac_cpp='$CPP $CPPFLAGS'
67000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
67009 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
67011 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67012 for ac_func in frexpf
67013 do :
67014 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
67015 if test "x$ac_cv_func_frexpf" = x""yes; then :
67016 cat >>confdefs.h <<_ACEOF
67017 #define HAVE_FREXPF 1
67018 _ACEOF
67021 done
67023 else
67025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
67026 $as_echo_n "checking for _frexpf declaration... " >&6; }
67027 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67028 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67029 $as_echo_n "(cached) " >&6
67030 else
67033 ac_ext=cpp
67034 ac_cpp='$CXXCPP $CPPFLAGS'
67035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67040 /* end confdefs.h. */
67041 #include <math.h>
67043 main ()
67045 _frexpf(0, 0);
67047 return 0;
67049 _ACEOF
67050 if ac_fn_cxx_try_compile "$LINENO"; then :
67051 glibcxx_cv_func__frexpf_use=yes
67052 else
67053 glibcxx_cv_func__frexpf_use=no
67055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67056 ac_ext=c
67057 ac_cpp='$CPP $CPPFLAGS'
67058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67067 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67069 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67070 for ac_func in _frexpf
67071 do :
67072 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67073 if test "x$ac_cv_func__frexpf" = x""yes; then :
67074 cat >>confdefs.h <<_ACEOF
67075 #define HAVE__FREXPF 1
67076 _ACEOF
67079 done
67088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67089 $as_echo_n "checking for hypotf declaration... " >&6; }
67090 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67091 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67092 $as_echo_n "(cached) " >&6
67093 else
67096 ac_ext=cpp
67097 ac_cpp='$CXXCPP $CPPFLAGS'
67098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67103 /* end confdefs.h. */
67104 #include <math.h>
67106 main ()
67108 hypotf(0, 0);
67110 return 0;
67112 _ACEOF
67113 if ac_fn_cxx_try_compile "$LINENO"; then :
67114 glibcxx_cv_func_hypotf_use=yes
67115 else
67116 glibcxx_cv_func_hypotf_use=no
67118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67119 ac_ext=c
67120 ac_cpp='$CPP $CPPFLAGS'
67121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67130 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67132 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67133 for ac_func in hypotf
67134 do :
67135 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67136 if test "x$ac_cv_func_hypotf" = x""yes; then :
67137 cat >>confdefs.h <<_ACEOF
67138 #define HAVE_HYPOTF 1
67139 _ACEOF
67142 done
67144 else
67146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67147 $as_echo_n "checking for _hypotf declaration... " >&6; }
67148 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67149 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67150 $as_echo_n "(cached) " >&6
67151 else
67154 ac_ext=cpp
67155 ac_cpp='$CXXCPP $CPPFLAGS'
67156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67161 /* end confdefs.h. */
67162 #include <math.h>
67164 main ()
67166 _hypotf(0, 0);
67168 return 0;
67170 _ACEOF
67171 if ac_fn_cxx_try_compile "$LINENO"; then :
67172 glibcxx_cv_func__hypotf_use=yes
67173 else
67174 glibcxx_cv_func__hypotf_use=no
67176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67177 ac_ext=c
67178 ac_cpp='$CPP $CPPFLAGS'
67179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67188 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67190 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67191 for ac_func in _hypotf
67192 do :
67193 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67194 if test "x$ac_cv_func__hypotf" = x""yes; then :
67195 cat >>confdefs.h <<_ACEOF
67196 #define HAVE__HYPOTF 1
67197 _ACEOF
67200 done
67209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67210 $as_echo_n "checking for ldexpf declaration... " >&6; }
67211 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67212 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67213 $as_echo_n "(cached) " >&6
67214 else
67217 ac_ext=cpp
67218 ac_cpp='$CXXCPP $CPPFLAGS'
67219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67224 /* end confdefs.h. */
67225 #include <math.h>
67227 main ()
67229 ldexpf(0, 0);
67231 return 0;
67233 _ACEOF
67234 if ac_fn_cxx_try_compile "$LINENO"; then :
67235 glibcxx_cv_func_ldexpf_use=yes
67236 else
67237 glibcxx_cv_func_ldexpf_use=no
67239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67240 ac_ext=c
67241 ac_cpp='$CPP $CPPFLAGS'
67242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67251 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67253 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67254 for ac_func in ldexpf
67255 do :
67256 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67257 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67258 cat >>confdefs.h <<_ACEOF
67259 #define HAVE_LDEXPF 1
67260 _ACEOF
67263 done
67265 else
67267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67268 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67269 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67270 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67271 $as_echo_n "(cached) " >&6
67272 else
67275 ac_ext=cpp
67276 ac_cpp='$CXXCPP $CPPFLAGS'
67277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67282 /* end confdefs.h. */
67283 #include <math.h>
67285 main ()
67287 _ldexpf(0, 0);
67289 return 0;
67291 _ACEOF
67292 if ac_fn_cxx_try_compile "$LINENO"; then :
67293 glibcxx_cv_func__ldexpf_use=yes
67294 else
67295 glibcxx_cv_func__ldexpf_use=no
67297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67298 ac_ext=c
67299 ac_cpp='$CPP $CPPFLAGS'
67300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67309 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67311 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67312 for ac_func in _ldexpf
67313 do :
67314 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67315 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67316 cat >>confdefs.h <<_ACEOF
67317 #define HAVE__LDEXPF 1
67318 _ACEOF
67321 done
67330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67331 $as_echo_n "checking for logf declaration... " >&6; }
67332 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67333 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67334 $as_echo_n "(cached) " >&6
67335 else
67338 ac_ext=cpp
67339 ac_cpp='$CXXCPP $CPPFLAGS'
67340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67345 /* end confdefs.h. */
67346 #include <math.h>
67347 #ifdef HAVE_IEEEFP_H
67348 #include <ieeefp.h>
67349 #endif
67352 main ()
67354 logf(0);
67356 return 0;
67358 _ACEOF
67359 if ac_fn_cxx_try_compile "$LINENO"; then :
67360 glibcxx_cv_func_logf_use=yes
67361 else
67362 glibcxx_cv_func_logf_use=no
67364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67365 ac_ext=c
67366 ac_cpp='$CPP $CPPFLAGS'
67367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67376 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67378 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67379 for ac_func in logf
67380 do :
67381 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67382 if test "x$ac_cv_func_logf" = x""yes; then :
67383 cat >>confdefs.h <<_ACEOF
67384 #define HAVE_LOGF 1
67385 _ACEOF
67388 done
67390 else
67392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67393 $as_echo_n "checking for _logf declaration... " >&6; }
67394 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67395 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67396 $as_echo_n "(cached) " >&6
67397 else
67400 ac_ext=cpp
67401 ac_cpp='$CXXCPP $CPPFLAGS'
67402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67407 /* end confdefs.h. */
67408 #include <math.h>
67409 #ifdef HAVE_IEEEFP_H
67410 #include <ieeefp.h>
67411 #endif
67414 main ()
67416 _logf(0);
67418 return 0;
67420 _ACEOF
67421 if ac_fn_cxx_try_compile "$LINENO"; then :
67422 glibcxx_cv_func__logf_use=yes
67423 else
67424 glibcxx_cv_func__logf_use=no
67426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67427 ac_ext=c
67428 ac_cpp='$CPP $CPPFLAGS'
67429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67438 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67440 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67441 for ac_func in _logf
67442 do :
67443 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67444 if test "x$ac_cv_func__logf" = x""yes; then :
67445 cat >>confdefs.h <<_ACEOF
67446 #define HAVE__LOGF 1
67447 _ACEOF
67450 done
67459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67460 $as_echo_n "checking for log10f declaration... " >&6; }
67461 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67462 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67463 $as_echo_n "(cached) " >&6
67464 else
67467 ac_ext=cpp
67468 ac_cpp='$CXXCPP $CPPFLAGS'
67469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67474 /* end confdefs.h. */
67475 #include <math.h>
67476 #ifdef HAVE_IEEEFP_H
67477 #include <ieeefp.h>
67478 #endif
67481 main ()
67483 log10f(0);
67485 return 0;
67487 _ACEOF
67488 if ac_fn_cxx_try_compile "$LINENO"; then :
67489 glibcxx_cv_func_log10f_use=yes
67490 else
67491 glibcxx_cv_func_log10f_use=no
67493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67494 ac_ext=c
67495 ac_cpp='$CPP $CPPFLAGS'
67496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67505 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67507 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67508 for ac_func in log10f
67509 do :
67510 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67511 if test "x$ac_cv_func_log10f" = x""yes; then :
67512 cat >>confdefs.h <<_ACEOF
67513 #define HAVE_LOG10F 1
67514 _ACEOF
67517 done
67519 else
67521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67522 $as_echo_n "checking for _log10f declaration... " >&6; }
67523 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67524 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67525 $as_echo_n "(cached) " >&6
67526 else
67529 ac_ext=cpp
67530 ac_cpp='$CXXCPP $CPPFLAGS'
67531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67536 /* end confdefs.h. */
67537 #include <math.h>
67538 #ifdef HAVE_IEEEFP_H
67539 #include <ieeefp.h>
67540 #endif
67543 main ()
67545 _log10f(0);
67547 return 0;
67549 _ACEOF
67550 if ac_fn_cxx_try_compile "$LINENO"; then :
67551 glibcxx_cv_func__log10f_use=yes
67552 else
67553 glibcxx_cv_func__log10f_use=no
67555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67556 ac_ext=c
67557 ac_cpp='$CPP $CPPFLAGS'
67558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67567 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67569 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67570 for ac_func in _log10f
67571 do :
67572 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67573 if test "x$ac_cv_func__log10f" = x""yes; then :
67574 cat >>confdefs.h <<_ACEOF
67575 #define HAVE__LOG10F 1
67576 _ACEOF
67579 done
67588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67589 $as_echo_n "checking for modff declaration... " >&6; }
67590 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67591 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67592 $as_echo_n "(cached) " >&6
67593 else
67596 ac_ext=cpp
67597 ac_cpp='$CXXCPP $CPPFLAGS'
67598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67603 /* end confdefs.h. */
67604 #include <math.h>
67606 main ()
67608 modff(0, 0);
67610 return 0;
67612 _ACEOF
67613 if ac_fn_cxx_try_compile "$LINENO"; then :
67614 glibcxx_cv_func_modff_use=yes
67615 else
67616 glibcxx_cv_func_modff_use=no
67618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67619 ac_ext=c
67620 ac_cpp='$CPP $CPPFLAGS'
67621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67630 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67632 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67633 for ac_func in modff
67634 do :
67635 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67636 if test "x$ac_cv_func_modff" = x""yes; then :
67637 cat >>confdefs.h <<_ACEOF
67638 #define HAVE_MODFF 1
67639 _ACEOF
67642 done
67644 else
67646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67647 $as_echo_n "checking for _modff declaration... " >&6; }
67648 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67649 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67650 $as_echo_n "(cached) " >&6
67651 else
67654 ac_ext=cpp
67655 ac_cpp='$CXXCPP $CPPFLAGS'
67656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67661 /* end confdefs.h. */
67662 #include <math.h>
67664 main ()
67666 _modff(0, 0);
67668 return 0;
67670 _ACEOF
67671 if ac_fn_cxx_try_compile "$LINENO"; then :
67672 glibcxx_cv_func__modff_use=yes
67673 else
67674 glibcxx_cv_func__modff_use=no
67676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67677 ac_ext=c
67678 ac_cpp='$CPP $CPPFLAGS'
67679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67688 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67690 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67691 for ac_func in _modff
67692 do :
67693 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67694 if test "x$ac_cv_func__modff" = x""yes; then :
67695 cat >>confdefs.h <<_ACEOF
67696 #define HAVE__MODFF 1
67697 _ACEOF
67700 done
67709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67710 $as_echo_n "checking for modf declaration... " >&6; }
67711 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67712 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67713 $as_echo_n "(cached) " >&6
67714 else
67717 ac_ext=cpp
67718 ac_cpp='$CXXCPP $CPPFLAGS'
67719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67724 /* end confdefs.h. */
67725 #include <math.h>
67727 main ()
67729 modf(0, 0);
67731 return 0;
67733 _ACEOF
67734 if ac_fn_cxx_try_compile "$LINENO"; then :
67735 glibcxx_cv_func_modf_use=yes
67736 else
67737 glibcxx_cv_func_modf_use=no
67739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67740 ac_ext=c
67741 ac_cpp='$CPP $CPPFLAGS'
67742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
67751 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
67753 if test x$glibcxx_cv_func_modf_use = x"yes"; then
67754 for ac_func in modf
67755 do :
67756 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
67757 if test "x$ac_cv_func_modf" = x""yes; then :
67758 cat >>confdefs.h <<_ACEOF
67759 #define HAVE_MODF 1
67760 _ACEOF
67763 done
67765 else
67767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
67768 $as_echo_n "checking for _modf declaration... " >&6; }
67769 if test x${glibcxx_cv_func__modf_use+set} != xset; then
67770 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
67771 $as_echo_n "(cached) " >&6
67772 else
67775 ac_ext=cpp
67776 ac_cpp='$CXXCPP $CPPFLAGS'
67777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67782 /* end confdefs.h. */
67783 #include <math.h>
67785 main ()
67787 _modf(0, 0);
67789 return 0;
67791 _ACEOF
67792 if ac_fn_cxx_try_compile "$LINENO"; then :
67793 glibcxx_cv_func__modf_use=yes
67794 else
67795 glibcxx_cv_func__modf_use=no
67797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67798 ac_ext=c
67799 ac_cpp='$CPP $CPPFLAGS'
67800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
67809 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
67811 if test x$glibcxx_cv_func__modf_use = x"yes"; then
67812 for ac_func in _modf
67813 do :
67814 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
67815 if test "x$ac_cv_func__modf" = x""yes; then :
67816 cat >>confdefs.h <<_ACEOF
67817 #define HAVE__MODF 1
67818 _ACEOF
67821 done
67830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
67831 $as_echo_n "checking for powf declaration... " >&6; }
67832 if test x${glibcxx_cv_func_powf_use+set} != xset; then
67833 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
67834 $as_echo_n "(cached) " >&6
67835 else
67838 ac_ext=cpp
67839 ac_cpp='$CXXCPP $CPPFLAGS'
67840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67845 /* end confdefs.h. */
67846 #include <math.h>
67848 main ()
67850 powf(0, 0);
67852 return 0;
67854 _ACEOF
67855 if ac_fn_cxx_try_compile "$LINENO"; then :
67856 glibcxx_cv_func_powf_use=yes
67857 else
67858 glibcxx_cv_func_powf_use=no
67860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67861 ac_ext=c
67862 ac_cpp='$CPP $CPPFLAGS'
67863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
67872 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
67874 if test x$glibcxx_cv_func_powf_use = x"yes"; then
67875 for ac_func in powf
67876 do :
67877 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
67878 if test "x$ac_cv_func_powf" = x""yes; then :
67879 cat >>confdefs.h <<_ACEOF
67880 #define HAVE_POWF 1
67881 _ACEOF
67884 done
67886 else
67888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
67889 $as_echo_n "checking for _powf declaration... " >&6; }
67890 if test x${glibcxx_cv_func__powf_use+set} != xset; then
67891 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
67892 $as_echo_n "(cached) " >&6
67893 else
67896 ac_ext=cpp
67897 ac_cpp='$CXXCPP $CPPFLAGS'
67898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67903 /* end confdefs.h. */
67904 #include <math.h>
67906 main ()
67908 _powf(0, 0);
67910 return 0;
67912 _ACEOF
67913 if ac_fn_cxx_try_compile "$LINENO"; then :
67914 glibcxx_cv_func__powf_use=yes
67915 else
67916 glibcxx_cv_func__powf_use=no
67918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67919 ac_ext=c
67920 ac_cpp='$CPP $CPPFLAGS'
67921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
67930 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
67932 if test x$glibcxx_cv_func__powf_use = x"yes"; then
67933 for ac_func in _powf
67934 do :
67935 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
67936 if test "x$ac_cv_func__powf" = x""yes; then :
67937 cat >>confdefs.h <<_ACEOF
67938 #define HAVE__POWF 1
67939 _ACEOF
67942 done
67951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
67952 $as_echo_n "checking for sqrtf declaration... " >&6; }
67953 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
67954 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
67955 $as_echo_n "(cached) " >&6
67956 else
67959 ac_ext=cpp
67960 ac_cpp='$CXXCPP $CPPFLAGS'
67961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67966 /* end confdefs.h. */
67967 #include <math.h>
67968 #ifdef HAVE_IEEEFP_H
67969 #include <ieeefp.h>
67970 #endif
67973 main ()
67975 sqrtf(0);
67977 return 0;
67979 _ACEOF
67980 if ac_fn_cxx_try_compile "$LINENO"; then :
67981 glibcxx_cv_func_sqrtf_use=yes
67982 else
67983 glibcxx_cv_func_sqrtf_use=no
67985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67986 ac_ext=c
67987 ac_cpp='$CPP $CPPFLAGS'
67988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
67997 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
67999 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68000 for ac_func in sqrtf
68001 do :
68002 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
68003 if test "x$ac_cv_func_sqrtf" = x""yes; then :
68004 cat >>confdefs.h <<_ACEOF
68005 #define HAVE_SQRTF 1
68006 _ACEOF
68009 done
68011 else
68013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
68014 $as_echo_n "checking for _sqrtf declaration... " >&6; }
68015 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68016 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
68017 $as_echo_n "(cached) " >&6
68018 else
68021 ac_ext=cpp
68022 ac_cpp='$CXXCPP $CPPFLAGS'
68023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68028 /* end confdefs.h. */
68029 #include <math.h>
68030 #ifdef HAVE_IEEEFP_H
68031 #include <ieeefp.h>
68032 #endif
68035 main ()
68037 _sqrtf(0);
68039 return 0;
68041 _ACEOF
68042 if ac_fn_cxx_try_compile "$LINENO"; then :
68043 glibcxx_cv_func__sqrtf_use=yes
68044 else
68045 glibcxx_cv_func__sqrtf_use=no
68047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68048 ac_ext=c
68049 ac_cpp='$CPP $CPPFLAGS'
68050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
68059 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68061 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68062 for ac_func in _sqrtf
68063 do :
68064 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68065 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68066 cat >>confdefs.h <<_ACEOF
68067 #define HAVE__SQRTF 1
68068 _ACEOF
68071 done
68080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68081 $as_echo_n "checking for sincosf declaration... " >&6; }
68082 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68083 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68084 $as_echo_n "(cached) " >&6
68085 else
68088 ac_ext=cpp
68089 ac_cpp='$CXXCPP $CPPFLAGS'
68090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68095 /* end confdefs.h. */
68096 #include <math.h>
68098 main ()
68100 sincosf(0, 0, 0);
68102 return 0;
68104 _ACEOF
68105 if ac_fn_cxx_try_compile "$LINENO"; then :
68106 glibcxx_cv_func_sincosf_use=yes
68107 else
68108 glibcxx_cv_func_sincosf_use=no
68110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68111 ac_ext=c
68112 ac_cpp='$CPP $CPPFLAGS'
68113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68122 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68124 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68125 for ac_func in sincosf
68126 do :
68127 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68128 if test "x$ac_cv_func_sincosf" = x""yes; then :
68129 cat >>confdefs.h <<_ACEOF
68130 #define HAVE_SINCOSF 1
68131 _ACEOF
68134 done
68136 else
68138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68139 $as_echo_n "checking for _sincosf declaration... " >&6; }
68140 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68141 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68142 $as_echo_n "(cached) " >&6
68143 else
68146 ac_ext=cpp
68147 ac_cpp='$CXXCPP $CPPFLAGS'
68148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68153 /* end confdefs.h. */
68154 #include <math.h>
68156 main ()
68158 _sincosf(0, 0, 0);
68160 return 0;
68162 _ACEOF
68163 if ac_fn_cxx_try_compile "$LINENO"; then :
68164 glibcxx_cv_func__sincosf_use=yes
68165 else
68166 glibcxx_cv_func__sincosf_use=no
68168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68169 ac_ext=c
68170 ac_cpp='$CPP $CPPFLAGS'
68171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68180 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68182 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68183 for ac_func in _sincosf
68184 do :
68185 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68186 if test "x$ac_cv_func__sincosf" = x""yes; then :
68187 cat >>confdefs.h <<_ACEOF
68188 #define HAVE__SINCOSF 1
68189 _ACEOF
68192 done
68201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68202 $as_echo_n "checking for finitef declaration... " >&6; }
68203 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68204 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68205 $as_echo_n "(cached) " >&6
68206 else
68209 ac_ext=cpp
68210 ac_cpp='$CXXCPP $CPPFLAGS'
68211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68216 /* end confdefs.h. */
68217 #include <math.h>
68218 #ifdef HAVE_IEEEFP_H
68219 #include <ieeefp.h>
68220 #endif
68223 main ()
68225 finitef(0);
68227 return 0;
68229 _ACEOF
68230 if ac_fn_cxx_try_compile "$LINENO"; then :
68231 glibcxx_cv_func_finitef_use=yes
68232 else
68233 glibcxx_cv_func_finitef_use=no
68235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68236 ac_ext=c
68237 ac_cpp='$CPP $CPPFLAGS'
68238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68247 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68249 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68250 for ac_func in finitef
68251 do :
68252 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68253 if test "x$ac_cv_func_finitef" = x""yes; then :
68254 cat >>confdefs.h <<_ACEOF
68255 #define HAVE_FINITEF 1
68256 _ACEOF
68259 done
68261 else
68263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68264 $as_echo_n "checking for _finitef declaration... " >&6; }
68265 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68266 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68267 $as_echo_n "(cached) " >&6
68268 else
68271 ac_ext=cpp
68272 ac_cpp='$CXXCPP $CPPFLAGS'
68273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68278 /* end confdefs.h. */
68279 #include <math.h>
68280 #ifdef HAVE_IEEEFP_H
68281 #include <ieeefp.h>
68282 #endif
68285 main ()
68287 _finitef(0);
68289 return 0;
68291 _ACEOF
68292 if ac_fn_cxx_try_compile "$LINENO"; then :
68293 glibcxx_cv_func__finitef_use=yes
68294 else
68295 glibcxx_cv_func__finitef_use=no
68297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68298 ac_ext=c
68299 ac_cpp='$CPP $CPPFLAGS'
68300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68309 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68311 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68312 for ac_func in _finitef
68313 do :
68314 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68315 if test "x$ac_cv_func__finitef" = x""yes; then :
68316 cat >>confdefs.h <<_ACEOF
68317 #define HAVE__FINITEF 1
68318 _ACEOF
68321 done
68330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68331 $as_echo_n "checking for long double trig functions... " >&6; }
68332 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68333 $as_echo_n "(cached) " >&6
68334 else
68337 ac_ext=cpp
68338 ac_cpp='$CXXCPP $CPPFLAGS'
68339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68344 /* end confdefs.h. */
68345 #include <math.h>
68347 main ()
68349 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68351 return 0;
68353 _ACEOF
68354 if ac_fn_cxx_try_compile "$LINENO"; then :
68355 glibcxx_cv_func_long_double_trig_use=yes
68356 else
68357 glibcxx_cv_func_long_double_trig_use=no
68359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68360 ac_ext=c
68361 ac_cpp='$CPP $CPPFLAGS'
68362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68369 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68370 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68371 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68372 do :
68373 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68374 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68375 eval as_val=\$$as_ac_var
68376 if test "x$as_val" = x""yes; then :
68377 cat >>confdefs.h <<_ACEOF
68378 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68379 _ACEOF
68382 done
68384 else
68385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68386 $as_echo_n "checking for _long double trig functions... " >&6; }
68387 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68388 $as_echo_n "(cached) " >&6
68389 else
68392 ac_ext=cpp
68393 ac_cpp='$CXXCPP $CPPFLAGS'
68394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68399 /* end confdefs.h. */
68400 #include <math.h>
68402 main ()
68404 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68406 return 0;
68408 _ACEOF
68409 if ac_fn_cxx_try_compile "$LINENO"; then :
68410 glibcxx_cv_func__long_double_trig_use=yes
68411 else
68412 glibcxx_cv_func__long_double_trig_use=no
68414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68415 ac_ext=c
68416 ac_cpp='$CPP $CPPFLAGS'
68417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68424 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68425 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68426 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68427 do :
68428 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68429 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68430 eval as_val=\$$as_ac_var
68431 if test "x$as_val" = x""yes; then :
68432 cat >>confdefs.h <<_ACEOF
68433 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68434 _ACEOF
68437 done
68446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68447 $as_echo_n "checking for long double round functions... " >&6; }
68448 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68449 $as_echo_n "(cached) " >&6
68450 else
68453 ac_ext=cpp
68454 ac_cpp='$CXXCPP $CPPFLAGS'
68455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68460 /* end confdefs.h. */
68461 #include <math.h>
68463 main ()
68465 ceill (0); floorl (0);
68467 return 0;
68469 _ACEOF
68470 if ac_fn_cxx_try_compile "$LINENO"; then :
68471 glibcxx_cv_func_long_double_round_use=yes
68472 else
68473 glibcxx_cv_func_long_double_round_use=no
68475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68476 ac_ext=c
68477 ac_cpp='$CPP $CPPFLAGS'
68478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68485 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68486 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68487 for ac_func in ceill floorl
68488 do :
68489 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68490 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68491 eval as_val=\$$as_ac_var
68492 if test "x$as_val" = x""yes; then :
68493 cat >>confdefs.h <<_ACEOF
68494 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68495 _ACEOF
68498 done
68500 else
68501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68502 $as_echo_n "checking for _long double round functions... " >&6; }
68503 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68504 $as_echo_n "(cached) " >&6
68505 else
68508 ac_ext=cpp
68509 ac_cpp='$CXXCPP $CPPFLAGS'
68510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68515 /* end confdefs.h. */
68516 #include <math.h>
68518 main ()
68520 _ceill (0); _floorl (0);
68522 return 0;
68524 _ACEOF
68525 if ac_fn_cxx_try_compile "$LINENO"; then :
68526 glibcxx_cv_func__long_double_round_use=yes
68527 else
68528 glibcxx_cv_func__long_double_round_use=no
68530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68531 ac_ext=c
68532 ac_cpp='$CPP $CPPFLAGS'
68533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68540 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68541 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68542 for ac_func in _ceill _floorl
68543 do :
68544 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68545 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68546 eval as_val=\$$as_ac_var
68547 if test "x$as_val" = x""yes; then :
68548 cat >>confdefs.h <<_ACEOF
68549 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68550 _ACEOF
68553 done
68563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68564 $as_echo_n "checking for isnanl declaration... " >&6; }
68565 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68566 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68567 $as_echo_n "(cached) " >&6
68568 else
68571 ac_ext=cpp
68572 ac_cpp='$CXXCPP $CPPFLAGS'
68573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68578 /* end confdefs.h. */
68579 #include <math.h>
68580 #ifdef HAVE_IEEEFP_H
68581 #include <ieeefp.h>
68582 #endif
68585 main ()
68587 isnanl(0);
68589 return 0;
68591 _ACEOF
68592 if ac_fn_cxx_try_compile "$LINENO"; then :
68593 glibcxx_cv_func_isnanl_use=yes
68594 else
68595 glibcxx_cv_func_isnanl_use=no
68597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68598 ac_ext=c
68599 ac_cpp='$CPP $CPPFLAGS'
68600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68609 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68611 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68612 for ac_func in isnanl
68613 do :
68614 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68615 if test "x$ac_cv_func_isnanl" = x""yes; then :
68616 cat >>confdefs.h <<_ACEOF
68617 #define HAVE_ISNANL 1
68618 _ACEOF
68621 done
68623 else
68625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68626 $as_echo_n "checking for _isnanl declaration... " >&6; }
68627 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68628 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68629 $as_echo_n "(cached) " >&6
68630 else
68633 ac_ext=cpp
68634 ac_cpp='$CXXCPP $CPPFLAGS'
68635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68640 /* end confdefs.h. */
68641 #include <math.h>
68642 #ifdef HAVE_IEEEFP_H
68643 #include <ieeefp.h>
68644 #endif
68647 main ()
68649 _isnanl(0);
68651 return 0;
68653 _ACEOF
68654 if ac_fn_cxx_try_compile "$LINENO"; then :
68655 glibcxx_cv_func__isnanl_use=yes
68656 else
68657 glibcxx_cv_func__isnanl_use=no
68659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68660 ac_ext=c
68661 ac_cpp='$CPP $CPPFLAGS'
68662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68671 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68673 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68674 for ac_func in _isnanl
68675 do :
68676 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68677 if test "x$ac_cv_func__isnanl" = x""yes; then :
68678 cat >>confdefs.h <<_ACEOF
68679 #define HAVE__ISNANL 1
68680 _ACEOF
68683 done
68692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68693 $as_echo_n "checking for isinfl declaration... " >&6; }
68694 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68695 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68696 $as_echo_n "(cached) " >&6
68697 else
68700 ac_ext=cpp
68701 ac_cpp='$CXXCPP $CPPFLAGS'
68702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68707 /* end confdefs.h. */
68708 #include <math.h>
68709 #ifdef HAVE_IEEEFP_H
68710 #include <ieeefp.h>
68711 #endif
68714 main ()
68716 isinfl(0);
68718 return 0;
68720 _ACEOF
68721 if ac_fn_cxx_try_compile "$LINENO"; then :
68722 glibcxx_cv_func_isinfl_use=yes
68723 else
68724 glibcxx_cv_func_isinfl_use=no
68726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68727 ac_ext=c
68728 ac_cpp='$CPP $CPPFLAGS'
68729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
68738 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
68740 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
68741 for ac_func in isinfl
68742 do :
68743 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
68744 if test "x$ac_cv_func_isinfl" = x""yes; then :
68745 cat >>confdefs.h <<_ACEOF
68746 #define HAVE_ISINFL 1
68747 _ACEOF
68750 done
68752 else
68754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
68755 $as_echo_n "checking for _isinfl declaration... " >&6; }
68756 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
68757 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
68758 $as_echo_n "(cached) " >&6
68759 else
68762 ac_ext=cpp
68763 ac_cpp='$CXXCPP $CPPFLAGS'
68764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68769 /* end confdefs.h. */
68770 #include <math.h>
68771 #ifdef HAVE_IEEEFP_H
68772 #include <ieeefp.h>
68773 #endif
68776 main ()
68778 _isinfl(0);
68780 return 0;
68782 _ACEOF
68783 if ac_fn_cxx_try_compile "$LINENO"; then :
68784 glibcxx_cv_func__isinfl_use=yes
68785 else
68786 glibcxx_cv_func__isinfl_use=no
68788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68789 ac_ext=c
68790 ac_cpp='$CPP $CPPFLAGS'
68791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
68800 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
68802 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
68803 for ac_func in _isinfl
68804 do :
68805 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
68806 if test "x$ac_cv_func__isinfl" = x""yes; then :
68807 cat >>confdefs.h <<_ACEOF
68808 #define HAVE__ISINFL 1
68809 _ACEOF
68812 done
68821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
68822 $as_echo_n "checking for atan2l declaration... " >&6; }
68823 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
68824 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
68825 $as_echo_n "(cached) " >&6
68826 else
68829 ac_ext=cpp
68830 ac_cpp='$CXXCPP $CPPFLAGS'
68831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68836 /* end confdefs.h. */
68837 #include <math.h>
68839 main ()
68841 atan2l(0, 0);
68843 return 0;
68845 _ACEOF
68846 if ac_fn_cxx_try_compile "$LINENO"; then :
68847 glibcxx_cv_func_atan2l_use=yes
68848 else
68849 glibcxx_cv_func_atan2l_use=no
68851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68852 ac_ext=c
68853 ac_cpp='$CPP $CPPFLAGS'
68854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
68863 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
68865 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
68866 for ac_func in atan2l
68867 do :
68868 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
68869 if test "x$ac_cv_func_atan2l" = x""yes; then :
68870 cat >>confdefs.h <<_ACEOF
68871 #define HAVE_ATAN2L 1
68872 _ACEOF
68875 done
68877 else
68879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
68880 $as_echo_n "checking for _atan2l declaration... " >&6; }
68881 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
68882 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
68883 $as_echo_n "(cached) " >&6
68884 else
68887 ac_ext=cpp
68888 ac_cpp='$CXXCPP $CPPFLAGS'
68889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68894 /* end confdefs.h. */
68895 #include <math.h>
68897 main ()
68899 _atan2l(0, 0);
68901 return 0;
68903 _ACEOF
68904 if ac_fn_cxx_try_compile "$LINENO"; then :
68905 glibcxx_cv_func__atan2l_use=yes
68906 else
68907 glibcxx_cv_func__atan2l_use=no
68909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68910 ac_ext=c
68911 ac_cpp='$CPP $CPPFLAGS'
68912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
68921 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
68923 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
68924 for ac_func in _atan2l
68925 do :
68926 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
68927 if test "x$ac_cv_func__atan2l" = x""yes; then :
68928 cat >>confdefs.h <<_ACEOF
68929 #define HAVE__ATAN2L 1
68930 _ACEOF
68933 done
68942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
68943 $as_echo_n "checking for expl declaration... " >&6; }
68944 if test x${glibcxx_cv_func_expl_use+set} != xset; then
68945 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
68946 $as_echo_n "(cached) " >&6
68947 else
68950 ac_ext=cpp
68951 ac_cpp='$CXXCPP $CPPFLAGS'
68952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68957 /* end confdefs.h. */
68958 #include <math.h>
68959 #ifdef HAVE_IEEEFP_H
68960 #include <ieeefp.h>
68961 #endif
68964 main ()
68966 expl(0);
68968 return 0;
68970 _ACEOF
68971 if ac_fn_cxx_try_compile "$LINENO"; then :
68972 glibcxx_cv_func_expl_use=yes
68973 else
68974 glibcxx_cv_func_expl_use=no
68976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68977 ac_ext=c
68978 ac_cpp='$CPP $CPPFLAGS'
68979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
68988 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
68990 if test x$glibcxx_cv_func_expl_use = x"yes"; then
68991 for ac_func in expl
68992 do :
68993 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
68994 if test "x$ac_cv_func_expl" = x""yes; then :
68995 cat >>confdefs.h <<_ACEOF
68996 #define HAVE_EXPL 1
68997 _ACEOF
69000 done
69002 else
69004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
69005 $as_echo_n "checking for _expl declaration... " >&6; }
69006 if test x${glibcxx_cv_func__expl_use+set} != xset; then
69007 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
69008 $as_echo_n "(cached) " >&6
69009 else
69012 ac_ext=cpp
69013 ac_cpp='$CXXCPP $CPPFLAGS'
69014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69019 /* end confdefs.h. */
69020 #include <math.h>
69021 #ifdef HAVE_IEEEFP_H
69022 #include <ieeefp.h>
69023 #endif
69026 main ()
69028 _expl(0);
69030 return 0;
69032 _ACEOF
69033 if ac_fn_cxx_try_compile "$LINENO"; then :
69034 glibcxx_cv_func__expl_use=yes
69035 else
69036 glibcxx_cv_func__expl_use=no
69038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69039 ac_ext=c
69040 ac_cpp='$CPP $CPPFLAGS'
69041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69050 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69052 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69053 for ac_func in _expl
69054 do :
69055 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69056 if test "x$ac_cv_func__expl" = x""yes; then :
69057 cat >>confdefs.h <<_ACEOF
69058 #define HAVE__EXPL 1
69059 _ACEOF
69062 done
69071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69072 $as_echo_n "checking for fabsl declaration... " >&6; }
69073 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69074 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
69075 $as_echo_n "(cached) " >&6
69076 else
69079 ac_ext=cpp
69080 ac_cpp='$CXXCPP $CPPFLAGS'
69081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69086 /* end confdefs.h. */
69087 #include <math.h>
69088 #ifdef HAVE_IEEEFP_H
69089 #include <ieeefp.h>
69090 #endif
69093 main ()
69095 fabsl(0);
69097 return 0;
69099 _ACEOF
69100 if ac_fn_cxx_try_compile "$LINENO"; then :
69101 glibcxx_cv_func_fabsl_use=yes
69102 else
69103 glibcxx_cv_func_fabsl_use=no
69105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69106 ac_ext=c
69107 ac_cpp='$CPP $CPPFLAGS'
69108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69117 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69119 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69120 for ac_func in fabsl
69121 do :
69122 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69123 if test "x$ac_cv_func_fabsl" = x""yes; then :
69124 cat >>confdefs.h <<_ACEOF
69125 #define HAVE_FABSL 1
69126 _ACEOF
69129 done
69131 else
69133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69134 $as_echo_n "checking for _fabsl declaration... " >&6; }
69135 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69136 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69137 $as_echo_n "(cached) " >&6
69138 else
69141 ac_ext=cpp
69142 ac_cpp='$CXXCPP $CPPFLAGS'
69143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69148 /* end confdefs.h. */
69149 #include <math.h>
69150 #ifdef HAVE_IEEEFP_H
69151 #include <ieeefp.h>
69152 #endif
69155 main ()
69157 _fabsl(0);
69159 return 0;
69161 _ACEOF
69162 if ac_fn_cxx_try_compile "$LINENO"; then :
69163 glibcxx_cv_func__fabsl_use=yes
69164 else
69165 glibcxx_cv_func__fabsl_use=no
69167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69168 ac_ext=c
69169 ac_cpp='$CPP $CPPFLAGS'
69170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69179 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69181 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69182 for ac_func in _fabsl
69183 do :
69184 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69185 if test "x$ac_cv_func__fabsl" = x""yes; then :
69186 cat >>confdefs.h <<_ACEOF
69187 #define HAVE__FABSL 1
69188 _ACEOF
69191 done
69200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69201 $as_echo_n "checking for fmodl declaration... " >&6; }
69202 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69203 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69204 $as_echo_n "(cached) " >&6
69205 else
69208 ac_ext=cpp
69209 ac_cpp='$CXXCPP $CPPFLAGS'
69210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69215 /* end confdefs.h. */
69216 #include <math.h>
69218 main ()
69220 fmodl(0, 0);
69222 return 0;
69224 _ACEOF
69225 if ac_fn_cxx_try_compile "$LINENO"; then :
69226 glibcxx_cv_func_fmodl_use=yes
69227 else
69228 glibcxx_cv_func_fmodl_use=no
69230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69231 ac_ext=c
69232 ac_cpp='$CPP $CPPFLAGS'
69233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69242 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69244 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69245 for ac_func in fmodl
69246 do :
69247 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69248 if test "x$ac_cv_func_fmodl" = x""yes; then :
69249 cat >>confdefs.h <<_ACEOF
69250 #define HAVE_FMODL 1
69251 _ACEOF
69254 done
69256 else
69258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69259 $as_echo_n "checking for _fmodl declaration... " >&6; }
69260 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69261 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69262 $as_echo_n "(cached) " >&6
69263 else
69266 ac_ext=cpp
69267 ac_cpp='$CXXCPP $CPPFLAGS'
69268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69273 /* end confdefs.h. */
69274 #include <math.h>
69276 main ()
69278 _fmodl(0, 0);
69280 return 0;
69282 _ACEOF
69283 if ac_fn_cxx_try_compile "$LINENO"; then :
69284 glibcxx_cv_func__fmodl_use=yes
69285 else
69286 glibcxx_cv_func__fmodl_use=no
69288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69289 ac_ext=c
69290 ac_cpp='$CPP $CPPFLAGS'
69291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69300 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69302 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69303 for ac_func in _fmodl
69304 do :
69305 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69306 if test "x$ac_cv_func__fmodl" = x""yes; then :
69307 cat >>confdefs.h <<_ACEOF
69308 #define HAVE__FMODL 1
69309 _ACEOF
69312 done
69321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69322 $as_echo_n "checking for frexpl declaration... " >&6; }
69323 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69324 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69325 $as_echo_n "(cached) " >&6
69326 else
69329 ac_ext=cpp
69330 ac_cpp='$CXXCPP $CPPFLAGS'
69331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69336 /* end confdefs.h. */
69337 #include <math.h>
69339 main ()
69341 frexpl(0, 0);
69343 return 0;
69345 _ACEOF
69346 if ac_fn_cxx_try_compile "$LINENO"; then :
69347 glibcxx_cv_func_frexpl_use=yes
69348 else
69349 glibcxx_cv_func_frexpl_use=no
69351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69352 ac_ext=c
69353 ac_cpp='$CPP $CPPFLAGS'
69354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69363 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69365 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69366 for ac_func in frexpl
69367 do :
69368 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69369 if test "x$ac_cv_func_frexpl" = x""yes; then :
69370 cat >>confdefs.h <<_ACEOF
69371 #define HAVE_FREXPL 1
69372 _ACEOF
69375 done
69377 else
69379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69380 $as_echo_n "checking for _frexpl declaration... " >&6; }
69381 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69382 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69383 $as_echo_n "(cached) " >&6
69384 else
69387 ac_ext=cpp
69388 ac_cpp='$CXXCPP $CPPFLAGS'
69389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69394 /* end confdefs.h. */
69395 #include <math.h>
69397 main ()
69399 _frexpl(0, 0);
69401 return 0;
69403 _ACEOF
69404 if ac_fn_cxx_try_compile "$LINENO"; then :
69405 glibcxx_cv_func__frexpl_use=yes
69406 else
69407 glibcxx_cv_func__frexpl_use=no
69409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69410 ac_ext=c
69411 ac_cpp='$CPP $CPPFLAGS'
69412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69421 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69423 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69424 for ac_func in _frexpl
69425 do :
69426 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69427 if test "x$ac_cv_func__frexpl" = x""yes; then :
69428 cat >>confdefs.h <<_ACEOF
69429 #define HAVE__FREXPL 1
69430 _ACEOF
69433 done
69442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69443 $as_echo_n "checking for hypotl declaration... " >&6; }
69444 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69445 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69446 $as_echo_n "(cached) " >&6
69447 else
69450 ac_ext=cpp
69451 ac_cpp='$CXXCPP $CPPFLAGS'
69452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69457 /* end confdefs.h. */
69458 #include <math.h>
69460 main ()
69462 hypotl(0, 0);
69464 return 0;
69466 _ACEOF
69467 if ac_fn_cxx_try_compile "$LINENO"; then :
69468 glibcxx_cv_func_hypotl_use=yes
69469 else
69470 glibcxx_cv_func_hypotl_use=no
69472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69473 ac_ext=c
69474 ac_cpp='$CPP $CPPFLAGS'
69475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69484 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69486 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69487 for ac_func in hypotl
69488 do :
69489 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69490 if test "x$ac_cv_func_hypotl" = x""yes; then :
69491 cat >>confdefs.h <<_ACEOF
69492 #define HAVE_HYPOTL 1
69493 _ACEOF
69496 done
69498 else
69500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69501 $as_echo_n "checking for _hypotl declaration... " >&6; }
69502 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69503 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69504 $as_echo_n "(cached) " >&6
69505 else
69508 ac_ext=cpp
69509 ac_cpp='$CXXCPP $CPPFLAGS'
69510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69515 /* end confdefs.h. */
69516 #include <math.h>
69518 main ()
69520 _hypotl(0, 0);
69522 return 0;
69524 _ACEOF
69525 if ac_fn_cxx_try_compile "$LINENO"; then :
69526 glibcxx_cv_func__hypotl_use=yes
69527 else
69528 glibcxx_cv_func__hypotl_use=no
69530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69531 ac_ext=c
69532 ac_cpp='$CPP $CPPFLAGS'
69533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69542 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69544 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69545 for ac_func in _hypotl
69546 do :
69547 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69548 if test "x$ac_cv_func__hypotl" = x""yes; then :
69549 cat >>confdefs.h <<_ACEOF
69550 #define HAVE__HYPOTL 1
69551 _ACEOF
69554 done
69563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69564 $as_echo_n "checking for ldexpl declaration... " >&6; }
69565 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69566 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69567 $as_echo_n "(cached) " >&6
69568 else
69571 ac_ext=cpp
69572 ac_cpp='$CXXCPP $CPPFLAGS'
69573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69578 /* end confdefs.h. */
69579 #include <math.h>
69581 main ()
69583 ldexpl(0, 0);
69585 return 0;
69587 _ACEOF
69588 if ac_fn_cxx_try_compile "$LINENO"; then :
69589 glibcxx_cv_func_ldexpl_use=yes
69590 else
69591 glibcxx_cv_func_ldexpl_use=no
69593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69594 ac_ext=c
69595 ac_cpp='$CPP $CPPFLAGS'
69596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69605 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69607 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69608 for ac_func in ldexpl
69609 do :
69610 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69611 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69612 cat >>confdefs.h <<_ACEOF
69613 #define HAVE_LDEXPL 1
69614 _ACEOF
69617 done
69619 else
69621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69622 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69623 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69624 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69625 $as_echo_n "(cached) " >&6
69626 else
69629 ac_ext=cpp
69630 ac_cpp='$CXXCPP $CPPFLAGS'
69631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69636 /* end confdefs.h. */
69637 #include <math.h>
69639 main ()
69641 _ldexpl(0, 0);
69643 return 0;
69645 _ACEOF
69646 if ac_fn_cxx_try_compile "$LINENO"; then :
69647 glibcxx_cv_func__ldexpl_use=yes
69648 else
69649 glibcxx_cv_func__ldexpl_use=no
69651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69652 ac_ext=c
69653 ac_cpp='$CPP $CPPFLAGS'
69654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69663 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69665 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69666 for ac_func in _ldexpl
69667 do :
69668 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69669 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69670 cat >>confdefs.h <<_ACEOF
69671 #define HAVE__LDEXPL 1
69672 _ACEOF
69675 done
69684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69685 $as_echo_n "checking for logl declaration... " >&6; }
69686 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69687 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69688 $as_echo_n "(cached) " >&6
69689 else
69692 ac_ext=cpp
69693 ac_cpp='$CXXCPP $CPPFLAGS'
69694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69699 /* end confdefs.h. */
69700 #include <math.h>
69701 #ifdef HAVE_IEEEFP_H
69702 #include <ieeefp.h>
69703 #endif
69706 main ()
69708 logl(0);
69710 return 0;
69712 _ACEOF
69713 if ac_fn_cxx_try_compile "$LINENO"; then :
69714 glibcxx_cv_func_logl_use=yes
69715 else
69716 glibcxx_cv_func_logl_use=no
69718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69719 ac_ext=c
69720 ac_cpp='$CPP $CPPFLAGS'
69721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69730 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69732 if test x$glibcxx_cv_func_logl_use = x"yes"; then
69733 for ac_func in logl
69734 do :
69735 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
69736 if test "x$ac_cv_func_logl" = x""yes; then :
69737 cat >>confdefs.h <<_ACEOF
69738 #define HAVE_LOGL 1
69739 _ACEOF
69742 done
69744 else
69746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
69747 $as_echo_n "checking for _logl declaration... " >&6; }
69748 if test x${glibcxx_cv_func__logl_use+set} != xset; then
69749 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
69750 $as_echo_n "(cached) " >&6
69751 else
69754 ac_ext=cpp
69755 ac_cpp='$CXXCPP $CPPFLAGS'
69756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69761 /* end confdefs.h. */
69762 #include <math.h>
69763 #ifdef HAVE_IEEEFP_H
69764 #include <ieeefp.h>
69765 #endif
69768 main ()
69770 _logl(0);
69772 return 0;
69774 _ACEOF
69775 if ac_fn_cxx_try_compile "$LINENO"; then :
69776 glibcxx_cv_func__logl_use=yes
69777 else
69778 glibcxx_cv_func__logl_use=no
69780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69781 ac_ext=c
69782 ac_cpp='$CPP $CPPFLAGS'
69783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
69792 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
69794 if test x$glibcxx_cv_func__logl_use = x"yes"; then
69795 for ac_func in _logl
69796 do :
69797 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
69798 if test "x$ac_cv_func__logl" = x""yes; then :
69799 cat >>confdefs.h <<_ACEOF
69800 #define HAVE__LOGL 1
69801 _ACEOF
69804 done
69813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
69814 $as_echo_n "checking for log10l declaration... " >&6; }
69815 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69816 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
69817 $as_echo_n "(cached) " >&6
69818 else
69821 ac_ext=cpp
69822 ac_cpp='$CXXCPP $CPPFLAGS'
69823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69828 /* end confdefs.h. */
69829 #include <math.h>
69830 #ifdef HAVE_IEEEFP_H
69831 #include <ieeefp.h>
69832 #endif
69835 main ()
69837 log10l(0);
69839 return 0;
69841 _ACEOF
69842 if ac_fn_cxx_try_compile "$LINENO"; then :
69843 glibcxx_cv_func_log10l_use=yes
69844 else
69845 glibcxx_cv_func_log10l_use=no
69847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69848 ac_ext=c
69849 ac_cpp='$CPP $CPPFLAGS'
69850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
69859 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
69861 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69862 for ac_func in log10l
69863 do :
69864 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
69865 if test "x$ac_cv_func_log10l" = x""yes; then :
69866 cat >>confdefs.h <<_ACEOF
69867 #define HAVE_LOG10L 1
69868 _ACEOF
69871 done
69873 else
69875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
69876 $as_echo_n "checking for _log10l declaration... " >&6; }
69877 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69878 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
69879 $as_echo_n "(cached) " >&6
69880 else
69883 ac_ext=cpp
69884 ac_cpp='$CXXCPP $CPPFLAGS'
69885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69890 /* end confdefs.h. */
69891 #include <math.h>
69892 #ifdef HAVE_IEEEFP_H
69893 #include <ieeefp.h>
69894 #endif
69897 main ()
69899 _log10l(0);
69901 return 0;
69903 _ACEOF
69904 if ac_fn_cxx_try_compile "$LINENO"; then :
69905 glibcxx_cv_func__log10l_use=yes
69906 else
69907 glibcxx_cv_func__log10l_use=no
69909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69910 ac_ext=c
69911 ac_cpp='$CPP $CPPFLAGS'
69912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
69921 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
69923 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69924 for ac_func in _log10l
69925 do :
69926 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
69927 if test "x$ac_cv_func__log10l" = x""yes; then :
69928 cat >>confdefs.h <<_ACEOF
69929 #define HAVE__LOG10L 1
69930 _ACEOF
69933 done
69942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
69943 $as_echo_n "checking for modfl declaration... " >&6; }
69944 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
69945 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
69946 $as_echo_n "(cached) " >&6
69947 else
69950 ac_ext=cpp
69951 ac_cpp='$CXXCPP $CPPFLAGS'
69952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69957 /* end confdefs.h. */
69958 #include <math.h>
69960 main ()
69962 modfl(0, 0);
69964 return 0;
69966 _ACEOF
69967 if ac_fn_cxx_try_compile "$LINENO"; then :
69968 glibcxx_cv_func_modfl_use=yes
69969 else
69970 glibcxx_cv_func_modfl_use=no
69972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69973 ac_ext=c
69974 ac_cpp='$CPP $CPPFLAGS'
69975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
69984 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
69986 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
69987 for ac_func in modfl
69988 do :
69989 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
69990 if test "x$ac_cv_func_modfl" = x""yes; then :
69991 cat >>confdefs.h <<_ACEOF
69992 #define HAVE_MODFL 1
69993 _ACEOF
69996 done
69998 else
70000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
70001 $as_echo_n "checking for _modfl declaration... " >&6; }
70002 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70003 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
70004 $as_echo_n "(cached) " >&6
70005 else
70008 ac_ext=cpp
70009 ac_cpp='$CXXCPP $CPPFLAGS'
70010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70015 /* end confdefs.h. */
70016 #include <math.h>
70018 main ()
70020 _modfl(0, 0);
70022 return 0;
70024 _ACEOF
70025 if ac_fn_cxx_try_compile "$LINENO"; then :
70026 glibcxx_cv_func__modfl_use=yes
70027 else
70028 glibcxx_cv_func__modfl_use=no
70030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70031 ac_ext=c
70032 ac_cpp='$CPP $CPPFLAGS'
70033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70042 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70044 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70045 for ac_func in _modfl
70046 do :
70047 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70048 if test "x$ac_cv_func__modfl" = x""yes; then :
70049 cat >>confdefs.h <<_ACEOF
70050 #define HAVE__MODFL 1
70051 _ACEOF
70054 done
70063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70064 $as_echo_n "checking for powl declaration... " >&6; }
70065 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70066 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
70067 $as_echo_n "(cached) " >&6
70068 else
70071 ac_ext=cpp
70072 ac_cpp='$CXXCPP $CPPFLAGS'
70073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70078 /* end confdefs.h. */
70079 #include <math.h>
70081 main ()
70083 powl(0, 0);
70085 return 0;
70087 _ACEOF
70088 if ac_fn_cxx_try_compile "$LINENO"; then :
70089 glibcxx_cv_func_powl_use=yes
70090 else
70091 glibcxx_cv_func_powl_use=no
70093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70094 ac_ext=c
70095 ac_cpp='$CPP $CPPFLAGS'
70096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70105 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70107 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70108 for ac_func in powl
70109 do :
70110 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70111 if test "x$ac_cv_func_powl" = x""yes; then :
70112 cat >>confdefs.h <<_ACEOF
70113 #define HAVE_POWL 1
70114 _ACEOF
70117 done
70119 else
70121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70122 $as_echo_n "checking for _powl declaration... " >&6; }
70123 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70124 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70125 $as_echo_n "(cached) " >&6
70126 else
70129 ac_ext=cpp
70130 ac_cpp='$CXXCPP $CPPFLAGS'
70131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70136 /* end confdefs.h. */
70137 #include <math.h>
70139 main ()
70141 _powl(0, 0);
70143 return 0;
70145 _ACEOF
70146 if ac_fn_cxx_try_compile "$LINENO"; then :
70147 glibcxx_cv_func__powl_use=yes
70148 else
70149 glibcxx_cv_func__powl_use=no
70151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70152 ac_ext=c
70153 ac_cpp='$CPP $CPPFLAGS'
70154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70163 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70165 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70166 for ac_func in _powl
70167 do :
70168 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70169 if test "x$ac_cv_func__powl" = x""yes; then :
70170 cat >>confdefs.h <<_ACEOF
70171 #define HAVE__POWL 1
70172 _ACEOF
70175 done
70184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70185 $as_echo_n "checking for sqrtl declaration... " >&6; }
70186 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70187 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70188 $as_echo_n "(cached) " >&6
70189 else
70192 ac_ext=cpp
70193 ac_cpp='$CXXCPP $CPPFLAGS'
70194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70199 /* end confdefs.h. */
70200 #include <math.h>
70201 #ifdef HAVE_IEEEFP_H
70202 #include <ieeefp.h>
70203 #endif
70206 main ()
70208 sqrtl(0);
70210 return 0;
70212 _ACEOF
70213 if ac_fn_cxx_try_compile "$LINENO"; then :
70214 glibcxx_cv_func_sqrtl_use=yes
70215 else
70216 glibcxx_cv_func_sqrtl_use=no
70218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70219 ac_ext=c
70220 ac_cpp='$CPP $CPPFLAGS'
70221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70230 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70232 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70233 for ac_func in sqrtl
70234 do :
70235 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70236 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70237 cat >>confdefs.h <<_ACEOF
70238 #define HAVE_SQRTL 1
70239 _ACEOF
70242 done
70244 else
70246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70247 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70248 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70249 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70250 $as_echo_n "(cached) " >&6
70251 else
70254 ac_ext=cpp
70255 ac_cpp='$CXXCPP $CPPFLAGS'
70256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70261 /* end confdefs.h. */
70262 #include <math.h>
70263 #ifdef HAVE_IEEEFP_H
70264 #include <ieeefp.h>
70265 #endif
70268 main ()
70270 _sqrtl(0);
70272 return 0;
70274 _ACEOF
70275 if ac_fn_cxx_try_compile "$LINENO"; then :
70276 glibcxx_cv_func__sqrtl_use=yes
70277 else
70278 glibcxx_cv_func__sqrtl_use=no
70280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70281 ac_ext=c
70282 ac_cpp='$CPP $CPPFLAGS'
70283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70292 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70294 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70295 for ac_func in _sqrtl
70296 do :
70297 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70298 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70299 cat >>confdefs.h <<_ACEOF
70300 #define HAVE__SQRTL 1
70301 _ACEOF
70304 done
70313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70314 $as_echo_n "checking for sincosl declaration... " >&6; }
70315 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70316 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70317 $as_echo_n "(cached) " >&6
70318 else
70321 ac_ext=cpp
70322 ac_cpp='$CXXCPP $CPPFLAGS'
70323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70328 /* end confdefs.h. */
70329 #include <math.h>
70331 main ()
70333 sincosl(0, 0, 0);
70335 return 0;
70337 _ACEOF
70338 if ac_fn_cxx_try_compile "$LINENO"; then :
70339 glibcxx_cv_func_sincosl_use=yes
70340 else
70341 glibcxx_cv_func_sincosl_use=no
70343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70344 ac_ext=c
70345 ac_cpp='$CPP $CPPFLAGS'
70346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70355 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70357 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70358 for ac_func in sincosl
70359 do :
70360 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70361 if test "x$ac_cv_func_sincosl" = x""yes; then :
70362 cat >>confdefs.h <<_ACEOF
70363 #define HAVE_SINCOSL 1
70364 _ACEOF
70367 done
70369 else
70371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70372 $as_echo_n "checking for _sincosl declaration... " >&6; }
70373 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70374 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70375 $as_echo_n "(cached) " >&6
70376 else
70379 ac_ext=cpp
70380 ac_cpp='$CXXCPP $CPPFLAGS'
70381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70386 /* end confdefs.h. */
70387 #include <math.h>
70389 main ()
70391 _sincosl(0, 0, 0);
70393 return 0;
70395 _ACEOF
70396 if ac_fn_cxx_try_compile "$LINENO"; then :
70397 glibcxx_cv_func__sincosl_use=yes
70398 else
70399 glibcxx_cv_func__sincosl_use=no
70401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70402 ac_ext=c
70403 ac_cpp='$CPP $CPPFLAGS'
70404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70413 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70415 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70416 for ac_func in _sincosl
70417 do :
70418 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70419 if test "x$ac_cv_func__sincosl" = x""yes; then :
70420 cat >>confdefs.h <<_ACEOF
70421 #define HAVE__SINCOSL 1
70422 _ACEOF
70425 done
70434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70435 $as_echo_n "checking for finitel declaration... " >&6; }
70436 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70437 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70438 $as_echo_n "(cached) " >&6
70439 else
70442 ac_ext=cpp
70443 ac_cpp='$CXXCPP $CPPFLAGS'
70444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70449 /* end confdefs.h. */
70450 #include <math.h>
70451 #ifdef HAVE_IEEEFP_H
70452 #include <ieeefp.h>
70453 #endif
70456 main ()
70458 finitel(0);
70460 return 0;
70462 _ACEOF
70463 if ac_fn_cxx_try_compile "$LINENO"; then :
70464 glibcxx_cv_func_finitel_use=yes
70465 else
70466 glibcxx_cv_func_finitel_use=no
70468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70469 ac_ext=c
70470 ac_cpp='$CPP $CPPFLAGS'
70471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70480 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70482 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70483 for ac_func in finitel
70484 do :
70485 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70486 if test "x$ac_cv_func_finitel" = x""yes; then :
70487 cat >>confdefs.h <<_ACEOF
70488 #define HAVE_FINITEL 1
70489 _ACEOF
70492 done
70494 else
70496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70497 $as_echo_n "checking for _finitel declaration... " >&6; }
70498 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70499 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70500 $as_echo_n "(cached) " >&6
70501 else
70504 ac_ext=cpp
70505 ac_cpp='$CXXCPP $CPPFLAGS'
70506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70511 /* end confdefs.h. */
70512 #include <math.h>
70513 #ifdef HAVE_IEEEFP_H
70514 #include <ieeefp.h>
70515 #endif
70518 main ()
70520 _finitel(0);
70522 return 0;
70524 _ACEOF
70525 if ac_fn_cxx_try_compile "$LINENO"; then :
70526 glibcxx_cv_func__finitel_use=yes
70527 else
70528 glibcxx_cv_func__finitel_use=no
70530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70531 ac_ext=c
70532 ac_cpp='$CPP $CPPFLAGS'
70533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70542 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70544 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70545 for ac_func in _finitel
70546 do :
70547 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70548 if test "x$ac_cv_func__finitel" = x""yes; then :
70549 cat >>confdefs.h <<_ACEOF
70550 #define HAVE__FINITEL 1
70551 _ACEOF
70554 done
70562 LIBS="$ac_save_LIBS"
70563 CXXFLAGS="$ac_save_CXXFLAGS"
70566 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70567 ac_save_CXXFLAGS="$CXXFLAGS"
70568 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70572 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70573 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70574 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70575 $as_echo_n "(cached) " >&6
70576 else
70579 ac_ext=cpp
70580 ac_cpp='$CXXCPP $CPPFLAGS'
70581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70586 /* end confdefs.h. */
70587 #include <stdlib.h>
70589 main ()
70591 at_quick_exit(0);
70593 return 0;
70595 _ACEOF
70596 if ac_fn_cxx_try_compile "$LINENO"; then :
70597 glibcxx_cv_func_at_quick_exit_use=yes
70598 else
70599 glibcxx_cv_func_at_quick_exit_use=no
70601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70602 ac_ext=c
70603 ac_cpp='$CPP $CPPFLAGS'
70604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70613 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70614 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70615 for ac_func in at_quick_exit
70616 do :
70617 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70618 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70619 cat >>confdefs.h <<_ACEOF
70620 #define HAVE_AT_QUICK_EXIT 1
70621 _ACEOF
70624 done
70629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70630 $as_echo_n "checking for quick_exit declaration... " >&6; }
70631 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70632 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70633 $as_echo_n "(cached) " >&6
70634 else
70637 ac_ext=cpp
70638 ac_cpp='$CXXCPP $CPPFLAGS'
70639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70644 /* end confdefs.h. */
70645 #include <stdlib.h>
70647 main ()
70649 quick_exit(0);
70651 return 0;
70653 _ACEOF
70654 if ac_fn_cxx_try_compile "$LINENO"; then :
70655 glibcxx_cv_func_quick_exit_use=yes
70656 else
70657 glibcxx_cv_func_quick_exit_use=no
70659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70660 ac_ext=c
70661 ac_cpp='$CPP $CPPFLAGS'
70662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70671 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70672 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70673 for ac_func in quick_exit
70674 do :
70675 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70676 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70677 cat >>confdefs.h <<_ACEOF
70678 #define HAVE_QUICK_EXIT 1
70679 _ACEOF
70682 done
70687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70688 $as_echo_n "checking for strtold declaration... " >&6; }
70689 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70690 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70691 $as_echo_n "(cached) " >&6
70692 else
70695 ac_ext=cpp
70696 ac_cpp='$CXXCPP $CPPFLAGS'
70697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70702 /* end confdefs.h. */
70703 #include <stdlib.h>
70705 main ()
70707 strtold(0, 0);
70709 return 0;
70711 _ACEOF
70712 if ac_fn_cxx_try_compile "$LINENO"; then :
70713 glibcxx_cv_func_strtold_use=yes
70714 else
70715 glibcxx_cv_func_strtold_use=no
70717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70718 ac_ext=c
70719 ac_cpp='$CPP $CPPFLAGS'
70720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
70729 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
70730 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
70731 for ac_func in strtold
70732 do :
70733 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
70734 if test "x$ac_cv_func_strtold" = x""yes; then :
70735 cat >>confdefs.h <<_ACEOF
70736 #define HAVE_STRTOLD 1
70737 _ACEOF
70740 done
70747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
70748 $as_echo_n "checking for strtof declaration... " >&6; }
70749 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
70750 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
70751 $as_echo_n "(cached) " >&6
70752 else
70755 ac_ext=cpp
70756 ac_cpp='$CXXCPP $CPPFLAGS'
70757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70762 /* end confdefs.h. */
70763 #include <stdlib.h>
70765 main ()
70767 strtof(0, 0);
70769 return 0;
70771 _ACEOF
70772 if ac_fn_cxx_try_compile "$LINENO"; then :
70773 glibcxx_cv_func_strtof_use=yes
70774 else
70775 glibcxx_cv_func_strtof_use=no
70777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70778 ac_ext=c
70779 ac_cpp='$CPP $CPPFLAGS'
70780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
70789 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
70790 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
70791 for ac_func in strtof
70792 do :
70793 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
70794 if test "x$ac_cv_func_strtof" = x""yes; then :
70795 cat >>confdefs.h <<_ACEOF
70796 #define HAVE_STRTOF 1
70797 _ACEOF
70800 done
70807 CXXFLAGS="$ac_save_CXXFLAGS"
70810 *-vxworks)
70811 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
70813 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
70815 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
70817 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
70819 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
70821 $as_echo "#define HAVE_COSF 1" >>confdefs.h
70823 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
70825 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
70827 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
70829 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
70831 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
70833 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
70835 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
70837 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
70839 $as_echo "#define HAVE_POWF 1" >>confdefs.h
70841 $as_echo "#define HAVE_SINF 1" >>confdefs.h
70843 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
70845 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
70847 $as_echo "#define HAVE_TANF 1" >>confdefs.h
70849 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
70853 as_fn_error "No support for this host/target combination." "$LINENO" 5
70855 esac
70859 # At some point, we should differentiate between architectures
70860 # like x86, which have long double versions, and alpha/powerpc/etc.,
70861 # which don't. For the time being, punt.
70862 if test x"long_double_math_on_this_cpu" = x"yes"; then
70863 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
70865 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
70867 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
70869 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
70871 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
70873 $as_echo "#define HAVE_COSL 1" >>confdefs.h
70875 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
70877 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
70879 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
70881 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
70883 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
70885 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
70887 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
70889 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
70891 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
70893 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
70895 $as_echo "#define HAVE_POWL 1" >>confdefs.h
70897 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
70899 $as_echo "#define HAVE_SINL 1" >>confdefs.h
70901 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
70903 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
70905 $as_echo "#define HAVE_TANL 1" >>confdefs.h
70907 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
70912 # Check for _Unwind_GetIPInfo.
70915 # Check whether --with-system-libunwind was given.
70916 if test "${with_system_libunwind+set}" = set; then :
70917 withval=$with_system_libunwind;
70920 # If system-libunwind was not specifically set, pick a default setting.
70921 if test x$with_system_libunwind = x; then
70922 case ${target} in
70923 ia64-*-hpux*) with_system_libunwind=yes ;;
70924 *) with_system_libunwind=no ;;
70925 esac
70927 # Based on system-libunwind and target, do we have ipinfo?
70928 if test x$with_system_libunwind = xyes; then
70929 case ${target} in
70930 ia64-*-*) have_unwind_getipinfo=no ;;
70931 *) have_unwind_getipinfo=yes ;;
70932 esac
70933 else
70934 # Darwin before version 9 does not have _Unwind_GetIPInfo.
70936 case ${target} in
70937 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
70938 *) have_unwind_getipinfo=yes ;;
70939 esac
70943 if test x$have_unwind_getipinfo = xyes; then
70945 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
70950 # Check whether --enable-linux-futex was given.
70951 if test "${enable_linux_futex+set}" = set; then :
70952 enableval=$enable_linux_futex;
70953 case "$enableval" in
70954 yes|no|default) ;;
70955 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
70956 esac
70958 else
70959 enable_linux_futex=default
70963 case "$target" in
70964 *-linux*)
70965 case "$enable_linux_futex" in
70966 default)
70967 # If headers don't have gettid/futex syscalls definition, then
70968 # default to no, otherwise there will be compile time failures.
70969 # Otherwise, default to yes. If we don't detect we are
70970 # compiled/linked against NPTL and not cross-compiling, check
70971 # if programs are run by default against NPTL and if not, issue
70972 # a warning.
70973 enable_linux_futex=no
70974 if test x$gcc_no_link = xyes; then
70975 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70978 /* end confdefs.h. */
70979 #include <sys/syscall.h>
70980 int lk;
70982 main ()
70984 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70986 return 0;
70988 _ACEOF
70989 if ac_fn_c_try_link "$LINENO"; then :
70990 save_LIBS="$LIBS"
70991 LIBS="-lpthread $LIBS"
70992 if test x$gcc_no_link = xyes; then
70993 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70996 /* end confdefs.h. */
70997 #ifndef _GNU_SOURCE
70998 #define _GNU_SOURCE 1
70999 #endif
71000 #include <pthread.h>
71001 pthread_t th; void *status;
71003 main ()
71005 pthread_tryjoin_np (th, &status);
71007 return 0;
71009 _ACEOF
71010 if ac_fn_c_try_link "$LINENO"; then :
71011 enable_linux_futex=yes
71012 else
71013 if test x$cross_compiling = xno; then
71014 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
71015 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
71016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
71017 If so, please configure with --disable-linux-futex" >&5
71018 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
71019 If so, please configure with --disable-linux-futex" >&2;}
71022 enable_linux_futex=yes
71024 rm -f core conftest.err conftest.$ac_objext \
71025 conftest$ac_exeext conftest.$ac_ext
71026 LIBS="$save_LIBS"
71028 rm -f core conftest.err conftest.$ac_objext \
71029 conftest$ac_exeext conftest.$ac_ext
71031 yes)
71032 if test x$gcc_no_link = xyes; then
71033 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71036 /* end confdefs.h. */
71037 #include <sys/syscall.h>
71038 int lk;
71040 main ()
71042 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
71044 return 0;
71046 _ACEOF
71047 if ac_fn_c_try_link "$LINENO"; then :
71049 else
71050 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
71052 rm -f core conftest.err conftest.$ac_objext \
71053 conftest$ac_exeext conftest.$ac_ext
71055 esac
71058 enable_linux_futex=no
71060 esac
71061 if test x$enable_linux_futex = xyes; then
71063 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
71070 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
71072 acx_cv_header_stdint=stddef.h
71073 acx_cv_header_stdint_kind="(already complete)"
71074 for i in stdint.h $inttype_headers; do
71075 unset ac_cv_type_uintptr_t
71076 unset ac_cv_type_uintmax_t
71077 unset ac_cv_type_int_least32_t
71078 unset ac_cv_type_int_fast32_t
71079 unset ac_cv_type_uint64_t
71080 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
71081 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
71082 #include <$i>
71084 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
71085 acx_cv_header_stdint=$i
71086 else
71087 continue
71090 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
71091 #include <$i>
71093 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
71095 else
71096 acx_cv_header_stdint_kind="(mostly complete)"
71099 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
71100 #include <$i>
71102 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
71104 else
71105 acx_cv_header_stdint_kind="(mostly complete)"
71108 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
71109 #include <$i>
71111 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
71113 else
71114 acx_cv_header_stdint_kind="(mostly complete)"
71117 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
71118 #include <$i>
71120 if test "x$ac_cv_type_uint64_t" = x""yes; then :
71122 else
71123 acx_cv_header_stdint_kind="(lacks uint64_t)"
71126 break
71127 done
71128 if test "$acx_cv_header_stdint" = stddef.h; then
71129 acx_cv_header_stdint_kind="(lacks uintmax_t)"
71130 for i in stdint.h $inttype_headers; do
71131 unset ac_cv_type_uintptr_t
71132 unset ac_cv_type_uint32_t
71133 unset ac_cv_type_uint64_t
71134 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
71135 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
71136 #include <$i>
71138 if test "x$ac_cv_type_uint32_t" = x""yes; then :
71139 acx_cv_header_stdint=$i
71140 else
71141 continue
71144 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
71145 #include <$i>
71147 if test "x$ac_cv_type_uint64_t" = x""yes; then :
71151 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
71152 #include <$i>
71154 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
71158 break
71159 done
71161 if test "$acx_cv_header_stdint" = stddef.h; then
71162 acx_cv_header_stdint_kind="(u_intXX_t style)"
71163 for i in sys/types.h $inttype_headers; do
71164 unset ac_cv_type_u_int32_t
71165 unset ac_cv_type_u_int64_t
71166 $as_echo_n "looking for u_intXX_t types in $i, " >&6
71167 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
71168 #include <$i>
71170 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
71171 acx_cv_header_stdint=$i
71172 else
71173 continue
71176 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
71177 #include <$i>
71179 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
71183 break
71184 done
71186 if test "$acx_cv_header_stdint" = stddef.h; then
71187 acx_cv_header_stdint_kind="(using manual detection)"
71190 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
71191 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
71192 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
71193 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
71194 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
71196 # ----------------- Summarize what we found so far
71198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
71199 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
71201 case `$as_basename -- include/gstdint.h ||
71202 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
71203 Xinclude/gstdint.h : 'X\(//\)$' \| \
71204 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
71205 $as_echo X/include/gstdint.h |
71206 sed '/^.*\/\([^/][^/]*\)\/*$/{
71207 s//\1/
71210 /^X\/\(\/\/\)$/{
71211 s//\1/
71214 /^X\/\(\/\).*/{
71215 s//\1/
71218 s/.*/./; q'` in
71219 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
71220 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
71221 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
71222 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
71223 *) ;;
71224 esac
71226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
71227 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
71229 # ----------------- done included file, check C basic types --------
71231 # Lacking an uintptr_t? Test size of void *
71232 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
71233 stddef.h:* | *:no) # 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 void *" >&5
71238 $as_echo_n "checking size of void *... " >&6; }
71239 if test "${ac_cv_sizeof_void_p+set}" = set; then :
71240 $as_echo_n "(cached) " >&6
71241 else
71242 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
71244 else
71245 if test "$ac_cv_type_void_p" = 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 (void *)
71250 See \`config.log' for more details." "$LINENO" 5; }; }
71251 else
71252 ac_cv_sizeof_void_p=0
71257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
71258 $as_echo "$ac_cv_sizeof_void_p" >&6; }
71262 cat >>confdefs.h <<_ACEOF
71263 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
71264 _ACEOF
71267 esac
71269 # Lacking an uint64_t? Test size of long
71270 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
71271 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
71272 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71273 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71274 # This bug is HP SR number 8606223364.
71275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
71276 $as_echo_n "checking size of long... " >&6; }
71277 if test "${ac_cv_sizeof_long+set}" = set; then :
71278 $as_echo_n "(cached) " >&6
71279 else
71280 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
71282 else
71283 if test "$ac_cv_type_long" = yes; then
71284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71286 { as_fn_set_status 77
71287 as_fn_error "cannot compute sizeof (long)
71288 See \`config.log' for more details." "$LINENO" 5; }; }
71289 else
71290 ac_cv_sizeof_long=0
71295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
71296 $as_echo "$ac_cv_sizeof_long" >&6; }
71300 cat >>confdefs.h <<_ACEOF
71301 #define SIZEOF_LONG $ac_cv_sizeof_long
71302 _ACEOF
71305 esac
71307 if test $acx_cv_header_stdint = stddef.h; then
71308 # Lacking a good header? Test size of everything and deduce all types.
71309 # The cast to long int works around a bug in the HP C Compiler
71310 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71311 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71312 # This bug is HP SR number 8606223364.
71313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
71314 $as_echo_n "checking size of int... " >&6; }
71315 if test "${ac_cv_sizeof_int+set}" = set; then :
71316 $as_echo_n "(cached) " >&6
71317 else
71318 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
71320 else
71321 if test "$ac_cv_type_int" = yes; then
71322 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71324 { as_fn_set_status 77
71325 as_fn_error "cannot compute sizeof (int)
71326 See \`config.log' for more details." "$LINENO" 5; }; }
71327 else
71328 ac_cv_sizeof_int=0
71333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
71334 $as_echo "$ac_cv_sizeof_int" >&6; }
71338 cat >>confdefs.h <<_ACEOF
71339 #define SIZEOF_INT $ac_cv_sizeof_int
71340 _ACEOF
71343 # The cast to long int works around a bug in the HP C Compiler
71344 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71345 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71346 # This bug is HP SR number 8606223364.
71347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
71348 $as_echo_n "checking size of short... " >&6; }
71349 if test "${ac_cv_sizeof_short+set}" = set; then :
71350 $as_echo_n "(cached) " >&6
71351 else
71352 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
71354 else
71355 if test "$ac_cv_type_short" = yes; then
71356 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71358 { as_fn_set_status 77
71359 as_fn_error "cannot compute sizeof (short)
71360 See \`config.log' for more details." "$LINENO" 5; }; }
71361 else
71362 ac_cv_sizeof_short=0
71367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
71368 $as_echo "$ac_cv_sizeof_short" >&6; }
71372 cat >>confdefs.h <<_ACEOF
71373 #define SIZEOF_SHORT $ac_cv_sizeof_short
71374 _ACEOF
71377 # The cast to long int works around a bug in the HP C Compiler
71378 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71379 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71380 # This bug is HP SR number 8606223364.
71381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
71382 $as_echo_n "checking size of char... " >&6; }
71383 if test "${ac_cv_sizeof_char+set}" = set; then :
71384 $as_echo_n "(cached) " >&6
71385 else
71386 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
71388 else
71389 if test "$ac_cv_type_char" = yes; then
71390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71392 { as_fn_set_status 77
71393 as_fn_error "cannot compute sizeof (char)
71394 See \`config.log' for more details." "$LINENO" 5; }; }
71395 else
71396 ac_cv_sizeof_char=0
71401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
71402 $as_echo "$ac_cv_sizeof_char" >&6; }
71406 cat >>confdefs.h <<_ACEOF
71407 #define SIZEOF_CHAR $ac_cv_sizeof_char
71408 _ACEOF
71412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
71413 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
71414 case "$ac_cv_sizeof_char" in
71415 1) acx_cv_type_int8_t=char ;;
71416 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
71417 esac
71418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
71419 $as_echo "$acx_cv_type_int8_t" >&6; }
71421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
71422 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
71423 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
71424 2:*) acx_cv_type_int16_t=int ;;
71425 *:2) acx_cv_type_int16_t=short ;;
71426 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
71427 esac
71428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
71429 $as_echo "$acx_cv_type_int16_t" >&6; }
71431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
71432 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
71433 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
71434 4:*) acx_cv_type_int32_t=int ;;
71435 *:4) acx_cv_type_int32_t=long ;;
71436 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
71437 esac
71438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
71439 $as_echo "$acx_cv_type_int32_t" >&6; }
71442 # These tests are here to make the output prettier
71444 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
71445 case "$ac_cv_sizeof_long" in
71446 8) acx_cv_type_int64_t=long ;;
71447 esac
71448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
71449 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
71450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
71451 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
71454 # Now we can use the above types
71456 if test "$ac_cv_type_uintptr_t" != yes; then
71457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
71458 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
71459 case $ac_cv_sizeof_void_p in
71460 2) acx_cv_type_intptr_t=int16_t ;;
71461 4) acx_cv_type_intptr_t=int32_t ;;
71462 8) acx_cv_type_intptr_t=int64_t ;;
71463 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
71464 esac
71465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
71466 $as_echo "$acx_cv_type_intptr_t" >&6; }
71469 # ----------------- done all checks, emit header -------------
71470 ac_config_commands="$ac_config_commands include/gstdint.h"
71476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
71477 $as_echo_n "checking for GNU c++filt... " >&6; }
71478 if test "${ac_cv_path_CXXFILT+set}" = set; then :
71479 $as_echo_n "(cached) " >&6
71480 else
71481 if test -z "$CXXFILT"; then
71482 ac_path_CXXFILT_found=false
71483 # Loop through the user's path and test for each of PROGNAME-LIST
71484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71485 for as_dir in $PATH
71487 IFS=$as_save_IFS
71488 test -z "$as_dir" && as_dir=.
71489 for ac_prog in c++filt gc++filt; do
71490 for ac_exec_ext in '' $ac_executable_extensions; do
71491 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
71492 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
71493 # Check for GNU $ac_path_CXXFILT
71494 case `"$ac_path_CXXFILT" --version 2>&1` in
71495 *GNU*)
71496 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
71497 esac
71499 $ac_path_CXXFILT_found && break 3
71500 done
71501 done
71502 done
71503 IFS=$as_save_IFS
71504 if test -z "$ac_cv_path_CXXFILT"; then
71507 else
71508 ac_cv_path_CXXFILT=$CXXFILT
71512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
71513 $as_echo "$ac_cv_path_CXXFILT" >&6; }
71514 CXXFILT=$ac_cv_path_CXXFILT
71518 # Check whether --enable-symvers was given.
71519 if test "${enable_symvers+set}" = set; then :
71520 enableval=$enable_symvers;
71521 case "$enableval" in
71522 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
71523 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
71524 esac
71526 else
71527 enable_symvers=yes
71532 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
71533 # don't know enough about $LD to do tricks...
71535 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
71536 # with extern "C++" in version scripts.
71539 # Turn a 'yes' into a suitable default.
71540 if test x$enable_symvers = xyes ; then
71541 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
71542 enable_symvers=no
71543 else
71544 if test $with_gnu_ld = yes ; then
71545 case ${target_os} in
71546 hpux*)
71547 enable_symvers=no ;;
71549 enable_symvers=gnu ;;
71550 esac
71551 else
71552 case ${target_os} in
71553 darwin*)
71554 enable_symvers=darwin ;;
71555 # Sun symbol versioning exists since Solaris 2.5.
71556 solaris2.[5-9]* | solaris2.1[0-9]*)
71557 # make_sunver.pl needs GNU c++filt to support extern "C++" in
71558 # version scripts, so disable symbol versioning if none can be
71559 # found.
71560 if test -z "$ac_cv_path_CXXFILT"; then
71561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71562 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
71564 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
71565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71566 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71567 enable_symvers=no
71568 else
71569 enable_symvers=sun
71573 enable_symvers=no ;;
71574 esac
71579 # Check to see if 'darwin' or 'darwin-export' can win.
71580 if test x$enable_symvers = xdarwin-export ; then
71581 enable_symvers=darwin
71584 # Check if 'sun' was requested on non-Solaris 2 platforms.
71585 if test x$enable_symvers = xsun ; then
71586 case ${target_os} in
71587 solaris2*)
71588 # All fine.
71591 # Unlikely to work.
71592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71593 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
71595 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
71596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71597 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71598 enable_symvers=no
71600 esac
71603 # Check to see if 'gnu' can win.
71604 if test $enable_symvers = gnu ||
71605 test $enable_symvers = gnu-versioned-namespace ||
71606 test $enable_symvers = sun; then
71607 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
71608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
71609 $as_echo_n "checking for shared libgcc... " >&6; }
71610 ac_save_CFLAGS="$CFLAGS"
71611 CFLAGS=' -lgcc_s'
71612 if test x$gcc_no_link = xyes; then
71613 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71616 /* end confdefs.h. */
71619 main ()
71621 return 0;
71623 return 0;
71625 _ACEOF
71626 if ac_fn_c_try_link "$LINENO"; then :
71627 glibcxx_shared_libgcc=yes
71628 else
71629 glibcxx_shared_libgcc=no
71631 rm -f core conftest.err conftest.$ac_objext \
71632 conftest$ac_exeext conftest.$ac_ext
71633 CFLAGS="$ac_save_CFLAGS"
71634 if test $glibcxx_shared_libgcc = no; then
71635 cat > conftest.c <<EOF
71636 int main (void) { return 0; }
71638 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
71639 -shared -shared-libgcc -o conftest.so \
71640 conftest.c -v 2>&1 >/dev/null \
71641 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
71642 rm -f conftest.c conftest.so
71643 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
71644 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
71645 if test x$gcc_no_link = xyes; then
71646 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71649 /* end confdefs.h. */
71652 main ()
71654 return 0;
71656 return 0;
71658 _ACEOF
71659 if ac_fn_c_try_link "$LINENO"; then :
71660 glibcxx_shared_libgcc=yes
71662 rm -f core conftest.err conftest.$ac_objext \
71663 conftest$ac_exeext conftest.$ac_ext
71664 CFLAGS="$ac_save_CFLAGS"
71667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
71668 $as_echo "$glibcxx_shared_libgcc" >&6; }
71670 # For GNU ld, we need at least this version. The format is described in
71671 # GLIBCXX_CHECK_LINKER_FEATURES above.
71672 glibcxx_min_gnu_ld_version=21400
71674 # If no shared libgcc, can't win.
71675 if test $glibcxx_shared_libgcc != yes; then
71676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71677 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
71679 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
71680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71681 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71682 enable_symvers=no
71683 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
71684 : All interesting versions of Sun ld support sun style symbol versioning.
71685 elif test $with_gnu_ld != yes ; then
71686 # just fail for now
71687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71688 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
71690 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
71691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71692 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71693 enable_symvers=no
71694 elif test $glibcxx_ld_is_gold = yes ; then
71695 : All versions of gold support symbol versioning.
71696 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
71697 # The right tools, the right setup, but too old. Fallbacks?
71698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
71699 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
71700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
71701 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
71702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
71703 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
71704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
71705 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
71706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71707 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71708 enable_symvers=no
71712 # For libtool versioning info, format is CURRENT:REVISION:AGE
71713 libtool_VERSION=6:19:0
71715 # Everything parsed; figure out what files and settings to use.
71716 case $enable_symvers in
71718 SYMVER_FILE=config/abi/pre/none.ver
71720 gnu)
71721 SYMVER_FILE=config/abi/pre/gnu.ver
71723 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
71726 gnu-versioned-namespace)
71727 libtool_VERSION=7:0:0
71728 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
71730 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
71733 darwin)
71734 SYMVER_FILE=config/abi/pre/gnu.ver
71736 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
71739 sun)
71740 SYMVER_FILE=config/abi/pre/gnu.ver
71742 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
71745 esac
71747 if test x$enable_symvers != xno ; then
71749 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
71753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
71754 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
71755 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
71756 $as_echo_n "(cached) " >&6
71757 else
71759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71760 /* end confdefs.h. */
71761 void foo (void); __asm (".symver foo, bar@SYMVER");
71763 main ()
71767 return 0;
71769 _ACEOF
71770 if ac_fn_c_try_compile "$LINENO"; then :
71771 glibcxx_cv_have_as_symver_directive=yes
71772 else
71773 glibcxx_cv_have_as_symver_directive=no
71775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
71778 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
71779 if test $glibcxx_cv_have_as_symver_directive = yes; then
71781 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
71792 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
71793 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
71795 if test $enable_symvers != no ; then
71796 case ${target_os} in
71797 # The Solaris 2 runtime linker doesn't support the GNU extension of
71798 # binding the same symbol to different versions
71799 solaris2*)
71801 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
71804 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
71807 esac
71810 # Now, set up compatibility support, if any.
71811 # In addition, need this to deal with std::size_t mangling in
71812 # src/compatibility.cc. In a perfect world, could use
71813 # typeid(std::size_t).name()[0] to do direct substitution.
71814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
71815 $as_echo_n "checking for size_t as unsigned int... " >&6; }
71816 ac_save_CFLAGS="$CFLAGS"
71817 CFLAGS="-Werror"
71818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71819 /* end confdefs.h. */
71822 main ()
71824 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
71826 return 0;
71828 _ACEOF
71829 if ac_fn_c_try_compile "$LINENO"; then :
71830 glibcxx_size_t_is_i=yes
71831 else
71832 glibcxx_size_t_is_i=no
71834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71835 CFLAGS=$ac_save_CFLAGS
71836 if test "$glibcxx_size_t_is_i" = yes; then
71838 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
71841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
71842 $as_echo "$glibcxx_size_t_is_i" >&6; }
71844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
71845 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
71846 ac_save_CFLAGS="$CFLAGS"
71847 CFLAGS="-Werror"
71848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71849 /* end confdefs.h. */
71852 main ()
71854 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
71856 return 0;
71858 _ACEOF
71859 if ac_fn_c_try_compile "$LINENO"; then :
71860 glibcxx_ptrdiff_t_is_i=yes
71861 else
71862 glibcxx_ptrdiff_t_is_i=no
71864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71865 CFLAGS=$ac_save_CFLAGS
71866 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
71868 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
71871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
71872 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
71877 # Check whether --enable-libstdcxx-visibility was given.
71878 if test "${enable_libstdcxx_visibility+set}" = set; then :
71879 enableval=$enable_libstdcxx_visibility;
71880 case "$enableval" in
71881 yes|no) ;;
71882 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
71883 esac
71885 else
71886 enable_libstdcxx_visibility=yes
71891 if test x$enable_libstdcxx_visibility = xyes ; then
71892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
71893 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
71894 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
71895 $as_echo_n "(cached) " >&6
71896 else
71898 save_CFLAGS="$CFLAGS"
71899 CFLAGS="$CFLAGS -Werror"
71900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71901 /* end confdefs.h. */
71902 void __attribute__((visibility("hidden"))) foo(void) { }
71904 main ()
71908 return 0;
71910 _ACEOF
71911 if ac_fn_c_try_compile "$LINENO"; then :
71912 glibcxx_cv_have_attribute_visibility=yes
71913 else
71914 glibcxx_cv_have_attribute_visibility=no
71916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71917 CFLAGS="$save_CFLAGS"
71919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
71920 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
71921 if test $glibcxx_cv_have_attribute_visibility = no; then
71922 enable_libstdcxx_visibility=no
71927 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
71928 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
71931 ac_ldbl_compat=no
71932 case "$target" in
71933 powerpc*-*-linux* | \
71934 sparc*-*-linux* | \
71935 s390*-*-linux* | \
71936 alpha*-*-linux*)
71937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71938 /* end confdefs.h. */
71941 main ()
71944 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
71945 #error no need for long double compatibility
71946 #endif
71949 return 0;
71951 _ACEOF
71952 if ac_fn_c_try_compile "$LINENO"; then :
71953 ac_ldbl_compat=yes
71954 else
71955 ac_ldbl_compat=no
71957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71958 if test "$ac_ldbl_compat" = yes; then
71960 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
71962 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
71964 esac
71967 # Check if assembler supports disabling hardware capability support.
71969 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
71971 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
71972 # with a different meaning.
71973 case ${target_os} in
71974 solaris2*)
71975 ac_save_CFLAGS="$CFLAGS"
71976 CFLAGS="$CFLAGS -Wa,-nH"
71978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
71979 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
71980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71981 /* end confdefs.h. */
71984 main ()
71986 return 0;
71988 return 0;
71990 _ACEOF
71991 if ac_fn_c_try_compile "$LINENO"; then :
71992 ac_hwcap_flags=yes
71993 else
71994 ac_hwcap_flags=no
71996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71997 if test "$ac_hwcap_flags" = "yes"; then
71998 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
72000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
72001 $as_echo "$ac_hwcap_flags" >&6; }
72003 CFLAGS="$ac_save_CFLAGS"
72005 esac
72010 # Check if assembler supports rdrand opcode.
72012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
72013 $as_echo_n "checking for rdrand support in assembler... " >&6; }
72014 if test "${ac_cv_x86_rdrand+set}" = set; then :
72015 $as_echo_n "(cached) " >&6
72016 else
72018 ac_cv_x86_rdrand=no
72019 case "$target" in
72020 i?86-*-* | \
72021 x86_64-*-*)
72022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72023 /* end confdefs.h. */
72026 main ()
72028 asm("rdrand %eax");
72030 return 0;
72032 _ACEOF
72033 if ac_fn_c_try_compile "$LINENO"; then :
72034 ac_cv_x86_rdrand=yes
72035 else
72036 ac_cv_x86_rdrand=no
72038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72039 esac
72043 if test $ac_cv_x86_rdrand = yes; then
72045 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
72048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
72049 $as_echo "$ac_cv_x86_rdrand" >&6; }
72052 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
72054 if $GLIBCXX_IS_NATIVE ; then
72055 # Do checks for resource limit functions.
72057 setrlimit_have_headers=yes
72058 for ac_header in unistd.h sys/time.h sys/resource.h
72059 do :
72060 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
72061 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
72062 eval as_val=\$$as_ac_Header
72063 if test "x$as_val" = x""yes; then :
72064 cat >>confdefs.h <<_ACEOF
72065 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
72066 _ACEOF
72068 else
72069 setrlimit_have_headers=no
72072 done
72074 # If don't have the headers, then we can't run the tests now, and we
72075 # won't be seeing any of these during testsuite compilation.
72076 if test $setrlimit_have_headers = yes; then
72077 # Can't do these in a loop, else the resulting syntax is wrong.
72079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
72080 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
72081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72082 /* end confdefs.h. */
72083 #include <unistd.h>
72084 #include <sys/time.h>
72085 #include <sys/resource.h>
72088 main ()
72090 int f = RLIMIT_DATA ;
72092 return 0;
72094 _ACEOF
72095 if ac_fn_c_try_compile "$LINENO"; then :
72096 glibcxx_mresult=1
72097 else
72098 glibcxx_mresult=0
72100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72102 cat >>confdefs.h <<_ACEOF
72103 #define HAVE_LIMIT_DATA $glibcxx_mresult
72104 _ACEOF
72106 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72108 $as_echo "$res" >&6; }
72111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
72112 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
72113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72114 /* end confdefs.h. */
72115 #include <unistd.h>
72116 #include <sys/time.h>
72117 #include <sys/resource.h>
72120 main ()
72122 int f = RLIMIT_RSS ;
72124 return 0;
72126 _ACEOF
72127 if ac_fn_c_try_compile "$LINENO"; then :
72128 glibcxx_mresult=1
72129 else
72130 glibcxx_mresult=0
72132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72134 cat >>confdefs.h <<_ACEOF
72135 #define HAVE_LIMIT_RSS $glibcxx_mresult
72136 _ACEOF
72138 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72140 $as_echo "$res" >&6; }
72143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
72144 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
72145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72146 /* end confdefs.h. */
72147 #include <unistd.h>
72148 #include <sys/time.h>
72149 #include <sys/resource.h>
72152 main ()
72154 int f = RLIMIT_VMEM ;
72156 return 0;
72158 _ACEOF
72159 if ac_fn_c_try_compile "$LINENO"; then :
72160 glibcxx_mresult=1
72161 else
72162 glibcxx_mresult=0
72164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72166 cat >>confdefs.h <<_ACEOF
72167 #define HAVE_LIMIT_VMEM $glibcxx_mresult
72168 _ACEOF
72170 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72172 $as_echo "$res" >&6; }
72175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
72176 $as_echo_n "checking for RLIMIT_AS... " >&6; }
72177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72178 /* end confdefs.h. */
72179 #include <unistd.h>
72180 #include <sys/time.h>
72181 #include <sys/resource.h>
72184 main ()
72186 int f = RLIMIT_AS ;
72188 return 0;
72190 _ACEOF
72191 if ac_fn_c_try_compile "$LINENO"; then :
72192 glibcxx_mresult=1
72193 else
72194 glibcxx_mresult=0
72196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72198 cat >>confdefs.h <<_ACEOF
72199 #define HAVE_LIMIT_AS $glibcxx_mresult
72200 _ACEOF
72202 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72204 $as_echo "$res" >&6; }
72207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
72208 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
72209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72210 /* end confdefs.h. */
72211 #include <unistd.h>
72212 #include <sys/time.h>
72213 #include <sys/resource.h>
72216 main ()
72218 int f = RLIMIT_FSIZE ;
72220 return 0;
72222 _ACEOF
72223 if ac_fn_c_try_compile "$LINENO"; then :
72224 glibcxx_mresult=1
72225 else
72226 glibcxx_mresult=0
72228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72230 cat >>confdefs.h <<_ACEOF
72231 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
72232 _ACEOF
72234 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72236 $as_echo "$res" >&6; }
72239 # Check for rlimit, setrlimit.
72240 if test "${glibcxx_cv_setrlimit+set}" = set; then :
72241 $as_echo_n "(cached) " >&6
72242 else
72244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72245 /* end confdefs.h. */
72246 #include <unistd.h>
72247 #include <sys/time.h>
72248 #include <sys/resource.h>
72251 main ()
72253 struct rlimit r;
72254 setrlimit(0, &r);
72256 return 0;
72258 _ACEOF
72259 if ac_fn_c_try_compile "$LINENO"; then :
72260 glibcxx_cv_setrlimit=yes
72261 else
72262 glibcxx_cv_setrlimit=no
72264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
72271 $as_echo_n "checking for testsuite resource limits support... " >&6; }
72272 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
72273 ac_res_limits=yes
72275 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
72277 else
72278 ac_res_limits=no
72280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
72281 $as_echo "$ac_res_limits" >&6; }
72284 # Look for setenv, so that extended locale tests can be performed.
72286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
72287 $as_echo_n "checking for setenv declaration... " >&6; }
72288 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
72289 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
72290 $as_echo_n "(cached) " >&6
72291 else
72294 ac_ext=cpp
72295 ac_cpp='$CXXCPP $CPPFLAGS'
72296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72301 /* end confdefs.h. */
72302 #include <stdlib.h>
72304 main ()
72306 setenv(0, 0, 0);
72308 return 0;
72310 _ACEOF
72311 if ac_fn_cxx_try_compile "$LINENO"; then :
72312 glibcxx_cv_func_setenv_use=yes
72313 else
72314 glibcxx_cv_func_setenv_use=no
72316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72317 ac_ext=c
72318 ac_cpp='$CPP $CPPFLAGS'
72319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
72328 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
72329 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
72330 for ac_func in setenv
72331 do :
72332 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
72333 if test "x$ac_cv_func_setenv" = x""yes; then :
72334 cat >>confdefs.h <<_ACEOF
72335 #define HAVE_SETENV 1
72336 _ACEOF
72339 done
72345 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
72346 test $enable_symvers != no; then
72347 case "$host" in
72348 *-*-cygwin*)
72349 enable_abi_check=no ;;
72351 enable_abi_check=yes ;;
72352 esac
72353 else
72354 # Only build this as native, since automake does not understand
72355 # CXX_FOR_BUILD.
72356 enable_abi_check=no
72359 # Export file names for ABI checking.
72360 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
72362 baseline_subdir_switch="$abi_baseline_subdir_switch"
72366 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
72368 # Check whether --enable-libstdcxx-threads was given.
72369 if test "${enable_libstdcxx_threads+set}" = set; then :
72370 enableval=$enable_libstdcxx_threads;
72371 case "$enableval" in
72372 yes|no) ;;
72373 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
72374 esac
72376 else
72377 enable_libstdcxx_threads=auto
72382 if test x$enable_libstdcxx_threads = xauto ||
72383 test x$enable_libstdcxx_threads = xyes; then
72386 ac_ext=cpp
72387 ac_cpp='$CXXCPP $CPPFLAGS'
72388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72393 ac_save_CXXFLAGS="$CXXFLAGS"
72394 CXXFLAGS="$CXXFLAGS -fno-exceptions \
72395 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
72397 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
72398 case $target_thread_file in
72399 posix)
72400 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
72401 esac
72403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
72404 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
72406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72407 /* end confdefs.h. */
72408 #include <unistd.h>
72410 main ()
72413 // In case of POSIX threads check _POSIX_TIMEOUTS.
72414 #if (defined(_PTHREADS) \
72415 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
72416 #error
72417 #endif
72420 return 0;
72422 _ACEOF
72423 if ac_fn_cxx_try_compile "$LINENO"; then :
72424 ac_gthread_use_mutex_timedlock=1
72425 else
72426 ac_gthread_use_mutex_timedlock=0
72428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72431 cat >>confdefs.h <<_ACEOF
72432 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
72433 _ACEOF
72436 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
72437 else res_mutex_timedlock=no ; fi
72438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
72439 $as_echo "$res_mutex_timedlock" >&6; }
72441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
72442 $as_echo_n "checking for gthreads library... " >&6; }
72444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72445 /* end confdefs.h. */
72446 #include "gthr.h"
72448 main ()
72451 #ifndef __GTHREADS_CXX0X
72452 #error
72453 #endif
72456 return 0;
72458 _ACEOF
72459 if ac_fn_cxx_try_compile "$LINENO"; then :
72460 case $target_os in
72461 # gthreads support breaks symbol versioning on Solaris 9 (PR
72462 # libstdc++/52189).
72463 solaris2.9*)
72464 if test x$enable_symvers = xno; then
72465 ac_has_gthreads=yes
72466 elif test x$enable_libstdcxx_threads = xyes; then
72467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
72468 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
72469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
72470 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
72471 ac_has_gthreads=yes
72472 else
72473 ac_has_gthreads=no
72477 ac_has_gthreads=yes
72479 esac
72480 else
72481 ac_has_gthreads=no
72483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72484 else
72485 ac_has_gthreads=no
72488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
72489 $as_echo "$ac_has_gthreads" >&6; }
72491 if test x"$ac_has_gthreads" = x"yes"; then
72493 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
72497 CXXFLAGS="$ac_save_CXXFLAGS"
72498 ac_ext=c
72499 ac_cpp='$CPP $CPPFLAGS'
72500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72506 # Define documentation rules conditionally.
72508 # See if makeinfo has been installed and is modern enough
72509 # that we can use it.
72511 # Extract the first word of "makeinfo", so it can be a program name with args.
72512 set dummy makeinfo; ac_word=$2
72513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72514 $as_echo_n "checking for $ac_word... " >&6; }
72515 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
72516 $as_echo_n "(cached) " >&6
72517 else
72518 if test -n "$MAKEINFO"; then
72519 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
72520 else
72521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72522 for as_dir in $PATH
72524 IFS=$as_save_IFS
72525 test -z "$as_dir" && as_dir=.
72526 for ac_exec_ext in '' $ac_executable_extensions; do
72527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72528 ac_cv_prog_MAKEINFO="makeinfo"
72529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72530 break 2
72532 done
72533 done
72534 IFS=$as_save_IFS
72538 MAKEINFO=$ac_cv_prog_MAKEINFO
72539 if test -n "$MAKEINFO"; then
72540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
72541 $as_echo "$MAKEINFO" >&6; }
72542 else
72543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72544 $as_echo "no" >&6; }
72548 if test -n "$MAKEINFO"; then
72549 # Found it, now check the version.
72550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
72551 $as_echo_n "checking for modern makeinfo... " >&6; }
72552 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
72553 $as_echo_n "(cached) " >&6
72554 else
72555 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
72556 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
72558 case $ac_prog_version in
72559 '') gcc_cv_prog_makeinfo_modern=no;;
72560 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
72561 *) gcc_cv_prog_makeinfo_modern=no;;
72562 esac
72565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
72566 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
72567 else
72568 gcc_cv_prog_makeinfo_modern=no
72570 if test $gcc_cv_prog_makeinfo_modern = no; then
72571 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
72574 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
72575 BUILD_INFO_TRUE=
72576 BUILD_INFO_FALSE='#'
72577 else
72578 BUILD_INFO_TRUE='#'
72579 BUILD_INFO_FALSE=
72583 # Check for doxygen
72584 # Extract the first word of "doxygen", so it can be a program name with args.
72585 set dummy doxygen; ac_word=$2
72586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72587 $as_echo_n "checking for $ac_word... " >&6; }
72588 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
72589 $as_echo_n "(cached) " >&6
72590 else
72591 if test -n "$DOXYGEN"; then
72592 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
72593 else
72594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72595 for as_dir in $PATH
72597 IFS=$as_save_IFS
72598 test -z "$as_dir" && as_dir=.
72599 for ac_exec_ext in '' $ac_executable_extensions; do
72600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72601 ac_cv_prog_DOXYGEN="yes"
72602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72603 break 2
72605 done
72606 done
72607 IFS=$as_save_IFS
72609 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
72612 DOXYGEN=$ac_cv_prog_DOXYGEN
72613 if test -n "$DOXYGEN"; then
72614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
72615 $as_echo "$DOXYGEN" >&6; }
72616 else
72617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72618 $as_echo "no" >&6; }
72622 # Extract the first word of "dot", so it can be a program name with args.
72623 set dummy dot; ac_word=$2
72624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72625 $as_echo_n "checking for $ac_word... " >&6; }
72626 if test "${ac_cv_prog_DOT+set}" = set; then :
72627 $as_echo_n "(cached) " >&6
72628 else
72629 if test -n "$DOT"; then
72630 ac_cv_prog_DOT="$DOT" # Let the user override the test.
72631 else
72632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72633 for as_dir in $PATH
72635 IFS=$as_save_IFS
72636 test -z "$as_dir" && as_dir=.
72637 for ac_exec_ext in '' $ac_executable_extensions; do
72638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72639 ac_cv_prog_DOT="yes"
72640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72641 break 2
72643 done
72644 done
72645 IFS=$as_save_IFS
72647 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
72650 DOT=$ac_cv_prog_DOT
72651 if test -n "$DOT"; then
72652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
72653 $as_echo "$DOT" >&6; }
72654 else
72655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72656 $as_echo "no" >&6; }
72661 # Check for docbook
72662 # Extract the first word of "xsltproc", so it can be a program name with args.
72663 set dummy xsltproc; ac_word=$2
72664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72665 $as_echo_n "checking for $ac_word... " >&6; }
72666 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
72667 $as_echo_n "(cached) " >&6
72668 else
72669 if test -n "$XSLTPROC"; then
72670 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
72671 else
72672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72673 for as_dir in $PATH
72675 IFS=$as_save_IFS
72676 test -z "$as_dir" && as_dir=.
72677 for ac_exec_ext in '' $ac_executable_extensions; do
72678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72679 ac_cv_prog_XSLTPROC="yes"
72680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72681 break 2
72683 done
72684 done
72685 IFS=$as_save_IFS
72687 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
72690 XSLTPROC=$ac_cv_prog_XSLTPROC
72691 if test -n "$XSLTPROC"; then
72692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
72693 $as_echo "$XSLTPROC" >&6; }
72694 else
72695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72696 $as_echo "no" >&6; }
72700 # Extract the first word of "xmllint", so it can be a program name with args.
72701 set dummy xmllint; ac_word=$2
72702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72703 $as_echo_n "checking for $ac_word... " >&6; }
72704 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
72705 $as_echo_n "(cached) " >&6
72706 else
72707 if test -n "$XMLLINT"; then
72708 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
72709 else
72710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72711 for as_dir in $PATH
72713 IFS=$as_save_IFS
72714 test -z "$as_dir" && as_dir=.
72715 for ac_exec_ext in '' $ac_executable_extensions; do
72716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72717 ac_cv_prog_XMLLINT="yes"
72718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72719 break 2
72721 done
72722 done
72723 IFS=$as_save_IFS
72725 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
72728 XMLLINT=$ac_cv_prog_XMLLINT
72729 if test -n "$XMLLINT"; then
72730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
72731 $as_echo "$XMLLINT" >&6; }
72732 else
72733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72734 $as_echo "no" >&6; }
72740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
72741 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
72742 glibcxx_stylesheets=no
72743 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
72744 glibcxx_stylesheets=yes
72746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
72747 $as_echo "$glibcxx_stylesheets" >&6; }
72749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
72750 $as_echo_n "checking for local stylesheet directory... " >&6; }
72751 glibcxx_local_stylesheets=no
72752 if test x"$glibcxx_stylesheets" = x"yes"; then
72753 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
72754 glibcxx_local_stylesheets=yes
72755 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
72757 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
72758 glibcxx_local_stylesheets=yes
72759 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
72761 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
72762 glibcxx_local_stylesheets=yes
72763 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
72766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
72767 $as_echo "$glibcxx_local_stylesheets" >&6; }
72769 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72771 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
72772 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
72773 else
72774 glibcxx_stylesheets=no
72777 # Check for epub3 dependencies.
72778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
72779 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
72780 glibcxx_epub_stylesheets=no
72781 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72782 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
72783 glibcxx_epub_stylesheets=yes
72786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
72787 $as_echo "$glibcxx_epub_stylesheets" >&6; }
72788 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
72789 BUILD_EPUB_TRUE=
72790 BUILD_EPUB_FALSE='#'
72791 else
72792 BUILD_EPUB_TRUE='#'
72793 BUILD_EPUB_FALSE=
72799 # Check for xml/html dependencies.
72800 if test $ac_cv_prog_DOXYGEN = "yes" &&
72801 test $ac_cv_prog_DOT = "yes" &&
72802 test $ac_cv_prog_XSLTPROC = "yes" &&
72803 test $ac_cv_prog_XMLLINT = "yes" &&
72804 test $glibcxx_stylesheets = "yes"; then
72805 BUILD_XML_TRUE=
72806 BUILD_XML_FALSE='#'
72807 else
72808 BUILD_XML_TRUE='#'
72809 BUILD_XML_FALSE=
72813 if test $ac_cv_prog_DOXYGEN = "yes" &&
72814 test $ac_cv_prog_DOT = "yes" &&
72815 test $ac_cv_prog_XSLTPROC = "yes" &&
72816 test $ac_cv_prog_XMLLINT = "yes" &&
72817 test $glibcxx_stylesheets = "yes"; then
72818 BUILD_HTML_TRUE=
72819 BUILD_HTML_FALSE='#'
72820 else
72821 BUILD_HTML_TRUE='#'
72822 BUILD_HTML_FALSE=
72826 # Check for man dependencies.
72827 if test $ac_cv_prog_DOXYGEN = "yes" &&
72828 test $ac_cv_prog_DOT = "yes"; then
72829 BUILD_MAN_TRUE=
72830 BUILD_MAN_FALSE='#'
72831 else
72832 BUILD_MAN_TRUE='#'
72833 BUILD_MAN_FALSE=
72837 # Check for pdf dependencies.
72838 # Extract the first word of "dblatex", so it can be a program name with args.
72839 set dummy dblatex; ac_word=$2
72840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72841 $as_echo_n "checking for $ac_word... " >&6; }
72842 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
72843 $as_echo_n "(cached) " >&6
72844 else
72845 if test -n "$DBLATEX"; then
72846 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
72847 else
72848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72849 for as_dir in $PATH
72851 IFS=$as_save_IFS
72852 test -z "$as_dir" && as_dir=.
72853 for ac_exec_ext in '' $ac_executable_extensions; do
72854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72855 ac_cv_prog_DBLATEX="yes"
72856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72857 break 2
72859 done
72860 done
72861 IFS=$as_save_IFS
72863 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
72866 DBLATEX=$ac_cv_prog_DBLATEX
72867 if test -n "$DBLATEX"; then
72868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
72869 $as_echo "$DBLATEX" >&6; }
72870 else
72871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72872 $as_echo "no" >&6; }
72876 # Extract the first word of "pdflatex", so it can be a program name with args.
72877 set dummy pdflatex; ac_word=$2
72878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72879 $as_echo_n "checking for $ac_word... " >&6; }
72880 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
72881 $as_echo_n "(cached) " >&6
72882 else
72883 if test -n "$PDFLATEX"; then
72884 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
72885 else
72886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72887 for as_dir in $PATH
72889 IFS=$as_save_IFS
72890 test -z "$as_dir" && as_dir=.
72891 for ac_exec_ext in '' $ac_executable_extensions; do
72892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72893 ac_cv_prog_PDFLATEX="yes"
72894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72895 break 2
72897 done
72898 done
72899 IFS=$as_save_IFS
72901 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
72904 PDFLATEX=$ac_cv_prog_PDFLATEX
72905 if test -n "$PDFLATEX"; then
72906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
72907 $as_echo "$PDFLATEX" >&6; }
72908 else
72909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72910 $as_echo "no" >&6; }
72914 if test $ac_cv_prog_DBLATEX = "yes" &&
72915 test $ac_cv_prog_PDFLATEX = "yes"; then
72916 BUILD_PDF_TRUE=
72917 BUILD_PDF_FALSE='#'
72918 else
72919 BUILD_PDF_TRUE='#'
72920 BUILD_PDF_FALSE=
72925 # Propagate the target-specific source directories through the build chain.
72926 ATOMICITY_SRCDIR=config/${atomicity_dir}
72927 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
72928 ATOMIC_FLAGS=${atomic_flags}
72929 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
72930 OS_INC_SRCDIR=config/${os_include_dir}
72931 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
72932 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
72933 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
72934 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
72946 # Determine cross-compile flags and AM_CONDITIONALs.
72947 #AC_SUBST(GLIBCXX_IS_NATIVE)
72948 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
72949 if test $is_hosted = yes; then
72950 GLIBCXX_HOSTED_TRUE=
72951 GLIBCXX_HOSTED_FALSE='#'
72952 else
72953 GLIBCXX_HOSTED_TRUE='#'
72954 GLIBCXX_HOSTED_FALSE=
72958 if test $enable_libstdcxx_pch = yes; then
72959 GLIBCXX_BUILD_PCH_TRUE=
72960 GLIBCXX_BUILD_PCH_FALSE='#'
72961 else
72962 GLIBCXX_BUILD_PCH_TRUE='#'
72963 GLIBCXX_BUILD_PCH_FALSE=
72967 if test $enable_cheaders = c; then
72968 GLIBCXX_C_HEADERS_C_TRUE=
72969 GLIBCXX_C_HEADERS_C_FALSE='#'
72970 else
72971 GLIBCXX_C_HEADERS_C_TRUE='#'
72972 GLIBCXX_C_HEADERS_C_FALSE=
72976 if test $enable_cheaders = c_std; then
72977 GLIBCXX_C_HEADERS_C_STD_TRUE=
72978 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
72979 else
72980 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
72981 GLIBCXX_C_HEADERS_C_STD_FALSE=
72985 if test $enable_cheaders = c_global; then
72986 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
72987 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
72988 else
72989 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
72990 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
72994 if test $c_compatibility = yes; then
72995 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
72996 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
72997 else
72998 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
72999 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
73003 if test $enable_libstdcxx_debug = yes; then
73004 GLIBCXX_BUILD_DEBUG_TRUE=
73005 GLIBCXX_BUILD_DEBUG_FALSE='#'
73006 else
73007 GLIBCXX_BUILD_DEBUG_TRUE='#'
73008 GLIBCXX_BUILD_DEBUG_FALSE=
73012 if test $enable_extern_template = yes; then
73013 ENABLE_EXTERN_TEMPLATE_TRUE=
73014 ENABLE_EXTERN_TEMPLATE_FALSE='#'
73015 else
73016 ENABLE_EXTERN_TEMPLATE_TRUE='#'
73017 ENABLE_EXTERN_TEMPLATE_FALSE=
73021 if test $python_mod_dir != no; then
73022 ENABLE_PYTHONDIR_TRUE=
73023 ENABLE_PYTHONDIR_FALSE='#'
73024 else
73025 ENABLE_PYTHONDIR_TRUE='#'
73026 ENABLE_PYTHONDIR_FALSE=
73030 if test $enable_werror = yes; then
73031 ENABLE_WERROR_TRUE=
73032 ENABLE_WERROR_FALSE='#'
73033 else
73034 ENABLE_WERROR_TRUE='#'
73035 ENABLE_WERROR_FALSE=
73039 if test $enable_vtable_verify = yes; then
73040 ENABLE_VTABLE_VERIFY_TRUE=
73041 ENABLE_VTABLE_VERIFY_FALSE='#'
73042 else
73043 ENABLE_VTABLE_VERIFY_TRUE='#'
73044 ENABLE_VTABLE_VERIFY_FALSE=
73048 if test $enable_symvers != no; then
73049 ENABLE_SYMVERS_TRUE=
73050 ENABLE_SYMVERS_FALSE='#'
73051 else
73052 ENABLE_SYMVERS_TRUE='#'
73053 ENABLE_SYMVERS_FALSE=
73057 if test $enable_symvers = gnu; then
73058 ENABLE_SYMVERS_GNU_TRUE=
73059 ENABLE_SYMVERS_GNU_FALSE='#'
73060 else
73061 ENABLE_SYMVERS_GNU_TRUE='#'
73062 ENABLE_SYMVERS_GNU_FALSE=
73066 if test $enable_symvers = gnu-versioned-namespace; then
73067 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
73068 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
73069 else
73070 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
73071 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
73075 if test $enable_symvers = darwin; then
73076 ENABLE_SYMVERS_DARWIN_TRUE=
73077 ENABLE_SYMVERS_DARWIN_FALSE='#'
73078 else
73079 ENABLE_SYMVERS_DARWIN_TRUE='#'
73080 ENABLE_SYMVERS_DARWIN_FALSE=
73084 if test $enable_symvers = sun; then
73085 ENABLE_SYMVERS_SUN_TRUE=
73086 ENABLE_SYMVERS_SUN_FALSE='#'
73087 else
73088 ENABLE_SYMVERS_SUN_TRUE='#'
73089 ENABLE_SYMVERS_SUN_FALSE=
73093 if test $enable_libstdcxx_visibility = yes; then
73094 ENABLE_VISIBILITY_TRUE=
73095 ENABLE_VISIBILITY_FALSE='#'
73096 else
73097 ENABLE_VISIBILITY_TRUE='#'
73098 ENABLE_VISIBILITY_FALSE=
73102 if test $ac_ldbl_compat = yes; then
73103 GLIBCXX_LDBL_COMPAT_TRUE=
73104 GLIBCXX_LDBL_COMPAT_FALSE='#'
73105 else
73106 GLIBCXX_LDBL_COMPAT_TRUE='#'
73107 GLIBCXX_LDBL_COMPAT_FALSE=
73113 cat >confcache <<\_ACEOF
73114 # This file is a shell script that caches the results of configure
73115 # tests run on this system so they can be shared between configure
73116 # scripts and configure runs, see configure's option --config-cache.
73117 # It is not useful on other systems. If it contains results you don't
73118 # want to keep, you may remove or edit it.
73120 # config.status only pays attention to the cache file if you give it
73121 # the --recheck option to rerun configure.
73123 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73124 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73125 # following values.
73127 _ACEOF
73129 # The following way of writing the cache mishandles newlines in values,
73130 # but we know of no workaround that is simple, portable, and efficient.
73131 # So, we kill variables containing newlines.
73132 # Ultrix sh set writes to stderr and can't be redirected directly,
73133 # and sets the high bit in the cache file unless we assign to the vars.
73135 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73136 eval ac_val=\$$ac_var
73137 case $ac_val in #(
73138 *${as_nl}*)
73139 case $ac_var in #(
73140 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73141 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73142 esac
73143 case $ac_var in #(
73144 _ | IFS | as_nl) ;; #(
73145 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73146 *) { eval $ac_var=; unset $ac_var;} ;;
73147 esac ;;
73148 esac
73149 done
73151 (set) 2>&1 |
73152 case $as_nl`(ac_space=' '; set) 2>&1` in #(
73153 *${as_nl}ac_space=\ *)
73154 # `set' does not quote correctly, so add quotes: double-quote
73155 # substitution turns \\\\ into \\, and sed turns \\ into \.
73156 sed -n \
73157 "s/'/'\\\\''/g;
73158 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73159 ;; #(
73161 # `set' quotes correctly as required by POSIX, so do not add quotes.
73162 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73164 esac |
73165 sort
73167 sed '
73168 /^ac_cv_env_/b end
73169 t clear
73170 :clear
73171 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73172 t end
73173 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73174 :end' >>confcache
73175 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73176 if test -w "$cache_file"; then
73177 test "x$cache_file" != "x/dev/null" &&
73178 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73179 $as_echo "$as_me: updating cache $cache_file" >&6;}
73180 cat confcache >$cache_file
73181 else
73182 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73183 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73186 rm -f confcache
73188 if test ${multilib} = yes; then
73189 multilib_arg="--enable-multilib"
73190 else
73191 multilib_arg=
73194 # Export all the install information.
73196 glibcxx_toolexecdir=no
73197 glibcxx_toolexeclibdir=no
73198 glibcxx_prefixdir=$prefix
73200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
73201 $as_echo_n "checking for gxx-include-dir... " >&6; }
73203 # Check whether --with-gxx-include-dir was given.
73204 if test "${with_gxx_include_dir+set}" = set; then :
73205 withval=$with_gxx_include_dir; case "$withval" in
73206 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
73207 no) gxx_include_dir=no ;;
73208 *) gxx_include_dir=$withval ;;
73209 esac
73210 else
73211 gxx_include_dir=no
73214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73215 $as_echo "$gxx_include_dir" >&6; }
73217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
73218 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
73219 # Check whether --enable-version-specific-runtime-libs was given.
73220 if test "${enable_version_specific_runtime_libs+set}" = set; then :
73221 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
73222 yes) version_specific_libs=yes ;;
73223 no) version_specific_libs=no ;;
73224 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
73225 esac
73226 else
73227 version_specific_libs=no
73230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
73231 $as_echo "$version_specific_libs" >&6; }
73233 # Default case for install directory for include files.
73234 if test $version_specific_libs = no && test $gxx_include_dir = no; then
73235 gxx_include_dir='include/c++/${gcc_version}'
73236 if test -n "$with_cross_host" &&
73237 test x"$with_cross_host" != x"no"; then
73238 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
73239 else
73240 gxx_include_dir='${prefix}/'"$gxx_include_dir"
73244 # Version-specific runtime libs processing.
73245 if test $version_specific_libs = yes; then
73246 # Need the gcc compiler version to know where to install libraries
73247 # and header files if --enable-version-specific-runtime-libs option
73248 # is selected. FIXME: these variables are misnamed, there are
73249 # no executables installed in _toolexecdir or _toolexeclibdir.
73250 if test x"$gxx_include_dir" = x"no"; then
73251 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
73253 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73254 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
73257 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
73258 # Install a library built with a cross compiler in tooldir, not libdir.
73259 if test x"$glibcxx_toolexecdir" = x"no"; then
73260 if test -n "$with_cross_host" &&
73261 test x"$with_cross_host" != x"no"; then
73262 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
73263 glibcxx_toolexeclibdir='${toolexecdir}/lib'
73264 else
73265 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73266 glibcxx_toolexeclibdir='${libdir}'
73268 multi_os_directory=`$CXX -print-multi-os-directory`
73269 case $multi_os_directory in
73270 .) ;; # Avoid trailing /.
73271 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
73272 esac
73275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
73276 $as_echo_n "checking for install location... " >&6; }
73277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73278 $as_echo "$gxx_include_dir" >&6; }
73286 # Export all the include and flag information to Makefiles.
73288 # Used for every C++ compile we perform.
73289 GLIBCXX_INCLUDES="\
73290 -I$glibcxx_builddir/include/$host_alias \
73291 -I$glibcxx_builddir/include \
73292 -I$glibcxx_srcdir/libsupc++"
73294 # For Canadian crosses, pick this up too.
73295 if test $CANADIAN = yes; then
73296 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
73299 # Stuff in the actual top level. Currently only used by libsupc++ to
73300 # get unwind* headers from the libgcc dir.
73301 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
73302 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
73304 # Now, export this to all the little Makefiles....
73309 # Optimization flags that are probably a good idea for thrill-seekers. Just
73310 # uncomment the lines below and make, everything else is ready to go...
73311 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
73312 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
73315 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
73319 ac_config_files="$ac_config_files Makefile"
73321 ac_config_files="$ac_config_files scripts/testsuite_flags"
73323 ac_config_files="$ac_config_files scripts/extract_symvers"
73325 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
73328 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
73329 # that multilib installs will end up installed in the correct place.
73330 # The testsuite needs it for multilib-aware ABI baseline files.
73331 # To work around this not being passed down from config-ml.in ->
73332 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
73333 # append it here. Only modify Makefiles that have just been created.
73335 # Also, get rid of this simulated-VPATH thing that automake does.
73336 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"
73339 ac_config_commands="$ac_config_commands generate-headers"
73342 cat >confcache <<\_ACEOF
73343 # This file is a shell script that caches the results of configure
73344 # tests run on this system so they can be shared between configure
73345 # scripts and configure runs, see configure's option --config-cache.
73346 # It is not useful on other systems. If it contains results you don't
73347 # want to keep, you may remove or edit it.
73349 # config.status only pays attention to the cache file if you give it
73350 # the --recheck option to rerun configure.
73352 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73353 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73354 # following values.
73356 _ACEOF
73358 # The following way of writing the cache mishandles newlines in values,
73359 # but we know of no workaround that is simple, portable, and efficient.
73360 # So, we kill variables containing newlines.
73361 # Ultrix sh set writes to stderr and can't be redirected directly,
73362 # and sets the high bit in the cache file unless we assign to the vars.
73364 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73365 eval ac_val=\$$ac_var
73366 case $ac_val in #(
73367 *${as_nl}*)
73368 case $ac_var in #(
73369 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73370 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73371 esac
73372 case $ac_var in #(
73373 _ | IFS | as_nl) ;; #(
73374 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73375 *) { eval $ac_var=; unset $ac_var;} ;;
73376 esac ;;
73377 esac
73378 done
73380 (set) 2>&1 |
73381 case $as_nl`(ac_space=' '; set) 2>&1` in #(
73382 *${as_nl}ac_space=\ *)
73383 # `set' does not quote correctly, so add quotes: double-quote
73384 # substitution turns \\\\ into \\, and sed turns \\ into \.
73385 sed -n \
73386 "s/'/'\\\\''/g;
73387 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73388 ;; #(
73390 # `set' quotes correctly as required by POSIX, so do not add quotes.
73391 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73393 esac |
73394 sort
73396 sed '
73397 /^ac_cv_env_/b end
73398 t clear
73399 :clear
73400 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73401 t end
73402 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73403 :end' >>confcache
73404 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73405 if test -w "$cache_file"; then
73406 test "x$cache_file" != "x/dev/null" &&
73407 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73408 $as_echo "$as_me: updating cache $cache_file" >&6;}
73409 cat confcache >$cache_file
73410 else
73411 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73412 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73415 rm -f confcache
73417 test "x$prefix" = xNONE && prefix=$ac_default_prefix
73418 # Let make expand exec_prefix.
73419 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
73421 DEFS=-DHAVE_CONFIG_H
73423 ac_libobjs=
73424 ac_ltlibobjs=
73425 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
73426 # 1. Remove the extension, and $U if already installed.
73427 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
73428 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
73429 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
73430 # will be set to the directory where LIBOBJS objects are built.
73431 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
73432 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
73433 done
73434 LIBOBJS=$ac_libobjs
73436 LTLIBOBJS=$ac_ltlibobjs
73439 if test -n "$EXEEXT"; then
73440 am__EXEEXT_TRUE=
73441 am__EXEEXT_FALSE='#'
73442 else
73443 am__EXEEXT_TRUE='#'
73444 am__EXEEXT_FALSE=
73447 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
73448 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
73449 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73451 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
73452 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
73453 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73455 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
73456 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
73457 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73459 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
73460 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
73461 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73463 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
73464 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
73465 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73467 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
73468 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
73469 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73471 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
73472 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
73473 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73475 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
73476 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
73477 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73479 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
73480 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
73481 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73483 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
73484 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
73485 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73487 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
73488 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
73489 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73491 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
73492 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
73493 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73495 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
73496 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
73497 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73499 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
73500 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
73501 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73503 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
73504 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
73505 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73507 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
73508 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
73509 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73511 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
73512 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
73513 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73515 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
73516 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
73517 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73519 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
73520 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
73521 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73523 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
73524 as_fn_error "conditional \"BUILD_INFO\" was never defined.
73525 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73527 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
73528 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
73529 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73531 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
73532 as_fn_error "conditional \"BUILD_XML\" was never defined.
73533 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73535 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
73536 as_fn_error "conditional \"BUILD_HTML\" was never defined.
73537 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73539 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
73540 as_fn_error "conditional \"BUILD_MAN\" was never defined.
73541 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73543 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
73544 as_fn_error "conditional \"BUILD_PDF\" was never defined.
73545 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73548 : ${CONFIG_STATUS=./config.status}
73549 ac_write_fail=0
73550 ac_clean_files_save=$ac_clean_files
73551 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
73552 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
73553 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
73554 as_write_fail=0
73555 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
73556 #! $SHELL
73557 # Generated by $as_me.
73558 # Run this file to recreate the current configuration.
73559 # Compiler output produced by configure, useful for debugging
73560 # configure, is in config.log if it exists.
73562 debug=false
73563 ac_cs_recheck=false
73564 ac_cs_silent=false
73566 SHELL=\${CONFIG_SHELL-$SHELL}
73567 export SHELL
73568 _ASEOF
73569 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
73570 ## -------------------- ##
73571 ## M4sh Initialization. ##
73572 ## -------------------- ##
73574 # Be more Bourne compatible
73575 DUALCASE=1; export DUALCASE # for MKS sh
73576 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
73577 emulate sh
73578 NULLCMD=:
73579 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
73580 # is contrary to our usage. Disable this feature.
73581 alias -g '${1+"$@"}'='"$@"'
73582 setopt NO_GLOB_SUBST
73583 else
73584 case `(set -o) 2>/dev/null` in #(
73585 *posix*) :
73586 set -o posix ;; #(
73587 *) :
73589 esac
73593 as_nl='
73595 export as_nl
73596 # Printing a long string crashes Solaris 7 /usr/bin/printf.
73597 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
73598 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
73599 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
73600 # Prefer a ksh shell builtin over an external printf program on Solaris,
73601 # but without wasting forks for bash or zsh.
73602 if test -z "$BASH_VERSION$ZSH_VERSION" \
73603 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
73604 as_echo='print -r --'
73605 as_echo_n='print -rn --'
73606 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
73607 as_echo='printf %s\n'
73608 as_echo_n='printf %s'
73609 else
73610 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
73611 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
73612 as_echo_n='/usr/ucb/echo -n'
73613 else
73614 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
73615 as_echo_n_body='eval
73616 arg=$1;
73617 case $arg in #(
73618 *"$as_nl"*)
73619 expr "X$arg" : "X\\(.*\\)$as_nl";
73620 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
73621 esac;
73622 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
73624 export as_echo_n_body
73625 as_echo_n='sh -c $as_echo_n_body as_echo'
73627 export as_echo_body
73628 as_echo='sh -c $as_echo_body as_echo'
73631 # The user is always right.
73632 if test "${PATH_SEPARATOR+set}" != set; then
73633 PATH_SEPARATOR=:
73634 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
73635 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
73636 PATH_SEPARATOR=';'
73641 # IFS
73642 # We need space, tab and new line, in precisely that order. Quoting is
73643 # there to prevent editors from complaining about space-tab.
73644 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
73645 # splitting by setting IFS to empty value.)
73646 IFS=" "" $as_nl"
73648 # Find who we are. Look in the path if we contain no directory separator.
73649 case $0 in #((
73650 *[\\/]* ) as_myself=$0 ;;
73651 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73652 for as_dir in $PATH
73654 IFS=$as_save_IFS
73655 test -z "$as_dir" && as_dir=.
73656 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
73657 done
73658 IFS=$as_save_IFS
73661 esac
73662 # We did not find ourselves, most probably we were run as `sh COMMAND'
73663 # in which case we are not to be found in the path.
73664 if test "x$as_myself" = x; then
73665 as_myself=$0
73667 if test ! -f "$as_myself"; then
73668 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
73669 exit 1
73672 # Unset variables that we do not need and which cause bugs (e.g. in
73673 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
73674 # suppresses any "Segmentation fault" message there. '((' could
73675 # trigger a bug in pdksh 5.2.14.
73676 for as_var in BASH_ENV ENV MAIL MAILPATH
73677 do eval test x\${$as_var+set} = xset \
73678 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
73679 done
73680 PS1='$ '
73681 PS2='> '
73682 PS4='+ '
73684 # NLS nuisances.
73685 LC_ALL=C
73686 export LC_ALL
73687 LANGUAGE=C
73688 export LANGUAGE
73690 # CDPATH.
73691 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
73694 # as_fn_error ERROR [LINENO LOG_FD]
73695 # ---------------------------------
73696 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
73697 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
73698 # script with status $?, using 1 if that was 0.
73699 as_fn_error ()
73701 as_status=$?; test $as_status -eq 0 && as_status=1
73702 if test "$3"; then
73703 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
73704 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
73706 $as_echo "$as_me: error: $1" >&2
73707 as_fn_exit $as_status
73708 } # as_fn_error
73711 # as_fn_set_status STATUS
73712 # -----------------------
73713 # Set $? to STATUS, without forking.
73714 as_fn_set_status ()
73716 return $1
73717 } # as_fn_set_status
73719 # as_fn_exit STATUS
73720 # -----------------
73721 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
73722 as_fn_exit ()
73724 set +e
73725 as_fn_set_status $1
73726 exit $1
73727 } # as_fn_exit
73729 # as_fn_unset VAR
73730 # ---------------
73731 # Portably unset VAR.
73732 as_fn_unset ()
73734 { eval $1=; unset $1;}
73736 as_unset=as_fn_unset
73737 # as_fn_append VAR VALUE
73738 # ----------------------
73739 # Append the text in VALUE to the end of the definition contained in VAR. Take
73740 # advantage of any shell optimizations that allow amortized linear growth over
73741 # repeated appends, instead of the typical quadratic growth present in naive
73742 # implementations.
73743 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
73744 eval 'as_fn_append ()
73746 eval $1+=\$2
73748 else
73749 as_fn_append ()
73751 eval $1=\$$1\$2
73753 fi # as_fn_append
73755 # as_fn_arith ARG...
73756 # ------------------
73757 # Perform arithmetic evaluation on the ARGs, and store the result in the
73758 # global $as_val. Take advantage of shells that can avoid forks. The arguments
73759 # must be portable across $(()) and expr.
73760 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
73761 eval 'as_fn_arith ()
73763 as_val=$(( $* ))
73765 else
73766 as_fn_arith ()
73768 as_val=`expr "$@" || test $? -eq 1`
73770 fi # as_fn_arith
73773 if expr a : '\(a\)' >/dev/null 2>&1 &&
73774 test "X`expr 00001 : '.*\(...\)'`" = X001; then
73775 as_expr=expr
73776 else
73777 as_expr=false
73780 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
73781 as_basename=basename
73782 else
73783 as_basename=false
73786 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
73787 as_dirname=dirname
73788 else
73789 as_dirname=false
73792 as_me=`$as_basename -- "$0" ||
73793 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
73794 X"$0" : 'X\(//\)$' \| \
73795 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73796 $as_echo X/"$0" |
73797 sed '/^.*\/\([^/][^/]*\)\/*$/{
73798 s//\1/
73801 /^X\/\(\/\/\)$/{
73802 s//\1/
73805 /^X\/\(\/\).*/{
73806 s//\1/
73809 s/.*/./; q'`
73811 # Avoid depending upon Character Ranges.
73812 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
73813 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
73814 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
73815 as_cr_digits='0123456789'
73816 as_cr_alnum=$as_cr_Letters$as_cr_digits
73818 ECHO_C= ECHO_N= ECHO_T=
73819 case `echo -n x` in #(((((
73820 -n*)
73821 case `echo 'xy\c'` in
73822 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
73823 xy) ECHO_C='\c';;
73824 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
73825 ECHO_T=' ';;
73826 esac;;
73828 ECHO_N='-n';;
73829 esac
73831 rm -f conf$$ conf$$.exe conf$$.file
73832 if test -d conf$$.dir; then
73833 rm -f conf$$.dir/conf$$.file
73834 else
73835 rm -f conf$$.dir
73836 mkdir conf$$.dir 2>/dev/null
73838 if (echo >conf$$.file) 2>/dev/null; then
73839 if ln -s conf$$.file conf$$ 2>/dev/null; then
73840 as_ln_s='ln -s'
73841 # ... but there are two gotchas:
73842 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
73843 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
73844 # In both cases, we have to default to `cp -p'.
73845 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
73846 as_ln_s='cp -p'
73847 elif ln conf$$.file conf$$ 2>/dev/null; then
73848 as_ln_s=ln
73849 else
73850 as_ln_s='cp -p'
73852 else
73853 as_ln_s='cp -p'
73855 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
73856 rmdir conf$$.dir 2>/dev/null
73859 # as_fn_mkdir_p
73860 # -------------
73861 # Create "$as_dir" as a directory, including parents if necessary.
73862 as_fn_mkdir_p ()
73865 case $as_dir in #(
73866 -*) as_dir=./$as_dir;;
73867 esac
73868 test -d "$as_dir" || eval $as_mkdir_p || {
73869 as_dirs=
73870 while :; do
73871 case $as_dir in #(
73872 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
73873 *) as_qdir=$as_dir;;
73874 esac
73875 as_dirs="'$as_qdir' $as_dirs"
73876 as_dir=`$as_dirname -- "$as_dir" ||
73877 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73878 X"$as_dir" : 'X\(//\)[^/]' \| \
73879 X"$as_dir" : 'X\(//\)$' \| \
73880 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
73881 $as_echo X"$as_dir" |
73882 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73883 s//\1/
73886 /^X\(\/\/\)[^/].*/{
73887 s//\1/
73890 /^X\(\/\/\)$/{
73891 s//\1/
73894 /^X\(\/\).*/{
73895 s//\1/
73898 s/.*/./; q'`
73899 test -d "$as_dir" && break
73900 done
73901 test -z "$as_dirs" || eval "mkdir $as_dirs"
73902 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
73905 } # as_fn_mkdir_p
73906 if mkdir -p . 2>/dev/null; then
73907 as_mkdir_p='mkdir -p "$as_dir"'
73908 else
73909 test -d ./-p && rmdir ./-p
73910 as_mkdir_p=false
73913 if test -x / >/dev/null 2>&1; then
73914 as_test_x='test -x'
73915 else
73916 if ls -dL / >/dev/null 2>&1; then
73917 as_ls_L_option=L
73918 else
73919 as_ls_L_option=
73921 as_test_x='
73922 eval sh -c '\''
73923 if test -d "$1"; then
73924 test -d "$1/.";
73925 else
73926 case $1 in #(
73927 -*)set "./$1";;
73928 esac;
73929 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
73930 ???[sx]*):;;*)false;;esac;fi
73931 '\'' sh
73934 as_executable_p=$as_test_x
73936 # Sed expression to map a string onto a valid CPP name.
73937 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
73939 # Sed expression to map a string onto a valid variable name.
73940 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
73943 exec 6>&1
73944 ## ----------------------------------- ##
73945 ## Main body of $CONFIG_STATUS script. ##
73946 ## ----------------------------------- ##
73947 _ASEOF
73948 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
73950 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73951 # Save the log message, to keep $0 and so on meaningful, and to
73952 # report actual input values of CONFIG_FILES etc. instead of their
73953 # values after options handling.
73954 ac_log="
73955 This file was extended by package-unused $as_me version-unused, which was
73956 generated by GNU Autoconf 2.64. Invocation command line was
73958 CONFIG_FILES = $CONFIG_FILES
73959 CONFIG_HEADERS = $CONFIG_HEADERS
73960 CONFIG_LINKS = $CONFIG_LINKS
73961 CONFIG_COMMANDS = $CONFIG_COMMANDS
73962 $ $0 $@
73964 on `(hostname || uname -n) 2>/dev/null | sed 1q`
73967 _ACEOF
73969 case $ac_config_files in *"
73970 "*) set x $ac_config_files; shift; ac_config_files=$*;;
73971 esac
73973 case $ac_config_headers in *"
73974 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
73975 esac
73978 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73979 # Files that config.status was made for.
73980 config_files="$ac_config_files"
73981 config_headers="$ac_config_headers"
73982 config_commands="$ac_config_commands"
73984 _ACEOF
73986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73987 ac_cs_usage="\
73988 \`$as_me' instantiates files and other configuration actions
73989 from templates according to the current configuration. Unless the files
73990 and actions are specified as TAGs, all are instantiated by default.
73992 Usage: $0 [OPTION]... [TAG]...
73994 -h, --help print this help, then exit
73995 -V, --version print version number and configuration settings, then exit
73996 -q, --quiet, --silent
73997 do not print progress messages
73998 -d, --debug don't remove temporary files
73999 --recheck update $as_me by reconfiguring in the same conditions
74000 --file=FILE[:TEMPLATE]
74001 instantiate the configuration file FILE
74002 --header=FILE[:TEMPLATE]
74003 instantiate the configuration header FILE
74005 Configuration files:
74006 $config_files
74008 Configuration headers:
74009 $config_headers
74011 Configuration commands:
74012 $config_commands
74014 Report bugs to the package provider."
74016 _ACEOF
74017 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74018 ac_cs_version="\\
74019 package-unused config.status version-unused
74020 configured by $0, generated by GNU Autoconf 2.64,
74021 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
74023 Copyright (C) 2009 Free Software Foundation, Inc.
74024 This config.status script is free software; the Free Software Foundation
74025 gives unlimited permission to copy, distribute and modify it."
74027 ac_pwd='$ac_pwd'
74028 srcdir='$srcdir'
74029 INSTALL='$INSTALL'
74030 MKDIR_P='$MKDIR_P'
74031 AWK='$AWK'
74032 test -n "\$AWK" || AWK=awk
74033 _ACEOF
74035 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74036 # The default lists apply if the user does not specify any file.
74037 ac_need_defaults=:
74038 while test $# != 0
74040 case $1 in
74041 --*=*)
74042 ac_option=`expr "X$1" : 'X\([^=]*\)='`
74043 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
74044 ac_shift=:
74047 ac_option=$1
74048 ac_optarg=$2
74049 ac_shift=shift
74051 esac
74053 case $ac_option in
74054 # Handling of the options.
74055 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
74056 ac_cs_recheck=: ;;
74057 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
74058 $as_echo "$ac_cs_version"; exit ;;
74059 --debug | --debu | --deb | --de | --d | -d )
74060 debug=: ;;
74061 --file | --fil | --fi | --f )
74062 $ac_shift
74063 case $ac_optarg in
74064 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
74065 esac
74066 as_fn_append CONFIG_FILES " '$ac_optarg'"
74067 ac_need_defaults=false;;
74068 --header | --heade | --head | --hea )
74069 $ac_shift
74070 case $ac_optarg in
74071 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
74072 esac
74073 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
74074 ac_need_defaults=false;;
74075 --he | --h)
74076 # Conflict between --help and --header
74077 as_fn_error "ambiguous option: \`$1'
74078 Try \`$0 --help' for more information.";;
74079 --help | --hel | -h )
74080 $as_echo "$ac_cs_usage"; exit ;;
74081 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
74082 | -silent | --silent | --silen | --sile | --sil | --si | --s)
74083 ac_cs_silent=: ;;
74085 # This is an error.
74086 -*) as_fn_error "unrecognized option: \`$1'
74087 Try \`$0 --help' for more information." ;;
74089 *) as_fn_append ac_config_targets " $1"
74090 ac_need_defaults=false ;;
74092 esac
74093 shift
74094 done
74096 ac_configure_extra_args=
74098 if $ac_cs_silent; then
74099 exec 6>/dev/null
74100 ac_configure_extra_args="$ac_configure_extra_args --silent"
74103 _ACEOF
74104 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74105 if \$ac_cs_recheck; then
74106 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
74107 shift
74108 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
74109 CONFIG_SHELL='$SHELL'
74110 export CONFIG_SHELL
74111 exec "\$@"
74114 _ACEOF
74115 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74116 exec 5>>config.log
74118 echo
74119 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
74120 ## Running $as_me. ##
74121 _ASBOX
74122 $as_echo "$ac_log"
74123 } >&5
74125 _ACEOF
74126 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74128 # INIT-COMMANDS
74131 srcdir="$srcdir"
74132 host="$host"
74133 target="$target"
74134 with_multisubdir="$with_multisubdir"
74135 with_multisrctop="$with_multisrctop"
74136 with_target_subdir="$with_target_subdir"
74137 ac_configure_args="${multilib_arg} ${ac_configure_args}"
74138 multi_basedir="$multi_basedir"
74139 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
74140 CC="$CC"
74141 CXX="$CXX"
74142 GFORTRAN="$GFORTRAN"
74143 GCJ="$GCJ"
74146 # The HP-UX ksh and POSIX shell print the target directory to stdout
74147 # if CDPATH is set.
74148 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
74150 sed_quote_subst='$sed_quote_subst'
74151 double_quote_subst='$double_quote_subst'
74152 delay_variable_subst='$delay_variable_subst'
74153 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
74154 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
74155 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
74156 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
74157 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
74158 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
74159 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
74160 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
74161 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
74162 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
74163 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
74164 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
74165 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
74166 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
74167 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
74168 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
74169 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
74170 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
74171 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
74172 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
74173 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
74174 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
74175 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
74176 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
74177 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
74178 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
74179 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
74180 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
74181 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
74182 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
74183 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
74184 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
74185 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
74186 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
74187 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
74188 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
74189 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
74190 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74191 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74192 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
74193 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
74194 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
74195 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
74196 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
74197 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
74198 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
74199 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
74200 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
74201 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"`'
74202 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
74203 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
74204 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
74205 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
74206 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
74207 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
74208 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
74209 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
74210 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
74211 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
74212 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
74213 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
74214 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
74215 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
74216 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
74217 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74218 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
74219 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
74220 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
74221 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
74222 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
74223 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
74224 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74225 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
74226 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74227 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
74228 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74229 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
74230 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
74231 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
74232 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
74233 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
74234 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
74235 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
74236 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
74237 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
74238 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
74239 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
74240 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
74241 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
74242 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
74243 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
74244 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
74245 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
74246 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
74247 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
74248 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
74249 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
74250 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
74251 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
74252 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
74253 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
74254 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
74255 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
74256 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
74257 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
74258 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
74259 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
74260 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74261 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74262 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
74263 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
74264 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
74265 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
74266 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
74267 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
74268 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
74269 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
74270 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
74271 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
74272 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
74273 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
74274 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
74275 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
74276 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
74277 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
74278 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
74279 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
74280 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
74281 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74282 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74283 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
74284 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
74285 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
74286 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
74287 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
74288 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
74289 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
74290 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
74291 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
74292 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74293 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74294 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
74295 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74296 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74297 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74298 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74299 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74300 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74301 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
74302 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74303 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74304 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74305 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
74306 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
74307 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
74308 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
74309 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
74310 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
74311 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
74312 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
74313 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
74314 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
74315 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
74316 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74317 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74318 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74319 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74320 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
74321 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
74322 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
74323 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74324 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74325 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
74326 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
74327 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
74329 LTCC='$LTCC'
74330 LTCFLAGS='$LTCFLAGS'
74331 compiler='$compiler_DEFAULT'
74333 # A function that is used when there is no print builtin or printf.
74334 func_fallback_echo ()
74336 eval 'cat <<_LTECHO_EOF
74338 _LTECHO_EOF'
74341 # Quote evaled strings.
74342 for var in SHELL \
74343 ECHO \
74344 SED \
74345 GREP \
74346 EGREP \
74347 FGREP \
74348 LD \
74349 NM \
74350 LN_S \
74351 lt_SP2NL \
74352 lt_NL2SP \
74353 reload_flag \
74354 OBJDUMP \
74355 deplibs_check_method \
74356 file_magic_cmd \
74357 AR \
74358 AR_FLAGS \
74359 STRIP \
74360 RANLIB \
74361 CC \
74362 CFLAGS \
74363 compiler \
74364 lt_cv_sys_global_symbol_pipe \
74365 lt_cv_sys_global_symbol_to_cdecl \
74366 lt_cv_sys_global_symbol_to_c_name_address \
74367 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
74368 lt_prog_compiler_no_builtin_flag \
74369 lt_prog_compiler_wl \
74370 lt_prog_compiler_pic \
74371 lt_prog_compiler_static \
74372 lt_cv_prog_compiler_c_o \
74373 need_locks \
74374 DSYMUTIL \
74375 NMEDIT \
74376 LIPO \
74377 OTOOL \
74378 OTOOL64 \
74379 shrext_cmds \
74380 export_dynamic_flag_spec \
74381 whole_archive_flag_spec \
74382 compiler_needs_object \
74383 with_gnu_ld \
74384 allow_undefined_flag \
74385 no_undefined_flag \
74386 hardcode_libdir_flag_spec \
74387 hardcode_libdir_flag_spec_ld \
74388 hardcode_libdir_separator \
74389 fix_srcfile_path \
74390 exclude_expsyms \
74391 include_expsyms \
74392 file_list_spec \
74393 variables_saved_for_relink \
74394 libname_spec \
74395 library_names_spec \
74396 soname_spec \
74397 install_override_mode \
74398 finish_eval \
74399 old_striplib \
74400 striplib \
74401 compiler_lib_search_dirs \
74402 predep_objects \
74403 postdep_objects \
74404 predeps \
74405 postdeps \
74406 compiler_lib_search_path \
74407 LD_CXX \
74408 reload_flag_CXX \
74409 compiler_CXX \
74410 lt_prog_compiler_no_builtin_flag_CXX \
74411 lt_prog_compiler_wl_CXX \
74412 lt_prog_compiler_pic_CXX \
74413 lt_prog_compiler_static_CXX \
74414 lt_cv_prog_compiler_c_o_CXX \
74415 export_dynamic_flag_spec_CXX \
74416 whole_archive_flag_spec_CXX \
74417 compiler_needs_object_CXX \
74418 with_gnu_ld_CXX \
74419 allow_undefined_flag_CXX \
74420 no_undefined_flag_CXX \
74421 hardcode_libdir_flag_spec_CXX \
74422 hardcode_libdir_flag_spec_ld_CXX \
74423 hardcode_libdir_separator_CXX \
74424 fix_srcfile_path_CXX \
74425 exclude_expsyms_CXX \
74426 include_expsyms_CXX \
74427 file_list_spec_CXX \
74428 compiler_lib_search_dirs_CXX \
74429 predep_objects_CXX \
74430 postdep_objects_CXX \
74431 predeps_CXX \
74432 postdeps_CXX \
74433 compiler_lib_search_path_CXX; do
74434 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74435 *[\\\\\\\`\\"\\\$]*)
74436 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
74439 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74441 esac
74442 done
74444 # Double-quote double-evaled strings.
74445 for var in reload_cmds \
74446 old_postinstall_cmds \
74447 old_postuninstall_cmds \
74448 old_archive_cmds \
74449 extract_expsyms_cmds \
74450 old_archive_from_new_cmds \
74451 old_archive_from_expsyms_cmds \
74452 archive_cmds \
74453 archive_expsym_cmds \
74454 module_cmds \
74455 module_expsym_cmds \
74456 export_symbols_cmds \
74457 prelink_cmds \
74458 postinstall_cmds \
74459 postuninstall_cmds \
74460 finish_cmds \
74461 sys_lib_search_path_spec \
74462 sys_lib_dlsearch_path_spec \
74463 reload_cmds_CXX \
74464 old_archive_cmds_CXX \
74465 old_archive_from_new_cmds_CXX \
74466 old_archive_from_expsyms_cmds_CXX \
74467 archive_cmds_CXX \
74468 archive_expsym_cmds_CXX \
74469 module_cmds_CXX \
74470 module_expsym_cmds_CXX \
74471 export_symbols_cmds_CXX \
74472 prelink_cmds_CXX; do
74473 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74474 *[\\\\\\\`\\"\\\$]*)
74475 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
74478 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74480 esac
74481 done
74483 ac_aux_dir='$ac_aux_dir'
74484 xsi_shell='$xsi_shell'
74485 lt_shell_append='$lt_shell_append'
74487 # See if we are running on zsh, and set the options which allow our
74488 # commands through without removal of \ escapes INIT.
74489 if test -n "\${ZSH_VERSION+set}" ; then
74490 setopt NO_GLOB_SUBST
74494 PACKAGE='$PACKAGE'
74495 VERSION='$VERSION'
74496 TIMESTAMP='$TIMESTAMP'
74497 RM='$RM'
74498 ofile='$ofile'
74505 GCC="$GCC"
74506 CC="$CC"
74507 acx_cv_header_stdint="$acx_cv_header_stdint"
74508 acx_cv_type_int8_t="$acx_cv_type_int8_t"
74509 acx_cv_type_int16_t="$acx_cv_type_int16_t"
74510 acx_cv_type_int32_t="$acx_cv_type_int32_t"
74511 acx_cv_type_int64_t="$acx_cv_type_int64_t"
74512 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
74513 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
74514 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
74515 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
74516 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
74517 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
74518 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
74519 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
74520 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
74523 _ACEOF
74525 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74527 # Handling of arguments.
74528 for ac_config_target in $ac_config_targets
74530 case $ac_config_target in
74531 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
74532 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
74533 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
74534 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
74535 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
74536 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
74537 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
74538 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
74539 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
74540 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
74541 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
74542 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
74543 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
74544 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
74545 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
74546 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
74547 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
74548 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
74550 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
74551 esac
74552 done
74555 # If the user did not use the arguments to specify the items to instantiate,
74556 # then the envvar interface is used. Set only those that are not.
74557 # We use the long form for the default assignment because of an extremely
74558 # bizarre bug on SunOS 4.1.3.
74559 if $ac_need_defaults; then
74560 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
74561 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
74562 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
74565 # Have a temporary directory for convenience. Make it in the build tree
74566 # simply because there is no reason against having it here, and in addition,
74567 # creating and moving files from /tmp can sometimes cause problems.
74568 # Hook for its removal unless debugging.
74569 # Note that there is a small window in which the directory will not be cleaned:
74570 # after its creation but before its name has been assigned to `$tmp'.
74571 $debug ||
74573 tmp=
74574 trap 'exit_status=$?
74575 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
74577 trap 'as_fn_exit 1' 1 2 13 15
74579 # Create a (secure) tmp directory for tmp files.
74582 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
74583 test -n "$tmp" && test -d "$tmp"
74584 } ||
74586 tmp=./conf$$-$RANDOM
74587 (umask 077 && mkdir "$tmp")
74588 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
74590 # Set up the scripts for CONFIG_FILES section.
74591 # No need to generate them if there are no CONFIG_FILES.
74592 # This happens for instance with `./config.status config.h'.
74593 if test -n "$CONFIG_FILES"; then
74596 ac_cr=`echo X | tr X '\015'`
74597 # On cygwin, bash can eat \r inside `` if the user requested igncr.
74598 # But we know of no other shell where ac_cr would be empty at this
74599 # point, so we can use a bashism as a fallback.
74600 if test "x$ac_cr" = x; then
74601 eval ac_cr=\$\'\\r\'
74603 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
74604 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
74605 ac_cs_awk_cr='\r'
74606 else
74607 ac_cs_awk_cr=$ac_cr
74610 echo 'BEGIN {' >"$tmp/subs1.awk" &&
74611 _ACEOF
74615 echo "cat >conf$$subs.awk <<_ACEOF" &&
74616 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
74617 echo "_ACEOF"
74618 } >conf$$subs.sh ||
74619 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74620 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
74621 ac_delim='%!_!# '
74622 for ac_last_try in false false false false false :; do
74623 . ./conf$$subs.sh ||
74624 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74626 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
74627 if test $ac_delim_n = $ac_delim_num; then
74628 break
74629 elif $ac_last_try; then
74630 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74631 else
74632 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74634 done
74635 rm -f conf$$subs.sh
74637 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74638 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
74639 _ACEOF
74640 sed -n '
74642 s/^/S["/; s/!.*/"]=/
74645 s/^[^!]*!//
74646 :repl
74647 t repl
74648 s/'"$ac_delim"'$//
74649 t delim
74652 s/\(.\{148\}\).*/\1/
74653 t more1
74654 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
74657 b repl
74658 :more1
74659 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74662 s/.\{148\}//
74663 t nl
74664 :delim
74666 s/\(.\{148\}\).*/\1/
74667 t more2
74668 s/["\\]/\\&/g; s/^/"/; s/$/"/
74671 :more2
74672 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74675 s/.\{148\}//
74676 t delim
74677 ' <conf$$subs.awk | sed '
74678 /^[^""]/{
74680 s/\n//
74682 ' >>$CONFIG_STATUS || ac_write_fail=1
74683 rm -f conf$$subs.awk
74684 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74685 _ACAWK
74686 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
74687 for (key in S) S_is_set[key] = 1
74688 FS = "\a"
74692 line = $ 0
74693 nfields = split(line, field, "@")
74694 substed = 0
74695 len = length(field[1])
74696 for (i = 2; i < nfields; i++) {
74697 key = field[i]
74698 keylen = length(key)
74699 if (S_is_set[key]) {
74700 value = S[key]
74701 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
74702 len += length(value) + length(field[++i])
74703 substed = 1
74704 } else
74705 len += 1 + keylen
74708 print line
74711 _ACAWK
74712 _ACEOF
74713 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74714 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
74715 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
74716 else
74718 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
74719 || as_fn_error "could not setup config files machinery" "$LINENO" 5
74720 _ACEOF
74722 # VPATH may cause trouble with some makes, so we remove $(srcdir),
74723 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
74724 # trailing colons and then remove the whole line if VPATH becomes empty
74725 # (actually we leave an empty line to preserve line numbers).
74726 if test "x$srcdir" = x.; then
74727 ac_vpsub='/^[ ]*VPATH[ ]*=/{
74728 s/:*\$(srcdir):*/:/
74729 s/:*\${srcdir}:*/:/
74730 s/:*@srcdir@:*/:/
74731 s/^\([^=]*=[ ]*\):*/\1/
74732 s/:*$//
74733 s/^[^=]*=[ ]*$//
74737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74738 fi # test -n "$CONFIG_FILES"
74740 # Set up the scripts for CONFIG_HEADERS section.
74741 # No need to generate them if there are no CONFIG_HEADERS.
74742 # This happens for instance with `./config.status Makefile'.
74743 if test -n "$CONFIG_HEADERS"; then
74744 cat >"$tmp/defines.awk" <<\_ACAWK ||
74745 BEGIN {
74746 _ACEOF
74748 # Transform confdefs.h into an awk script `defines.awk', embedded as
74749 # here-document in config.status, that substitutes the proper values into
74750 # config.h.in to produce config.h.
74752 # Create a delimiter string that does not exist in confdefs.h, to ease
74753 # handling of long lines.
74754 ac_delim='%!_!# '
74755 for ac_last_try in false false :; do
74756 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
74757 if test -z "$ac_t"; then
74758 break
74759 elif $ac_last_try; then
74760 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
74761 else
74762 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74764 done
74766 # For the awk script, D is an array of macro values keyed by name,
74767 # likewise P contains macro parameters if any. Preserve backslash
74768 # newline sequences.
74770 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
74771 sed -n '
74772 s/.\{148\}/&'"$ac_delim"'/g
74773 t rset
74774 :rset
74775 s/^[ ]*#[ ]*define[ ][ ]*/ /
74776 t def
74778 :def
74779 s/\\$//
74780 t bsnl
74781 s/["\\]/\\&/g
74782 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74783 D["\1"]=" \3"/p
74784 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
74786 :bsnl
74787 s/["\\]/\\&/g
74788 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74789 D["\1"]=" \3\\\\\\n"\\/p
74790 t cont
74791 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
74792 t cont
74794 :cont
74796 s/.\{148\}/&'"$ac_delim"'/g
74797 t clear
74798 :clear
74799 s/\\$//
74800 t bsnlc
74801 s/["\\]/\\&/g; s/^/"/; s/$/"/p
74803 :bsnlc
74804 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
74805 b cont
74806 ' <confdefs.h | sed '
74807 s/'"$ac_delim"'/"\\\
74808 "/g' >>$CONFIG_STATUS || ac_write_fail=1
74810 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74811 for (key in D) D_is_set[key] = 1
74812 FS = "\a"
74814 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
74815 line = \$ 0
74816 split(line, arg, " ")
74817 if (arg[1] == "#") {
74818 defundef = arg[2]
74819 mac1 = arg[3]
74820 } else {
74821 defundef = substr(arg[1], 2)
74822 mac1 = arg[2]
74824 split(mac1, mac2, "(") #)
74825 macro = mac2[1]
74826 prefix = substr(line, 1, index(line, defundef) - 1)
74827 if (D_is_set[macro]) {
74828 # Preserve the white space surrounding the "#".
74829 print prefix "define", macro P[macro] D[macro]
74830 next
74831 } else {
74832 # Replace #undef with comments. This is necessary, for example,
74833 # in the case of _POSIX_SOURCE, which is predefined and required
74834 # on some systems where configure will not decide to define it.
74835 if (defundef == "undef") {
74836 print "/*", prefix defundef, macro, "*/"
74837 next
74841 { print }
74842 _ACAWK
74843 _ACEOF
74844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74845 as_fn_error "could not setup config headers machinery" "$LINENO" 5
74846 fi # test -n "$CONFIG_HEADERS"
74849 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
74850 shift
74851 for ac_tag
74853 case $ac_tag in
74854 :[FHLC]) ac_mode=$ac_tag; continue;;
74855 esac
74856 case $ac_mode$ac_tag in
74857 :[FHL]*:*);;
74858 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
74859 :[FH]-) ac_tag=-:-;;
74860 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
74861 esac
74862 ac_save_IFS=$IFS
74863 IFS=:
74864 set x $ac_tag
74865 IFS=$ac_save_IFS
74866 shift
74867 ac_file=$1
74868 shift
74870 case $ac_mode in
74871 :L) ac_source=$1;;
74872 :[FH])
74873 ac_file_inputs=
74874 for ac_f
74876 case $ac_f in
74877 -) ac_f="$tmp/stdin";;
74878 *) # Look for the file first in the build tree, then in the source tree
74879 # (if the path is not absolute). The absolute path cannot be DOS-style,
74880 # because $ac_f cannot contain `:'.
74881 test -f "$ac_f" ||
74882 case $ac_f in
74883 [\\/$]*) false;;
74884 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
74885 esac ||
74886 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
74887 esac
74888 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
74889 as_fn_append ac_file_inputs " '$ac_f'"
74890 done
74892 # Let's still pretend it is `configure' which instantiates (i.e., don't
74893 # use $as_me), people would be surprised to read:
74894 # /* config.h. Generated by config.status. */
74895 configure_input='Generated from '`
74896 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
74897 `' by configure.'
74898 if test x"$ac_file" != x-; then
74899 configure_input="$ac_file. $configure_input"
74900 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
74901 $as_echo "$as_me: creating $ac_file" >&6;}
74903 # Neutralize special characters interpreted by sed in replacement strings.
74904 case $configure_input in #(
74905 *\&* | *\|* | *\\* )
74906 ac_sed_conf_input=`$as_echo "$configure_input" |
74907 sed 's/[\\\\&|]/\\\\&/g'`;; #(
74908 *) ac_sed_conf_input=$configure_input;;
74909 esac
74911 case $ac_tag in
74912 *:-:* | *:-) cat >"$tmp/stdin" \
74913 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
74914 esac
74916 esac
74918 ac_dir=`$as_dirname -- "$ac_file" ||
74919 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74920 X"$ac_file" : 'X\(//\)[^/]' \| \
74921 X"$ac_file" : 'X\(//\)$' \| \
74922 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
74923 $as_echo X"$ac_file" |
74924 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74925 s//\1/
74928 /^X\(\/\/\)[^/].*/{
74929 s//\1/
74932 /^X\(\/\/\)$/{
74933 s//\1/
74936 /^X\(\/\).*/{
74937 s//\1/
74940 s/.*/./; q'`
74941 as_dir="$ac_dir"; as_fn_mkdir_p
74942 ac_builddir=.
74944 case "$ac_dir" in
74945 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
74947 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
74948 # A ".." for each directory in $ac_dir_suffix.
74949 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
74950 case $ac_top_builddir_sub in
74951 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
74952 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
74953 esac ;;
74954 esac
74955 ac_abs_top_builddir=$ac_pwd
74956 ac_abs_builddir=$ac_pwd$ac_dir_suffix
74957 # for backward compatibility:
74958 ac_top_builddir=$ac_top_build_prefix
74960 case $srcdir in
74961 .) # We are building in place.
74962 ac_srcdir=.
74963 ac_top_srcdir=$ac_top_builddir_sub
74964 ac_abs_top_srcdir=$ac_pwd ;;
74965 [\\/]* | ?:[\\/]* ) # Absolute name.
74966 ac_srcdir=$srcdir$ac_dir_suffix;
74967 ac_top_srcdir=$srcdir
74968 ac_abs_top_srcdir=$srcdir ;;
74969 *) # Relative name.
74970 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
74971 ac_top_srcdir=$ac_top_build_prefix$srcdir
74972 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
74973 esac
74974 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
74977 case $ac_mode in
74980 # CONFIG_FILE
74983 case $INSTALL in
74984 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
74985 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
74986 esac
74987 ac_MKDIR_P=$MKDIR_P
74988 case $MKDIR_P in
74989 [\\/$]* | ?:[\\/]* ) ;;
74990 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
74991 esac
74992 _ACEOF
74994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74995 # If the template does not know about datarootdir, expand it.
74996 # FIXME: This hack should be removed a few years after 2.60.
74997 ac_datarootdir_hack=; ac_datarootdir_seen=
74998 ac_sed_dataroot='
74999 /datarootdir/ {
75003 /@datadir@/p
75004 /@docdir@/p
75005 /@infodir@/p
75006 /@localedir@/p
75007 /@mandir@/p'
75008 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
75009 *datarootdir*) ac_datarootdir_seen=yes;;
75010 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
75011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
75012 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
75013 _ACEOF
75014 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
75015 ac_datarootdir_hack='
75016 s&@datadir@&$datadir&g
75017 s&@docdir@&$docdir&g
75018 s&@infodir@&$infodir&g
75019 s&@localedir@&$localedir&g
75020 s&@mandir@&$mandir&g
75021 s&\\\${datarootdir}&$datarootdir&g' ;;
75022 esac
75023 _ACEOF
75025 # Neutralize VPATH when `$srcdir' = `.'.
75026 # Shell code in configure.ac might set extrasub.
75027 # FIXME: do we really want to maintain this feature?
75028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
75029 ac_sed_extra="$ac_vpsub
75030 $extrasub
75031 _ACEOF
75032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
75034 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
75035 s|@configure_input@|$ac_sed_conf_input|;t t
75036 s&@top_builddir@&$ac_top_builddir_sub&;t t
75037 s&@top_build_prefix@&$ac_top_build_prefix&;t t
75038 s&@srcdir@&$ac_srcdir&;t t
75039 s&@abs_srcdir@&$ac_abs_srcdir&;t t
75040 s&@top_srcdir@&$ac_top_srcdir&;t t
75041 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
75042 s&@builddir@&$ac_builddir&;t t
75043 s&@abs_builddir@&$ac_abs_builddir&;t t
75044 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
75045 s&@INSTALL@&$ac_INSTALL&;t t
75046 s&@MKDIR_P@&$ac_MKDIR_P&;t t
75047 $ac_datarootdir_hack
75049 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
75050 || as_fn_error "could not create $ac_file" "$LINENO" 5
75052 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
75053 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
75054 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
75055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
75056 which seems to be undefined. Please make sure it is defined." >&5
75057 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
75058 which seems to be undefined. Please make sure it is defined." >&2;}
75060 rm -f "$tmp/stdin"
75061 case $ac_file in
75062 -) cat "$tmp/out" && rm -f "$tmp/out";;
75063 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
75064 esac \
75065 || as_fn_error "could not create $ac_file" "$LINENO" 5
75069 # CONFIG_HEADER
75071 if test x"$ac_file" != x-; then
75073 $as_echo "/* $configure_input */" \
75074 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
75075 } >"$tmp/config.h" \
75076 || as_fn_error "could not create $ac_file" "$LINENO" 5
75077 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
75078 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
75079 $as_echo "$as_me: $ac_file is unchanged" >&6;}
75080 else
75081 rm -f "$ac_file"
75082 mv "$tmp/config.h" "$ac_file" \
75083 || as_fn_error "could not create $ac_file" "$LINENO" 5
75085 else
75086 $as_echo "/* $configure_input */" \
75087 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
75088 || as_fn_error "could not create -" "$LINENO" 5
75090 # Compute "$ac_file"'s index in $config_headers.
75091 _am_arg="$ac_file"
75092 _am_stamp_count=1
75093 for _am_header in $config_headers :; do
75094 case $_am_header in
75095 $_am_arg | $_am_arg:* )
75096 break ;;
75098 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
75099 esac
75100 done
75101 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
75102 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
75103 X"$_am_arg" : 'X\(//\)[^/]' \| \
75104 X"$_am_arg" : 'X\(//\)$' \| \
75105 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
75106 $as_echo X"$_am_arg" |
75107 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
75108 s//\1/
75111 /^X\(\/\/\)[^/].*/{
75112 s//\1/
75115 /^X\(\/\/\)$/{
75116 s//\1/
75119 /^X\(\/\).*/{
75120 s//\1/
75123 s/.*/./; q'`/stamp-h$_am_stamp_count
75126 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
75127 $as_echo "$as_me: executing $ac_file commands" >&6;}
75129 esac
75132 case $ac_file$ac_mode in
75133 "default-1":C)
75134 # Only add multilib support code if we just rebuilt the top-level
75135 # Makefile.
75136 case " $CONFIG_FILES " in
75137 *" Makefile "*)
75138 ac_file=Makefile . ${multi_basedir}/config-ml.in
75140 esac ;;
75141 "libtool":C)
75143 # See if we are running on zsh, and set the options which allow our
75144 # commands through without removal of \ escapes.
75145 if test -n "${ZSH_VERSION+set}" ; then
75146 setopt NO_GLOB_SUBST
75149 cfgfile="${ofile}T"
75150 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
75151 $RM "$cfgfile"
75153 cat <<_LT_EOF >> "$cfgfile"
75154 #! $SHELL
75156 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
75157 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
75158 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
75159 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
75161 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
75162 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
75163 # Written by Gordon Matzigkeit, 1996
75165 # This file is part of GNU Libtool.
75167 # GNU Libtool is free software; you can redistribute it and/or
75168 # modify it under the terms of the GNU General Public License as
75169 # published by the Free Software Foundation; either version 2 of
75170 # the License, or (at your option) any later version.
75172 # As a special exception to the GNU General Public License,
75173 # if you distribute this file as part of a program or library that
75174 # is built using GNU Libtool, you may include this file under the
75175 # same distribution terms that you use for the rest of that program.
75177 # GNU Libtool is distributed in the hope that it will be useful,
75178 # but WITHOUT ANY WARRANTY; without even the implied warranty of
75179 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
75180 # GNU General Public License for more details.
75182 # You should have received a copy of the GNU General Public License
75183 # along with GNU Libtool; see the file COPYING. If not, a copy
75184 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
75185 # obtained by writing to the Free Software Foundation, Inc.,
75186 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
75189 # The names of the tagged configurations supported by this script.
75190 available_tags="CXX "
75192 # ### BEGIN LIBTOOL CONFIG
75194 # Which release of libtool.m4 was used?
75195 macro_version=$macro_version
75196 macro_revision=$macro_revision
75198 # Whether or not to build shared libraries.
75199 build_libtool_libs=$enable_shared
75201 # Whether or not to build static libraries.
75202 build_old_libs=$enable_static
75204 # What type of objects to build.
75205 pic_mode=$pic_mode
75207 # Whether or not to optimize for fast installation.
75208 fast_install=$enable_fast_install
75210 # Shell to use when invoking shell scripts.
75211 SHELL=$lt_SHELL
75213 # An echo program that protects backslashes.
75214 ECHO=$lt_ECHO
75216 # The host system.
75217 host_alias=$host_alias
75218 host=$host
75219 host_os=$host_os
75221 # The build system.
75222 build_alias=$build_alias
75223 build=$build
75224 build_os=$build_os
75226 # A sed program that does not truncate output.
75227 SED=$lt_SED
75229 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
75230 Xsed="\$SED -e 1s/^X//"
75232 # A grep program that handles long lines.
75233 GREP=$lt_GREP
75235 # An ERE matcher.
75236 EGREP=$lt_EGREP
75238 # A literal string matcher.
75239 FGREP=$lt_FGREP
75241 # A BSD- or MS-compatible name lister.
75242 NM=$lt_NM
75244 # Whether we need soft or hard links.
75245 LN_S=$lt_LN_S
75247 # What is the maximum length of a command?
75248 max_cmd_len=$max_cmd_len
75250 # Object file suffix (normally "o").
75251 objext=$ac_objext
75253 # Executable file suffix (normally "").
75254 exeext=$exeext
75256 # whether the shell understands "unset".
75257 lt_unset=$lt_unset
75259 # turn spaces into newlines.
75260 SP2NL=$lt_lt_SP2NL
75262 # turn newlines into spaces.
75263 NL2SP=$lt_lt_NL2SP
75265 # An object symbol dumper.
75266 OBJDUMP=$lt_OBJDUMP
75268 # Method to check whether dependent libraries are shared objects.
75269 deplibs_check_method=$lt_deplibs_check_method
75271 # Command to use when deplibs_check_method == "file_magic".
75272 file_magic_cmd=$lt_file_magic_cmd
75274 # The archiver.
75275 AR=$lt_AR
75276 AR_FLAGS=$lt_AR_FLAGS
75278 # A symbol stripping program.
75279 STRIP=$lt_STRIP
75281 # Commands used to install an old-style archive.
75282 RANLIB=$lt_RANLIB
75283 old_postinstall_cmds=$lt_old_postinstall_cmds
75284 old_postuninstall_cmds=$lt_old_postuninstall_cmds
75286 # Whether to use a lock for old archive extraction.
75287 lock_old_archive_extraction=$lock_old_archive_extraction
75289 # A C compiler.
75290 LTCC=$lt_CC
75292 # LTCC compiler flags.
75293 LTCFLAGS=$lt_CFLAGS
75295 # Take the output of nm and produce a listing of raw symbols and C names.
75296 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
75298 # Transform the output of nm in a proper C declaration.
75299 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
75301 # Transform the output of nm in a C name address pair.
75302 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
75304 # Transform the output of nm in a C name address pair when lib prefix is needed.
75305 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
75307 # The name of the directory that contains temporary libtool files.
75308 objdir=$objdir
75310 # Used to examine libraries when file_magic_cmd begins with "file".
75311 MAGIC_CMD=$MAGIC_CMD
75313 # Must we lock files when doing compilation?
75314 need_locks=$lt_need_locks
75316 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
75317 DSYMUTIL=$lt_DSYMUTIL
75319 # Tool to change global to local symbols on Mac OS X.
75320 NMEDIT=$lt_NMEDIT
75322 # Tool to manipulate fat objects and archives on Mac OS X.
75323 LIPO=$lt_LIPO
75325 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
75326 OTOOL=$lt_OTOOL
75328 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
75329 OTOOL64=$lt_OTOOL64
75331 # Old archive suffix (normally "a").
75332 libext=$libext
75334 # Shared library suffix (normally ".so").
75335 shrext_cmds=$lt_shrext_cmds
75337 # The commands to extract the exported symbol list from a shared archive.
75338 extract_expsyms_cmds=$lt_extract_expsyms_cmds
75340 # Variables whose values should be saved in libtool wrapper scripts and
75341 # restored at link time.
75342 variables_saved_for_relink=$lt_variables_saved_for_relink
75344 # Do we need the "lib" prefix for modules?
75345 need_lib_prefix=$need_lib_prefix
75347 # Do we need a version for libraries?
75348 need_version=$need_version
75350 # Library versioning type.
75351 version_type=$version_type
75353 # Shared library runtime path variable.
75354 runpath_var=$runpath_var
75356 # Shared library path variable.
75357 shlibpath_var=$shlibpath_var
75359 # Is shlibpath searched before the hard-coded library search path?
75360 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
75362 # Format of library name prefix.
75363 libname_spec=$lt_libname_spec
75365 # List of archive names. First name is the real one, the rest are links.
75366 # The last name is the one that the linker finds with -lNAME
75367 library_names_spec=$lt_library_names_spec
75369 # The coded name of the library, if different from the real name.
75370 soname_spec=$lt_soname_spec
75372 # Permission mode override for installation of shared libraries.
75373 install_override_mode=$lt_install_override_mode
75375 # Command to use after installation of a shared archive.
75376 postinstall_cmds=$lt_postinstall_cmds
75378 # Command to use after uninstallation of a shared archive.
75379 postuninstall_cmds=$lt_postuninstall_cmds
75381 # Commands used to finish a libtool library installation in a directory.
75382 finish_cmds=$lt_finish_cmds
75384 # As "finish_cmds", except a single script fragment to be evaled but
75385 # not shown.
75386 finish_eval=$lt_finish_eval
75388 # Whether we should hardcode library paths into libraries.
75389 hardcode_into_libs=$hardcode_into_libs
75391 # Compile-time system search path for libraries.
75392 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
75394 # Run-time system search path for libraries.
75395 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
75397 # Whether dlopen is supported.
75398 dlopen_support=$enable_dlopen
75400 # Whether dlopen of programs is supported.
75401 dlopen_self=$enable_dlopen_self
75403 # Whether dlopen of statically linked programs is supported.
75404 dlopen_self_static=$enable_dlopen_self_static
75406 # Commands to strip libraries.
75407 old_striplib=$lt_old_striplib
75408 striplib=$lt_striplib
75411 # The linker used to build libraries.
75412 LD=$lt_LD
75414 # How to create reloadable object files.
75415 reload_flag=$lt_reload_flag
75416 reload_cmds=$lt_reload_cmds
75418 # Commands used to build an old-style archive.
75419 old_archive_cmds=$lt_old_archive_cmds
75421 # A language specific compiler.
75422 CC=$lt_compiler
75424 # Is the compiler the GNU compiler?
75425 with_gcc=$GCC
75427 # Compiler flag to turn off builtin functions.
75428 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
75430 # How to pass a linker flag through the compiler.
75431 wl=$lt_lt_prog_compiler_wl
75433 # Additional compiler flags for building library objects.
75434 pic_flag=$lt_lt_prog_compiler_pic
75436 # Compiler flag to prevent dynamic linking.
75437 link_static_flag=$lt_lt_prog_compiler_static
75439 # Does compiler simultaneously support -c and -o options?
75440 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
75442 # Whether or not to add -lc for building shared libraries.
75443 build_libtool_need_lc=$archive_cmds_need_lc
75445 # Whether or not to disallow shared libs when runtime libs are static.
75446 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
75448 # Compiler flag to allow reflexive dlopens.
75449 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
75451 # Compiler flag to generate shared objects directly from archives.
75452 whole_archive_flag_spec=$lt_whole_archive_flag_spec
75454 # Whether the compiler copes with passing no objects directly.
75455 compiler_needs_object=$lt_compiler_needs_object
75457 # Create an old-style archive from a shared archive.
75458 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
75460 # Create a temporary old-style archive to link instead of a shared archive.
75461 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
75463 # Commands used to build a shared archive.
75464 archive_cmds=$lt_archive_cmds
75465 archive_expsym_cmds=$lt_archive_expsym_cmds
75467 # Commands used to build a loadable module if different from building
75468 # a shared archive.
75469 module_cmds=$lt_module_cmds
75470 module_expsym_cmds=$lt_module_expsym_cmds
75472 # Whether we are building with GNU ld or not.
75473 with_gnu_ld=$lt_with_gnu_ld
75475 # Flag that allows shared libraries with undefined symbols to be built.
75476 allow_undefined_flag=$lt_allow_undefined_flag
75478 # Flag that enforces no undefined symbols.
75479 no_undefined_flag=$lt_no_undefined_flag
75481 # Flag to hardcode \$libdir into a binary during linking.
75482 # This must work even if \$libdir does not exist
75483 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
75485 # If ld is used when linking, flag to hardcode \$libdir into a binary
75486 # during linking. This must work even if \$libdir does not exist.
75487 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
75489 # Whether we need a single "-rpath" flag with a separated argument.
75490 hardcode_libdir_separator=$lt_hardcode_libdir_separator
75492 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75493 # DIR into the resulting binary.
75494 hardcode_direct=$hardcode_direct
75496 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75497 # DIR into the resulting binary and the resulting library dependency is
75498 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75499 # library is relocated.
75500 hardcode_direct_absolute=$hardcode_direct_absolute
75502 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75503 # into the resulting binary.
75504 hardcode_minus_L=$hardcode_minus_L
75506 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75507 # into the resulting binary.
75508 hardcode_shlibpath_var=$hardcode_shlibpath_var
75510 # Set to "yes" if building a shared library automatically hardcodes DIR
75511 # into the library and all subsequent libraries and executables linked
75512 # against it.
75513 hardcode_automatic=$hardcode_automatic
75515 # Set to yes if linker adds runtime paths of dependent libraries
75516 # to runtime path list.
75517 inherit_rpath=$inherit_rpath
75519 # Whether libtool must link a program against all its dependency libraries.
75520 link_all_deplibs=$link_all_deplibs
75522 # Fix the shell variable \$srcfile for the compiler.
75523 fix_srcfile_path=$lt_fix_srcfile_path
75525 # Set to "yes" if exported symbols are required.
75526 always_export_symbols=$always_export_symbols
75528 # The commands to list exported symbols.
75529 export_symbols_cmds=$lt_export_symbols_cmds
75531 # Symbols that should not be listed in the preloaded symbols.
75532 exclude_expsyms=$lt_exclude_expsyms
75534 # Symbols that must always be exported.
75535 include_expsyms=$lt_include_expsyms
75537 # Commands necessary for linking programs (against libraries) with templates.
75538 prelink_cmds=$lt_prelink_cmds
75540 # Specify filename containing input files.
75541 file_list_spec=$lt_file_list_spec
75543 # How to hardcode a shared library path into an executable.
75544 hardcode_action=$hardcode_action
75546 # The directories searched by this compiler when creating a shared library.
75547 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
75549 # Dependencies to place before and after the objects being linked to
75550 # create a shared library.
75551 predep_objects=$lt_predep_objects
75552 postdep_objects=$lt_postdep_objects
75553 predeps=$lt_predeps
75554 postdeps=$lt_postdeps
75556 # The library search path used internally by the compiler when linking
75557 # a shared library.
75558 compiler_lib_search_path=$lt_compiler_lib_search_path
75560 # ### END LIBTOOL CONFIG
75562 _LT_EOF
75564 case $host_os in
75565 aix3*)
75566 cat <<\_LT_EOF >> "$cfgfile"
75567 # AIX sometimes has problems with the GCC collect2 program. For some
75568 # reason, if we set the COLLECT_NAMES environment variable, the problems
75569 # vanish in a puff of smoke.
75570 if test "X${COLLECT_NAMES+set}" != Xset; then
75571 COLLECT_NAMES=
75572 export COLLECT_NAMES
75574 _LT_EOF
75576 esac
75579 ltmain="$ac_aux_dir/ltmain.sh"
75582 # We use sed instead of cat because bash on DJGPP gets confused if
75583 # if finds mixed CR/LF and LF-only lines. Since sed operates in
75584 # text mode, it properly converts lines to CR/LF. This bash problem
75585 # is reportedly fixed, but why not run on old versions too?
75586 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
75587 || (rm -f "$cfgfile"; exit 1)
75589 case $xsi_shell in
75590 yes)
75591 cat << \_LT_EOF >> "$cfgfile"
75593 # func_dirname file append nondir_replacement
75594 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75595 # otherwise set result to NONDIR_REPLACEMENT.
75596 func_dirname ()
75598 case ${1} in
75599 */*) func_dirname_result="${1%/*}${2}" ;;
75600 * ) func_dirname_result="${3}" ;;
75601 esac
75604 # func_basename file
75605 func_basename ()
75607 func_basename_result="${1##*/}"
75610 # func_dirname_and_basename file append nondir_replacement
75611 # perform func_basename and func_dirname in a single function
75612 # call:
75613 # dirname: Compute the dirname of FILE. If nonempty,
75614 # add APPEND to the result, otherwise set result
75615 # to NONDIR_REPLACEMENT.
75616 # value returned in "$func_dirname_result"
75617 # basename: Compute filename of FILE.
75618 # value retuned in "$func_basename_result"
75619 # Implementation must be kept synchronized with func_dirname
75620 # and func_basename. For efficiency, we do not delegate to
75621 # those functions but instead duplicate the functionality here.
75622 func_dirname_and_basename ()
75624 case ${1} in
75625 */*) func_dirname_result="${1%/*}${2}" ;;
75626 * ) func_dirname_result="${3}" ;;
75627 esac
75628 func_basename_result="${1##*/}"
75631 # func_stripname prefix suffix name
75632 # strip PREFIX and SUFFIX off of NAME.
75633 # PREFIX and SUFFIX must not contain globbing or regex special
75634 # characters, hashes, percent signs, but SUFFIX may contain a leading
75635 # dot (in which case that matches only a dot).
75636 func_stripname ()
75638 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
75639 # positional parameters, so assign one to ordinary parameter first.
75640 func_stripname_result=${3}
75641 func_stripname_result=${func_stripname_result#"${1}"}
75642 func_stripname_result=${func_stripname_result%"${2}"}
75645 # func_opt_split
75646 func_opt_split ()
75648 func_opt_split_opt=${1%%=*}
75649 func_opt_split_arg=${1#*=}
75652 # func_lo2o object
75653 func_lo2o ()
75655 case ${1} in
75656 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
75657 *) func_lo2o_result=${1} ;;
75658 esac
75661 # func_xform libobj-or-source
75662 func_xform ()
75664 func_xform_result=${1%.*}.lo
75667 # func_arith arithmetic-term...
75668 func_arith ()
75670 func_arith_result=$(( $* ))
75673 # func_len string
75674 # STRING may not start with a hyphen.
75675 func_len ()
75677 func_len_result=${#1}
75680 _LT_EOF
75682 *) # Bourne compatible functions.
75683 cat << \_LT_EOF >> "$cfgfile"
75685 # func_dirname file append nondir_replacement
75686 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75687 # otherwise set result to NONDIR_REPLACEMENT.
75688 func_dirname ()
75690 # Extract subdirectory from the argument.
75691 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
75692 if test "X$func_dirname_result" = "X${1}"; then
75693 func_dirname_result="${3}"
75694 else
75695 func_dirname_result="$func_dirname_result${2}"
75699 # func_basename file
75700 func_basename ()
75702 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
75706 # func_stripname prefix suffix name
75707 # strip PREFIX and SUFFIX off of NAME.
75708 # PREFIX and SUFFIX must not contain globbing or regex special
75709 # characters, hashes, percent signs, but SUFFIX may contain a leading
75710 # dot (in which case that matches only a dot).
75711 # func_strip_suffix prefix name
75712 func_stripname ()
75714 case ${2} in
75715 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
75716 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
75717 esac
75720 # sed scripts:
75721 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
75722 my_sed_long_arg='1s/^-[^=]*=//'
75724 # func_opt_split
75725 func_opt_split ()
75727 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
75728 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
75731 # func_lo2o object
75732 func_lo2o ()
75734 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
75737 # func_xform libobj-or-source
75738 func_xform ()
75740 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
75743 # func_arith arithmetic-term...
75744 func_arith ()
75746 func_arith_result=`expr "$@"`
75749 # func_len string
75750 # STRING may not start with a hyphen.
75751 func_len ()
75753 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
75756 _LT_EOF
75757 esac
75759 case $lt_shell_append in
75760 yes)
75761 cat << \_LT_EOF >> "$cfgfile"
75763 # func_append var value
75764 # Append VALUE to the end of shell variable VAR.
75765 func_append ()
75767 eval "$1+=\$2"
75769 _LT_EOF
75772 cat << \_LT_EOF >> "$cfgfile"
75774 # func_append var value
75775 # Append VALUE to the end of shell variable VAR.
75776 func_append ()
75778 eval "$1=\$$1\$2"
75781 _LT_EOF
75783 esac
75786 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
75787 || (rm -f "$cfgfile"; exit 1)
75789 mv -f "$cfgfile" "$ofile" ||
75790 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
75791 chmod +x "$ofile"
75794 cat <<_LT_EOF >> "$ofile"
75796 # ### BEGIN LIBTOOL TAG CONFIG: CXX
75798 # The linker used to build libraries.
75799 LD=$lt_LD_CXX
75801 # How to create reloadable object files.
75802 reload_flag=$lt_reload_flag_CXX
75803 reload_cmds=$lt_reload_cmds_CXX
75805 # Commands used to build an old-style archive.
75806 old_archive_cmds=$lt_old_archive_cmds_CXX
75808 # A language specific compiler.
75809 CC=$lt_compiler_CXX
75811 # Is the compiler the GNU compiler?
75812 with_gcc=$GCC_CXX
75814 # Compiler flag to turn off builtin functions.
75815 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
75817 # How to pass a linker flag through the compiler.
75818 wl=$lt_lt_prog_compiler_wl_CXX
75820 # Additional compiler flags for building library objects.
75821 pic_flag=$lt_lt_prog_compiler_pic_CXX
75823 # Compiler flag to prevent dynamic linking.
75824 link_static_flag=$lt_lt_prog_compiler_static_CXX
75826 # Does compiler simultaneously support -c and -o options?
75827 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
75829 # Whether or not to add -lc for building shared libraries.
75830 build_libtool_need_lc=$archive_cmds_need_lc_CXX
75832 # Whether or not to disallow shared libs when runtime libs are static.
75833 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
75835 # Compiler flag to allow reflexive dlopens.
75836 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
75838 # Compiler flag to generate shared objects directly from archives.
75839 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
75841 # Whether the compiler copes with passing no objects directly.
75842 compiler_needs_object=$lt_compiler_needs_object_CXX
75844 # Create an old-style archive from a shared archive.
75845 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
75847 # Create a temporary old-style archive to link instead of a shared archive.
75848 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
75850 # Commands used to build a shared archive.
75851 archive_cmds=$lt_archive_cmds_CXX
75852 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
75854 # Commands used to build a loadable module if different from building
75855 # a shared archive.
75856 module_cmds=$lt_module_cmds_CXX
75857 module_expsym_cmds=$lt_module_expsym_cmds_CXX
75859 # Whether we are building with GNU ld or not.
75860 with_gnu_ld=$lt_with_gnu_ld_CXX
75862 # Flag that allows shared libraries with undefined symbols to be built.
75863 allow_undefined_flag=$lt_allow_undefined_flag_CXX
75865 # Flag that enforces no undefined symbols.
75866 no_undefined_flag=$lt_no_undefined_flag_CXX
75868 # Flag to hardcode \$libdir into a binary during linking.
75869 # This must work even if \$libdir does not exist
75870 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
75872 # If ld is used when linking, flag to hardcode \$libdir into a binary
75873 # during linking. This must work even if \$libdir does not exist.
75874 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
75876 # Whether we need a single "-rpath" flag with a separated argument.
75877 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
75879 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75880 # DIR into the resulting binary.
75881 hardcode_direct=$hardcode_direct_CXX
75883 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75884 # DIR into the resulting binary and the resulting library dependency is
75885 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75886 # library is relocated.
75887 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
75889 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75890 # into the resulting binary.
75891 hardcode_minus_L=$hardcode_minus_L_CXX
75893 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75894 # into the resulting binary.
75895 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
75897 # Set to "yes" if building a shared library automatically hardcodes DIR
75898 # into the library and all subsequent libraries and executables linked
75899 # against it.
75900 hardcode_automatic=$hardcode_automatic_CXX
75902 # Set to yes if linker adds runtime paths of dependent libraries
75903 # to runtime path list.
75904 inherit_rpath=$inherit_rpath_CXX
75906 # Whether libtool must link a program against all its dependency libraries.
75907 link_all_deplibs=$link_all_deplibs_CXX
75909 # Fix the shell variable \$srcfile for the compiler.
75910 fix_srcfile_path=$lt_fix_srcfile_path_CXX
75912 # Set to "yes" if exported symbols are required.
75913 always_export_symbols=$always_export_symbols_CXX
75915 # The commands to list exported symbols.
75916 export_symbols_cmds=$lt_export_symbols_cmds_CXX
75918 # Symbols that should not be listed in the preloaded symbols.
75919 exclude_expsyms=$lt_exclude_expsyms_CXX
75921 # Symbols that must always be exported.
75922 include_expsyms=$lt_include_expsyms_CXX
75924 # Commands necessary for linking programs (against libraries) with templates.
75925 prelink_cmds=$lt_prelink_cmds_CXX
75927 # Specify filename containing input files.
75928 file_list_spec=$lt_file_list_spec_CXX
75930 # How to hardcode a shared library path into an executable.
75931 hardcode_action=$hardcode_action_CXX
75933 # The directories searched by this compiler when creating a shared library.
75934 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
75936 # Dependencies to place before and after the objects being linked to
75937 # create a shared library.
75938 predep_objects=$lt_predep_objects_CXX
75939 postdep_objects=$lt_postdep_objects_CXX
75940 predeps=$lt_predeps_CXX
75941 postdeps=$lt_postdeps_CXX
75943 # The library search path used internally by the compiler when linking
75944 # a shared library.
75945 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
75947 # ### END LIBTOOL TAG CONFIG: CXX
75948 _LT_EOF
75951 "include/gstdint.h":C)
75952 if test "$GCC" = yes; then
75953 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
75954 else
75955 echo "/* generated for $CC */" > tmp-stdint.h
75958 sed 's/^ *//' >> tmp-stdint.h <<EOF
75960 #ifndef GCC_GENERATED_STDINT_H
75961 #define GCC_GENERATED_STDINT_H 1
75963 #include <sys/types.h>
75966 if test "$acx_cv_header_stdint" != stdint.h; then
75967 echo "#include <stddef.h>" >> tmp-stdint.h
75969 if test "$acx_cv_header_stdint" != stddef.h; then
75970 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
75973 sed 's/^ *//' >> tmp-stdint.h <<EOF
75974 /* glibc uses these symbols as guards to prevent redefinitions. */
75975 #ifdef __int8_t_defined
75976 #define _INT8_T
75977 #define _INT16_T
75978 #define _INT32_T
75979 #endif
75980 #ifdef __uint32_t_defined
75981 #define _UINT32_T
75982 #endif
75986 # ----------------- done header, emit basic int types -------------
75987 if test "$acx_cv_header_stdint" = stddef.h; then
75988 sed 's/^ *//' >> tmp-stdint.h <<EOF
75990 #ifndef _UINT8_T
75991 #define _UINT8_T
75992 #ifndef __uint8_t_defined
75993 #define __uint8_t_defined
75994 #ifndef uint8_t
75995 typedef unsigned $acx_cv_type_int8_t uint8_t;
75996 #endif
75997 #endif
75998 #endif
76000 #ifndef _UINT16_T
76001 #define _UINT16_T
76002 #ifndef __uint16_t_defined
76003 #define __uint16_t_defined
76004 #ifndef uint16_t
76005 typedef unsigned $acx_cv_type_int16_t uint16_t;
76006 #endif
76007 #endif
76008 #endif
76010 #ifndef _UINT32_T
76011 #define _UINT32_T
76012 #ifndef __uint32_t_defined
76013 #define __uint32_t_defined
76014 #ifndef uint32_t
76015 typedef unsigned $acx_cv_type_int32_t uint32_t;
76016 #endif
76017 #endif
76018 #endif
76020 #ifndef _INT8_T
76021 #define _INT8_T
76022 #ifndef __int8_t_defined
76023 #define __int8_t_defined
76024 #ifndef int8_t
76025 typedef $acx_cv_type_int8_t int8_t;
76026 #endif
76027 #endif
76028 #endif
76030 #ifndef _INT16_T
76031 #define _INT16_T
76032 #ifndef __int16_t_defined
76033 #define __int16_t_defined
76034 #ifndef int16_t
76035 typedef $acx_cv_type_int16_t int16_t;
76036 #endif
76037 #endif
76038 #endif
76040 #ifndef _INT32_T
76041 #define _INT32_T
76042 #ifndef __int32_t_defined
76043 #define __int32_t_defined
76044 #ifndef int32_t
76045 typedef $acx_cv_type_int32_t int32_t;
76046 #endif
76047 #endif
76048 #endif
76050 elif test "$ac_cv_type_u_int32_t" = yes; then
76051 sed 's/^ *//' >> tmp-stdint.h <<EOF
76053 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
76054 #ifndef _INT8_T
76055 #define _INT8_T
76056 #endif
76057 #ifndef _INT16_T
76058 #define _INT16_T
76059 #endif
76060 #ifndef _INT32_T
76061 #define _INT32_T
76062 #endif
76064 #ifndef _UINT8_T
76065 #define _UINT8_T
76066 #ifndef __uint8_t_defined
76067 #define __uint8_t_defined
76068 #ifndef uint8_t
76069 typedef u_int8_t uint8_t;
76070 #endif
76071 #endif
76072 #endif
76074 #ifndef _UINT16_T
76075 #define _UINT16_T
76076 #ifndef __uint16_t_defined
76077 #define __uint16_t_defined
76078 #ifndef uint16_t
76079 typedef u_int16_t uint16_t;
76080 #endif
76081 #endif
76082 #endif
76084 #ifndef _UINT32_T
76085 #define _UINT32_T
76086 #ifndef __uint32_t_defined
76087 #define __uint32_t_defined
76088 #ifndef uint32_t
76089 typedef u_int32_t uint32_t;
76090 #endif
76091 #endif
76092 #endif
76094 else
76095 sed 's/^ *//' >> tmp-stdint.h <<EOF
76097 /* Some systems have guard macros to prevent redefinitions, define them. */
76098 #ifndef _INT8_T
76099 #define _INT8_T
76100 #endif
76101 #ifndef _INT16_T
76102 #define _INT16_T
76103 #endif
76104 #ifndef _INT32_T
76105 #define _INT32_T
76106 #endif
76107 #ifndef _UINT8_T
76108 #define _UINT8_T
76109 #endif
76110 #ifndef _UINT16_T
76111 #define _UINT16_T
76112 #endif
76113 #ifndef _UINT32_T
76114 #define _UINT32_T
76115 #endif
76119 # ------------- done basic int types, emit int64_t types ------------
76120 if test "$ac_cv_type_uint64_t" = yes; then
76121 sed 's/^ *//' >> tmp-stdint.h <<EOF
76123 /* system headers have good uint64_t and int64_t */
76124 #ifndef _INT64_T
76125 #define _INT64_T
76126 #endif
76127 #ifndef _UINT64_T
76128 #define _UINT64_T
76129 #endif
76131 elif test "$ac_cv_type_u_int64_t" = yes; then
76132 sed 's/^ *//' >> tmp-stdint.h <<EOF
76134 /* system headers have an u_int64_t (and int64_t) */
76135 #ifndef _INT64_T
76136 #define _INT64_T
76137 #endif
76138 #ifndef _UINT64_T
76139 #define _UINT64_T
76140 #ifndef __uint64_t_defined
76141 #define __uint64_t_defined
76142 #ifndef uint64_t
76143 typedef u_int64_t uint64_t;
76144 #endif
76145 #endif
76146 #endif
76148 elif test -n "$acx_cv_type_int64_t"; then
76149 sed 's/^ *//' >> tmp-stdint.h <<EOF
76151 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
76152 #ifndef _INT64_T
76153 #define _INT64_T
76154 #ifndef int64_t
76155 typedef $acx_cv_type_int64_t int64_t;
76156 #endif
76157 #endif
76158 #ifndef _UINT64_T
76159 #define _UINT64_T
76160 #ifndef __uint64_t_defined
76161 #define __uint64_t_defined
76162 #ifndef uint64_t
76163 typedef unsigned $acx_cv_type_int64_t uint64_t;
76164 #endif
76165 #endif
76166 #endif
76168 else
76169 sed 's/^ *//' >> tmp-stdint.h <<EOF
76171 /* some common heuristics for int64_t, using compiler-specific tests */
76172 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
76173 #ifndef _INT64_T
76174 #define _INT64_T
76175 #ifndef __int64_t_defined
76176 #ifndef int64_t
76177 typedef long long int64_t;
76178 #endif
76179 #endif
76180 #endif
76181 #ifndef _UINT64_T
76182 #define _UINT64_T
76183 #ifndef uint64_t
76184 typedef unsigned long long uint64_t;
76185 #endif
76186 #endif
76188 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
76189 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
76190 does not implement __extension__. But that compiler doesn't define
76191 __GNUC_MINOR__. */
76192 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
76193 # define __extension__
76194 # endif
76196 # ifndef _INT64_T
76197 # define _INT64_T
76198 # ifndef int64_t
76199 __extension__ typedef long long int64_t;
76200 # endif
76201 # endif
76202 # ifndef _UINT64_T
76203 # define _UINT64_T
76204 # ifndef uint64_t
76205 __extension__ typedef unsigned long long uint64_t;
76206 # endif
76207 # endif
76209 #elif !defined __STRICT_ANSI__
76210 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
76212 # ifndef _INT64_T
76213 # define _INT64_T
76214 # ifndef int64_t
76215 typedef __int64 int64_t;
76216 # endif
76217 # endif
76218 # ifndef _UINT64_T
76219 # define _UINT64_T
76220 # ifndef uint64_t
76221 typedef unsigned __int64 uint64_t;
76222 # endif
76223 # endif
76224 # endif /* compiler */
76226 #endif /* ANSI version */
76230 # ------------- done int64_t types, emit intptr types ------------
76231 if test "$ac_cv_type_uintptr_t" != yes; then
76232 sed 's/^ *//' >> tmp-stdint.h <<EOF
76234 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
76235 #ifndef __uintptr_t_defined
76236 #ifndef uintptr_t
76237 typedef u$acx_cv_type_intptr_t uintptr_t;
76238 #endif
76239 #endif
76240 #ifndef __intptr_t_defined
76241 #ifndef intptr_t
76242 typedef $acx_cv_type_intptr_t intptr_t;
76243 #endif
76244 #endif
76248 # ------------- done intptr types, emit int_least types ------------
76249 if test "$ac_cv_type_int_least32_t" != yes; then
76250 sed 's/^ *//' >> tmp-stdint.h <<EOF
76252 /* Define int_least types */
76253 typedef int8_t int_least8_t;
76254 typedef int16_t int_least16_t;
76255 typedef int32_t int_least32_t;
76256 #ifdef _INT64_T
76257 typedef int64_t int_least64_t;
76258 #endif
76260 typedef uint8_t uint_least8_t;
76261 typedef uint16_t uint_least16_t;
76262 typedef uint32_t uint_least32_t;
76263 #ifdef _UINT64_T
76264 typedef uint64_t uint_least64_t;
76265 #endif
76269 # ------------- done intptr types, emit int_fast types ------------
76270 if test "$ac_cv_type_int_fast32_t" != yes; then
76271 sed 's/^ *//' >> tmp-stdint.h <<EOF
76273 /* Define int_fast types. short is often slow */
76274 typedef int8_t int_fast8_t;
76275 typedef int int_fast16_t;
76276 typedef int32_t int_fast32_t;
76277 #ifdef _INT64_T
76278 typedef int64_t int_fast64_t;
76279 #endif
76281 typedef uint8_t uint_fast8_t;
76282 typedef unsigned int uint_fast16_t;
76283 typedef uint32_t uint_fast32_t;
76284 #ifdef _UINT64_T
76285 typedef uint64_t uint_fast64_t;
76286 #endif
76290 if test "$ac_cv_type_uintmax_t" != yes; then
76291 sed 's/^ *//' >> tmp-stdint.h <<EOF
76293 /* Define intmax based on what we found */
76294 #ifndef intmax_t
76295 #ifdef _INT64_T
76296 typedef int64_t intmax_t;
76297 #else
76298 typedef long intmax_t;
76299 #endif
76300 #endif
76301 #ifndef uintmax_t
76302 #ifdef _UINT64_T
76303 typedef uint64_t uintmax_t;
76304 #else
76305 typedef unsigned long uintmax_t;
76306 #endif
76307 #endif
76311 sed 's/^ *//' >> tmp-stdint.h <<EOF
76313 #endif /* GCC_GENERATED_STDINT_H */
76316 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
76317 rm -f tmp-stdint.h
76318 else
76319 mv -f tmp-stdint.h include/gstdint.h
76323 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
76324 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
76325 "include/Makefile":F) cat > vpsed$$ << \_EOF
76326 s!`test -f '$<' || echo '$(srcdir)/'`!!
76327 _EOF
76328 sed -f vpsed$$ $ac_file > tmp$$
76329 mv tmp$$ $ac_file
76330 rm vpsed$$
76331 echo 'MULTISUBDIR =' >> $ac_file
76332 ml_norecursion=yes
76333 . ${multi_basedir}/config-ml.in
76334 { ml_norecursion=; unset ml_norecursion;}
76336 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
76337 s!`test -f '$<' || echo '$(srcdir)/'`!!
76338 _EOF
76339 sed -f vpsed$$ $ac_file > tmp$$
76340 mv tmp$$ $ac_file
76341 rm vpsed$$
76342 echo 'MULTISUBDIR =' >> $ac_file
76343 ml_norecursion=yes
76344 . ${multi_basedir}/config-ml.in
76345 { ml_norecursion=; unset ml_norecursion;}
76347 "python/Makefile":F) cat > vpsed$$ << \_EOF
76348 s!`test -f '$<' || echo '$(srcdir)/'`!!
76349 _EOF
76350 sed -f vpsed$$ $ac_file > tmp$$
76351 mv tmp$$ $ac_file
76352 rm vpsed$$
76353 echo 'MULTISUBDIR =' >> $ac_file
76354 ml_norecursion=yes
76355 . ${multi_basedir}/config-ml.in
76356 { ml_norecursion=; unset ml_norecursion;}
76358 "src/Makefile":F) cat > vpsed$$ << \_EOF
76359 s!`test -f '$<' || echo '$(srcdir)/'`!!
76360 _EOF
76361 sed -f vpsed$$ $ac_file > tmp$$
76362 mv tmp$$ $ac_file
76363 rm vpsed$$
76364 echo 'MULTISUBDIR =' >> $ac_file
76365 ml_norecursion=yes
76366 . ${multi_basedir}/config-ml.in
76367 { ml_norecursion=; unset ml_norecursion;}
76369 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
76370 s!`test -f '$<' || echo '$(srcdir)/'`!!
76371 _EOF
76372 sed -f vpsed$$ $ac_file > tmp$$
76373 mv tmp$$ $ac_file
76374 rm vpsed$$
76375 echo 'MULTISUBDIR =' >> $ac_file
76376 ml_norecursion=yes
76377 . ${multi_basedir}/config-ml.in
76378 { ml_norecursion=; unset ml_norecursion;}
76380 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
76381 s!`test -f '$<' || echo '$(srcdir)/'`!!
76382 _EOF
76383 sed -f vpsed$$ $ac_file > tmp$$
76384 mv tmp$$ $ac_file
76385 rm vpsed$$
76386 echo 'MULTISUBDIR =' >> $ac_file
76387 ml_norecursion=yes
76388 . ${multi_basedir}/config-ml.in
76389 { ml_norecursion=; unset ml_norecursion;}
76391 "doc/Makefile":F) cat > vpsed$$ << \_EOF
76392 s!`test -f '$<' || echo '$(srcdir)/'`!!
76393 _EOF
76394 sed -f vpsed$$ $ac_file > tmp$$
76395 mv tmp$$ $ac_file
76396 rm vpsed$$
76397 echo 'MULTISUBDIR =' >> $ac_file
76398 ml_norecursion=yes
76399 . ${multi_basedir}/config-ml.in
76400 { ml_norecursion=; unset ml_norecursion;}
76402 "po/Makefile":F) cat > vpsed$$ << \_EOF
76403 s!`test -f '$<' || echo '$(srcdir)/'`!!
76404 _EOF
76405 sed -f vpsed$$ $ac_file > tmp$$
76406 mv tmp$$ $ac_file
76407 rm vpsed$$
76408 echo 'MULTISUBDIR =' >> $ac_file
76409 ml_norecursion=yes
76410 . ${multi_basedir}/config-ml.in
76411 { ml_norecursion=; unset ml_norecursion;}
76413 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
76414 s!`test -f '$<' || echo '$(srcdir)/'`!!
76415 _EOF
76416 sed -f vpsed$$ $ac_file > tmp$$
76417 mv tmp$$ $ac_file
76418 rm vpsed$$
76419 echo 'MULTISUBDIR =' >> $ac_file
76420 ml_norecursion=yes
76421 . ${multi_basedir}/config-ml.in
76422 { ml_norecursion=; unset ml_norecursion;}
76424 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
76426 esac
76427 done # for ac_tag
76430 as_fn_exit 0
76431 _ACEOF
76432 ac_clean_files=$ac_clean_files_save
76434 test $ac_write_fail = 0 ||
76435 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
76438 # configure is writing to config.log, and then calls config.status.
76439 # config.status does its own redirection, appending to config.log.
76440 # Unfortunately, on DOS this fails, as config.log is still kept open
76441 # by configure, so config.status won't be able to write to it; its
76442 # output is simply discarded. So we exec the FD to /dev/null,
76443 # effectively closing config.log, so it can be properly (re)opened and
76444 # appended to by config.status. When coming back to configure, we
76445 # need to make the FD available again.
76446 if test "$no_create" != yes; then
76447 ac_cs_success=:
76448 ac_config_status_args=
76449 test "$silent" = yes &&
76450 ac_config_status_args="$ac_config_status_args --quiet"
76451 exec 5>/dev/null
76452 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
76453 exec 5>>config.log
76454 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
76455 # would make configure fail if this is the last instruction.
76456 $ac_cs_success || as_fn_exit $?
76458 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
76459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
76460 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}